/* ============================================================
   ABOVE & BEYOND AI — Main Stylesheet
   Design: Dark Modern | Accent: #6C63FF + #00D4AA
   ============================================================ */

/* ── 1. Variables & Reset ───────────────────────────────── */
:root {
  --bg-base:       #0a0a1a;
  --bg-card:       #12122a;
  --bg-card-hover: #1a1a3a;
  --bg-nav:        rgba(10, 10, 26, 0.92);
  --accent:        #6C63FF;
  --accent-light:  #8b85ff;
  --teal:          #00D4AA;
  --teal-light:    #33e0bb;
  --text-primary:  #F0F0F0;
  --text-secondary:#A0A0C0;
  --text-muted:    #606080;
  --border:        rgba(108, 99, 255, 0.2);
  --border-teal:   rgba(0, 212, 170, 0.2);
  --shadow:        0 8px 40px rgba(108, 99, 255, 0.15);
  --shadow-hover:  0 16px 60px rgba(108, 99, 255, 0.3);
  --radius:        12px;
  --radius-lg:     20px;
  --font-main:     'Inter', 'Segoe UI', sans-serif;
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height:    70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── 2. Typography ──────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-secondary); margin-bottom: 1rem; }

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }

strong { color: var(--text-primary); font-weight: 600; }

/* ── 3. Gradient Text ───────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 4. Navigation ──────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(108, 99, 255, 0.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  letter-spacing: 0.05em;
}

.lang-btn.active {
  background: var(--accent);
  color: white;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── 5. Hero Section ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(108, 99, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(0, 212, 170, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.375rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-title .line { display: block; }

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat-item .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.hero-card-main .card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.card-dots { display: flex; gap: 5px; }
.card-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.card-dots span:nth-child(1) { background: #FF6060; }
.card-dots span:nth-child(2) { background: #FFD060; }
.card-dots span:nth-child(3) { background: #60FF80; }

.readiness-chart {
  margin-bottom: 1.25rem;
}

.readiness-chart .chart-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transition: width 1.5s ease;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid var(--border-teal);
  border-radius: 50px;
  padding: 0.35rem 0.875rem;
  font-size: 0.75rem;
  color: var(--teal-light);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ── 6. Sections ────────────────────────────────────────── */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: rgba(255,255,255,0.015);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-title { margin-bottom: 1rem; }

/* ── 7. Service Cards ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(108, 99, 255, 0.4);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.service-icon.purple { background: rgba(108, 99, 255, 0.15); }
.service-icon.teal   { background: rgba(0, 212, 170, 0.12); }
.service-icon.blue   { background: rgba(0, 150, 255, 0.12); }
.service-icon.orange { background: rgba(255, 160, 50, 0.12); }
.service-icon.pink   { background: rgba(255, 80, 160, 0.12); }
.service-icon.green  { background: rgba(80, 220, 100, 0.12); }
.service-icon.yellow { background: rgba(255, 200, 50, 0.12); }

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-light);
}

.service-tag::after {
  content: '→';
  transition: var(--transition);
}

.service-card:hover .service-tag::after { margin-left: 4px; }

/* ── 8. Feature Highlights ──────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: rgba(108,99,255,0.35);
  transform: translateY(-3px);
}

.feature-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.feature-item h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature-item p  { font-size: 0.85rem; margin: 0; }

/* ── 9. Readiness Check Preview ─────────────────────────── */
.readiness-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.check-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
  margin-bottom: 0.75rem;
}

.check-step:hover { background: rgba(108,99,255,0.05); }

.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  flex-shrink: 0; color: white;
}

.check-step h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.check-step p  { font-size: 0.82rem; margin: 0; }

/* ── 10. Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-main);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5a52e0);
  color: white;
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.45);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(108, 99, 255, 0.08);
  border-color: var(--accent);
  color: var(--accent-light);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal), #00a888);
  color: #0a0a1a;
  font-weight: 700;
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 170, 0.35);
  color: #0a0a1a;
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.82rem; }

/* ── 11. Form Elements ──────────────────────────────────── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-main);
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-input::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { cursor: pointer; }
.form-select option { background: var(--bg-card); }

/* Radio & Checkbox groups */
.option-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.option-item:hover { border-color: rgba(108,99,255,0.4); background: var(--bg-card-hover); }
.option-item.selected { border-color: var(--accent); background: rgba(108,99,255,0.08); }

.option-item input[type="radio"],
.option-item input[type="checkbox"] { margin-top: 2px; accent-color: var(--accent); }

.option-label { font-size: 0.9rem; font-weight: 500; color: var(--text-primary); }
.option-desc  { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.2rem; }

/* ── 12. Cards & Panels ─────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.card-accent {
  border-color: rgba(108, 99, 255, 0.4);
  background: rgba(108, 99, 255, 0.04);
}

/* ── 13. Badges & Tags ──────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-purple { background: rgba(108,99,255,0.15); color: var(--accent-light); border: 1px solid rgba(108,99,255,0.2); }
.badge-teal   { background: rgba(0,212,170,0.12); color: var(--teal-light); border: 1px solid rgba(0,212,170,0.2); }
.badge-green  { background: rgba(80,220,100,0.12); color: #60e080; border: 1px solid rgba(80,220,100,0.2); }
.badge-red    { background: rgba(255,80,80,0.12); color: #ff8080; border: 1px solid rgba(255,80,80,0.2); }

/* ── 14. CTA Section ────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, rgba(108,99,255,0.12) 0%, rgba(0,212,170,0.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 6rem 0;
}

/* ── 15. Footer ─────────────────────────────────────────── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p { font-size: 0.88rem; color: var(--text-muted); margin-top: 1rem; max-width: 260px; }

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-links a:hover { color: var(--accent-light); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── 16. Utility ────────────────────────────────────────── */
.text-center { text-align: center; }
.text-accent  { color: var(--accent-light); }
.text-teal    { color: var(--teal-light); }
.text-muted   { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.gap-1 { gap: 0.5rem; }
.d-flex { display: flex; align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* ── 17. Animations ─────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

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

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.animate-float { animation: float 6s ease-in-out infinite; }

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── 18. Alerts & Toasts ────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: flex; align-items: flex-start; gap: 0.75rem;
}

.alert-success { background: rgba(80,220,100,0.1); border: 1px solid rgba(80,220,100,0.2); color: #80e8a0; }
.alert-error   { background: rgba(255,80,80,0.1); border: 1px solid rgba(255,80,80,0.2); color: #ff9090; }
.alert-info    { background: rgba(108,99,255,0.1); border: 1px solid var(--border); color: var(--accent-light); }

.toast-container {
  position: fixed;
  bottom: 2rem; right: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  z-index: 9999;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  min-width: 300px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem;
  animation: fadeInUp 0.3s ease;
}

/* ── 19. Modal ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.open .modal { transform: scale(1); }

.modal-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1.5rem;
}

.modal-close {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 1.3rem; padding: 0.2rem;
  transition: var(--transition); line-height: 1;
}
.modal-close:hover { color: var(--text-primary); }

/* ── 20. Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
  background: rgba(108,99,255,0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── 21. Loading Spinner ────────────────────────────────── */
.spinner {
  width: 24px; height: 24px;
  border: 2px solid rgba(108,99,255,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── 22. Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container   { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle    { margin: 0 auto 2.5rem; }
  .hero-actions     { justify-content: center; }
  .hero-stats       { justify-content: center; }
  .hero-visual      { display: none; }
  .features-grid    { grid-template-columns: repeat(2, 1fr); }
  .readiness-preview{ grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    backdrop-filter: blur(20px);
  }
  .services-grid  { grid-template-columns: 1fr; }
  .features-grid  { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom  { flex-direction: column; gap: 0.75rem; text-align: center; }
  .hero-stats     { flex-wrap: wrap; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section   { padding: 4rem 0; }
  .card      { padding: 1.5rem; }
  .btn-lg    { padding: 0.875rem 1.75rem; font-size: 0.95rem; }
}

/* ── 23. Page-specific overrides (imported pages) ───────── */
.page-hero {
  padding: 8rem 0 5rem;
  text-align: center;
}

.page-hero .page-badge {
  margin-bottom: 1.25rem;
}

.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 1.5rem;
  justify-content: center;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: var(--text-muted); }
