/* ==========================================================================
   Comnext design system — single source of truth
   Tokens · Reset · Layout · Components · Responsive
   ========================================================================== */

/* === DESIGN TOKENS === */
:root {
  /* Brand */
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-50: rgba(79, 70, 229, 0.06);
  --primary-100: rgba(79, 70, 229, 0.12);
  --secondary: #10b981;
  --secondary-50: rgba(16, 185, 129, 0.08);
  --accent: #fbbf24;

  /* Neutrals */
  --dark: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --light: #f8fafc;
  --bg-light: #f4f6fb;
  --white: #ffffff;

  /* Semantic */
  --success-bg: #dcfce7;
  --success-text: #15803d;
  --error-bg: #fee2e2;
  --error-text: #991b1b;
  --warning-bg: #fef3c7;
  --warning-text: #92400e;
  --info-bg: #eef2ff;
  --info-text: #4338ca;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Spacing scale (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-glow: 0 0 0 4px rgba(79, 70, 229, 0.12);

  /* Layout */
  --container: 1200px;
  --header-h: 72px;
  --section-py: 96px;
  --section-py-md: 64px;
  --section-py-sm: 48px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s;
  --t-base: 0.2s;
  --t-slow: 0.3s;

  --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #10b981 100%);
  --gradient-hero: linear-gradient(180deg, #f4f6fb 0%, #e0e7ff 100%);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
a { color: var(--primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--primary-dark); }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; color: var(--dark); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-8) 0; }
address { font-style: normal; }

/* Typography scale (fluid where it matters) */
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; line-height: 1.15; }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.3; }
h4 { font-size: 17px; font-weight: 700; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.6; max-width: 60ch; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); background: var(--primary-100); padding: 6px 14px; border-radius: var(--radius-pill); }
.text-gradient { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* === SKIP LINK === */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--dark); color: white; padding: 12px 20px; border-radius: var(--radius);
  z-index: 9999; transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; color: white; }

/* === LAYOUT === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
section { padding: var(--section-py) 0; }
section.section-sm { padding: var(--section-py-sm) 0; }
section.bg-light { background: var(--bg-light); }
section.bg-dark { background: var(--dark); color: rgba(255,255,255,0.85); }
section.bg-dark h1, section.bg-dark h2, section.bg-dark h3, section.bg-dark h4 { color: white; }

.section-title { max-width: 720px; margin: 0 auto var(--space-12); text-align: center; }
.section-title h2 { margin: var(--space-3) 0 var(--space-4); }
.section-title p { font-size: 17px; color: var(--muted); margin: 0; }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === HEADER === */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--space-6); }

.logo { font-size: 22px; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; flex-shrink: 0; }
.logo .dot { color: var(--primary); }

.nav-main { display: flex; align-items: center; gap: var(--space-8); }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 15px; font-weight: 500; color: var(--text);
  padding: 10px 0;
  position: relative;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--primary); }
.nav-link.is-active { color: var(--primary); font-weight: 600; }
.nav-caret { transition: transform var(--t-fast); }
.nav-link[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.nav-right { display: flex; align-items: center; gap: var(--space-4); flex-shrink: 0; }
.nav-signin { font-size: 14px; font-weight: 600; color: var(--text); }
.nav-signin:hover { color: var(--primary); }

.lang-switch { display: inline-flex; gap: 2px; padding: 3px; background: var(--light); border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; }
.lang-switch a { padding: 5px 11px; border-radius: var(--radius-pill); color: var(--muted); transition: all var(--t-fast); }
.lang-switch a.is-active { background: var(--white); color: var(--dark); box-shadow: var(--shadow-sm); }

.hamburger {
  display: none;
  background: transparent; border: 0; padding: 8px; cursor: pointer;
  border-radius: var(--radius-sm);
}
.hamburger:hover { background: var(--light); }
.hamburger svg { width: 24px; height: 24px; }

/* === MEGA-MENU === */
.mega-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: var(--space-10) 0;
  z-index: 100;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
}
.mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mega-grid { display: grid; gap: var(--space-8); }
.mega-grid-1 { grid-template-columns: 1fr; max-width: 320px; }
.mega-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
.mega-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mega-grid-4 { grid-template-columns: repeat(4, 1fr); }
.mega-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: var(--space-4);
}
.mega-icon { font-size: 16px; }
.mega-col a {
  display: block;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
  transition: padding var(--t-fast);
}
.mega-col a:last-child { border-bottom: 0; }
.mega-col a:hover { padding-left: 4px; }
.mega-col a strong { display: block; font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.mega-col a:hover strong { color: var(--primary); }
.mega-col a span { display: block; font-size: 13px; color: var(--muted); }

/* === DRAWER (mobile menu) === */
.drawer {
  position: fixed; inset: 0;
  z-index: 200;
  pointer-events: none;
}
.drawer.is-open { pointer-events: auto; }
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  transition: opacity var(--t-base);
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(380px, 92vw);
  background: var(--white);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--border); }
.drawer-close { background: transparent; border: 0; padding: 8px; border-radius: var(--radius-sm); cursor: pointer; color: var(--muted); }
.drawer-close:hover { background: var(--light); color: var(--dark); }
.drawer-close svg { width: 24px; height: 24px; }
.drawer-nav { flex: 1; padding: var(--space-2) 0; }
.drawer-link, .drawer-group > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  font-size: 17px; font-weight: 600; color: var(--dark);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  list-style: none;
}
.drawer-group > summary::-webkit-details-marker { display: none; }
.drawer-group > summary svg { transition: transform var(--t-fast); color: var(--muted); }
.drawer-group[open] > summary svg { transform: rotate(180deg); }
.drawer-sublist { background: var(--light); padding: var(--space-2) 0; border-bottom: 1px solid var(--border); }
.drawer-sublink { display: block; padding: var(--space-3) var(--space-8); font-size: 15px; color: var(--text); border: 0; }
.drawer-sublink-overview { font-weight: 600; color: var(--primary); }
.drawer-foot { padding: var(--space-6); border-top: 1px solid var(--border); }
.drawer-foot .lang-switch { width: 100%; justify-content: center; }
.drawer-phone {
  display: block; text-align: center;
  margin-top: var(--space-4); padding: var(--space-3);
  font-size: 14px; color: var(--muted);
}
.drawer-phone strong { color: var(--dark); }

/* Lock body scroll when drawer open */
body.drawer-open { overflow: hidden; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--white); color: var(--dark); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--dark); color: var(--dark); }
.btn-white { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-white:hover { background: var(--light); color: var(--dark); }
.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: var(--white); }
.btn.is-active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn.is-active:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* === HERO === */
.hero { padding: var(--space-16) 0 var(--space-12); position: relative; overflow: hidden; }
.hero-gradient { background: var(--gradient-hero); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-16); align-items: center; }
.hero h1 { margin: var(--space-4) 0; }
.hero .lead { margin-bottom: var(--space-8); }
.hero-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hero-trust { display: flex; gap: var(--space-6); margin-top: var(--space-8); flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--secondary); }

/* === BREADCRUMB === */
.breadcrumb { padding: var(--space-6) 0 0; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* === CARDS === */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); transition: transform var(--t-base), box-shadow var(--t-base); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card.card-flat { transition: none; }
.card.card-flat:hover { transform: none; box-shadow: none; }
.card h3 { margin-bottom: var(--space-3); }
.card p { color: var(--muted); margin-bottom: 0; }
.card a.learn-more { display: inline-flex; align-items: center; gap: 4px; margin-top: var(--space-3); font-weight: 600; font-size: 14px; }

.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--gradient-brand); color: white; margin-bottom: var(--space-4); }
.card-icon svg { width: 24px; height: 24px; }

/* === PRICING CARDS === */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); max-width: 920px; margin: 0 auto; align-items: stretch; }

.card-pricing {
  display: flex; flex-direction: column;
  padding: var(--space-10) var(--space-8) var(--space-8);
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.card-pricing:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08); }

.card-pricing.popular, .card-pricing.is-popular {
  border-color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #fafaff 100%);
  box-shadow: 0 0 0 2px var(--primary), 0 24px 48px -12px rgba(79, 70, 229, 0.32);
}
.card-pricing.popular:hover, .card-pricing.is-popular:hover {
  box-shadow: 0 0 0 2px var(--primary), 0 32px 64px -12px rgba(79, 70, 229, 0.42);
}
.card-pricing.popular::before, .card-pricing.is-popular::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--gradient-brand);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.badge-popular, .card-pricing .badge-popular {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-brand); color: white;
  font-size: 11px; font-weight: 800; padding: 8px 18px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.10em; text-transform: uppercase;
  box-shadow: 0 8px 16px -4px rgba(79, 70, 229, 0.4);
  white-space: nowrap;
  z-index: 1;
}

.plan-name, .card-pricing .plan-name { font-size: 12px; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 0.10em; margin-bottom: var(--space-2); }
.plan-tagline, .card-pricing .plan-tagline { font-size: 14px; color: var(--muted); margin-bottom: var(--space-7); min-height: 2.6em; line-height: 1.5; }

.plan-price, .card-pricing .price {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800; color: var(--dark);
  line-height: 1; letter-spacing: -0.04em;
  display: inline-flex; align-items: baseline; gap: 4px;
}
.plan-price small, .card-pricing .price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-period, .card-pricing .price-period { font-size: 14px; color: var(--muted); margin-top: var(--space-2); margin-bottom: var(--space-6); }

.plan-after {
  margin: 0 0 var(--space-7);
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(16,185,129,0.04));
  border: 1px solid rgba(16,185,129,0.20);
  border-radius: var(--radius);
  font-size: 14px; color: var(--text);
  text-align: center;
  position: relative;
}
.plan-after::before {
  content: '↓';
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 22px;
  background: var(--secondary); color: white;
  border-radius: 50%; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(16,185,129,0.4);
}
.plan-after strong { color: var(--dark); font-weight: 800; }

.plan-features, .card-pricing ul.features {
  list-style: none; padding: 0; margin: 0 0 var(--space-7);
  flex: 1;
}
.plan-features li, .card-pricing ul.features li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0;
  font-size: 14.5px; color: var(--text);
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}
.plan-features li:last-child, .card-pricing ul.features li:last-child { border-bottom: 0; }
.plan-features li svg, .card-pricing ul.features li svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: white;
  background: var(--secondary);
  border-radius: 50%;
  padding: 4px;
  margin-top: 1px;
  stroke-width: 3px;
  box-shadow: 0 2px 4px rgba(16,185,129,0.25);
}
.plan-features li.disabled, .card-pricing ul.features li.disabled { color: var(--muted); }
.plan-features li.disabled svg, .card-pricing ul.features li.disabled svg { background: var(--border); box-shadow: none; }
.plan-features li strong, .card-pricing ul.features li strong { font-weight: 700; color: var(--dark); }

/* CTA at bottom of pricing card */
.card-pricing > .btn { width: 100%; padding: 14px 20px; font-weight: 700; margin-top: auto; }
.card-pricing.popular > .btn-primary, .card-pricing.is-popular > .btn-primary { background: var(--gradient-brand); border-color: transparent; box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.3); }
.card-pricing.popular > .btn-primary:hover, .card-pricing.is-popular > .btn-primary:hover { box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.5); transform: translateY(-1px); }

/* === FORMS === */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { margin-bottom: var(--space-4); }
.form-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--dark); }
.form-control, .form-select {
  width: 100%; padding: 12px 14px;
  font: inherit; color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus, .form-select:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-100); }
.form-control[disabled], .form-select[disabled] { background: var(--light); color: var(--muted); cursor: not-allowed; }
textarea.form-control { resize: vertical; min-height: 110px; font-family: inherit; }
.form-help { font-size: 13px; color: var(--muted); }
.form-feedback { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 600; }
.form-feedback.is-success { background: var(--success-bg); color: var(--success-text); }
.form-feedback.is-error { background: var(--error-bg); color: var(--error-text); }
.form-feedback.is-loading { background: var(--info-bg); color: var(--info-text); }

/* === FOOTER === */
.footer { background: var(--dark); color: rgba(255, 255, 255, 0.75); padding: var(--space-16) 0 var(--space-8); }
.footer h4 { color: var(--white); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--space-12); margin-bottom: var(--space-12); }
.footer-tagline { color: rgba(255, 255, 255, 0.6); font-size: 14px; max-width: 280px; margin-top: var(--space-4); }
.footer-address { font-size: 13px; color: rgba(255, 255, 255, 0.6); line-height: 1.7; margin-top: var(--space-4); }
.footer-address a { color: rgba(255, 255, 255, 0.85); }
.footer ul li { margin-bottom: var(--space-3); }
.footer ul a { color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.footer ul a:hover { color: var(--white); }
.footer .logo { color: var(--white); }

.footer-bottom { padding-top: var(--space-6); border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4); font-size: 13px; }
.footer-bottom .powered { color: rgba(255, 255, 255, 0.55); }
.footer-bottom .powered a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.footer-social { display: flex; gap: var(--space-3); }
.footer-social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.06); border-radius: 50%; color: white; transition: background var(--t-fast); }
.footer-social a:hover { background: var(--primary); }
.footer-social svg { width: 18px; height: 18px; }

/* === FAQ === */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.faq-item summary { padding: var(--space-5) var(--space-6); font-size: 16px; font-weight: 600; color: var(--dark); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--muted); transition: transform var(--t-fast); flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 var(--space-6) var(--space-5); color: var(--muted); font-size: 15px; line-height: 1.65; }

/* === CTA SECTION === */
.cta-section { background: var(--gradient-brand); color: white; border-radius: var(--radius-xl); padding: var(--space-20) var(--space-12); text-align: center; position: relative; overflow: hidden; }
.cta-section h2 { color: white; }
.cta-section p { color: rgba(255, 255, 255, 0.85); margin: var(--space-3) 0 var(--space-8); }
.cta-buttons { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* === CARD VARIANTS === */
.card-feature { padding: var(--space-8); }
.card-feature .icon-wrap, .card-feature .card-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-100), var(--secondary-50));
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
}
.card-feature .icon-wrap svg { width: 28px; height: 28px; }
.card-feature h3 { font-size: 20px; margin-bottom: var(--space-3); }
.card-feature p { font-size: 15px; color: var(--muted); margin: 0 0 var(--space-4); }

.card-testimonial { padding: var(--space-8); }
.card-testimonial .quote { font-size: 16px; line-height: 1.7; color: var(--text); margin-bottom: var(--space-6); }
.card-testimonial .author { display: flex; align-items: center; gap: var(--space-3); }
.card-testimonial .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.card-testimonial .author-name { font-weight: 600; color: var(--dark); font-size: 15px; }
.card-testimonial .author-role { font-size: 13px; color: var(--muted); }
.stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: var(--space-3); }
.stars svg { width: 18px; height: 18px; }

.learn-more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--primary); margin-top: var(--space-3); }
.learn-more:hover { gap: 8px; }

/* === STATS BAR === */
.section-stats { padding: var(--space-12) 0; background: var(--white); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); text-align: center; }
.stats-grid .stat { padding: var(--space-2) 0; }
.stats-grid .stat-num { font-size: 40px; font-weight: 800; color: var(--dark); line-height: 1; margin-bottom: var(--space-2); letter-spacing: -0.02em; }
.stats-grid .stat-label { font-size: 14px; color: var(--muted); }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } .stats-grid .stat-num { font-size: 32px; } }

/* === HERO IMAGE === */
.hero-image { perspective: 1500px; }
.hero-image > * { transform: rotateY(-6deg) rotateX(3deg); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.mock { background: linear-gradient(135deg, #1E1B4B, #312E81); border-radius: var(--radius-lg); padding: var(--space-8); color: white; }
@media (max-width: 1024px) { .hero-image > * { transform: none; } }

/* === LOGOS BAR === */
.logos-bar { display: flex; flex-wrap: wrap; gap: var(--space-12); justify-content: center; align-items: center; opacity: 0.6; }
.logos-bar .logo-item { font-family: serif; font-size: 22px; font-weight: 700; color: var(--muted); filter: grayscale(1); transition: all var(--t-fast); }
.logos-bar .logo-item:hover { filter: grayscale(0); opacity: 1; color: var(--dark); }

/* === TIMELINE === */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); position: relative; }
.timeline-step { text-align: center; padding: 0 var(--space-4); }
.timeline-step .step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gradient-brand); color: white;
  font-weight: 800; font-size: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5); box-shadow: var(--shadow-glow);
}
.timeline-step h3 { font-size: 20px; margin-bottom: var(--space-2); }
.timeline-step p { color: var(--muted); }
@media (max-width: 768px) { .timeline { grid-template-columns: 1fr; } }

/* === BADGES === */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; }
.badge-trial { background: rgba(16,185,129,0.12); color: var(--secondary); }
.badge-new { background: rgba(245,158,11,0.15); color: #B45309; }

/* === COOKIE BANNER === */
.cookie-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 600px; margin: 0 auto; background: var(--dark); color: white; padding: 18px 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: none; z-index: 80; }
.cookie-banner.is-shown { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.cookie-banner p { color: rgba(255,255,255,0.85); margin: 0; font-size: 14px; flex: 1 1 280px; }
.cookie-banner .btn { padding: 8px 16px; font-size: 14px; }

/* === GRADIENT TEXT (already defined but reinforce) === */
section.bg-gradient { background: var(--gradient-hero); }

/* === TABS === */
.tabs-nav { display: inline-flex; gap: 4px; padding: 6px; background: var(--light); border-radius: var(--radius-pill); margin-bottom: var(--space-8); }
.tabs-nav button { padding: 10px 20px; background: transparent; border: 0; border-radius: var(--radius-pill); font-weight: 600; color: var(--muted); cursor: pointer; font-family: inherit; font-size: 14px; transition: all var(--t-fast); }
.tabs-nav button.active { background: var(--white); color: var(--dark); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* === BG MODIFIER === */
.bg-light { background: var(--bg-light); }

/* === MEMBER PORTAL ALIAS (keep old class) === */
.contact-grid { display: grid; gap: var(--space-12); align-items: start; grid-template-columns: 1fr 1.3fr; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: var(--space-8); } }

/* Contact & booking form card padding */
.card-form { padding: 36px; }
@media (max-width: 640px) { .card-form { padding: var(--space-5); } }

/* === BOOKING WIDGET === */
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-bottom: var(--space-6); }
@media (max-width: 640px) { .booking-grid { grid-template-columns: 1fr; } }

/* === FADE IN === */
.fade-in { opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* === HERO CTA — keep buttons inline on tablet+ === */
@media (min-width: 641px) {
  .hero-cta { flex-direction: row; }
  .hero-cta .btn { justify-content: center; }
}

/* === UTILITY === */
.desktop-only { display: inline-flex; }
.mobile-only { display: none; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: var(--space-2); } .mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); } .mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: var(--space-2); } .mb-4 { margin-bottom: var(--space-4); } .mb-6 { margin-bottom: var(--space-6); } .mb-8 { margin-bottom: var(--space-8); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* === RESPONSIVE BREAKPOINTS === */

/* Large tablet / small laptop */
@media (max-width: 1024px) {
  :root { --section-py: 64px; }

  .nav-main, .nav-signin, .lang-switch.desktop-only { display: none; }
  .hamburger { display: inline-flex; }
  .mega-panel { display: none !important; }

  .hero-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > *:nth-child(n+4) { display: none; }
}

/* Tablet */
@media (max-width: 768px) {
  :root { --section-py: 56px; --section-py-md: 48px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero { padding: var(--space-10) 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }

  .cta-section { padding: var(--space-12) var(--space-6); }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { justify-content: center; }
}

/* Mobile */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-pricing { padding: var(--space-8) var(--space-6); }
  .plan-price { font-size: 40px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Focus visible polish */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
