/* ===== RESET & TOKENS ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F0F2F5;
  --bg-alt: #E8EBF0;
  --surface: #FFFFFF;
  --navy: #0A1628;
  --navy-mid: #1B2D4A;
  --navy-light: #2A3F5F;
  --text: #0A1628;
  --text-secondary: #5A6478;
  --accent: #E8912D;
  --accent-dark: #C77518;
  --accent-light: #F5B041;
  --border: rgba(10, 22, 40, 0.08);
  --border-strong: rgba(10, 22, 40, 0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.4s var(--ease);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2.5rem;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  padding: 0.75rem 2.5rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--transition);
}

.nav-logo:hover { transform: scale(1.02); }

.nav-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 10px;
  color: #fff;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-logo-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
  border-radius: 1px;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(232, 145, 45, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.25);
  padding: calc(1rem - 2px) calc(2.25rem - 2px);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 30% 50%, black 20%, transparent 70%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 145, 45, 0.12) 0%, transparent 60%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 45, 74, 0.5) 0%, transparent 60%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(232, 145, 45, 0.12);
  border: 1px solid rgba(232, 145, 45, 0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

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

/* Hero stats */
.hero-stats {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-stat-gauge {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.gauge-svg {
  width: 100%;
  height: 100%;
}

.gauge-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.gauge-percent::after {
  content: '%';
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.6;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
  font-weight: 400;
}

.hero-stat-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1;
}

.hero-scroll span {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

.scroll-line {
  width: 50px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

/* ===== SECTIONS ===== */
.section {
  padding: 7rem 2.5rem;
  position: relative;
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  background: rgba(232, 145, 45, 0.08);
  border-radius: 100px;
}

.section-tag-light {
  background: rgba(232, 145, 45, 0.15);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-title-light { color: #fff; }

.title-accent {
  color: var(--accent);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.1);
  border-color: rgba(232, 145, 45, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  color: var(--navy);
  transition: color var(--transition);
}

.service-card:hover .service-icon {
  color: var(--accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-arrow {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--border-strong);
  transition: color var(--transition), transform var(--transition);
}

.service-card:hover .service-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

/* ===== BENEFITS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.benefit-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(232, 145, 45, 0.3);
  transform: translateY(-4px);
}

.benefit-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.benefit-icon {
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.benefit-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.benefit-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}

/* ===== SERVICE AREA ===== */
.area-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.area-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 1.5rem 0 2rem;
}

.area-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.area-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.area-list li svg { flex-shrink: 0; }

.area-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.06);
}

.area-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 0 0 4px 4px;
}

.area-card-pin {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(232, 145, 45, 0.08);
  border-radius: 50%;
}

.area-card-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.area-card-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.area-card-note {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ===== CTA ===== */
.section-cta {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,145,45,0.3), transparent);
}

.cta-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-top: 1.5rem;
}

.cta-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

a.cta-card:hover {
  background: rgba(232, 145, 45, 0.12);
  border-color: rgba(232, 145, 45, 0.3);
  transform: translateX(6px);
}

.cta-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(232, 145, 45, 0.12);
  border-radius: 12px;
  color: var(--accent);
  flex-shrink: 0;
}

.cta-card-content {
  flex: 1;
}

.cta-card-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.2rem;
}

.cta-card-value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
}

.cta-card-arrow {
  color: rgba(255,255,255,0.2);
  transition: color var(--transition), transform var(--transition);
}

a.cta-card:hover .cta-card-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ===== FOOTER ===== */
.footer {
  padding: 2rem 2.5rem;
  background: #060D18;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

.footer-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  font-style: italic;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for children */
.services-grid .reveal:nth-child(1) { transition-delay: 0s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

.benefits-grid .reveal:nth-child(1) { transition-delay: 0s; }
.benefits-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.benefits-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.benefits-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.benefits-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.benefits-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-stats {
    flex-direction: row;
    gap: 1.5rem;
    padding: 2rem;
  }

  .hero-stat {
    flex-direction: column;
    text-align: center;
    flex: 1;
  }

  .hero-stat-divider {
    height: auto;
    width: 1px;
    background: rgba(255,255,255,0.06);
  }

  .area-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cta-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 680px) {
  .nav {
    padding: 1rem 1.25rem;
  }

  .nav.scrolled {
    padding: 0.6rem 1.25rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 7rem 1.25rem 3rem;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-stat {
    flex-direction: row;
    text-align: left;
  }

  .hero-stat-divider {
    height: 1px;
    width: auto;
  }

  .section {
    padding: 5rem 1.25rem;
  }

  .section-cta {
    padding: 5rem 1.25rem;
  }

  .services-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1.75rem;
  }

  .benefit-card {
    padding: 2rem 1.75rem;
  }

  .hero-scroll {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 0.5rem;
  }
}
