/* ============================================================
   LOUIS GROUP PROPOSAL — DESIGN SYSTEM
   Style: Liquid Glass | Palette: Navy + Blue CTA
   Typography: Playfair Display / Inter
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --color-primary: #0F172A;
  --color-on-primary: #FFFFFF;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-accent-light: #0EA5E9;
  --color-background: #F8FAFC;
  --color-foreground: #020617;
  --color-muted: #E8ECF1;
  --color-muted-fg: #64748B;
  --color-border: #E2E8F0;
  --color-destructive: #DC2626;

  /* Phase colors */
  --phase1-color: #7C3AED;
  --phase1-bg: #F5F3FF;
  --phase1-border: #DDD6FE;
  --phase2-color: #0369A1;
  --phase2-bg: #F0F9FF;
  --phase2-border: #BAE6FD;
  --phase3-color: #059669;
  --phase3-bg: #ECFDF5;
  --phase3-border: #A7F3D0;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 6rem 0;
  --container-max: 1200px;
  --container-padding: 0 1.5rem;

  /* Effects */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-blur: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-foreground);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-highlight {
  position: relative;
  white-space: nowrap;
}

.text-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.15), rgba(14, 165, 233, 0.15));
  border-radius: 4px;
  z-index: -1;
}

.text-muted {
  color: var(--color-muted-fg);
}

.section {
  padding: var(--section-padding);
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(3, 105, 161, 0.08);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--color-secondary);
  line-height: 1.75;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-accent-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
  font-weight: 600;
}

.btn-accent-outline:hover {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.15);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--color-primary);
  cursor: pointer;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-radius: var(--radius-sm);
}

.logo-icon svg {
  width: 20px;
  height: 20px;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-secondary);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.nav-link:hover {
  color: var(--color-primary);
  background: rgba(15, 23, 42, 0.04);
}

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

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 4rem;
  background: linear-gradient(180deg, #F0F4F8 0%, var(--color-background) 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: rgba(3, 105, 161, 0.12);
  top: -100px;
  right: -100px;
  animation: floatSlow 20s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.08);
  bottom: -50px;
  left: -100px;
  animation: floatSlow 25s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: rgba(5, 150, 105, 0.06);
  top: 30%;
  left: 50%;
  animation: floatSlow 18s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  background: rgba(3, 105, 161, 0.08);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-secondary);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.8;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

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

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--color-muted-fg);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
  color: var(--color-muted-fg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Pain Points ---------- */
.section-pain {
  background: var(--color-background);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pain-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
}

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

.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pain-icon-red {
  background: rgba(220, 38, 38, 0.08);
  color: var(--color-destructive);
}

.pain-icon-amber {
  background: rgba(245, 158, 11, 0.08);
  color: #D97706;
}

.pain-icon-blue {
  background: rgba(3, 105, 161, 0.08);
  color: var(--color-accent);
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.pain-card p {
  font-size: 0.9375rem;
  color: var(--color-secondary);
  line-height: 1.7;
}

/* ---------- Timeline ---------- */
.section-phases {
  background: linear-gradient(180deg, #F0F4F8 0%, var(--color-background) 100%);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--phase1-color), var(--phase2-color), var(--phase3-color));
  opacity: 0.2;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-on-primary);
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.timeline-item[data-phase="1"] .timeline-dot { background: var(--phase1-color); }
.timeline-item[data-phase="2"] .timeline-dot { background: var(--phase2-color); }
.timeline-item[data-phase="3"] .timeline-dot { background: var(--phase3-color); }

.timeline-card {
  flex: 1;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-base);
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.timeline-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.timeline-item[data-phase="1"] .timeline-badge { background: var(--phase1-bg); color: var(--phase1-color); }
.timeline-item[data-phase="2"] .timeline-badge { background: var(--phase2-bg); color: var(--phase2-color); }
.timeline-item[data-phase="3"] .timeline-badge { background: var(--phase3-bg); color: var(--phase3-color); }

.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.timeline-card p {
  font-size: 0.9375rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.timeline-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.03);
  border-radius: var(--radius-sm);
}

.price-label {
  font-size: 0.8125rem;
  color: var(--color-muted-fg);
  font-weight: 500;
}

.price-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
}

.price-note {
  font-size: 0.8125rem;
  color: var(--color-muted-fg);
}

.timeline-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.timeline-link:hover {
  color: var(--color-accent-light);
}

/* ---------- Phase Sections ---------- */
.section-phase {
  padding: 5rem 0;
}

.phase-1-bg { background: linear-gradient(180deg, var(--phase1-bg) 0%, var(--color-background) 100%); }
.phase-2-bg { background: linear-gradient(180deg, var(--phase2-bg) 0%, var(--color-background) 100%); }
.phase-3-bg { background: linear-gradient(180deg, var(--phase3-bg) 0%, var(--color-background) 100%); }

.phase-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.phase-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--phase1-color);
  opacity: 0.15;
  line-height: 1;
  flex-shrink: 0;
}

.phase-number-2 { color: var(--phase2-color); }
.phase-number-3 { color: var(--phase3-color); }

.tag-phase1 { background: rgba(124, 58, 237, 0.08); color: var(--phase1-color); }
.tag-phase2 { background: rgba(3, 105, 161, 0.08); color: var(--phase2-color); }
.tag-phase3 { background: rgba(5, 150, 105, 0.08); color: var(--phase3-color); }

/* ---------- Deliverables Grid ---------- */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.deliverable-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
}

.deliverable-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.deliverable-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  opacity: 0.06;
  color: var(--color-primary);
}

.deliverable-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: rgba(124, 58, 237, 0.08);
  color: var(--phase1-color);
}

.deliverable-icon.icon-blue {
  background: rgba(3, 105, 161, 0.08);
  color: var(--phase2-color);
}

.deliverable-icon.icon-emerald {
  background: rgba(5, 150, 105, 0.08);
  color: var(--phase3-color);
}

.deliverable-card h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.625rem;
}

.deliverable-card p {
  font-size: 0.9375rem;
  color: var(--color-secondary);
  line-height: 1.7;
}

.deliverable-example {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(124, 58, 237, 0.04);
  border-left: 3px solid var(--phase1-color);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--color-secondary);
  line-height: 1.6;
}

.deliverable-example svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--phase1-color);
}

/* ---------- Pricing Cards ---------- */
.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-md);
}

.pricing-card-header {
  padding: 1.75rem 2rem 0;
}

.pricing-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.pricing-subtitle {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}

.pricing-card-body {
  padding: 1.5rem 2rem;
}

/* Phase 1 single price */
.price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.375rem;
  padding: 1.5rem 0;
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-muted-fg);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.price-unit {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-muted-fg);
}

/* Includes list */
.pricing-includes {
  display: grid;
  gap: 0.75rem;
}

.pricing-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--color-secondary);
}

.pricing-includes li svg {
  flex-shrink: 0;
  color: var(--phase1-color);
  margin-top: 3px;
}

.phase2-pricing .pricing-includes li svg {
  color: var(--phase2-color);
}

.phase3-pricing .pricing-includes li svg {
  color: var(--phase3-color);
}

/* Phase 2/3 breakdown */
.pricing-breakdown {
  display: grid;
  gap: 1rem;
}

.pricing-breakdown + .pricing-includes {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--color-border);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(15, 23, 42, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.price-row-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--color-secondary);
  font-weight: 500;
}

.price-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.price-dot.service { background: var(--color-accent); }
.price-dot.ads { background: #F59E0B; }
.price-dot.bonus { background: var(--phase3-color); }

.price-row-value {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: right;
  white-space: nowrap;
}

.price-row-value span {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted-fg);
  margin-left: 0.35rem;
}

.price-row-bonus {
  border: 1px dashed var(--phase3-border);
  background: rgba(5, 150, 105, 0.03);
}

/* Pricing notes */
.pricing-note {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-muted-fg);
  line-height: 1.6;
}

.pricing-note svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-note-highlight {
  background: rgba(5, 150, 105, 0.03);
}

.pricing-note-highlight svg {
  color: var(--phase3-color);
}

/* Phase-specific pricing borders */
.phase1-pricing { border-top: 3px solid var(--phase1-color); }
.phase2-pricing { border-top: 3px solid var(--phase2-color); }
.phase3-pricing { border-top: 3px solid var(--phase3-color); }

/* ---------- Benefits Row ---------- */
.benefits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(3, 105, 161, 0.08);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.benefit-icon.icon-phase1 {
  background: rgba(124, 58, 237, 0.08);
  color: var(--phase1-color);
}

.benefit-icon.icon-phase3 {
  background: rgba(16, 185, 129, 0.08);
  color: var(--phase3-color);
}

.benefit-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.benefit-item p {
  font-size: 0.875rem;
  color: var(--color-secondary);
  line-height: 1.6;
}

/* ---------- Summary Table ---------- */
.section-summary {
  background: var(--color-background);
}

.summary-table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 0.9375rem;
}

.summary-table th {
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  text-align: left;
  white-space: nowrap;
}

.summary-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-secondary);
}

.summary-table tbody tr:last-child td {
  border-bottom: none;
}

.summary-table tbody tr:hover {
  background: rgba(15, 23, 42, 0.02);
}

.col-total {
  text-align: right;
}

.col-total strong {
  color: var(--color-primary);
}

.summary-table th.col-total {
  text-align: right;
}

/* Badges */
.badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  white-space: nowrap;
}

.badge-phase1 { background: var(--phase1-bg); color: var(--phase1-color); }
.badge-phase2 { background: var(--phase2-bg); color: var(--phase2-color); }
.badge-phase3 { background: var(--phase3-bg); color: var(--phase3-color); }

/* Row highlights */
.row-phase1 td:first-child { border-left: 3px solid var(--phase1-color); }
.row-phase2 td:first-child { border-left: 3px solid var(--phase2-color); }
.row-phase3 td:first-child { border-left: 3px solid var(--phase3-color); }

/* Disclaimer box */
.disclaimer-box {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(3, 105, 161, 0.04);
  border: 1px solid rgba(3, 105, 161, 0.12);
  border-radius: var(--radius-lg);
}

.disclaimer-box svg {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.disclaimer-box strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.disclaimer-box ul {
  display: grid;
  gap: 0.375rem;
}

.disclaimer-box li {
  font-size: 0.875rem;
  color: var(--color-secondary);
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}

.disclaimer-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ---------- CTA Section ---------- */
.section-cta {
  background: var(--color-primary);
  padding: 5rem 0;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-on-primary);
  margin-bottom: 1rem;
}

.cta-content .text-gradient {
  background: linear-gradient(135deg, #38BDF8 0%, #22D3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.cta-content .btn-primary {
  background: white;
  color: var(--color-primary);
  border-color: white;
}

.cta-content .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ---------- Footer ---------- */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-background);
}

.footer-content {
  text-align: center;
}

.footer-content p {
  font-size: 0.875rem;
  color: var(--color-secondary);
}

.footer-sub {
  font-size: 0.8125rem;
  color: var(--color-muted-fg);
  margin-top: 0.25rem;
}

/* ---------- Scroll Animations ---------- */
.pain-card,
.timeline-item,
.deliverable-card,
.pricing-card,
.benefit-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pain-card.visible,
.timeline-item.visible,
.deliverable-card.visible,
.pricing-card.visible,
.benefit-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.pain-card:nth-child(2),
.deliverable-card:nth-child(2),
.timeline-item:nth-child(2),
.benefit-item:nth-child(2) { transition-delay: 0.1s; }

.pain-card:nth-child(3),
.deliverable-card:nth-child(3),
.timeline-item:nth-child(3),
.benefit-item:nth-child(3) { transition-delay: 0.2s; }

.deliverable-card:nth-child(4) { transition-delay: 0.15s; }
.deliverable-card:nth-child(5) { transition-delay: 0.2s; }
.deliverable-card:nth-child(6) { transition-delay: 0.25s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pain-grid,
  .deliverables-grid,
  .benefits-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff; /* Solid background to prevent overlapping text behind it */
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    z-index: 1001; /* Ensure mobile menu is strictly on top of all content */
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-link {
    width: 100%;
    padding: 1rem 2rem;
    text-align: center;
    border-radius: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  }

  .nav-links .nav-link:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
  }

  .pain-grid,
  .deliverables-grid,
  .benefits-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .text-highlight {
    white-space: normal;
  }

  .phase-header {
    flex-direction: column;
    gap: 1rem;
  }

  .phase-number {
    font-size: 3rem;
  }

  .timeline {
    padding-left: 0;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    gap: 1.25rem;
  }

  .timeline-dot {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .pricing-card {
    margin: 0 auto 2rem;
  }

  .pricing-card-body,
  .pricing-note {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .price-row-value {
    text-align: left;
  }

  .summary-table {
    font-size: 0.8125rem;
  }

  .summary-table th,
  .summary-table td {
    padding: 0.75rem 0.875rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .disclaimer-box {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 6rem 0 3rem;
  }

  .price-amount {
    font-size: 2.25rem;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .pain-card,
  .timeline-item,
  .deliverable-card,
  .pricing-card,
  .benefit-item {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Custom Logo & Contact Details ---------- */
.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-base);
}

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

.cta-contacts {
  margin-top: 3rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-contact-title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.cta-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .cta-contact-grid {
    grid-template-columns: 1fr;
  }
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  transition: all var(--transition-base);
  text-align: left;
}

a.cta-contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #38BDF8;
  transform: translateY(-2px);
}

.cta-contact-icon {
  font-size: 1.125rem;
}

.cta-contact-text {
  font-weight: 500;
}
