/* ==========================================================================
   FONTS & CSS IMPORTS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* ==========================================================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ========================================================================== */

:root {
  /* Colors */
  --ink: #1a202c;
  --bg: #f8fafc;
  --surface: #ffffff;
  --muted: #878787;
  --line: #e2e8f0;
  --brand: #7C3AED; /* Neutral grey */
  --accent: #DC2626; /* Red accent */
  --navy: #374151; /* Dark grey */
  --navy-light: #9CA3AF; /* Light grey */
  --highlight: #9ACD32; /* Yellow green as primary highlight */
  --gold-accent: #DC2626; /* Red accent */
  --soft-pink: #fef7f7;
  --light-gray: #e7e6e8;
  --med-gray: #88898a;
  --warm-white: #fefefe;
  --purp: #7C3AED;
  
  /* Peaceful Green Palette */
  --legal-blue: #6B7280;
  --legal-blue-light: #9CA3AF;
  --legal-blue-dark: #374151;
  --legal-blue-soft: rgba(107, 114, 128, 0.1);
  --legal-blue-muted: rgba(107, 114, 128, 0.3);
  --professional-slate: #6B7280;
  --slate-light: #9CA3AF;
  
  /* Golden Accent Palette */
  --gold: #DC2626;
  --gold-light: #FCA5A5;
  --gold-dark: #B91C1C;
  --gold-soft: rgba(220, 38, 38, 0.1);
  --gold-muted: rgba(220, 38, 38, 0.3);
  --gold-warm: #DC2626;
  --red: #dc2626;

  /* Font Family */
  --font-family: Inter, sans-serif;

  /* Type Scale */

  --display-xlg-size: 3.05rem;


  --display-lg-size: 39.06px;
  --display-lg-weight: 800;
  --display-lg-line-height: 1.47;
  --display-lg-letter-spacing: 0.023em;

  --display-md-size: 34.94px;
  --display-md-weight: 800;
  --display-md-line-height: 1.47;
  --display-md-letter-spacing: 0.023em;

  --h1-size: 31.25px;
  --h1-weight: 700;
  --h1-line-height: 1.47;
  --h1-letter-spacing: 0.03em;

  --h2-size: 25px;
  --h2-weight: 600;
  --h2-line-height: 1.47;
  --h2-letter-spacing: 0.03em;

  --h3-size: 22.36px;
  --h3-weight: 600;
  --h3-line-height: 1.52;
  --h3-letter-spacing: 0.038em;

  --h4-size: 20px;
  --h4-weight: 500;
  --h4-line-height: 1.52;
  --h4-letter-spacing: 0.038em;

  --h5-size: 18.91px;
  --h5-weight: 500;
  --h5-line-height: 1.52;
  --h5-letter-spacing: 0.045em;

  --h6-size: 17.89px;
  --h6-weight: 500;
  --h6-line-height: 1.52;
  --h6-letter-spacing: 0.045em;

  --body-xl-size: 16.92px;
  --body-xl-weight: 400;
  --body-xl-line-height: 1.52;
  --body-xl-letter-spacing: 0.045em;

  --body-size: 16px;
  --body-weight: 400;
  --body-line-height: 1.52;
  --body-letter-spacing: 0.045em;

  --body-sm-size: 14.31px;
  --body-sm-weight: 400;
  --body-sm-line-height: 1.57;
  --body-sm-letter-spacing: 0.045em;

  --caption-lg-size: 12.8px;
  --caption-lg-weight: 400;
  --caption-lg-line-height: 1.57;
  --caption-lg-letter-spacing: 0.045em;

  --caption-size: 11.45px;
  --caption-weight: 400;
  --caption-line-height: 1.57;
  --caption-letter-spacing: 0.045em;

  --caption-sm-size: 10.24px;
  --caption-sm-weight: 300;
  --caption-sm-line-height: 1.57;
  --caption-sm-letter-spacing: 0.045em;

  --overline-size: 9.16px;
  --overline-weight: 500;
  --overline-line-height: 1.57;
  --overline-letter-spacing: 0.045em;

  
  /* Layout */
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --dock-h: 100px;
  
  /* Grid System - 12-8-4 */
  --grid-gap: 1.25rem;
  --container-padding: 1.5rem;

  /* Kiftkit-inspired Spacing System */
  --space-xs: 0.25rem;   /* 4px */
  --space-s: 0.5rem;     /* 8px */
  --space-m: 1rem;       /* 16px */
  --space-l: 1.5rem;     /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 2.5rem;   /* 40px */
  --space-3xl: 3rem;     /* 48px */
  --space-4xl: 4rem;     /* 64px */
  --space-5xl: 5rem;     /* 80px */
  --space-6xl: 6rem;     /* 96px */
}

/* ==========================================================================
   KIFTKIT SPACING UTILITIES
   ========================================================================== */

/* Margin utilities */
.m-xs { margin: var(--space-xs); }
.m-s { margin: var(--space-s); }
.m-m { margin: var(--space-m); }
.m-l { margin: var(--space-l); }
.m-xl { margin: var(--space-xl); }
.m-2xl { margin: var(--space-2xl); }
.m-3xl { margin: var(--space-3xl); }
.m-4xl { margin: var(--space-4xl); }
.m-5xl { margin: var(--space-5xl); }
.m-6xl { margin: var(--space-6xl); }

/* Margin top */
.mt-xs { margin-top: var(--space-xs); }
.mt-s { margin-top: var(--space-s); }
.mt-m { margin-top: var(--space-m); }
.mt-l { margin-top: var(--space-l); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }
.mt-4xl { margin-top: var(--space-4xl); }
.mt-5xl { margin-top: var(--space-5xl); }
.mt-6xl { margin-top: var(--space-6xl); }

/* Margin bottom */
.mb-xs { margin-bottom: var(--space-xs); }
.mb-s { margin-bottom: var(--space-s); }
.mb-m { margin-bottom: var(--space-m); }
.mb-l { margin-bottom: var(--space-l); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mb-4xl { margin-bottom: var(--space-4xl); }
.mb-5xl { margin-bottom: var(--space-5xl); }
.mb-6xl { margin-bottom: var(--space-6xl); }

/* Margin left/right */
.mx-xs { margin-left: var(--space-xs); margin-right: var(--space-xs); }
.mx-s { margin-left: var(--space-s); margin-right: var(--space-s); }
.mx-m { margin-left: var(--space-m); margin-right: var(--space-m); }
.mx-l { margin-left: var(--space-l); margin-right: var(--space-l); }
.mx-xl { margin-left: var(--space-xl); margin-right: var(--space-xl); }
.mx-2xl { margin-left: var(--space-2xl); margin-right: var(--space-2xl); }
.mx-3xl { margin-left: var(--space-3xl); margin-right: var(--space-3xl); }
.mx-4xl { margin-left: var(--space-4xl); margin-right: var(--space-4xl); }
.mx-5xl { margin-left: var(--space-5xl); margin-right: var(--space-5xl); }
.mx-6xl { margin-left: var(--space-6xl); margin-right: var(--space-6xl); }

/* Margin top/bottom */
.my-xs { margin-top: var(--space-xs); margin-bottom: var(--space-xs); }
.my-s { margin-top: var(--space-s); margin-bottom: var(--space-s); }
.my-m { margin-top: var(--space-m); margin-bottom: var(--space-m); }
.my-l { margin-top: var(--space-l); margin-bottom: var(--space-l); }
.my-xl { margin-top: var(--space-xl); margin-bottom: var(--space-xl); }
.my-2xl { margin-top: var(--space-2xl); margin-bottom: var(--space-2xl); }
.my-3xl { margin-top: var(--space-3xl); margin-bottom: var(--space-3xl); }
.my-4xl { margin-top: var(--space-4xl); margin-bottom: var(--space-4xl); }
.my-5xl { margin-top: var(--space-5xl); margin-bottom: var(--space-5xl); }
.my-6xl { margin-top: var(--space-6xl); margin-bottom: var(--space-6xl); }

/* Padding utilities */
.p-xs { padding: var(--space-xs); }
.p-s { padding: var(--space-s); }
.p-m { padding: var(--space-m); }
.p-l { padding: var(--space-l); }
.p-xl { padding: var(--space-xl); }
.p-2xl { padding: var(--space-2xl); }
.p-3xl { padding: var(--space-3xl); }
.p-4xl { padding: var(--space-4xl); }
.p-5xl { padding: var(--space-5xl); }
.p-6xl { padding: var(--space-6xl); }

/* Padding top */
.pt-xs { padding-top: var(--space-xs); }
.pt-s { padding-top: var(--space-s); }
.pt-m { padding-top: var(--space-m); }
.pt-l { padding-top: var(--space-l); }
.pt-xl { padding-top: var(--space-xl); }
.pt-2xl { padding-top: var(--space-2xl); }
.pt-3xl { padding-top: var(--space-3xl); }
.pt-4xl { padding-top: var(--space-4xl); }
.pt-5xl { padding-top: var(--space-5xl); }
.pt-6xl { padding-top: var(--space-6xl); }

/* Padding bottom */
.pb-xs { padding-bottom: var(--space-xs); }
.pb-s { padding-bottom: var(--space-s); }
.pb-m { padding-bottom: var(--space-m); }
.pb-l { padding-bottom: var(--space-l); }
.pb-xl { padding-bottom: var(--space-xl); }
.pb-2xl { padding-bottom: var(--space-2xl); }
.pb-3xl { padding-bottom: var(--space-3xl); }
.pb-4xl { padding-bottom: var(--space-4xl); }
.pb-5xl { padding-bottom: var(--space-5xl); }
.pb-6xl { padding-bottom: var(--space-6xl); }

/* Padding left/right */
.px-xs { padding-left: var(--space-xs); padding-right: var(--space-xs); }
.px-s { padding-left: var(--space-s); padding-right: var(--space-s); }
.px-m { padding-left: var(--space-m); padding-right: var(--space-m); }
.px-l { padding-left: var(--space-l); padding-right: var(--space-l); }
.px-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }
.px-2xl { padding-left: var(--space-2xl); padding-right: var(--space-2xl); }
.px-3xl { padding-left: var(--space-3xl); padding-right: var(--space-3xl); }
.px-4xl { padding-left: var(--space-4xl); padding-right: var(--space-4xl); }
.px-5xl { padding-left: var(--space-5xl); padding-right: var(--space-5xl); }
.px-6xl { padding-left: var(--space-6xl); padding-right: var(--space-6xl); }

/* Padding top/bottom */
.py-xs { padding-top: var(--space-xs); padding-bottom: var(--space-xs); }
.py-s { padding-top: var(--space-s); padding-bottom: var(--space-s); }
.py-m { padding-top: var(--space-m); padding-bottom: var(--space-m); }
.py-l { padding-top: var(--space-l); padding-bottom: var(--space-l); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-2xl { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.py-3xl { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.py-4xl { padding-top: var(--space-4xl); padding-bottom: var(--space-4xl); }
.py-5xl { padding-top: var(--space-5xl); padding-bottom: var(--space-5xl); }
.py-6xl { padding-top: var(--space-6xl); padding-bottom: var(--space-6xl); }

/* Gap utilities for flexbox/grid */
.gap-xs { gap: var(--space-xs); }
.gap-s { gap: var(--space-s); }
.gap-m { gap: var(--space-m); }
.gap-l { gap: var(--space-l); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }
.gap-3xl { gap: var(--space-3xl); }
.gap-4xl { gap: var(--space-4xl); }
.gap-5xl { gap: var(--space-5xl); }
.gap-6xl { gap: var(--space-6xl); }

/* ==========================================================================
   GLOBAL RESET & BASE STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-family);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
  overflow-x: hidden;
}

/* Light section helpers that work with existing CSS tokens */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #ffffff;
}

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, .h1 {
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  color: var(--ink);
  margin: 1.5rem 0 1rem;
  letter-spacing: var(--h1-letter-spacing);
  text-align: left;
  line-height: var(--h1-line-height);
}

/* Mobile header adjustments */
@media (max-width: 768px) {
  h1, .h1 {
    font-size: var(--h2-size);
    line-height: 1.3;
  }
}

.h2 {
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  margin: 0 0 1rem;
  color: var(--ink);
  text-align: left;
  line-height: var(--h2-line-height);
  letter-spacing: var(--h2-letter-spacing);
}

@media (max-width: 768px) {
  .h2 {
    margin-bottom: 0.75rem;
  }
}

/* Legal section headers */
#process .h2,
#faq .h2 {
  color: var(--legal-blue-dark);
}

/* Mobile h2 adjustments */
@media (max-width: 768px) {
  .h2 {
    font-size: var(--h3-size);
    line-height: 1.4;
  }
}

.lead {
  font-size: var(--body-xl-size);
  font-weight: var(--body-xl-weight);
  color: var(--muted);
  text-align: left;
  margin: 0 0 1.5rem;
  line-height: var(--body-xl-line-height);
  letter-spacing: var(--body-xl-letter-spacing);
  max-width: 100%;
}

@media (max-width: 768px) {
  .lead {
    margin-bottom: 1.25rem;
  }
}

.section-sub {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  color: var(--ink);
  margin: 0;
  text-align: left;
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
}

/* ==========================================================================
   LAYOUT COMPONENTS
   ========================================================================== */

.section {
  max-width: 866px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.5rem 1rem;
  }
}

.section.narrow {
  max-width: 866px;
  padding: 2rem 1.5rem;
}

/* ==========================================================================
   12-8-4 GRID SYSTEM
   ========================================================================== */

.grid {
  display: grid;
  gap: var(--grid-gap);
  width: 100%;
}

/* Mobile: 4 columns (≤768px) */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }

/* Tablet: 8 columns (769px-1024px) */
@media (min-width: 769px) {
  .grid-8 { grid-template-columns: repeat(8, 1fr); }
  .col-5 { grid-column: span 5; }
  .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; }
  .col-8 { grid-column: span 8; }
}

/* Desktop: 12 columns (≥1025px) */
@media (min-width: 1025px) {
  .grid-12 { grid-template-columns: repeat(12, 1fr); }
  .col-9 { grid-column: span 9; }
  .col-10 { grid-column: span 10; }
  .col-11 { grid-column: span 11; }
  .col-12 { grid-column: span 12; }
}

/* Legacy grid classes updated for 12-8-4 system */
/* Mobile: Stack single column with better spacing */
.grid.cols-2,
.grid.cols-3,
.grid.cols-4 {
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (max-width: 480px) {
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4 {
    gap: 1.5rem;
  }
}

/* Tablet breakpoint: 8 columns */
@media (min-width: 769px) {
  .grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .grid.cols-3 {
    grid-template-columns: repeat(8, 1fr);
    gap: 2rem;
  }
  .grid.cols-3 > * {
    grid-column: span 4;
  }
  
  .grid.cols-4 {
    grid-template-columns: repeat(8, 1fr);
    gap: 1.5rem;
  }
  .grid.cols-4 > * {
    grid-column: span 2;
  }
}

/* Desktop breakpoint: 12 columns */
@media (min-width: 1025px) {
  .grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .grid.cols-3 {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }
  .grid.cols-3 > * {
    grid-column: span 4;
  }
  
  .grid.cols-4 {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }
  .grid.cols-4 > * {
    grid-column: span 3;
  }
}

/* ==========================================================================
   CARDS & CONTENT BLOCKS
   ========================================================================== */

.card {
  background: var(--warm-white);
  border: 1px solid var(--legal-blue-muted);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.card strong {
  font-size: var(--h4-size);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

/* ==========================================================================
   MINIMAL LIST LAYOUTS
   ========================================================================== */

.simple-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .simple-list {
    margin-top: 1.5rem;
    gap: 1.5rem;
  }
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 0;
}

@media (max-width: 768px) {
  .list-item {
    gap: 1rem;
  }
}

.icon-simple {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--legal-blue-soft);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.icon-simple svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--legal-blue);
}

.list-item strong {
  font-size: var(--h4-size);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
  display: block;
}

.list-item p {
  margin: 0;
  color: var(--muted);
  font-size: var(--body-size);
  line-height: 1.5;
}

/* Feature Grid Layout */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .feature-grid {
    margin-top: 1.5rem;
    gap: 2rem;
  }
}

@media (min-width: 769px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.feature-item {
  text-align: left;
}

.feature-item h3 {
  font-size: var(--h4-size);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 1rem 0;
  position: relative;
  padding-bottom: 0.5rem;
}

.feature-item h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2rem;
  height: 2px;
  background: var(--gold);
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Process Steps Layout */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .process-steps {
    margin-top: 1.5rem;
    gap: 2rem;
  }
}

@media (min-width: 769px) {
  .process-steps {
    gap: 3rem;
  }
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

@media (max-width: 768px) {
  .step {
    gap: 1.5rem;
  }
}

.step-number {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--legal-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--h3-size);
  font-weight: 700;
  box-shadow: 0 0 25px rgba(46, 67, 92, 0.3);
}

.step-content h3 {
  font-size: var(--h3-size);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.75rem 0;
}

.step-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1.25rem;
  }
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(46, 67, 92, 0.1);
  border-color: var(--gold);
}


/* Remove row styling since cards are now column-based */

.callout-box {
  margin: 0;
  padding: 0;
  flex: 1;
}

.callout-box strong {
  display: block;
  margin: 0 0 0.5rem 0;
}

.callout-box .section-sub {
  margin: 0;
}

.kicker {
  display: inline-block;
  font-size: var(--caption-lg-size);
  font-weight: 600;
  letter-spacing: var(--caption-lg-letter-spacing);
  line-height: var(--caption-lg-line-height);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  text-align: left;
}

@media (max-width: 768px) {
  .kicker {
    margin-bottom: 0.75rem;
  }
}

.list {
  margin: 0;
  padding-left: 18px;
}

.list li {
  margin: 6px 0;
}

/* ==========================================================================
   ICONS & VISUAL ELEMENTS
   ========================================================================== */

.row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  height: fit-content;
}

.ic {
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(252, 56, 153, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--legal-blue-soft);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.1);
}

.ic svg {
  width: 1.5rem;
  height: 1.5rem;
  opacity: 1;
  color: var(--legal-blue);
}

/* Special styling for dark section icons */
#services-bg .ic,
#why-bg .ic {
  background: rgba(6, 214, 160, 0.1);
}

#services-bg .ic svg,
#why-bg .ic svg {
  color: var(--highlight);
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  border: none;
  background: var(--legal-blue);
  color: var(--surface);
  font-size: var(--body-size);
  font-weight: 600;
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
  cursor: pointer;
  width: auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(46, 67, 92, 0.2), 0 0 25px rgba(46, 67, 92, 0.3);
}

@media (max-width: 640px) {
  .btn {
    width: 100%;
  }
}

.btn.primary {
  background: #7C3AED;
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25), 0 0 30px rgba(124, 58, 237, 0.4);
  border: none;
}

.btn.primary:hover {
  background: #8B5CF6;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35), 0 0 50px rgba(124, 58, 237, 0.6);
}

.btn.ghost {
  background: transparent;
  color: var(--legal-blue);
  border: 1px solid var(--legal-blue-muted);
  box-shadow: none;
}

.btn.ghost:hover {
  background: var(--legal-blue-soft);
  color: var(--legal-blue-dark);
  border-color: var(--legal-blue);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-wrapper {
  display: flex;
  column-gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .btn-wrapper {
    margin-top: 1.5rem;
  }
}

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */

.input, .select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--legal-blue-muted);
  background: var(--warm-white);
  color: var(--ink);
  font-size: 15px;
  min-height: 44px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.input:focus, .select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Answer Area Options */
.options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: visible;
}

.options.scrollable {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  color: var(--ink);
  border: 2px solid #9ACD32; 
  background: #ffffff;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  font-size: 15px;
  flex-shrink: 0;
}


.option:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(107, 114, 128, 0.15);
  background: var(--legal-blue-soft);
}

.option:active {
  transform: translateY(1px);
}

.option .mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--legal-blue-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--caption-lg-size);
  color: var(--ink);
  background: var(--warm-white);
  flex: 0 0 auto;
  transition: all 0.2s ease;
}

.option .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  opacity: 0.8;
}

.option.active {
  border-color: #7C3AED;
  background: #fff;

  color: white;
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.25);
}

.option.active .mark {
  border-color: white;
  background: white;
  color: var(--brand);
}

.option.active .label {
  color: #7C3AED;
}


/* Typing Indicator */
.typing-indicator {
  opacity: 0.8;
}

.typing-bubble {
  background: var(--legal-blue-soft) !important;
  border: 2px solid var(--legal-blue-muted) !important;
  padding: 12px 16px !important;
}

.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  height: 16px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: typingAnimation 1.0s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
  animation-delay: 0ms;
}

.typing-dots span:nth-child(2) {
  animation-delay: 150ms;
}

.typing-dots span:nth-child(3) {
  animation-delay: 300ms;
}

@keyframes typingAnimation {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

.option .label {
  flex: 1;
  font-weight: 600;
  color: var(--ink);
  font-size: var(--body-xl-size);
  text-align: left;
}

/* Form Error Styles */
.input.error, .select.error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12) !important;
}

.error-text {
  font-size: var(--caption-lg-size);
  color: #b91c1c;
  margin-top: var(--space-xs);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.brandbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #7C3AED;
  border-bottom: 2px solid #7C3AED;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  flex-shrink: 0;
}

.brandbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brandbar-inner {
  max-width: 866px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand-logo {
  margin-block: auto;
  display: block;
  color: #ffffff;
  font-weight: 900;
}

.logo-img {
  height: 51px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  margin-top: 0.125rem;
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
  .logo-img {
    height: 43px;
    max-width: 136px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 34px;
    max-width: 119px;
  }
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var();
  color: var(--surface);
  font-weight: 400;
  cursor: pointer;
  font-size: 0.875rem;
  max-width: 250px;
  transition: all 0.2s ease;
}

/* ==========================================================================
   PROGRESS BAR
   ========================================================================== */

.progress {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 4px;
  background: #e9eef9;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #7C3AED 0%, #A855F7 100%);
  transition: width 0.25s ease;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  height: 100vh;
  width: 100%;
  background-color: transparent;
  background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: -68px;
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  display: flex;
  align-items: flex-end;
}

/* Hero solid overlay with blur */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-min {
  max-width: 866px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  font-size: var(--display-md-size);/* clamp(2rem, 10vw, 6rem);*/
  font-weight: 200;
  letter-spacing: var(--display-lg-letter-spacing);
  margin: 1rem 0;
  color: var(--surface);
  text-align: left;
  line-height: 1;
  white-space: nowrap;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}


.hero-sub {
  font-size: var(--body-lg-size);
  font-weight: 200;   /*var(--body-lg-weight);*/
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  margin: 1rem 0 2rem;
  max-width: 90%;
  line-height: var(--body-lg-line-height);
  letter-spacing: var(--body-lg-letter-spacing);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: nowrap;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .hero-cta {
    margin-top: 1.5rem;
  }
}

.kicker-hero {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  text-align: left;
}

.trust {
  display: none;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.trust .chip {
  background: var(--legal-blue-soft);
  border: 1px solid var(--legal-blue-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  color: var(--legal-blue);
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.1);
}

/* ==========================================================================
   MAIN CONTENT SECTIONS
   ========================================================================== */

/* Alternating section backgrounds */

#services-bg {
  background: var(--legal-blue-soft);
}

#cta-bg {
  background: var(--legal-blue-dark);
}

/* Text alignment overrides for specific sections */
.h2 {
  text-align: left;
}

.lead {
  text-align: left;
}

.ic {
  color: #235f6d;
}

/* Services section professional styling */
#services-bg .h2 {
  color: var(--legal-blue-dark);
}

#services-bg .lead {
  color: var(--professional-slate);
}

#services-bg .card strong, 
#services-bg .section-sub {
  color: var(--ink);
}

/* CTA Section Specific Styles */
#cta {
  padding-inline: 1.5rem;
  padding-block: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Gold accent in CTA kicker */
#cta .kicker {
  color: var(--gold);
}

#cta .h2 {
  text-align: center;
  font-size: var(--display-md-size);
  font-weight: var(--display-md-weight);
  line-height: var(--display-md-line-height);
  letter-spacing: var(--display-md-letter-spacing);
  color: var(--surface);
  margin: 0;
}

/* Mobile CTA header adjustments */
@media (max-width: 768px) {
  #cta .h2 {
    font-size: var(--h2-size);
    line-height: 1.3;
  }
}

#cta .btn.primary {
  background-color: #002338;
  margin-top: 3rem;
  width: auto;
  min-width: 200px;
}

#cta .kicker {
  background-color: transparent;
  color: var(--highlight);
  border-color: var(--highlight);
  margin-bottom: 2rem;
  align-self: center;
}

#cta .lead {
  text-align: center;
  color: var(--surface);
  max-width: 400px;
}

/* Special text color overrides */
#headline {
  color: var(--ink);
}

#sub {
  color: var(--muted);
}

/* ==========================================================================
   CHAT INTERFACE LAYOUT
   ========================================================================== */

.chat-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  font-family: var(--font-family);
}

.chat-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--brand);
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 10;
  gap: 12px;
}

.chat-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  font-family: var(--font-family);
}

.chat-area {
  background-color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.character-presence {
  flex-shrink: 0;
  padding: 0 16px 0 16px;
  height: fit-content;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  order: 2;
  margin-bottom: -10px;
  z-index: 5;
  position: relative;
}

@media (max-width: 480px) {
  .character-presence {
    padding: 0 12px 0 12px;
    margin-bottom: -15px;
  }
}

.character-avatar {
  width: 125px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
  position: relative;
}

.bot-message .message-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 24px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #f8f9fa;
  z-index: 2;
}

@media (max-width: 768px) {
  .character-avatar {
    max-width: 120px;
  }
}

.chat-info {
  flex: 1;
}

.chat-name {
  font-weight: 600;
  font-size: 16px;
}

.chat-status {
  font-size: 12px;
  opacity: 0.8;
}

.progress-indicator {
  background: rgba(255,255,255,0.2);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.chat-messages {
  flex: 0 1 auto;
  overflow-y: auto;
  padding: 20px 16px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  order: 1;
  justify-content: flex-end;
}

@media (max-width: 480px) {
  .chat-messages {
    padding: 16px 12px 8px 12px;
  }
}

.message {
  display: flex;
  max-width: 80%;
  margin-bottom: 8px;
}

.bot-message {
  align-self: flex-start;
  max-width: 100%;
  width: 100%;
  animation: slideFromCharacter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.user-message {
  align-self: flex-end;
  max-width: 85%;
  animation: slideInFromBottom 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Clear conversation animations */
.message.swipe-up-exit {
  animation: swipeUpExit 0.35s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

.message-bubble {
  background: #f6f6f6;
  border-radius: 20px 20px 20px 4px;
  padding: 16px 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  position: relative;
  border: 2px solid var(--legal-blue-soft);
}

.user-message .message-bubble {
  background: #7C3AED;
  border-radius: 20px 20px 4px 20px;
  color: white;
  border: 2px solid var(--brand);
}

.message-bubble #qTitle,
.message-bubble .message-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.user-message .message-bubble #qTitle,
.user-message .message-bubble .message-title {
  color: white;
}

.message-bubble #qSub,
.message-bubble .message-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.user-message .message-bubble #qSub,
.user-message .message-bubble .message-subtitle {
  color: rgba(255,255,255,0.95);
}

.message-bubble div,
.message-bubble .user-message-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

.user-message .message-bubble div,
.user-message .message-bubble .user-message-text {
  color: white;
}

.fixed-input-area {
  background: white;
  /*border-top: 1px solid var(--line); */
  position: sticky;
  bottom: 0;
  z-index: 10;
  min-height: 120px;
  height: auto;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .fixed-input-area {
    min-height: 100px;
  }
}

.answer-section {
  background-color: var(--bg);
  flex: 1;
  overflow: visible;
  padding: 0px 16px 24px 16px;
  min-height: 0;
  border-top:  1px solid #7c3aed48;
;
}

.fixed-input-area.debt-question {
  max-height: 340px;
}

.fixed-input-area.debt-question .answer-section {
  height: 220px;
  overflow-y: auto;
}

@media (max-width: 480px) {
  .fixed-input-area.debt-question {
    max-height: 320px;
  }
  
  .fixed-input-area.debt-question .answer-section {
    height: 200px;
  }
}

.answer-section.scrollable {
  height: 200px;
  overflow-y: auto;
}

@media (max-width: 480px) {
  .answer-section.scrollable {
    height: 160px;
  }
}

.answer-section.scrollable {
  overflow-y: auto;
}

.chat-controls {
  flex-shrink: 0;
  padding: 12px 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1.5px solid var(--line);
  background: #e2e8f0;
}

  ß
  /*.answer-section {
    padding: 12px 16px 6px;
  } */
  
  .chat-controls {
    padding: 8px 16px 12px;
  }
  
  .option {
    padding: 8px 12px;
    font-size: 13px;
    min-height: 40px;
  }
  
  .multi-select-trigger {
    padding: 12px 16px;
    font-size: 14px;
    min-height: 48px;
  }


.chat-input-container {
  max-width: 866px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.btn-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
 
  padding: 14px 24px;
  border-radius: 25px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 50%;
 /* min-width: 70px;*/ 
 min-height: 48px; 
}

.btn-chat.primary {
  background: #7C3AED;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-chat.primary:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(107, 142, 35, 0.4);
}

.btn-chat.ghost {
  background: #fff;
  color: #7C3AED;
  border: 2px solid #7C3AED;
}

.btn-chat.ghost:hover {
  background: var(--legal-blue-soft);
}

.btn-chat:disabled {
  opacity: var(--bg);
  cursor: not-allowed;
}

.shell {
  height: calc(100vh - 4px - var(--dock-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

.body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
}

.content-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-m);
  width: 100%;
  max-height: 100%;
  overflow: hidden;
}

/* App Bar */
.appbar {
  background: transparent;
  border-bottom: 0;
}

.appbar-inner {
  max-width: 866px;
  margin: 0 auto;
  padding: var(--space-s) var(--space-m);
  display: flex;
  align-items: center;
  gap: var(--space-m);
}

.app-title {
  font-weight: var(--h4-weight);
  font-size: var(--h4-size);
  color: var(--ink);
}

.app-meta {
  margin-left: auto;
  font-size: var(--caption-lg-size);
  color: var(--muted);
}

/* ==========================================================================
   DOCK (BOTTOM BAR)
   ========================================================================== */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f2f2f2;
  border-top: 1px solid var(--line);
  z-index: 50;
}

.dock-inner {
  max-width: 866px;
  margin: 0 auto;
  padding: 12px var(--space-m);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-m);
  align-items: end;
}

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

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

details {
  background: var(--warm-white);
  border: 1px solid var(--legal-blue-muted);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

@media (max-width: 480px) {
  details {
    padding: 1.25rem;
  }
}

details:hover {
  box-shadow: 0 4px 16px rgba(46, 67, 92, 0.1);
  border-color: var(--legal-blue);
}

details + details {
  margin-top: 1rem;
}

@media (max-width: 480px) {
  details + details {
    margin-top: 0.75rem;
  }
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--legal-blue-dark);
}

summary::marker {
  color: var(--gold);
}

summary::marker {
  color: var(--highlight);
}

/* ==========================================================================
   MODAL SHEETS
   ========================================================================== */

.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -80vh;
  background: var(--navy);
  border-top: 2px solid var(--highlight);
  border-radius: 0px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
  transform: translateY(100%);
  z-index: 50;
}

.sheet.open {
  transform: translateY(0);
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.sheet-title {
  font-weight: 800;
  color: var(--surface);
}

.sheet-body {
  padding: 14px 16px;
  overflow: auto;
  color: var(--surface);
}

.sheet-actions {
  display: flex;
  justify-content: flex-end;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.link {
  color: var(--highlight);
  text-decoration: underline;
  font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer-inner {
  max-width: 866px;
  margin: 0 auto;
  padding: 20px 16px;
  color: var(--muted);
  font-size: var(--body-sm-size);
  font-weight: var(--body-sm-weight);
  line-height: var(--body-sm-line-height);
  letter-spacing: var(--body-sm-letter-spacing);
}

.site-footer .links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--brand);
  text-decoration: underline;
}

/* ==========================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    animation: fadeIn 0.20s ease both;
  }
  
  .fade-out {
    animation: fadeOut 0.16s ease both;
  }
  
  .slide-in-up {
    animation: slideInUp 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  
  .slide-out-down {
    animation: slideOutDown 0.18s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  
  .tap {
    transform: scale(0.98);
    transition: transform 0.06s;
  }
  
  .option:hover {
    transform: translateY(-1px);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slideFromCharacter {
  from { 
    opacity: 0; 
    transform: translateX(-25px) translateY(5px) scale(0.95); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0) translateY(0) scale(1); 
  }
}

@keyframes swipeUpExit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-80px) scale(0.95);
  }
}

@keyframes slideInFromBottom {
  from { 
    opacity: 0; 
    transform: translateY(15px) scale(0.96); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

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

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

/* ==========================================================================
   LANDING PAGE STYLES
   ========================================================================== */

/* Landing Content Wrapper */
.landing-content {
  background: var(--bg);
  min-height: 100vh;
}

/* Common Section Styles */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--ink);
  line-height: 1.2;
}

/* Hero Section */
.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--purp) 0%, var(--navy) 100%);
  color: white;
  text-align: center;
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--highlight);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.8;
}

/* Problems Section */
.problems-section {
  padding: 80px 0;
  background: white;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.problem-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  border: 2px solid var(--line);
  transition: all 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: var(--gold);
}

.problem-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 12px;
}

.problem-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
}

.problem-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* Solutions Section */
.solutions-section {
  padding: 80px 0;
  background: var(--bg);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.solution-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
  border: 2px solid var(--line);
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.1);
  border-color: var(--purp);
}

.solution-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--purp);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.solution-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
}

.solution-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* Options Section */
.options-section {
  padding: 80px 0;
  background: white;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.option-card {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid var(--line);
  position: relative;
  transition: all 0.3s ease;
}

.option-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.option-card.featured {
  border-color: var(--highlight);
  background: rgba(154, 205, 50, 0.05);
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--highlight);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
}

.option-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
}

.option-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.option-card ul {
  list-style: none;
  padding: 0;
}

.option-card li {
  padding: 0.5rem 0;
  color: var(--ink);
  position: relative;
  padding-left: 1.5rem;
}

.option-card li:before {
  content: "✓";
  color: var(--highlight);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid var(--line);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border-color: var(--purp);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
}

.testimonial-author strong {
  color: var(--ink);
  font-weight: 700;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Why Us Section */
.why-us-section {
  padding: 80px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 20px;
  background: var(--bg);
  border: 2px solid var(--line);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: var(--highlight);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(154, 205, 50, 0.1);
  border-radius: 12px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--purp) 0%, var(--navy) 100%);
  color: white;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: var(--highlight);
  color: white;
  padding: 20px 40px;
  border-radius: 30px;
  font-size: 1.25rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-bottom: 1rem;
}

.cta-button:hover {
  background: #8BC34A;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(154, 205, 50, 0.3);
}

.cta-disclaimer {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 1rem;
}

/* Footer */
.footer-section {
  background: var(--ink);
  color: white;
  padding: 60px 0 40px;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--highlight);
}

.footer-brand p {
  opacity: 0.8;
  line-height: 1.6;
}

.footer-contact h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-contact p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.footer-cta {
  background: var(--purp);
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-cta:hover {
  background: #6D28D9;
  transform: translateY(-2px);
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-legal p {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-link {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 1;
}

/* Responsive Design for Landing Page */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 1.9rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    line-height: 1.3;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .problems-section,
  .solutions-section,
  .options-section,
  .testimonials-section,
  .why-us-section {
    padding: 50px 0;
  }
  
  .problems-grid,
  .solutions-grid,
  .options-grid,
  .testimonials-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .problem-card,
  .solution-card,
  .option-card,
  .testimonial-card,
  .feature-card {
    padding: 1.5rem;
  }
  
  .problem-card h3,
  .solution-card h3,
  .option-card h3,
  .feature-card h3 {
    font-size: 1.25rem;
  }
  
  .testimonial-content p {
    font-size: 1rem;
  }
  
  .cta-section {
    padding: 50px 0;
  }
  
  .cta-title {
    font-size: 1.8rem;
  }
  
  .cta-subtitle {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: 16px 32px;
    font-size: 1.1rem;
  }
  
  .footer-section {
    padding: 40px 0 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}