/* Sales Landing Styles (inspired by landing-styles.css) */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #1a202c; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #e2e8f0; z-index: 1000; transition: all .3s ease; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.logo { width: 32px; height: 32px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 8px; }
.brand-name { font-size: 1.5rem; font-weight: 700; color: #1a202c; }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-menu a { text-decoration: none; color: #4a5568; font-weight: 500; transition: color .3s ease; }
.nav-menu a:hover { color: #667eea; }
.nav-menu .btn-demo { color:#fff; background:#667eea; padding:.75rem 1.25rem; border-radius:8px; font-weight:600; box-shadow: 0 2px 10px rgba(102,126,234,.25); display:inline-block; }
.nav-menu .btn-demo:hover { color:#fff; background:#5a67d8; transform: translateY(-1px); }
.mobile-menu-toggle { display: none; flex-direction: column; cursor: pointer; background: transparent; border: 0; }
.mobile-menu-toggle span { width: 25px; height: 3px; background: #4a5568; margin: 3px 0; transition: .3s; }
.btn-demo { background: #667eea; color: #fff; padding: .75rem 1.25rem; border: 0; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all .3s ease; }
.btn-demo:hover { background: #5a67d8; transform: translateY(-1px); }

/* Hero */
.hero { padding: 8rem 0 6rem; background: linear-gradient(135deg, #f7fafc, #edf2f7); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -50%; right: -20%; width: 100%; height: 200%; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23667eea" opacity="0.1"/><circle cx="80" cy="40" r="3" fill="%23764ba2" opacity="0.1"/><circle cx="40" cy="70" r="2" fill="%23667eea" opacity="0.1"/></svg>') repeat; animation: float 20s linear infinite; }
@keyframes float { 0%{transform: translateY(0) rotate(0)} 100%{transform: translateY(-100px) rotate(360deg)} }
.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-title { font-size: 3.2rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.25rem; color: #1a202c; }
.highlight { background: linear-gradient(135deg,#667eea,#764ba2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.125rem; color: #4a5568; margin-bottom: 2rem; max-width: 54ch; }
.hero-cta-section { display: flex; flex-direction: column; gap: 0.75rem; }
.hero-cta { display: flex; gap: 1rem; align-items: center; }
.hero-cta-subtitle {
  font-size: 0.9em;
  color: #4a5568;
  /*text-align: center;*/
  line-height: 1.4;
  max-width: 380px;
}
.btn-primary-large { background: linear-gradient(135deg,#667eea,#764ba2); color: #fff; padding: 1rem 1.5rem; border-radius: 10px; border: 0; font-weight: 700; cursor: pointer; transition: all .3s ease; box-shadow: 0 4px 20px rgba(102,126,234,.3); white-space: nowrap; text-decoration: none; }
.btn-primary-large:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(102,126,234,.4); }
.btn-secondary-large { background: transparent; color: #4a5568; padding: 1rem 1.5rem; border: 2px solid #e2e8f0; border-radius: 10px; font-weight: 700; cursor: pointer; transition: all .3s ease; white-space: nowrap; text-decoration: none; }
.btn-secondary-large:hover { border-color: #667eea; color: #667eea; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }
.stat { background: #fff; border-radius: 12px; text-align: center; padding: 1.25rem; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.stat-number { display:block; font-size: 1.6rem; font-weight: 800; color: #667eea; }
.stat-label { font-size: .9rem; color: #718096; }
.hero-visual { display:flex; justify-content:center; align-items:center; }
.dashboard-preview { background: #fff; border-radius: 16px; padding: 1.5rem; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,.15); transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); transition: transform .5s ease; }
.dashboard-preview:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid #e2e8f0; }
.dashboard-title { font-weight: 600; color: #2d3748; }
.dashboard-score { display: flex; gap: .5rem; align-items: center; }
.score-number { font-size: 1.4rem; font-weight: 800; color: #48bb78; }
.score-trend { background: #c6f6d5; color:#22543d; padding:.2rem .5rem; border-radius:4px; font-size:.75rem; font-weight:700; }
.chart-bars { display:flex; align-items:flex-end; gap:.5rem; height:80px; }
.bar { flex:1; min-height:20px; background: linear-gradient(to top,#667eea,#764ba2); border-radius:4px 4px 0 0; transition: transform .3s ease; }
.dashboard-insights { display:flex; flex-direction:column; gap:.5rem; margin-top: 1rem; }
.insight { padding:.6rem .75rem; border-radius:8px; font-size:.9rem; font-weight:600; }
.insight.urgent { background:#fed7d7; color:#742a2a; }
.insight.good { background:#c6f6d5; color:#22543d; }

/* Sections */
.section-title { font-size: 2.25rem; font-weight: 800; color: #1a202c; text-align: center; }
.section-subtitle { text-align: center; color: #4a5568; max-width: 70ch; margin: .75rem auto 0; }

/* Problem */
.problem { padding: 6rem 0; background: #fff; }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.5rem; margin-top: 2rem; }
.problem-item { background:#fff; border:1px solid #e2e8f0; border-radius: 14px; padding: 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,.06); transition: transform .3s ease; }
.problem-item:hover { transform: translateY(-4px); }
.problem-icon { font-size: 1.6rem; margin-bottom: .5rem; }
.problem-item h3 { font-size: 1.15rem; margin-bottom: .5rem; color:#2d3748; }
.problem-item p { color:#4a5568; }

/* Solution */
.solution { padding: 6rem 0; background: linear-gradient(135deg,#f7fafc,#edf2f7); }
.solution-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.solution-copy p { color:#4a5568; margin-top: 1rem; }
.solution-cta {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}


/* Responsive button layout */
@media (max-width: 900px) {
    .hero-cta-subtitle {
      text-align: center;
                  max-width:100%;
    }
}


/* Responsive button layout */
@media (max-width: 768px) {
  .solution-cta {
    flex-direction: column;
    gap: 0.5rem;
  }
  .btn-primary-large, .btn-secondary-large {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
    .hidden_small {
    display: none;
          margin:0;
  }
    .small_center {
      text-align: center;
    }
    .hero-cta-subtitle {
      text-align: center;
                  max-width:100%;
    }
}

@media (max-width: 480px) {
  .btn-primary-large, .btn-secondary-large {
    padding: 0.8rem 1.2rem;
    font-size: 0.9em;
  }
  .hidden_small {
    display: none;
    margin:0;
  }
      .small_center {
      text-align: center;
    }
          .hero-cta-subtitle {
      text-align: center;
            max-width:100%;
    }
}
  .hidden_small {
    display: block;
    margin-top:20px;
  }
.solution-visual { display:grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.visual-card { height: 200px; border-radius: 14px; display:flex; align-items:flex-end; padding: 1rem; color:#fff; font-weight:700; position:relative; overflow:hidden; }
.visual-card .visual-title { position: relative; z-index: 1; }
.visual-card.cluttered { background: repeating-linear-gradient(45deg,#cbd5e0,#cbd5e0 8px,#e2e8f0 8px,#e2e8f0 16px); color:#2d3748; }
.visual-card.clean { background: linear-gradient(135deg,#667eea,#764ba2); }

/* How it works */
.how-it-works { padding: 6rem 0; background:#fff; }
.process-steps { display:grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.5rem; margin-top: 2rem; }
.step { text-align:center; padding: 2rem 1.5rem; position: relative; }
.step-number { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg,#667eea,#764ba2); color:#fff; margin: 0 auto 1rem; display:flex; align-items:center; justify-content:center; font-size: 1.4rem; font-weight: 800; }
.step-content h3 { font-size: 1.15rem; margin-bottom: .5rem; color:#2d3748; }
.step-content p { color:#4a5568; }

/* Features */
.features { padding: 6rem 0; background: linear-gradient(135deg,#f7fafc,#edf2f7); }
.features-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 1.5rem; margin-top: 2rem; }
.feature-card { background:#fff; padding: 1.5rem; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.08); border-left: 4px solid #667eea; transition: transform .3s ease, box-shadow .3s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.12); }
.feature-icon { font-size: 2rem; margin-bottom:.5rem; }
.feature-card h3 { font-size: 1.15rem; margin-bottom:.25rem; color:#2d3748; }
.feature-card p { color:#4a5568; }

/* Rant */
.rant { padding: 6rem 0; background:#fff; }
.rant .section-title { text-align: center; }
.rant .section-title::after { content:""; display:block; width:64px; height:4px; border-radius:4px; margin:.5rem auto 0; background: linear-gradient(135deg,#667eea,#764ba2); }
.rant .rant-intro { color:#2d3748; margin: 1rem auto 1.5rem; font-size:1.1rem; max-width: 800px; text-align:center; }
.pull-quote { position: relative; max-width: 820px; margin: 1rem auto 0; padding: 1.5rem 2rem; text-align:center; font-size: 1.6rem; line-height: 1.4; font-weight: 800; color:#1a202c; background: linear-gradient(135deg,#f7fafc,#edf2f7); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.pull-quote::before { content: "“"; position: absolute; left: 16px; top: -12px; font-size: 4rem; line-height: 1; background: linear-gradient(135deg,#667eea,#764ba2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .3; }
.pull-quote::after { content: "”"; position: absolute; right: 16px; bottom: -20px; font-size: 4rem; line-height: 1; background: linear-gradient(135deg,#667eea,#764ba2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .25; }

/* Pivot */
.pivot { padding: 6rem 0; background: #f7fafc; }
.check-list { list-style: none; margin-top: 1.25rem; padding:0; display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1rem; }
.check-list li { background:#fff; border:1px solid #e2e8f0; border-radius:14px; padding: 1rem 1.25rem; display:flex; flex-direction: row; align-items:flex-start; gap:.75rem; box-shadow: 0 8px 24px rgba(0,0,0,.06); font-weight:400; color:#2d3748; transition: transform .2s ease, box-shadow .2s ease; }
.check-list li:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.10); }
.card-icon { width:38px; height:38px; border-radius:50%; background: linear-gradient(135deg,#667eea,#764ba2); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:800; flex:0 0 38px; font-size:16px; line-height:1; box-shadow: 0 6px 16px rgba(102,126,234,.35); }
.card-text { display:inline-block; }

/* Science card */
.science-card { padding: 6rem 0; background:#fff; text-align: left; }
.science-card .science-copy { color:#4a5568; margin: .75rem 0 1rem; }
.science-card .science-cred { color:#2d3748; font-weight:600; margin-bottom: .75rem; }
.science-previews { position: relative; display:grid; grid-template-columns: 1fr; justify-items: center; gap: 0; margin-top: 1.25rem; }
/* Larger, creative zig-zag stack for science previews */
.science-previews .dashboard-preview { max-width: 920px; width: 100%; padding: 1.75rem; transform: none; position: relative; }
.science-previews .dashboard-preview:hover { transform: none; }
/* Overlap slightly */
.science-previews .dashboard-preview:nth-child(n+2) { margin-top: -2rem; }
/* Zig-zag offsets */
.science-previews .dashboard-preview:nth-child(odd) { transform: translateX(-6%); }
.science-previews .dashboard-preview:nth-child(even) { transform: translateX(6%); }
.science-previews .dashboard-header { padding-bottom: 1rem; }
.science-previews .chart-bars { height: 200px; gap: .75rem; }

/* Gap analysis styles */
.gap-legend { display:flex; gap:.5rem; margin-bottom: .5rem; }
.legend-pill { display:inline-flex; align-items:center; gap:.35rem; padding:.25rem .6rem; border-radius: 999px; font-size: .8rem; font-weight:700; color:#2d3748; background:#edf2f7; }
.legend-pill.target { background:#e9d8fd; color:#553c9a; }
.legend-pill.actual { background:#c3dafe; color:#1a365d; }
.gap-chart { display:flex; flex-direction:column; gap:.75rem; }
.gap-row { display:grid; grid-template-columns: 160px 1fr 56px; align-items:center; gap:.75rem; }
.gap-label { color:#4a5568; font-weight:600; font-size:.95rem; }
.gap-track { position:relative; height: 18px; background:#edf2f7; border-radius: 10px; overflow:hidden; }
.gap-target { position:absolute; top:0; left:0; bottom:0; width: var(--target, 80%); background: linear-gradient(90deg,#c4b5fd,#a78bfa); opacity:.45; }
.gap-actual { position:absolute; top:0; left:0; bottom:0; width: var(--actual, 60%); background: linear-gradient(90deg,#667eea,#764ba2); }
.gap-value { text-align:right; font-weight:800; color:#2d3748; font-size:.9rem; }

@media (max-width: 720px) {
  .gap-row { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .gap-value { text-align:left; }
}

/* Mobile: revert to straight stack */
@media (max-width: 900px) {
  .science-previews { gap: 1rem; }
  .science-previews .dashboard-preview { transform: none !important; margin-top: 0 !important; max-width: 100%; }
}

/* Contrast */
.contrast { padding: 6rem 0; background:#f7fafc; }
.comparison-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.comparison-column .feature-card { margin-bottom: 1rem; }
.comparison-header { text-align:center; margin-bottom: .5rem; }
.badge-now, .badge-with { display:inline-block; font-weight: 800; font-size: .8rem; letter-spacing:.02em; padding:.35rem .6rem; border-radius:999px; }
.badge-now { background:#fed7d7; color:#9b2c2c; }
.badge-with { background:#e9d8fd; color:#553c9a; }
.feature-card.now { border-left-color:#f56565; }
.feature-card.with { border-left-color:#667eea; }

/* Contact */
.contact { padding: 6rem 0; background:#f7fafc; }
.contact-form .form-group { margin-bottom: 1rem; }

/* Book bridge */
.book-bridge { padding: 6rem 0; background:#fff; }
.book-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.book-copy .book-intro { color:#4a5568; margin: .75rem 0; }
.book-copy .book-detail { color:#2d3748; }
.book-visual { margin:0; }
.book-visual img { width:100%; height:auto; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }

/* Pricing */
.pricing { padding: 6rem 0; background:#fff; }
.pricing-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; margin-top: 2rem; }
.pricing-card { position: relative; background:#fff; padding: 1.75rem; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.08); border:1px solid #e2e8f0; transition: transform .3s ease, box-shadow .3s ease; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.pricing-card.popular { border: 2px solid #667eea; transform: translateY(-4px); }
.badge-popular { position: absolute; top: -12px; left: 16px; background: linear-gradient(135deg,#667eea,#764ba2); color:#fff; padding: .25rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 800; box-shadow: 0 6px 20px rgba(102,126,234,.35); }
.plan-header h3 { font-size: 1.25rem; font-weight: 800; color:#2d3748; }
.plan-desc { color:#4a5568; margin-top: .25rem; }
.plan-price { display:flex; align-items: baseline; gap:.25rem; margin: 1rem 0; }
.plan-price .currency { font-weight: 700; color:#2d3748; }
.plan-price .amount { font-size: 2rem; font-weight: 800; color:#1a202c; }
.plan-price .per { color:#718096; font-size: .95rem; }
.plan-features { list-style: none; margin: 1rem 0 1.25rem; }
.plan-features li { position: relative; padding-left: 1.5rem; margin: .4rem 0; color:#2d3748; }
.plan-features li::before { content: '✓'; position:absolute; left:0; top:0; color:#48bb78; font-weight: 900; }
.plan-cta { display:flex; }
.pricing-note { margin-top: 1rem; color:#718096; text-align: center; font-size: .95rem; }

/* Testimonials */
.testimonials { padding: 6rem 0; background: linear-gradient(135deg,#667eea,#764ba2); color:#fff; }
.testimonials .section-title { color:#fff; }
.testimonials-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 1.5rem; margin-top: 2rem; }
.testimonial-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); border-radius: 14px; padding: 1.5rem; transition: transform .3s ease, background .3s ease; }
.testimonial-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.18); }
.testimonial-rating { font-size: 1.1rem; margin-bottom:.5rem; }
.testimonial-text { font-size: 1.05rem; line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testimonial-author strong { display:block; font-weight:700; }
.testimonial-author span { opacity: .9; font-size: .95rem; }
.logo-row { margin-top: 2rem; display:flex; gap:.75rem; flex-wrap: wrap; justify-content:center; }
.logo-pill { padding:.4rem .8rem; background:#fff; color:#2d3748; border-radius: 999px; font-weight:600; box-shadow: 0 2px 12px rgba(0,0,0,.08); }

/* Science-backed team */
.science { padding: 6rem 0; background:#fff; }
.science-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.science-intro { color:#4a5568; margin: 1rem 0 1.25rem; }
.science-points { list-style: none; color:#2d3748; }
.science-points li { position: relative; padding-left: 1.5rem; margin: .5rem 0; }
.science-points li::before { content: '✔'; position:absolute; left:0; top:0; color:#667eea; font-weight:800; }
.badge-row { display:flex; gap:.5rem; flex-wrap: wrap; margin-top: 1rem; }
.badge { background:#edf2f7; color:#2d3748; padding:.35rem .7rem; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.science-gallery { display:grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.portrait { border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.portrait img { width: 100%; height: 100%; display:block; object-fit: cover; aspect-ratio: 4/5; }
.science-gallery .portrait:nth-child(2) img { aspect-ratio: 3/2; }

/* CTA */
.cta { padding: 6rem 0; background: linear-gradient(135deg,#1a202c,#2d3748); color:#fff; text-align:center; }
.cta-content h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: .5rem; }
.cta-content p { font-size: 1.15rem; opacity: .9; margin-bottom: 1.5rem; }
.cta-buttons { display:flex; justify-content:center; gap: 1rem; margin-bottom: 1rem; }
.cta-trust { display:flex; gap: 1.5rem; justify-content:center; font-size: .95rem; opacity: .85; flex-wrap: wrap; }

/* Footer */
.footer { background:#1a202c; color:#fff; padding: 4rem 0 2rem; }
.footer-content { display:grid; grid-template-columns: 1fr 3fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand { display:flex; flex-direction:column; gap:.5rem; }
.footer-logo { width: 40px; height: 40px; background: linear-gradient(135deg,#667eea,#764ba2); border-radius: 8px; }
.footer-brand-name { font-size: 1.4rem; font-weight: 800; }
.footer-tagline { color:#a0aec0; font-size: .95rem; }
.footer-links { display:grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.footer-column h4 { margin-bottom:.5rem; }
.footer-column a { display:block; color:#a0aec0; text-decoration:none; margin: .35rem 0; }
.footer-column a:hover { color:#667eea; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; color:#a0aec0; padding-top: 1.25rem; border-top: 1px solid #2d3748; font-size: .95rem; }
.footer-bottom a { color:#a0aec0; text-decoration:none; }
.footer-bottom a:hover { color:#fff; }

/* Modal & Form */
.modal { display:none; position: fixed; inset:0; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); z-index: 2000; }
.modal-content { background:#fff; width: 90%; max-width: 520px; margin: 5% auto; padding: 2rem; border-radius: 16px; position: relative; max-height: 90vh; overflow-y: auto; }
.close { position:absolute; top: 1rem; right: 1.25rem; font-size: 2rem; color:#718096; cursor:pointer; }
.close:hover { color:#2d3748; }
.form-group { margin-bottom: 1rem; }
.form-group label { display:block; margin-bottom: .35rem; font-weight: 700; color:#2d3748; }
.form-group input, .form-group select, .form-group textarea { width:100%; padding: .9rem 1rem; border:2px solid #e2e8f0; border-radius: 10px; font-size: 1rem; transition: border-color .2s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color:#667eea; }

/* Quiz modal */
.quiz-progress { display:flex; align-items:center; gap:.75rem; margin: .5rem 0 1rem; }
.quiz-progress-track { flex:1; height:8px; background:#edf2f7; border-radius:999px; overflow:hidden; }
.quiz-progress-bar { height:100%; width:0; background: linear-gradient(90deg,#667eea,#764ba2); border-radius:999px; transition: width .3s ease; }
.quiz-progress-text { min-width: 3ch; text-align:right; font-weight:700; color:#2d3748; }
.quiz-steps { margin-top:.5rem; }
.quiz-step { display:none; }
.quiz-step.active { display:block; }
.quiz-question { font-weight:800; font-size:1.05rem; color:#1a202c; margin-bottom:.5rem; display:block; }
.scale { display:flex; gap:.5rem; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.scale input[type="radio"] { position:absolute; opacity:0; pointer-events:none; }
.scale label { display:inline-flex; flex-direction:column; align-items:center; justify-content:center; width:68px; height:68px; border-radius:12px; border:2px solid #e2e8f0; color:#2d3748; font-weight:700; cursor:pointer; transition: all .2s ease; user-select:none; text-align:center; background:#fff; }
.scale label .emoji { font-size:22px; line-height:1; }
.scale label .caption { font-size:11px; font-weight:700; color:#4a5568; margin-top:2px; letter-spacing:.01em; }
.scale input[type="radio"]:checked + label { border-color:#667eea; background:#ebf4ff; color:#35387a; box-shadow: 0 4px 14px rgba(102,126,234,.25); }
.scale input[type="radio"]:checked + label .caption { color:#35387a; }
.scale label:hover { border-color:#c3dafe; }
.quiz-nav { display:flex; align-items:center; gap:.5rem; margin-top: 1rem; }
.quiz-nav-spacer { flex:1; }
.quiz-note { color:#4a5568; background:#f7fafc; border:1px solid #e2e8f0; padding:.75rem 1rem; border-radius:10px; margin-bottom: .75rem; }
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

@media (max-width: 520px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; text-align:center; }
  .hero-title { font-size: 2.4rem; }
  .hero-cta { justify-content:center; flex-wrap: wrap; }
  .solution-grid { grid-template-columns: 1fr; }
  .science-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 720px) {
  .container { padding: 0 1rem; }
  .nav-menu { position: fixed; top: 60px; right: 0; left: 0; display: none; flex-direction: column; background:#fff; padding: 1rem; border-bottom: 1px solid #e2e8f0; }
  .nav-menu.active { display:flex; }
  .mobile-menu-toggle { display: flex; }
}

/* Accessibility / Motion */
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .hero::before { animation: none; } }
button:focus, a:focus, input:focus, select:focus, textarea:focus { outline: 2px solid #667eea; outline-offset: 2px; }
