/* =========================================================================
   Edfly 360 — design system (v3: "premium blue")
   Brand palette: navy blue #01274e / light blue #5DEFFF / yellow #F8B526 /
   white. No black anywhere in the theme -- deep surfaces use the navy
   instead of near-black, per brand direction.
   Direction: confident dark-navy surfaces with a glowing light-blue accent
   and a warm yellow highlight color, glassmorphic cards, a distinct display
   typeface for headlines, and generous spacing.
   Mobile-first; breakpoints widen upward at 640 / 900 / 1200.
   ========================================================================= */

:root {
  --brand-50:  #eafcff;
  --brand-100: #cdf5ff;
  --brand-200: #a3edff;
  --brand-400: #5defff;   /* brand light blue, exact */
  --brand-500: #01274e;   /* primary action color = brand navy blue, exact */
  --brand-600: #011c3a;   /* darker navy for hover states */
  --brand-700: #01274e;
  --brand-900: #01274e;   /* brand navy blue, exact */

  --accent-500: #5defff;   /* light blue accent for highlights/icons/badges/glow */
  --accent-600: #2fd6ea;
  --accent-glow: rgba(93, 239, 255, 0.55);
  --warm-500: #f8b526;      /* brand yellow, exact -- star ratings & highlight accents */
  --warm-600: #dd9a12;

  --ink-900: #01274e;
  --ink-700: #33506e;
  --ink-500: #6b7d90;
  --ink-300: #d6dde3;
  --ink-100: #eef2f5;
  --ink-50:  #f7f9fa;
  --white: #ffffff;

  /* Dark-surface tokens (hero, CTA bands, nav, footer) -- brand navy, never black */
  --surface-0: #01274e;    /* brand navy, hero/CTA/nav base */
  --surface-1: #0a3866;    /* raised dark surface */
  --surface-2: #123f72;    /* glass card base on dark */
  --line-on-dark: rgba(255,255,255,0.12);
  --text-on-dark: rgba(255,255,255,0.92);
  --text-on-dark-muted: rgba(255,255,255,0.65);

  --danger: #dc2626;
  --success: #16a34a;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.18);
  --shadow-glow: 0 0 0 1px rgba(94,223,255,0.3), 0 8px 32px rgba(94,223,255,0.18);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1200px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

/* Inline icon SVGs carry no width/height attribute (see icons.twig), so an
   icon used outside a sizing wrapper (.icon-badge, .check-icon, etc.) falls
   back to the browser's default replaced-element size, which renders huge.
   This base rule keeps every bare icon compact by default; more specific
   component rules below (.icon-badge svg, .check-icon svg, ...) override it. */
svg { width: 18px; height: 18px; flex-shrink: 0; }
.w-13 { width: 13px; height: 13px; }
.w-14 { width: 14px; height: 14px; }
.w-16 { width: 16px; height: 16px; }
.w-20 { width: 20px; height: 20px; }
.w-24 { width: 24px; height: 24px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.03em; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: 80px 0; }
.section--tight { padding: 44px 0; }
.section--alt { background: var(--ink-50); }
.section--dark {
  background: var(--surface-0);
  color: var(--text-on-dark-muted);
}
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section--dark .eyebrow,
.on-dark .eyebrow {
  background: rgba(94,223,255,0.08);
  color: var(--accent-500);
  border: 1px solid rgba(94,223,255,0.25);
}

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-500); font-size: 1.05rem; }
.section--dark .section-head p { color: var(--text-on-dark-muted); }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease, color 0.2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--brand-500); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 0 0 1px rgba(94,223,255,0.4), 0 10px 30px rgba(0,0,0,0.25); transform: translateY(-1px); }
.btn-accent { background: var(--accent-500); color: var(--ink-900); }
.btn-accent:hover { background: var(--accent-600); box-shadow: 0 0 24px var(--accent-glow); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--brand-600); border-color: var(--brand-200); }
.btn-outline:hover { background: var(--brand-50); border-color: var(--brand-400); }
.btn-ghost-light { background: rgba(255,255,255,0.06); color: var(--white); border-color: rgba(255,255,255,0.22); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); border-color: rgba(94,223,255,0.4); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* On dark surfaces, the black primary button would vanish -- glow variant */
.on-dark .btn-primary,
.hero .btn-primary,
.cta-band.cta-band--dark .btn-primary {
  background: var(--accent-500);
  color: var(--ink-900);
  box-shadow: 0 0 28px var(--accent-glow);
}
.on-dark .btn-primary:hover,
.hero .btn-primary:hover,
.cta-band.cta-band--dark .btn-primary:hover {
  background: var(--white);
  box-shadow: 0 0 40px var(--accent-glow);
}
.on-dark .btn-outline,
.hero .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.on-dark .btn-outline:hover,
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--accent-500);
  color: var(--accent-500);
}

/* ---- Top bar & nav ------------------------------------------------------ */
.topbar {
  background: var(--surface-0);
  color: var(--text-on-dark-muted);
  font-size: 0.82rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-block: 9px; gap: 12px; flex-wrap: wrap; }
.topbar a { color: var(--text-on-dark-muted); }
.topbar a:hover { color: var(--accent-500); }
.topbar-links { display: flex; gap: 18px; }
.topbar-links span { display: inline-flex; align-items: center; gap: 6px; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(1,39,78,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-on-dark);
  position: relative;
}
.navbar::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94,223,255,0.5), transparent);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; width: auto; }

.nav-links { display: none; align-items: center; gap: 2px; }
.nav-links a {
  padding: 10px 15px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,0.06); color: var(--white); }

.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--surface-1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-on-dark);
  padding: 10px;
  min-width: 270px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-panel a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-on-dark-muted); font-weight: 500; }
.nav-dropdown-panel a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.nav-dropdown-panel .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-500); flex-shrink: 0; box-shadow: 0 0 6px var(--accent-glow); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: transform 0.2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.mobile-menu {
  display: block;
  background: var(--surface-0);
  border-top: 1px solid var(--line-on-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.mobile-menu.open { max-height: 640px; overflow-y: auto; }
.mobile-menu .container { padding-block: 12px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { padding: 12px 8px; font-weight: 600; color: rgba(255,255,255,0.85); border-bottom: 1px solid var(--line-on-dark); }
.mobile-menu .submenu { padding-left: 14px; display: flex; flex-direction: column; }
.mobile-menu .submenu a { font-weight: 500; color: rgba(255,255,255,0.55); border-bottom: none; padding: 8px; }
.mobile-actions { display: flex; gap: 10px; padding: 14px 8px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle, .mobile-menu { display: none; }
}

/* ---- Hero (dark gradient-mesh) ------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface-0);
  color: var(--text-on-dark-muted);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 82% 8%, rgba(93,239,255,0.22), transparent 65%),
    radial-gradient(35% 45% at 12% 90%, rgba(248,181,38,0.10), transparent 60%),
    linear-gradient(180deg, #01274e 0%, #032c58 100%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 60% 20%, black 20%, transparent 80%);
  pointer-events: none;
}
.hero h1 { color: var(--white); }
.hero .container { position: relative; z-index: 1; display: grid; gap: 40px; padding-block: 64px 48px; align-items: center; }
.hero-copy p.lead { font-size: 1.12rem; color: var(--text-on-dark-muted); max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 32px; font-size: 0.85rem; color: var(--text-on-dark-muted); }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--surface-0); margin-left: -10px; object-fit: cover; }
.hero-trust .avatars img:first-child { margin-left: 0; }

.hero-media { position: relative; }
.device-frame {
  background: linear-gradient(160deg, #0a3866, #01274e);
  border: 1px solid var(--line-on-dark);
  border-radius: 26px;
  padding: 12px;
  box-shadow: 0 0 0 1px rgba(93,239,255,0.15), 0 30px 80px rgba(1,39,78,0.55), 0 0 60px rgba(93,239,255,0.1);
  max-width: 360px;
  margin-inline: auto;
}
.device-frame img { border-radius: 14px; }
.floating-card {
  position: absolute;
  background: rgba(10,56,102,0.9);
  border: 1px solid var(--line-on-dark);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  animation: float 5s ease-in-out infinite;
}
.floating-card .icon-badge { width: 34px; height: 34px; }
.floating-card.card-1 { top: 8%; left: -4%; animation-delay: 0.2s; }
.floating-card.card-2 { bottom: 10%; right: -6%; animation-delay: 1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.05fr 0.95fr; padding-block: 96px 72px; }
}

/* ---- Stats bar ----------------------------------------------------------- */
.stats-bar {
  background: var(--surface-0);
  position: relative;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-block: 44px; text-align: center; }
.stats-grid .stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  background: linear-gradient(135deg, var(--white), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-grid .stat-label { color: var(--text-on-dark-muted); font-size: 0.85rem; margin-top: 6px; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- Icon badge ----------------------------------------------------------- */
.icon-badge {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-50);
  color: var(--brand-600);
  flex-shrink: 0;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.accent { background: rgba(94,223,255,0.18); color: var(--ink-900); }
.icon-badge.warm { background: rgba(248,181,38,0.16); color: #8a5c0a; }
.card:hover .icon-badge, .module-card:hover .icon-badge { box-shadow: 0 0 0 6px rgba(94,223,255,0.10); }

.icon-badge.on-dark { background: rgba(94,223,255,0.1); color: var(--accent-500); border: 1px solid rgba(94,223,255,0.25); }

/* ---- Cards / grids -------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.10), 0 0 0 1px rgba(94,223,255,0.15); border-color: var(--brand-200); }
.card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.card p { color: var(--ink-500); margin-bottom: 0; font-size: 0.95rem; }

.module-card { position: relative; overflow: hidden; }
.module-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-top: 14px;
}
.module-card .arrow { margin-top: 16px; font-weight: 600; color: var(--ink-900); display: inline-flex; align-items: center; gap: 6px; }
.module-card .arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); color: var(--accent-600); }
.module-card:hover .arrow svg { transform: translateX(4px); }

/* Cards placed directly on a dark section (glassmorphic variant) */
.section--dark .card,
.on-dark .card {
  background: rgba(255,255,255,0.03);
  border-color: var(--line-on-dark);
  backdrop-filter: blur(8px);
}
.section--dark .card:hover,
.on-dark .card:hover {
  border-color: rgba(94,223,255,0.35);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(94,223,255,0.2);
}
.section--dark .card h3, .on-dark .card h3 { color: var(--white); }
.section--dark .card p, .on-dark .card p { color: var(--text-on-dark-muted); }

/* ---- Tabs (lifecycle sections) -------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink-100);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--ink-500);
  transition: all 0.2s ease;
}
.tab-btn.active { background: var(--brand-500); border-color: var(--brand-500); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel .grid { align-items: center; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.tab-panel ul.check-list { margin-top: 18px; }
.check-list.feature-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .check-list.feature-list { grid-template-columns: repeat(2, 1fr); } }

.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; }
/* Standalone rule (not scoped to .check-list) so a bare <span class="check-icon">
   -- used e.g. on the Modules page's feature lists -- is always sized as a
   small round badge, never as an unstyled, oversized default SVG. */
.check-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(94,223,255,0.22); color: var(--ink-900);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.check-list .check-icon { margin-top: 2px; }
.check-icon svg { width: 13px; height: 13px; }

.rounded-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

/* ---- Steps ---------------------------------------------------------------- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--ink-100);
}
.step:last-child { border-bottom: none; }
.step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-500);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(94,223,255,0.12);
}

/* ---- Testimonials ----------------------------------------------------------- */
.testimonial-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 -4px; }
.testimonial-track::-webkit-scrollbar { height: 6px; }
.testimonial-track::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: var(--radius-pill); }
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 min(88%, 420px);
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-top: 3px solid var(--accent-500);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .stars { color: var(--warm-500); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--ink-700); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-author .name { font-weight: 700; color: var(--ink-900); font-size: 0.92rem; }
.testimonial-author .role { font-size: 0.8rem; color: var(--ink-500); }
.testimonial-controls { display: flex; gap: 10px; margin-top: 20px; justify-content: center; }
.testimonial-controls button {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--ink-300); background: var(--white); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.testimonial-controls button:hover { border-color: var(--accent-500); color: var(--accent-600); box-shadow: 0 0 0 4px rgba(94,223,255,0.12); }

/* ---- Client logo strip ------------------------------------------------------ */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px; }
.logo-strip img { max-height: 42px; filter: grayscale(1); opacity: 0.6; transition: all 0.2s ease; }
.logo-strip img:hover { filter: none; opacity: 1; }
.section--dark .logo-strip img, .on-dark .logo-strip img { filter: grayscale(1) brightness(2.4); opacity: 0.45; }
.section--dark .logo-strip img:hover, .on-dark .logo-strip img:hover { filter: none; opacity: 1; }

/* ---- CTA band --------------------------------------------------------------- */
.cta-band {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  color: var(--white);
  padding: 56px 40px;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 60ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-primary { background: var(--white); color: var(--brand-700); box-shadow: var(--shadow-lg); }
.cta-band .btn-primary:hover { background: var(--brand-50); }

.cta-band--dark {
  position: relative;
  overflow: hidden;
  background: var(--surface-0);
  border: 1px solid var(--line-on-dark);
}
.cta-band--dark::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at 15% 15%, rgba(94,223,255,0.22), transparent 60%),
    radial-gradient(50% 70% at 90% 90%, rgba(94,223,255,0.12), transparent 60%);
}
.cta-band--dark > * { position: relative; z-index: 1; }
.cta-band--dark p { color: var(--text-on-dark-muted); }

/* ---- Forms ------------------------------------------------------------------ */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-700); }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--ink-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink-900);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.field .error-text { font-size: 0.78rem; color: var(--danger); min-height: 1em; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .checkbox-grid { grid-template-columns: repeat(3, 1fr); } }
.checkbox-pill { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; padding: 10px 12px; border: 1.5px solid var(--ink-100); border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s ease; }
.checkbox-pill:has(input:checked) { border-color: var(--brand-400); background: var(--brand-50); }
.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; }

.form-card { background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 32px; }
.form-alert { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.9rem; margin-bottom: 20px; display: none; }
.form-alert.success { background: rgba(22,163,74,0.1); color: var(--success); display: block; }
.form-alert.error { background: rgba(220,38,38,0.08); color: var(--danger); display: block; }

/* ---- FAQ / accordion ------------------------------------------------------- */
.accordion-item { border-bottom: 1px solid var(--ink-100); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-900);
  cursor: pointer;
}
.accordion-trigger .plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.accordion-trigger .plus::before, .accordion-trigger .plus::after {
  content: ''; position: absolute; background: var(--brand-500); border-radius: 2px;
}
.accordion-trigger .plus::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.accordion-trigger .plus::after { width: 2px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); transition: transform 0.25s var(--ease); }
.accordion-item.open .accordion-trigger .plus::after { transform: translateX(-50%) rotate(90deg); }
.accordion-item.open .accordion-trigger .plus::before { background: var(--accent-600); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.accordion-panel-inner { padding: 0 4px 22px; color: var(--ink-500); font-size: 0.95rem; }
.accordion-item.open .accordion-panel { max-height: 600px; }

/* ---- Pricing table --------------------------------------------------------- */
.pricing-card {
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
  border-color: transparent;
  background: var(--surface-0);
  box-shadow: 0 0 0 1px rgba(94,223,255,0.3), var(--shadow-lg);
  position: relative;
  color: var(--text-on-dark-muted);
}
.pricing-card.featured h3, .pricing-card.featured .price { color: var(--white); }
.pricing-card.featured .price span { color: var(--text-on-dark-muted); }
.pricing-card.featured .eyebrow { background: rgba(94,223,255,0.1); color: var(--accent-500); border: 1px solid rgba(94,223,255,0.3); }
.pricing-card.featured .check-list .check-icon { background: rgba(94,223,255,0.16); }
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--warm-500); color: var(--ink-900); font-size: 0.72rem; font-weight: 700;
  padding: 5px 14px; border-radius: var(--radius-pill);
  box-shadow: 0 0 20px rgba(248,181,38,0.5);
}
.pricing-card .price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--ink-900); margin: 10px 0; }
.pricing-card .price span { font-size: 0.95rem; font-weight: 500; color: var(--ink-500); font-family: var(--font-sans); }
.pricing-card ul { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; flex-grow: 1; }

/* ---- Breadcrumb / page header ----------------------------------------------- */
.page-header {
  background: var(--surface-0);
  color: var(--text-on-dark-muted);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 90% 0%, rgba(94,223,255,0.16), transparent 60%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); }
.breadcrumb { font-size: 0.85rem; color: var(--text-on-dark-muted); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--accent-500); }

/* ---- Footer ------------------------------------------------------------------ */
.site-footer { background: var(--surface-0); color: var(--ink-300); padding-top: 64px; border-top: 1px solid var(--line-on-dark); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 40px; }
.footer-grid h5 { font-family: var(--font-display); color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; font-weight: 600; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 0.9rem; color: var(--text-on-dark-muted); }
.footer-grid a:hover { color: var(--accent-500); }
.footer-brand img { height: 30px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; color: var(--ink-300); max-width: 32ch; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-on-dark);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.social-row a:hover { background: rgba(94,223,255,0.12); border-color: rgba(94,223,255,0.4); color: var(--accent-500); }
.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding: 20px 0;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
}
.footer-bottom a:hover { color: var(--accent-500); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }

/* ---- Floating WhatsApp button ------------------------------------------------ */
.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---- Toast ------------------------------------------------------------------ */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface-1); color: var(--white);
  border: 1px solid var(--line-on-dark);
  padding: 14px 22px; border-radius: var(--radius-sm);
  font-size: 0.9rem; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: all 0.3s var(--ease);
  z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Reveal-on-scroll -------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ---- Utilities ---------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--ink-500); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.badge.status-new { background: var(--ink-100); color: var(--ink-700); }
.badge.status-contacted { background: rgba(248,181,38,0.20); color: #8a5c0a; }
.badge.status-qualified { background: rgba(94,223,255,0.28); color: var(--ink-900); }
.badge.status-closed { background: var(--ink-100); color: var(--ink-500); }

/* ---- Admin shell --------------------------------------------------------------- */
.admin-shell { display: flex; min-height: 100vh; background: var(--ink-50); }
.admin-sidebar { width: 230px; background: var(--surface-0); color: var(--ink-300); padding: 24px 16px; flex-shrink: 0; display: none; border-right: 1px solid var(--line-on-dark); }
.admin-sidebar .brand img { height: 28px; }
.admin-sidebar nav { margin-top: 32px; display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar a { padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; color: var(--text-on-dark-muted); }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,0.08); color: var(--white); }
.admin-main { flex-grow: 1; padding: 24px 18px 60px; max-width: 100%; overflow-x: hidden; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .admin-sidebar { display: block; } .admin-main { padding: 32px 40px 60px; } }

.stat-card { background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius-md); padding: 20px; }
.stat-card .value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--ink-900); }
.stat-card .label { font-size: 0.82rem; color: var(--ink-500); margin-top: 4px; }

.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius-md); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 720px; }
table.data-table th { text-align: left; padding: 14px 16px; background: var(--ink-50); color: var(--ink-500); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
table.data-table td { padding: 14px 16px; border-top: 1px solid var(--ink-100); vertical-align: top; }
table.data-table tr:hover td { background: var(--ink-50); }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-pills a { padding: 7px 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--ink-100); font-size: 0.82rem; font-weight: 600; color: var(--ink-500); }
.filter-pills a.active { background: var(--brand-500); border-color: var(--brand-500); color: var(--white); }
.inline-form { display: inline-flex; align-items: center; gap: 6px; }
.status-select { border: 1.5px solid var(--ink-300); border-radius: var(--radius-sm); padding: 6px 8px; font-size: 0.82rem; }
.icon-btn { border: none; background: none; color: var(--ink-500); cursor: pointer; padding: 6px; border-radius: var(--radius-sm); }
.icon-btn:hover { background: rgba(220,38,38,0.08); color: var(--danger); }

.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--surface-0); padding: 20px; position: relative; overflow: hidden; }
.login-shell::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(94,223,255,0.16), transparent 65%);
}
.login-card { position: relative; z-index: 1; width: 100%; max-width: 380px; background: var(--surface-1); border: 1px solid var(--line-on-dark); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 36px; }
.login-card h2 { color: var(--white); }
.login-card .muted { color: var(--text-on-dark-muted); }
.login-card .field label { color: rgba(255,255,255,0.75); }
.login-card a { color: var(--accent-500); }
