@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --color-primary: #0f2027; /* Deep Navy / Carbon */
  --color-secondary: #203a43;
  --color-accent: #f59e0b; /* Safety Amber/Orange */
  --color-accent-hover: #d97706;
  --color-safety-yellow: #eab308;
  
  --color-bg-light: #f8fafc;
  --color-bg-white: #ffffff;
  --color-text-dark: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #f1f5f9;
  
  --color-border: #e2e8f0;

  /* Typography */
  --font-main: 'Inter', sans-serif;
  
  /* Layout */
  --container-width: 1280px;
  --section-padding: 6rem 2rem;
  
  /* Shadows & Radius */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--section-padding);
}

.section-light {
  background-color: var(--color-bg-light);
}

.section-white {
  background-color: var(--color-bg-white);
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.section-dark h2, .section-dark h3, .section-dark p {
  color: var(--color-text-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header .subtitle {
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg-white);
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-bg-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-bg-white);
}

/* Header & Nav */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: var(--transition);
}

header.scrolled {
  position: fixed;
  background-color: rgba(15, 32, 39, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-bg-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--color-bg-white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background-color: var(--color-primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  color: var(--color-bg-white);
}

.hero-content h1 {
  color: var(--color-bg-white);
  margin-bottom: 1.5rem;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Stats Bar */
.stats-bar {
  position: relative;
  z-index: 20;
  margin-top: -60px;
  margin-bottom: 4rem;
}

.stats-grid {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Features/Services Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--color-bg-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 158, 11, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

/* Industries Banner (Split Layout like the reference) */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 600px;
  width: 100%;
}

.split-content h2 span {
  color: var(--color-text-muted);
  font-weight: 300;
}

.industry-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.industry-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.industry-item:hover {
  transform: translateX(5px);
  border-left: 3px solid var(--color-accent);
}

.industry-item strong {
  color: var(--color-primary);
  font-size: 0.95rem;
}

/* Footer (Dark) */
footer {
  background-color: #0b1120;
  color: var(--color-text-light);
  padding: 5rem 2rem 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-top h2 {
  font-size: 2.5rem;
  max-width: 500px;
  margin-bottom: 2rem;
  color: var(--color-bg-white);
}

.footer-top h2 span {
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}

.footer-features {
  display: flex;
  gap: 2rem;
}

.footer-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.footer-feature i {
  color: var(--color-accent);
}

.footer-bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a:hover {
  color: var(--color-bg-white);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 3.5rem; }
  .split-section { grid-template-columns: 1fr; gap: 3rem; }
  .split-image img { height: 400px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --section-padding: 4rem 1.5rem; }
  .nav-links, .nav-btn { display: none; }
  .mobile-menu-btn { display: block; }
  .stats-grid { grid-template-columns: 1fr; padding: 2rem; gap: 1.5rem; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--color-border); padding-bottom: 1.5rem; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .industry-list { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
