/* ============================================
   AI Coach — Premium Design System
   ============================================ */

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #818cf8;
  --secondary: #7c3aed;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --dark: #0f172a;
  --dark-800: #1e293b;
  --dark-700: #334155;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --text: #1e293b;
  --text-light: #475569;
  --white: #ffffff;
  --success: #10b981;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { line-height: 1.25; font-weight: 700; color: var(--dark); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { color: var(--text-light); }

/* ---- Google Fonts (Inter) ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================
   Navigation
   ============================================ */
nav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
  height: 72px;
}
nav .logo {
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav .links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
nav .links a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: all var(--transition);
}
nav .links a:hover {
  color: var(--primary);
  background: rgba(79, 70, 229, 0.06);
}
nav .links a.active {
  color: var(--primary);
  background: rgba(79, 70, 229, 0.08);
  font-weight: 600;
}
nav .links .nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  font-weight: 600;
  margin-left: 0.5rem;
  padding: 0.5rem 1.2rem;
}
nav .links .nav-cta:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
}
nav .hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--dark);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background var(--transition);
}
nav .hamburger:hover { background: var(--gray-100); }

/* ============================================
   Hero Sections
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
  color: var(--white);
  padding: 6rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(79, 70, 229, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 40%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  max-width: 650px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}
.hero .hero-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}
.hero-sm { padding: 4rem 2rem 3.5rem; }
.hero-sm h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* ---- Hero Buttons ---- */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: var(--primary-dark);
}
.btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-accent {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.btn-accent:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ============================================
   Layout
   ============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 2rem; }
section.alt-bg { background: var(--gray-100); }
section h2 {
  text-align: center;
  margin-bottom: 1rem;
}
section .section-subtitle {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--gray-500);
}
.narrow { max-width: 800px; margin-left: auto; margin-right: auto; }

/* ---- Grids ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(124,58,237,0.1));
  color: var(--primary);
}
.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; color: var(--gray-500); line-height: 1.65; }

/* Glass card variant */
.card-glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
}

/* Featured card */
.card-featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}
.card-featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.stat {
  text-align: center;
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ============================================
   Feature Sections
   ============================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 0;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-visual {
  background: linear-gradient(135deg, var(--gray-100), rgba(79,70,229,0.05));
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.feature-visual::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(124,58,237,0.08));
  top: -40px;
  right: -40px;
}
.feature-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.feature-content p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-light);
  font-size: 0.95rem;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ============================================
   Pricing
   ============================================ */
.price-tag {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
}
.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-400);
}
.price-detail {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.price-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-light);
}
.price-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-name {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ============================================
   Process / Timeline
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.process-step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}
.process-step h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.process-step p { font-size: 0.9rem; color: var(--gray-500); }

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.5rem 2.5rem 1.5rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  position: relative;
  font-family: inherit;
  line-height: 1.4;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 300;
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after {
  content: '\2212';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}
.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-500);
}
.faq-answer p + p { margin-top: 0.75rem; }

/* ============================================
   Contact Form
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info-card {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
}
.contact-info-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.contact-info-card p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  font-size: 1rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail-text a {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}
.contact-detail-text a:hover { color: var(--accent-light); }
.contact-detail-text small {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.form-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c4.42 0 8-3.58 8-8s-3.58-8-8-8-8 3.58-8 8 3.58 8 8 8zm0 4c-5.33 0-16 2.67-16 8v4h32v-4c0-5.33-10.67-8-16-8z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ============================================
   Content Blocks
   ============================================ */
.content-block { max-width: 800px; margin: 0 auto; }
.content-block h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}
.content-block h3:first-child { margin-top: 0; }
.content-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
}
.content-block p + p { margin-top: 1rem; }
.content-block ul, .content-block ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}
.content-block li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   Badges / Tags
   ============================================ */
.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-primary { background: rgba(79,70,229,0.1); color: var(--primary); }
.badge-accent { background: rgba(245,158,11,0.15); color: #b45309; }
.badge-success { background: rgba(16,185,129,0.1); color: #059669; }

/* ============================================
   Icon Grid (for tools/tech)
   ============================================ */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
.icon-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.icon-item:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.icon-item .icon-emoji { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.icon-item span { font-size: 0.85rem; font-weight: 500; color: var(--gray-600); }

/* ============================================
   Feature Boxes (sidebar accents)
   ============================================ */
.feature-box {
  background: var(--white);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.feature-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.feature-box h3 { margin-bottom: 0.5rem; }
.feature-box p { font-size: 0.95rem; color: var(--text-light); }

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--gray-400);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.4; }

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand .logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0;
}
.footer-col a {
  display: block;
  color: var(--gray-400);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom a { color: var(--primary-light); }

/* ============================================
   Phone Bar (Sticky Bottom)
   ============================================ */
.phone-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 12px 16px;
  font-size: 14px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.phone-bar a { text-decoration: none; font-weight: 600; }
.phone-bar .phone { color: #4ade80; }
.phone-bar .email { color: #93c5fd; }
.phone-bar .sep { opacity: 0.3; }

/* ============================================
   Scroll Reveal Animation
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse { direction: ltr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav .links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--gray-200);
  }
  nav .links.open { display: flex; }
  nav .hamburger { display: block; }
  nav .links a { padding: 0.75rem 1rem; width: 100%; }
  nav .links .nav-cta { margin-left: 0; text-align: center; }

  .hero { padding: 4rem 1.5rem 3rem; }
  .hero-sm { padding: 3rem 1.5rem 2.5rem; }
  section { padding: 3rem 1.5rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { max-width: 100%; }

  body { padding-bottom: 50px; }

  .process-steps { grid-template-columns: 1fr; max-width: 400px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .feature-visual { min-height: 200px; padding: 2rem; font-size: 3.5rem; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-number { font-size: 1.8rem; }
  nav { padding: 0 1rem; }
  .container { padding: 0 1rem; }
}
