/* ═══════════════════════════════════════════════════════════
   IDEATECH — Clean Modern White Theme
   "Not an Agency. A Business Engine."
   Green (#A8CF45) + Blue (#1CADE4) + Navy (#002E60)
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
  --green: #A8CF45;
  --green-dark: #8FB83A;
  --green-light: #C5E07A;
  --green-bg: #F4F9E8;
  --blue: #1CADE4;
  --blue-dark: #0E8FC0;
  --blue-light: #5CC8F0;
  --blue-bg: #E8F6FC;
  --navy: #002E60;
  --navy-light: #0A4A82;
  --bg-white: #FFFFFF;
  --bg-light: #F7F8FA;
  --bg-lighter: #F0F2F5;
  --bg-section: #FAFBFC;
  --text-primary: #002E60;
  --text-secondary: #4A5B75;
  --text-muted: #8494A7;
  --text-light: #A8B5C4;
  --border: #E5E9F0;
  --border-light: #EDF0F5;
  --border-hover: #D0D7E2;
  --card-bg: #FFFFFF;
  --card-shadow: 0 2px 16px rgba(0, 46, 96, 0.06);
  --card-shadow-hover: 0 8px 32px rgba(0, 46, 96, 0.1);
  --gradient-green: linear-gradient(135deg, #A8CF45, #8FB83A);
  --gradient-blue: linear-gradient(135deg, #1CADE4, #0E8FC0);
  --gradient-hero: linear-gradient(135deg, #002E60 0%, #0A4A82 50%, #1CADE4 100%);
  --gradient-soft: linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 100%);
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', 'Poppins', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1200px;
  --header-height: 76px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Legacy variable aliases for backward compatibility */
  --accent: #1CADE4;
  --cyan: #1CADE4;
  --purple: #7C3AED;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F8FA;
  --bg-surface: #F0F2F5;
  --bg-card: #FFFFFF;
  --border: #E5E9F0;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(1.05rem, 1.8vw, 1.2rem); }

p { margin-bottom: 1rem; max-width: 72ch; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--blue-dark); }

.mono { font-family: var(--font-mono); font-size: 0.85em; }
.green-text { color: var(--green-dark); }
.blue-text { color: var(--blue); }
.navy-text { color: var(--navy); }
.accent-text { color: var(--blue); }

/* Logo text styling */
.logo-text-green { color: var(--green-dark); font-weight: 700; }
.logo-text-blue { color: var(--blue); font-weight: 700; }

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-sm { padding: 60px 0; }

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

.section-green-tint { background: var(--green-bg); }

.section-blue-tint { background: var(--blue-bg); }

.section-gradient { background: var(--gradient-soft); }

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

.section-navy {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
}
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4, .section-navy h5 { color: #fff; }
.section-navy p { color: rgba(255,255,255,0.7); }
.section-navy .card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.section-navy .card:hover { border-color: rgba(255,255,255,0.2); }
.section-navy .card h4 { color: #fff; }
.section-navy .card p { color: rgba(255,255,255,0.6); }
.section-navy .stat-number { color: var(--green-light); }
.section-navy .stat-label { color: rgba(255,255,255,0.5); }
.section-navy .testimonial-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.section-navy .testimonial-card blockquote { color: rgba(255,255,255,0.7); }
.section-navy .testimonial-name { color: #fff; }
.section-navy .testimonial-role { color: rgba(255,255,255,0.5); }
.section-navy .card-icon { background: rgba(255,255,255,0.08); }
.section-navy .card-icon.green { background: rgba(168,207,69,0.15); color: var(--green-light); }
.section-navy .card-icon.cyan, .section-navy .card-icon.blue { background: rgba(28,173,228,0.15); color: var(--blue-light); }
.section-navy .os-layer { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.section-navy .os-layer:hover { border-color: var(--green); }
.section-navy .pod-layer { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.section-navy .pod-layer:hover { border-color: var(--green); }
.section-navy .pod-layer-name { color: var(--green-light); }
.section-navy .pod-layer p { color: rgba(255,255,255,0.6); }
.section-navy .comparison-table thead th { background: rgba(255,255,255,0.06); color: #fff; }
.section-navy .comparison-table tbody td { background: rgba(255,255,255,0.02); color: rgba(255,255,255,0.7); }
.section-navy .comparison-table tbody td:last-child { background: rgba(28,173,228,0.1); color: var(--blue-light); }
.section-navy .comparison-table { border-color: rgba(255,255,255,0.1); }
.section-navy .comparison-table th, .section-navy .comparison-table td { border-color: rgba(255,255,255,0.06); }
.section-navy .pricing-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.section-navy .pricing-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.section-navy .pricing-card.popular { border-color: var(--green); }
.section-navy .pricing-amount { color: var(--green-light); }
.section-navy .pricing-usd { color: rgba(255,255,255,0.5); }
.section-navy .pricing-features li { color: rgba(255,255,255,0.7); }
.section-navy .pricing-card h3 { color: #fff; }
.section-navy .service-features li { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.06); }
.section-navy .label { background: rgba(28,173,228,0.15); }
.section-navy .section-header p { color: rgba(255,255,255,0.6); }

/* ─── Background Patterns ─── */
.dot-pattern {
  background-image: radial-gradient(circle, rgba(0,46,96,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.grid-pattern {
  background-image:
    linear-gradient(rgba(0,46,96,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,46,96,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ═══════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0,46,96,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
}

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

.nav-item {
  position: relative;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
  color: var(--navy);
  background: var(--bg-light);
}

.nav-item a { color: inherit; text-decoration: none; }

/* Hide injected mobile chevron button on desktop — it's only used in the
   mobile dropdown menu. Mobile media query below overrides this. */
.nav-chevron { display: none; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--card-shadow-hover);
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition);
}

.dropdown a:hover {
  color: var(--blue);
  background: var(--blue-bg);
}

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gradient-green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(168, 207, 69, 0.3);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(168, 207, 69, 0.4);
  color: #fff;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
  border-radius: 2px;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-green);
  color: #fff;
  box-shadow: 0 2px 12px rgba(168, 207, 69, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(168, 207, 69, 0.4);
  color: #fff;
}

.btn-blue {
  background: var(--gradient-blue);
  color: #fff;
  box-shadow: 0 2px 12px rgba(28, 173, 228, 0.25);
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(28, 173, 228, 0.35);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-green {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green);
}
.btn-cyan {
  background: var(--gradient-blue);
  color: #fff;
  box-shadow: 0 2px 12px rgba(28, 173, 228, 0.25);
}
.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(28, 173, 228, 0.35);
  color: #fff;
}

.btn-outline-green:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.card-glow:hover {
  box-shadow: 0 8px 40px rgba(28, 173, 228, 0.08), var(--card-shadow-hover);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.card-icon.green {
  background: var(--green-bg);
  color: var(--green-dark);
}

.card-icon.blue, .card-icon.cyan {
  background: var(--blue-bg);
  color: var(--blue);
}

.card-icon.navy {
  background: rgba(0, 46, 96, 0.06);
  color: var(--navy);
}

/* Default card icon = green */
.card-icon:not(.blue):not(.cyan):not(.navy):not(.green) {
  background: var(--green-bg);
  color: var(--green-dark);
}

.card-icon.purple {
  background: #F3EEFF;
  color: #7C3AED;
}

.card h3 { margin-bottom: 12px; }
.card h4 { margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: 0.92rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
}
.card-link:hover { gap: 10px; }

/* ─── Grid Layouts ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ═══════════════════════════════════════════════════════════
   HERO SECTIONS
   ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  color: #fff;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 24px;
  max-width: 780px;
  color: #fff;
}

.hero h1 .green-text,
.hero h1 .accent-text {
  color: var(--green-light);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero .btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* Page Hero (inner pages) */
.page-hero {
  padding: calc(var(--header-height) + 80px) 0 80px;
  text-align: center;
  position: relative;
  background: var(--gradient-hero);
  color: #fff;
}

.page-hero h1 {
  margin-bottom: 20px;
  color: #fff;
}
.page-hero h1 .green-text,
.page-hero h1 .accent-text {
  color: var(--green-light);
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
}

.page-hero .mono {
  color: var(--green-light);
}

/* Hero Canvas */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

/* Gradient Orbs (repositioned for white theme) */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--green);
  top: -200px;
  right: -150px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--blue);
  bottom: -100px;
  left: -100px;
}

/* ═══════════════════════════════════════════════════════════
   TRUST TICKER
   ═══════════════════════════════════════════════════════════ */
.ticker-wrapper {
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.ticker-track {
  display: flex;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.ticker-item i { color: var(--green); font-size: 0.5rem; }
.ticker-item strong { color: var(--navy); font-weight: 700; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════ */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 48px 0;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   PROCESS / TIMELINE
   ═══════════════════════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--green), var(--blue));
  border-radius: 2px;
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 20px;
  color: #fff;
  background: var(--gradient-green);
  box-shadow: 0 4px 16px rgba(168, 207, 69, 0.3);
}

.process-step:nth-child(2) .step-number { background: var(--gradient-blue); box-shadow: 0 4px 16px rgba(28,173,228,0.3); }
.process-step:nth-child(3) .step-number { background: var(--gradient-green); }
.process-step:nth-child(4) .step-number { background: var(--gradient-blue); box-shadow: 0 4px 16px rgba(28,173,228,0.3); }

.process-step h4 { margin-bottom: 8px; font-size: 1.05rem; }
.process-step p { font-size: 0.88rem; max-width: 260px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════════════════════ */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.92rem;
  border: 1px solid var(--border);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table thead th {
  background: var(--bg-light);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 600;
}

.comparison-table thead th:last-child { color: var(--blue); }

.comparison-table tbody td { background: var(--bg-white); color: var(--text-secondary); }

.comparison-table tbody td:last-child {
  color: var(--navy);
  background: var(--blue-bg);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   OS LAYERS
   ═══════════════════════════════════════════════════════════ */
.os-layers {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 700px;
  margin: 0 auto;
}

.os-layer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.os-layer:hover {
  border-color: var(--green);
  transform: translateX(6px);
  box-shadow: var(--card-shadow-hover);
}

.os-layer-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-green);
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.os-layer h4 { font-size: 1rem; margin-bottom: 4px; }
.os-layer p { font-size: 0.85rem; margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════
   PRICING CARDS
   ═══════════════════════════════════════════════════════════ */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

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

.pricing-card.popular {
  border-color: var(--green);
  box-shadow: 0 8px 40px rgba(168, 207, 69, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card h3 { font-size: 1.2rem; margin-bottom: 8px; }

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 4px;
}

.pricing-usd {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li i { color: var(--green); margin-top: 4px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--card-shadow);
}

.testimonial-stars { color: #F59E0B; margin-bottom: 16px; font-size: 0.9rem; }

.testimonial-card blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════ */
.cta-banner {
  background: var(--gradient-hero);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(168,207,69,0.1) 0%, transparent 50%);
}

.cta-banner h2 {
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  color: #fff;
}

.cta-banner h2 .accent-text,
.cta-banner h2 .green-text {
  color: var(--green-light);
}

.cta-banner p {
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.8);
}

.cta-banner .btn-group {
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-secondary {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.cta-banner .btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   FAQ / ACCORDION
   ═══════════════════════════════════════════════════════════ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--blue);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 20px; }

.faq-answer p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.8; }

/* ═══════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28, 173, 228, 0.12);
  background: var(--bg-white);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238494A7' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select option { background: var(--bg-white); color: var(--navy); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  max-width: 280px;
}

.footer h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--green-light); padding-left: 4px; }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--green-light); }

/* Footer logo special styling for dark background */
.footer .logo-text-green { color: var(--green-light); }
.footer .logo-text-blue { color: var(--blue-light); }

/* ═══════════════════════════════════════════════════════════
   WHATSAPP
   ═══════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ═══════════════════════════════════════════════════════════
   SECTION HEADINGS
   ═══════════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  padding: 6px 18px;
  background: var(--blue-bg);
  border-radius: 50px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ═══════════════════════════════════════════════════════════
   BADGE
   ═══════════════════════════════════════════════════════════ */
.badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px;
  background: var(--gradient-green);
  color: #fff;
}

.badge-cyan, .badge-blue {
  background: var(--blue-bg);
  color: var(--blue);
}

.badge-green {
  background: var(--green-bg);
  color: var(--green-dark);
}

/* ═══════════════════════════════════════════════════════════
   CALCULATOR
   ═══════════════════════════════════════════════════════════ */
.calc-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-lighter);
  outline: none;
  margin: 12px 0 4px;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(168,207,69,0.4);
}

/* ═══════════════════════════════════════════════════════════
   SERVICE DETAIL
   ═══════════════════════════════════════════════════════════ */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-features { list-style: none; }

.service-features li {
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.service-features li:last-child { border: none; }

.service-features li i { color: var(--green); margin-top: 4px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 700px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--green), var(--blue));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--green);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-item h4 { font-size: 1rem; margin-bottom: 6px; }
.timeline-item p { font-size: 0.88rem; }

/* ═══════════════════════════════════════════════════════════
   CASE STUDY & BLOG CARDS
   ═══════════════════════════════════════════════════════════ */
.case-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

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

.case-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-light), var(--blue-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--blue);
  opacity: 0.5;
}

.case-card-body { padding: 24px; }
.case-card-body h4 { margin-bottom: 8px; }
.case-card-body p { font-size: 0.88rem; }

.case-metric {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: 12px;
}

.case-tags { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

.case-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--bg-light);
  color: var(--text-muted);
  font-weight: 500;
}

/* Filter Tabs */
.filter-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.filter-tab {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--blue-bg);
}

/* Blog Cards */
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

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

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--green-bg), var(--blue-bg));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img i { font-size: 2.5rem; color: var(--blue); opacity: 0.4; }

.blog-card-body { padding: 24px; }
.blog-card-body h4 { font-size: 1.05rem; margin-bottom: 10px; }
.blog-card-body p { font-size: 0.85rem; margin-bottom: 12px; }

.blog-meta { display: flex; gap: 16px; font-size: 0.78rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   POD DIAGRAM
   ═══════════════════════════════════════════════════════════ */
.pod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.pod-layer {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.pod-layer:hover { border-color: var(--green); transform: translateY(-2px); }

.pod-layer-name {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 8px;
}

.pod-layer p { font-size: 0.82rem; margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }
.max-w-600 { max-width: 600px; }
.w-full { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   FITSTACK SPECIFIC
   ═══════════════════════════════════════════════════════════ */
.fitstack-hero h1 .green-text { color: var(--green-light); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  /* ─── Mobile navigation: slide-down menu below header ─── */
  .nav {
    display: none;
  }
  .nav.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height));
    background: var(--bg-white);
    z-index: 1010;
    padding: 12px 20px 32px;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 10px 30px rgba(0, 46, 96, 0.12);
    border-bottom: 1px solid var(--border-light);
    align-items: stretch;
  }
  .nav.mobile-open .nav-item {
    width: 100%;
    padding: 14px 12px;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    color: var(--text-secondary);
    position: relative;
    white-space: normal;
  }
  .nav.mobile-open .nav-item:hover,
  .nav.mobile-open .nav-item.active {
    background: transparent;
    color: var(--navy);
  }
  .nav.mobile-open .nav-item > a {
    display: block;
    width: calc(100% - 50px); /* leave room for the chevron button on the right */
    padding-right: 8px;
  }
  /* Real chevron button (injected by JS) — visible only on mobile */
  .nav.mobile-open .nav-chevron {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 0;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease;
  }
  .nav.mobile-open .nav-chevron:hover,
  .nav.mobile-open .nav-chevron:focus-visible {
    background: var(--bg-light);
    color: var(--navy);
    outline: none;
  }
  .nav.mobile-open .nav-chevron i {
    transition: transform 0.2s ease;
    display: block;
  }
  .nav.mobile-open .nav-item.dropdown-open .nav-chevron i {
    transform: rotate(180deg);
  }
  .nav.mobile-open .nav-item.dropdown-open .nav-chevron {
    color: var(--navy);
  }
  .nav.mobile-open .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: var(--bg-light);
    border: none;
    padding: 6px 0 10px 18px;
    margin-top: 12px;
    border-radius: 10px;
    box-shadow: none;
    display: none;
    min-width: 0;
  }
  .nav.mobile-open .nav-item.dropdown-open .dropdown { display: block; }
  .nav.mobile-open .dropdown a {
    display: block;
    padding: 10px 12px;
    font-size: 0.92rem;
    border-radius: 6px;
    color: var(--text-secondary);
  }
  .nav.mobile-open .dropdown a:hover {
    background: var(--bg-white);
    color: var(--navy);
  }
  .mobile-toggle { display: flex; }
  .header-cta-desktop { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { min-height: 80vh; padding-top: calc(var(--header-height) + 20px); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-bar { gap: 32px; }
  .stat-number { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-grid { grid-template-columns: 1fr; }
  .page-hero { padding: calc(var(--header-height) + 40px) 0 40px; }
  .cta-banner { padding: 60px 0; }
  .calc-wrapper { padding: 24px; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; }
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ─── Selection ─── */
::selection { background: var(--green); color: #fff; }

/* ═══════════════════════════════════════════════════════════
   BACK-TO-TOP BUTTON
═══════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(0, 46, 96, 0.25);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(28, 173, 228, 0.35);
}
.back-to-top:active {
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  .back-to-top {
    bottom: 88px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }
  .whatsapp-float {
    bottom: 24px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGE LAYOUT (Privacy Policy, Terms of Service)
═══════════════════════════════════════════════════════════ */
.legal-page {
  background: var(--bg-white);
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
.legal-toc {
  font-size: 0.88rem;
}
.legal-toc h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 14px 0;
}
.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-toc-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.4;
  transition: var(--transition);
}
.legal-toc-list a:hover {
  background: var(--bg-light);
  color: var(--navy);
}
.legal-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.legal-body .legal-section {
  margin-bottom: 56px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}
.legal-body h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0 0 20px 0;
  font-weight: 700;
  line-height: 1.3;
}
.legal-body h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 24px 0 10px 0;
  font-weight: 600;
}
.legal-body p {
  margin: 0 0 16px 0;
}
.legal-body ul {
  margin: 0 0 20px 0;
  padding-left: 22px;
}
.legal-body ul li {
  margin-bottom: 8px;
}
.legal-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-body a:hover {
  color: var(--navy);
}
@media (max-width: 1000px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-toc {
    order: -1;
  }
  .legal-toc .card {
    position: static !important;
  }
  .legal-body h2 {
    font-size: 1.35rem;
  }
}
