/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Background */
  --bg: #091019;
  --bg-soft: #0f1825;

  /* Surface */
  --surface: rgba(8, 15, 25, 0.80);
  --surface-alt: rgba(255, 255, 255, 0.06);

  /* Borders */
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-orange: rgba(255, 93, 31, 0.38);
  --line-teal: rgba(32, 198, 167, 0.32);

  /* Text */
  --text: #f7f9fc;
  --muted: #c5cfdd;
  --muted-strong: #e1e7f0;

  /* Brand */
  --orange: #ff5d1f;
  --orange-deep: #ff3b0a;
  --orange-light: #ff8a5c;
  --orange-glow: rgba(255, 93, 31, 0.16);
  --teal: #20c6a7;
  --teal-deep: #108a87;
  --teal-light: #5cd8c2;
  --teal-glow: rgba(32, 198, 167, 0.14);

  /* Shadows */
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  --shadow-hover: 0 40px 100px rgba(0, 0, 0, 0.36);
  --shadow-orange: 0 14px 40px rgba(255, 93, 31, 0.24);
  --shadow-teal: 0 14px 40px rgba(32, 198, 167, 0.20);

  /* Radii */
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;

  /* Spacing */
  --space-section: 96px;

  /* Z-index */
  --z-base: 1;
  --z-header: 40;
  --z-overlay: 45;
  --z-menu: 50;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(9, 16, 25, 0.70) 0%, rgba(9, 16, 25, 0.96) 38%),
    url("./assets/hero-cover.jpg") top center / min(100%, 1600px) auto no-repeat,
    radial-gradient(circle at top left, rgba(255, 93, 31, 0.20), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(32, 198, 167, 0.14), transparent 20%),
    linear-gradient(180deg, #0b131d 0%, #091019 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

body.blog-modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    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: 34px 34px;
  opacity: 0.20;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(255, 93, 31, 0.45);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   BACKGROUND ATMOSPHERE
   ============================================================ */
.background-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 93, 31, 0.10), transparent 18%),
    radial-gradient(circle at 86% 12%, rgba(32, 198, 167, 0.08), transparent 16%);
}

/* ============================================================
   PAGE SHELL
   ============================================================ */
.page-shell {
  position: relative;
  z-index: var(--z-base);
  width: min(calc(100% - 32px), 1260px);
  margin: 0 auto;
  padding-bottom: 48px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 14px;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 16, 25, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.20);
  transition: box-shadow 300ms var(--ease-out), border-color 300ms var(--ease-out);
}

.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.30);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  object-fit: contain;
}

.brand-copy { display: grid; gap: 1px; }

.brand-name {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.93rem;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.70rem;
}

/* Navigation */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover { color: var(--text); background: rgba(255,255,255,0.07); }
.site-nav a.is-active { color: var(--orange-light); background: var(--orange-glow); }

/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 200ms ease, border-color 200ms ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--line-strong);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 320ms var(--ease-out), opacity 200ms ease, width 280ms ease;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(9, 16, 25, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.93rem;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: transform 220ms var(--ease-bounce), box-shadow 220ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0px); }

.primary, .header-button {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-deep), var(--orange));
  box-shadow: var(--shadow-orange);
}
.primary:hover, .header-button:hover {
  box-shadow: 0 20px 52px rgba(255, 93, 31, 0.38);
}

.ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
}

.secondary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  box-shadow: var(--shadow-teal);
}
.secondary:hover {
  box-shadow: 0 20px 52px rgba(32, 198, 167, 0.32);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow,
.solution-tone,
.module-tag,
.member-role,
.blog-meta,
.plan-badge,
.plan-tier,
.trust-kicker,
.step-label,
.faq-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.73rem;
  font-weight: 800;
}

.eyebrow,
.solution-tone,
.module-tag,
.blog-meta,
.trust-kicker,
.step-label {
  color: var(--orange-light);
  display: block;
  margin-bottom: 10px;
}

.member-role {
  color: var(--orange-light);
  display: block;
  margin-bottom: 6px;
}

.hero h1,
.section-heading h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.97;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  max-width: 760px;
  margin-top: 12px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 8px;
}

/* Muted text */
.hero-lead,
.hero-caption span,
.problem-card p,
.solution-card p, .solution-card li,
.feature-module p, .feature-module li,
.benefit-card p,
.pricing-card p, .pricing-card li,
.blog-card p,
.team-card p,
.partner-copy p,
.footer-meta span,
.brand-tag,
.footer-brand p,
.step-card > p,
.faq-answer p,
.testimonial-quote,
.stat-item p,
.download-note,
.testimonial-author span {
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
  gap: 32px;
  align-items: end;
  padding: 108px 0 64px;
}

.hero-lead {
  max-width: 680px;
  margin-top: 20px;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-caption span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  transition: border-color 200ms ease, background 200ms ease;
}

.hero-caption span:hover {
  border-color: var(--line-teal);
  background: var(--teal-glow);
}

.hero-caption .cap-icon {
  color: var(--teal);
  flex-shrink: 0;
  display: flex;
}

/* Hero Panel */
.hero-panel {
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-metrics { display: grid; gap: 12px; }

.hero-metric {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms var(--ease-out);
}

.hero-metric:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.13);
  transform: translateX(4px);
}

.hero-metric strong {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff, var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-metric span { color: var(--muted); font-size: 0.86rem; }

.hero-trust { display: grid; gap: 10px; margin-top: 12px; }

.trust-chip {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(32,198,167,0.09), rgba(32,198,167,0.03));
  border: 1px solid rgba(32, 198, 167, 0.16);
}

.trust-chip .trust-kicker { color: var(--teal-light); margin-bottom: 3px; }
.trust-chip strong { font-size: 0.91rem; }

/* ============================================================
   SECTION BASE
   ============================================================ */
.section { padding-top: var(--space-section); }

.section-heading { max-width: 820px; margin-bottom: 32px; }

/* ============================================================
   CARD SHARED BASE
   ============================================================ */
.hero-panel,
.problem-card,
.solution-card,
.feature-module,
.benefit-card,
.pricing-card,
.blog-card,
.team-card,
.testimonial-card,
.step-card,
.faq-item,
.partner-section,
.download-section {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.problem-card,
.solution-card,
.feature-module,
.benefit-card,
.pricing-card,
.blog-card,
.team-card,
.testimonial-card,
.step-card {
  padding: 26px;
  border-radius: var(--radius-xl);
  transition:
    transform 280ms var(--ease-out),
    box-shadow 280ms var(--ease-out),
    border-color 280ms ease,
    background 280ms ease;
}

/* Orange glow hover */
.problem-card:hover,
.solution-card:hover,
.feature-module:hover,
.benefit-card:hover,
.blog-card:hover,
.step-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-orange);
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(255,93,31,0.06);
}

/* Teal glow hover */
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-teal);
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(32,198,167,0.06);
}

.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

/* Shared card h3 */
.problem-card h3,
.solution-card h3,
.feature-module h3,
.benefit-card h3,
.pricing-card h3,
.blog-card h3,
.team-card h3,
.step-card h3,
.testimonial-card h3,
.partner-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.04rem, 1.8vw, 1.30rem);
  line-height: 1.32;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Color-coded top border per card */
.problem-card:nth-child(1) { border-top: 2px solid rgba(255, 60, 10, 0.55); }
.problem-card:nth-child(2) { border-top: 2px solid rgba(255, 138, 92, 0.50); }
.problem-card:nth-child(3) { border-top: 2px solid rgba(32, 198, 167, 0.55); }
.problem-card:nth-child(4) { border-top: 2px solid rgba(90, 200, 200, 0.45); }

.problem-value {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "Oswald", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.problem-card:nth-child(3) .problem-value,
.problem-card:nth-child(4) .problem-value {
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   SOLUTIONS SECTION
   ============================================================ */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.solution-card.hot {
  background: linear-gradient(155deg, rgba(255,93,31,0.13), rgba(8,15,25,0.85));
  border-color: rgba(255,93,31,0.22);
}

.solution-card.warm {
  background: linear-gradient(155deg, rgba(32,198,167,0.11), rgba(8,15,25,0.85));
  border-color: rgba(32,198,167,0.20);
}

.solution-card.hot .solution-tone { color: var(--orange-light); }
.solution-card.warm .solution-tone { color: var(--teal-light); }

.solution-card ul, .feature-module ul, .pricing-card ul {
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}

.solution-card li, .feature-module li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.solution-card li::before, .feature-module li::before {
  content: "→";
  color: var(--orange);
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}

.pricing-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-card li::before {
  content: "✓";
  color: var(--teal);
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 2px;
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.step-card {
  display: grid;
  gap: 14px;
  position: relative;
}

.step-num {
  font-family: "Oswald", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--orange-glow);
  border: 1px solid rgba(255, 93, 31, 0.22);
  color: var(--orange-light);
}

.step-icon svg { width: 26px; height: 26px; }

.step-card h3 { font-size: 1.05rem; }

/* ============================================================
   ARCHITECTURE SECTION
   ============================================================ */
.architecture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-module.wide { grid-column: span 2; }

/* ============================================================
   BENEFITS SECTION
   ============================================================ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit-value {
  display: block;
  margin-bottom: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section { padding-top: var(--space-section); }

.stats-inner {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,93,31,0.07), rgba(32,198,167,0.05));
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  display: grid;
  gap: 10px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

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

.stat-value {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item:nth-child(3) .stat-value,
.stat-item:nth-child(4) .stat-value {
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p { font-size: 0.88rem; }

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.plan-tier { display: block; margin-bottom: 8px; color: #fff0e9; }

.plan-badge {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 93, 31, 0.20);
  color: #ffd4bc;
  font-size: 0.70rem;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 4px 0 10px;
}

.pricing-card.featured {
  background: linear-gradient(160deg, rgba(255,93,31,0.17), rgba(8,15,25,0.84));
  border-color: rgba(255,93,31,0.34);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255,93,31,0.22), transparent 70%);
  pointer-events: none;
}

.pricing-card.driver {
  border-color: rgba(32,198,167,0.28);
  background: linear-gradient(160deg, rgba(32,198,167,0.09), rgba(8,15,25,0.84));
}

.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.87rem;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.07);
  color: var(--text);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
  text-align: center;
}

.pricing-cta:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.22);
}

.pricing-card.featured .pricing-cta {
  background: linear-gradient(135deg, var(--orange-deep), var(--orange));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.pricing-card.featured .pricing-cta:hover {
  box-shadow: 0 20px 48px rgba(255,93,31,0.38);
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blog-status {
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-thumb {
  height: 130px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}

.blog-card:nth-child(1) .blog-thumb {
  background: linear-gradient(135deg, rgba(255,93,31,0.22), rgba(255,150,80,0.10));
}
.blog-card:nth-child(2) .blog-thumb {
  background: linear-gradient(135deg, rgba(32,198,167,0.22), rgba(20,150,130,0.10));
}
.blog-card:nth-child(3) .blog-thumb {
  background: linear-gradient(135deg, rgba(110,120,255,0.22), rgba(80,100,220,0.10));
}

.blog-card.is-featured .blog-thumb {
  background-size: cover;
  background-position: center;
}

.blog-meta { margin-bottom: 12px; }

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--orange-light);
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap 200ms ease, color 180ms ease;
}

.blog-read-more:hover { gap: 10px; color: var(--orange); }

/* ============================================================
   BLOG MODAL
   ============================================================ */
.blog-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 16, 25, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.blog-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.blog-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(8, 15, 25, 0.98);
  box-shadow: var(--shadow-hover);
}

.blog-modal__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.blog-modal__meta {
  margin-top: 8px;
  color: var(--orange-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
}

.blog-modal__title {
  margin-top: 10px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.blog-modal__summary {
  margin-top: 10px;
  color: var(--muted-strong);
  font-size: 1rem;
}

.blog-modal__image {
  margin-top: 18px;
}

.blog-modal__image img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.blog-modal__content {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.blog-modal__content p + p {
  margin-top: 14px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 250ms ease, border-color 250ms ease;
}

.faq-item[open] {
  border-color: var(--line-orange);
  box-shadow: var(--shadow-orange);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.99rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 180ms ease, background 180ms ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--orange-light); }

.faq-item[open] summary { color: var(--orange-light); }

.faq-chevron {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  transition: transform 320ms var(--ease-out), background 200ms ease, color 200ms ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background: var(--orange-glow);
  color: var(--orange-light);
}

.faq-chevron svg { width: 14px; height: 14px; }

.faq-answer { padding: 0 24px 22px; }

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.team-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.member-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  position: relative;
  background: var(--bg-soft);
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}

.team-card:hover .member-avatar img {
  transform: scale(1.06);
}

.team-card:nth-child(1) .member-avatar { background: linear-gradient(135deg, #ff5d1f, #ff9266); color: #fff; }
.team-card:nth-child(2) .member-avatar { background: linear-gradient(135deg, #20c6a7, #5cd8c2); color: #fff; }
.team-card:nth-child(3) .member-avatar { background: linear-gradient(135deg, #7c3aed, #a78bfa); color: #fff; }
.team-card:nth-child(4) .member-avatar { background: linear-gradient(135deg, #ec4899, #f9a8d4); color: #fff; }
.team-card:nth-child(5) .member-avatar { background: linear-gradient(135deg, #f59e0b, #fcd34d); color: #333; }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 0.96rem;
  font-style: italic;
  flex: 1;
  margin-bottom: 20px;
  line-height: 1.78;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.10);
}

.testimonial-card:nth-child(1) .testimonial-avatar { background: linear-gradient(135deg, #ff5d1f, #ff9266); color: #fff; }
.testimonial-card:nth-child(2) .testimonial-avatar { background: linear-gradient(135deg, #20c6a7, #5cd8c2); color: #fff; }
.testimonial-card:nth-child(3) .testimonial-avatar { background: linear-gradient(135deg, #7c3aed, #a78bfa); color: #fff; }

.testimonial-author strong { display: block; font-size: 0.93rem; margin-bottom: 2px; }

.testimonial-note {
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
}

/* ============================================================
   PARTNER SECTION
   ============================================================ */
.partner-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: var(--space-section);
  padding: 32px;
  border-radius: 34px;
}

.partner-copy .eyebrow { margin-bottom: 8px; }

/* ============================================================
   DOWNLOAD SECTION
   ============================================================ */
.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
  padding: 56px;
  border-radius: 40px;
  margin-top: var(--space-section);
  background: linear-gradient(155deg, rgba(255,93,31,0.11), rgba(8,15,25,0.86));
  border-color: rgba(255,93,31,0.22);
  overflow: hidden;
  position: relative;
}

.download-section::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,93,31,0.14), transparent 70%);
  pointer-events: none;
}

.download-copy .eyebrow { margin-bottom: 8px; }

.download-copy h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.97;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin: 8px 0 16px;
}

.download-copy > p { max-width: 460px; }

.download-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-strong);
  color: var(--text);
  min-width: 155px;
  transition: background 200ms ease, border-color 200ms ease, transform 220ms var(--ease-bounce);
}

.download-btn:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.download-btn-icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--text); }

.download-btn-text span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1;
  margin-bottom: 3px;
}

.download-btn-text strong { font-size: 0.97rem; line-height: 1; }

.download-note { margin-top: 14px; font-size: 0.83rem; }

/* Phone Mockup */
.download-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.phone-mockup {
  width: 210px;
  height: 400px;
  border: 2px solid rgba(255,255,255,0.14);
  border-radius: 38px;
  padding: 10px;
  background: rgba(9,16,25,0.92);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(180deg, #0d1e30, #091019);
  overflow: hidden;
}

.app-ui {
  padding: 28px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  height: 100%;
}

.app-header-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
}

.app-badge-pill {
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(255,93,31,0.22);
  color: var(--orange-light);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sos-button-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sos-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 93, 31, 0.35);
  animation: sosRing 2.8s ease-in-out infinite;
}
.sos-ring-1 { width: 100px; height: 100px; animation-delay: 0s; }
.sos-ring-2 { width: 124px; height: 124px; animation-delay: 0.9s; }

@keyframes sosRing {
  0%,100% { transform: scale(0.88); opacity: 0.6; }
  50% { transform: scale(1); opacity: 0.18; }
}

.sos-btn-inner {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-deep), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #fff;
  box-shadow: 0 8px 28px rgba(255,93,31,0.55);
  position: relative;
  z-index: 1;
}

.app-stats-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini-stat {
  padding: 9px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  gap: 2px;
}

.mini-stat strong { font-size: 0.8rem; font-weight: 700; color: var(--orange-light); }
.mini-stat span { font-size: 0.56rem; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 40px;
  align-items: start;
  margin-top: 72px;
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
}

.footer-brand { display: flex; align-items: flex-start; gap: 14px; }

.footer-brand img {
  width: 52px;
  height: 52px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand h3 { margin-bottom: 4px; font-size: 1rem; letter-spacing: 0.06em; }

.footer-links, .footer-meta { display: grid; gap: 8px; }

.footer-links a, .footer-meta a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 180ms ease;
}

.footer-links a:hover, .footer-meta a:hover { color: var(--text); }
.footer-meta span { font-size: 0.88rem; }

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

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

/* ============================================================
   RESPONSIVE — 1180px
   ============================================================ */
@media (max-width: 1180px) {
  .problem-grid,
  .benefit-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 580px;
    animation: none;
  }

  .partner-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-actions { justify-content: center; }
  .download-visual { display: none; }
  .download-copy > p { max-width: 100%; }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 32px;
    gap: 32px 0;
  }

  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--line); }

  .feature-module.wide { grid-column: span 2; }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand { grid-column: span 2; }
  .footer-copy { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — 860px
   ============================================================ */
@media (max-width: 860px) {
  body {
    background:
      linear-gradient(180deg, rgba(9,16,25,0.76) 0%, rgba(9,16,25,0.97) 30%),
      url("./assets/hero-cover.jpg") top center / 100% auto no-repeat,
      radial-gradient(circle at top left, rgba(255,93,31,0.18), transparent 22%),
      linear-gradient(180deg, #0b131d 0%, #091019 100%);
  }

  .page-shell { width: min(calc(100% - 24px), 1260px); }

  .site-header {
    border-radius: 22px;
    padding: 10px 14px;
  }

  /* Show hamburger */
  .hamburger { display: flex; }

  /* Hide inline header button */
  .header-button { display: none; }

  /* Mobile slide-in nav */
  .site-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 80vw);
    z-index: var(--z-menu);
    background: rgba(9,16,25,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 32px 24px;
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 380ms var(--ease-out);
  }

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

  .site-nav a {
    font-size: 1.08rem;
    padding: 12px 16px;
    border-radius: 14px;
    width: 100%;
  }

  .nav-overlay { display: block; }

  /* Hero */
  .hero { padding-top: 48px; padding-bottom: 32px; }

  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.6rem); }

  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: center; }

  /* All grids → 1 column */
  .problem-grid,
  .solution-grid,
  .architecture-grid,
  .benefit-grid,
  .pricing-grid,
  .blog-grid,
  .team-grid,
  .testimonial-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .feature-module.wide { grid-column: auto; }

  .section { padding-top: 72px; }

  .partner-section { margin-top: 72px; grid-template-columns: 1fr; text-align: center; }

  .download-section { padding: 36px 28px; margin-top: 72px; }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    padding: 36px 24px;
    gap: 28px 0;
  }

  .stat-item:nth-child(3) { border-right: 1px solid var(--line); }

  .site-footer { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand { grid-column: 1; }
  .footer-copy { grid-column: 1; }

  .faq-list { max-width: 100%; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }

  .hero-caption { flex-direction: column; align-items: flex-start; }

  .site-header { border-radius: 18px; padding: 8px 12px; }

  .stats-inner { grid-template-columns: 1fr; gap: 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 24px; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .stat-item:nth-child(3) { border-right: none; }

  .download-section { padding: 28px 20px; }

  .testimonial-grid { grid-template-columns: 1fr; }

  .phone-mockup { width: 180px; height: 340px; }
}
