/* ============================================
   Componi — Shared stylesheet
   Brand: Indigo #6366F1 + Cyan #22D3EE · Dark mode
   Display: Sora 800 · Body: DM Sans · Code: JetBrains Mono
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-primary: #0A0A0F;
  --bg-secondary: #12121A;
  --bg-card: #16161F;
  --bg-elevated: #1C1C28;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.15);
  --text-primary: #F8F8FC;
  --text-secondary: #A0A0B4;
  --text-muted: #6B6B80;
  --accent: #6366F1;
  --accent-light: #818CF8;
  --accent-glow: rgba(99,102,241,0.12);
  --cyan: #22D3EE;
  --cyan-soft: rgba(34,211,238,0.1);
  --green: #10B981;
  --green-soft: rgba(16,185,129,0.1);
  --orange: #F59E0B;
  --orange-soft: rgba(245,158,11,0.1);
  --purple: #A855F7;
  --purple-soft: rgba(168,85,247,0.1);
  --blue-soft: rgba(59,130,246,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }

/* ================ NAVIGATION ================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px; height: 72px;
  background: rgba(10,10,15,0.82); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 32px;
}
.nav-logo, .logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 21px; font-weight: 800;
  letter-spacing: -0.5px; cursor: pointer;
  text-decoration: none;
  color: var(--text-primary);
}
.logo-icon, .logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800; color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}
.logo-text {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex; gap: 8px;
  font-size: 14px; font-weight: 500;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-links a, .nav-link {
  color: var(--text-secondary); text-decoration: none;
  transition: color var(--transition);
  padding: 8px 14px; border-radius: 8px;
}
.nav-links a.active { color: var(--text-primary); }
.nav-links a:hover, .nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}
.nav-actions, .nav-cta {
  display: flex; gap: 10px; align-items: center;
}

/* Nav item with mega menu */
.nav-item {
  position: relative;
}
.nav-trigger {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-trigger:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}
.nav-caret {
  transition: transform var(--transition);
  opacity: 0.7;
}
.nav-has-mega:hover .nav-caret,
.nav-has-mega:focus-within .nav-caret {
  transform: rotate(180deg);
}

/* Mega menu */
.nav-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 640px;
  background: #101016;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}
.nav-mega-small {
  min-width: 420px;
}
.nav-has-mega:hover .nav-mega,
.nav-has-mega:focus-within .nav-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Invisible bridge to prevent menu from closing when moving to it */
.nav-has-mega::after {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 16px;
}
.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.nav-mega-small .nav-mega-grid {
  grid-template-columns: 1fr;
}
.mega-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  text-decoration: none;
  transition: background var(--transition);
  color: inherit !important;
  background: transparent !important;
}
.mega-item:hover {
  background: rgba(99,102,241,0.08) !important;
  color: inherit !important;
}
.mega-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,0.1);
  border-radius: 8px;
}
.mega-title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  letter-spacing: -0.1px;
}
.mega-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Mobile: hide mega menu, show simple list */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
}

/* ================ BUTTONS ================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  border: none; cursor: pointer; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  color: white;
  box-shadow: 0 4px 24px rgba(99,102,241,0.35);
  font-weight: 600;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(99,102,241,0.5);
  color: white;
  filter: brightness(1.08);
}
.btn-secondary {
  background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--bg-elevated); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); }
.btn-large { padding: 14px 28px; font-size: 15px; }
.btn-small { padding: 8px 16px; font-size: 13px; }

/* ================ HERO ================ */
.hero {
  padding: 160px 40px 80px;
  text-align: center;
  max-width: var(--max-width); margin: 0 auto;
  position: relative;
}
.hero::before {
  content: ''; position: absolute;
  top: 60px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(34,211,238,0.04) 35%, transparent 65%);
  pointer-events: none; z-index: -1;
}
.hero-badge, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99,102,241,0.22);
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500; color: var(--accent-light);
  margin-bottom: 32px;
  letter-spacing: 0;
  text-transform: none;
}
.hero-badge::before, .eyebrow::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 12px var(--accent-light);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero h1, .page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 128px);
  font-weight: 800; letter-spacing: -3px; line-height: 0.98;
  margin-bottom: 28px;
}
.hero h1 .accent, .page-hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}
.hero .subtitle,
.hero .hero-sub {
  font-size: clamp(16px, 1.4vw, 19px); color: var(--text-secondary);
  max-width: 640px; margin: 0 auto 40px; line-height: 1.65;
}
.page-hero .subtitle,
.page-hero .hero-sub {
  font-size: clamp(15px, 1.2vw, 17px); color: var(--text-secondary);
  max-width: 620px; margin: 0 auto 36px; line-height: 1.6;
}
.hero-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-meta {
  font-size: 13px; color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ================ PAGE HERO (interne) ================ */
.page-hero {
  padding: 140px 40px 60px;
  text-align: center;
  max-width: 900px; margin: 0 auto;
  position: relative;
}
.page-hero::before {
  content: ''; position: absolute;
  top: 40px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none; z-index: -1;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 22px; }

.breadcrumb {
  font-size: 13px; color: var(--text-muted); font-family: var(--font-mono);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .sep { margin: 0 8px; color: var(--text-muted); }

/* ================ SECTIONS ================ */
.section {
  max-width: var(--max-width); margin: 0 auto;
  padding: 80px 40px;
}
.section-label {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent-light);
  margin-bottom: 16px;
}
.section-title, h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.15;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 17px; color: var(--text-secondary);
  max-width: 680px; line-height: 1.7;
  margin-bottom: 48px;
}
h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; letter-spacing: -0.5px;
  margin-bottom: 14px; margin-top: 32px;
}
h4 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  margin-bottom: 10px; margin-top: 24px;
}
p { margin-bottom: 16px; color: var(--text-secondary); font-size: 15px; line-height: 1.75; }
p strong { color: var(--text-primary); font-weight: 600; }

ul, ol { margin: 16px 0 16px 20px; color: var(--text-secondary); }
ul li, ol li { margin-bottom: 8px; font-size: 15px; line-height: 1.7; }
ul li::marker { color: var(--accent-light); }

/* Alignments */
.center { text-align: center; }
.section.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ================ CARDS ================ */
.grid { display: grid; gap: 20px; margin-top: 48px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-2px); border-color: var(--border-strong); }

.card.featured {
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  border-color: rgba(99,102,241,0.3);
}

.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.ci-indigo { background: var(--accent-glow); }
.ci-cyan { background: var(--cyan-soft); }
.ci-purple { background: var(--purple-soft); }
.ci-orange { background: var(--orange-soft); }
.ci-green { background: var(--green-soft); }
.ci-blue { background: var(--blue-soft); }

.card h3 { margin-top: 0; margin-bottom: 10px; font-size: 19px; }
.card p { font-size: 14px; margin-bottom: 0; }

/* Module card link */
.module-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-size: 13px; font-weight: 600;
  color: var(--accent-light); font-family: var(--font-mono);
}
.module-link:hover { gap: 10px; }

/* ================ FEATURE BLOCK (alternating) ================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.feature-block:nth-child(even) { direction: rtl; }
.feature-block:nth-child(even) > * { direction: ltr; }
.feature-block:last-child { border-bottom: none; }

.feature-block .module-label {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
  display: inline-block; margin-bottom: 16px;
}
.ml-indigo { background: var(--accent-glow); color: var(--accent-light); }
.ml-cyan { background: var(--cyan-soft); color: var(--cyan); }
.ml-purple { background: var(--purple-soft); color: var(--purple); }
.ml-orange { background: var(--orange-soft); color: var(--orange); }
.ml-green { background: var(--green-soft); color: var(--green); }

.feature-block h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 20px;
}
.feature-block p { font-size: 16px; }

.feature-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.feature-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

/* ================ STATS ================ */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; margin: 48px 0;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 800; letter-spacing: -1.5px;
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* ================ TABLE ================ */
.table-wrap { overflow-x: auto; margin: 32px 0; }
table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 14px; min-width: 640px;
}
th, td {
  padding: 14px 20px; text-align: left;
  border-bottom: 1px solid var(--border);
}
thead th {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px;
  background: var(--bg-secondary);
}
tbody td { color: var(--text-secondary); }
tbody tr:hover { background: var(--bg-secondary); }

/* ================ CALLOUT / BLOCKQUOTE ================ */
.callout {
  padding: 24px 28px;
  background: var(--accent-glow);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  margin: 24px 0;
}
.callout p { margin-bottom: 0; color: var(--text-primary); }
.callout strong { color: var(--accent-light); }

/* ================ FAQ ================ */
.faq-list { max-width: 800px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-q {
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  cursor: pointer; display: flex; justify-content: space-between; gap: 20px;
  align-items: center; transition: color var(--transition);
  color: var(--text-primary);
}
.faq-q:hover { color: var(--accent-light); }
.faq-q .arrow { font-size: 22px; color: var(--text-muted); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-q .arrow { transform: rotate(45deg); color: var(--accent-light); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  font-size: 15px; color: var(--text-secondary); line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 800px; padding-top: 16px; }

/* ================ PRICING ================ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin: 48px 0;
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  position: relative;
}
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(99,102,241,0.12);
}
.pricing-card.popular::before {
  content: 'Più scelto'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent); color: white;
  font-size: 12px; font-weight: 700; padding: 4px 16px;
  border-radius: 100px;
}
.pricing-tier {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--text-muted); margin-bottom: 8px;
}
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.pricing-price .currency { font-size: 22px; font-weight: 600; color: var(--text-secondary); }
.pricing-price .amount {
  font-family: var(--font-display); font-size: 48px; font-weight: 800;
  letter-spacing: -2px;
}
.pricing-price .period { font-size: 14px; color: var(--text-muted); }
.pricing-desc {
  font-size: 14px; color: var(--text-secondary);
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-features { list-style: none; margin: 0 0 32px 0; padding: 0; }
.pricing-features li {
  font-size: 14px; color: var(--text-secondary);
  padding: 8px 0; display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 700; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ================ CTA ================ */
.cta-section {
  padding: 100px 40px; text-align: center;
  position: relative;
}
.cta-section::before {
  content: ''; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(34,211,238,0.03) 40%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px;
}
.cta-section p { font-size: 16px; margin-bottom: 40px; }
.cta-inner { position: relative; max-width: 700px; margin: 0 auto; }

/* ================ FOOTER (compact) ================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 40px 24px;
  max-width: var(--max-width); margin: 0 auto;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr repeat(4, 1fr);
  gap: 28px; margin-bottom: 28px;
}
.footer-brand p {
  font-size: 12.5px; color: var(--text-muted);
  max-width: 280px; line-height: 1.55; margin-top: 12px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--text-muted); margin-bottom: 10px; margin-top: 0;
}
.footer-col a {
  display: block; font-size: 13px;
  color: var(--text-secondary); padding: 3px 0;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px;
  font-size: 12px; color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ================ BLOG GRID (placeholder) ================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 40px;
}
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.blog-meta {
  font-size: 12px; color: var(--text-muted);
  font-family: var(--font-mono); margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 1px;
}
.blog-card h3 { margin-top: 0; margin-bottom: 10px; font-size: 19px; line-height: 1.3; }
.blog-card p { font-size: 14px; margin-bottom: 16px; }

/* ================ RESPONSIVE ================ */
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-block { grid-template-columns: 1fr; gap: 40px; }
  .feature-block:nth-child(even) { direction: ltr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 48px auto; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .hero, .page-hero { padding-left: 20px; padding-right: 20px; }
  .section { padding: 60px 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; padding: 24px; gap: 20px; }
  .stat-value { font-size: 30px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .feature-visual { min-height: 240px; padding: 20px; }
  th, td { padding: 10px 12px; }
}

/* ============================================
   ADDITIONAL COMPONENT STYLES
   ============================================ */

/* Utility modifiers */
.accent { color: var(--accent-light); }
.subtitle { color: var(--text-secondary); font-size: 17px; line-height: 1.6; margin-top: 12px; }
.small-note { font-size: 13px; color: var(--text-muted); margin-top: 12px; line-height: 1.5; }
.yes { color: var(--green); font-weight: 700; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.arrow { display: inline-block; transition: transform 0.2s; }
a:hover .arrow { transform: translateX(3px); }

/* Page hero breadcrumb sep (fallback) */
.breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* Feature blocks (alternating layout) */
.feature-num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent-light);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.feature-text h2 { font-size: 30px; margin-bottom: 12px; }
.feature-text p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.visual-placeholder {
  width: 100%;
  min-height: 260px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(34, 211, 238, 0.06));
  border: 1px dashed rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-align: center;
  padding: 24px;
}

/* Module tags and CTAs on cards */
.module-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.module-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--accent-light);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.module-cta:hover { color: var(--cyan); }
.card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-light);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.card-link:hover { color: var(--cyan); }

/* Card modifiers */
.card.compact { padding: 20px; }
.card.compact h3 { font-size: 16px; margin-bottom: 8px; }
.card.compact p { font-size: 14px; }
.card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), rgba(99, 102, 241, 0.02));
}

/* Button block (full width) */
.btn-block { width: 100%; justify-content: center; }

/* Pricing tier badges & labels */
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.pricing-price .price {
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}
.pricing-price .period {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 4px;
}
.pricing-lifetime {
  display: inline-block;
  font-size: 12px;
  color: var(--green);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 8px;
}

/* Data tables */
.table-scroll {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}
.data-table th {
  background: rgba(99, 102, 241, 0.08);
  text-align: left;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-strong);
}
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255, 255, 255, 0.02); }
.data-table td strong { color: var(--text-primary); }

/* Prose blocks (long-form text sections) */
.prose-block {
  max-width: 780px;
  margin: 0 auto;
}
.prose-block p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.prose-block h3 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 22px;
}
.prose-block ul, .prose-block ol {
  margin: 16px 0 24px 0;
  padding-left: 24px;
}
.prose-block li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Team avatars */
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: #fff;
  margin-bottom: 16px;
}

/* FAQ index (category list on faq.html) */
.faq-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 32px 0;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.faq-index a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}
.faq-index a:hover {
  color: var(--accent-light);
  background: rgba(99, 102, 241, 0.08);
}

/* Timeline (roadmap, weekly workflow) */
.timeline {
  position: relative;
  padding-left: 32px;
  margin: 32px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--cyan));
  opacity: 0.4;
}
.timeline-item {
  position: relative;
  padding-bottom: 28px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-day {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-item h3 { font-size: 18px; margin-bottom: 6px; }
.timeline-item p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin: 0; }

/* Blog components */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
  justify-content: center;
}
.blog-cat {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.blog-cat:hover, .blog-cat.active {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(99, 102, 241, 0.08);
}
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
}
.blog-featured-image {
  min-height: 320px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(34, 211, 238, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.blog-featured-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-content h2 {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1.2;
}
.blog-featured-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.blog-card-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(34, 211, 238, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  border-bottom: 1px solid var(--border);
}
.blog-card-content { padding: 20px; }
.blog-placeholder {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
}
.blog-cat-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* Newsletter signup form */
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 24px auto 0;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input[type="email"]:focus { border-color: var(--accent); }
.newsletter-form input[type="email"]::placeholder { color: var(--text-muted); }

/* Responsive overrides for new components */
@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-image { min-height: 200px; }
  .blog-featured-content { padding: 24px; }
  .blog-featured-content h2 { font-size: 22px; }
}
@media (max-width: 640px) {
  .newsletter-form { flex-direction: column; }
  .feature-block.reverse { direction: ltr; }
  .pricing-price .price { font-size: 38px; }
  .timeline { padding-left: 24px; }
  .timeline-item::before { left: -22px; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 12px; }
}

/* ============================================================
   MULTILINGUAL: Language switcher in nav + language chooser page
   ============================================================ */

.lang-switch {
  display: flex;
  gap: 2px;
  margin-right: 12px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.lang-item {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 7px;
  border-radius: 4px;
  color: var(--text-muted, #9ca3af);
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1;
}

.lang-item:hover {
  color: var(--text-primary, #f3f4f6);
  background: rgba(99, 102, 241, 0.08);
}

.lang-item.active {
  background: rgba(99, 102, 241, 0.18);
  color: #a5b4fc;
}

/* Language chooser (root index) */
.lang-chooser-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.08), transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(34, 211, 238, 0.05), transparent 50%),
              #0A0A0F;
}

.lang-chooser-inner {
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.logo-large {
  font-size: 28px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-large .logo-mark {
  width: 44px;
  height: 44px;
  font-size: 22px;
}

.tagline-big {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 28px;
  background: linear-gradient(135deg, #6366F1, #22D3EE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 12px 0 48px;
  letter-spacing: -0.01em;
}

.choose-title {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #e5e7eb;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 14px;
  color: #9ca3af;
}

.lang-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.lang-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.lang-card:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.lang-code {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 20px;
  font-weight: 700;
  color: #a5b4fc;
  letter-spacing: 0.04em;
}

.lang-name {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  color: #9ca3af;
}

.lang-fallback {
  font-size: 12px;
  color: #6b7280;
  font-style: italic;
}

/* Benefits grid (feature cards used on module pages) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.benefit-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all 0.2s ease;
}

.benefit-card:hover {
  background: rgba(99, 102, 241, 0.04);
  border-color: rgba(99, 102, 241, 0.2);
}

.benefit-card h3 {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 10px;
  color: #f3f4f6;
}

.benefit-card p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Feature grid (funzionalita page) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.feature-card {
  display: block;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.feature-card:hover {
  background: rgba(99, 102, 241, 0.04);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.feature-card h3 {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 10px;
  color: #f3f4f6;
}

.feature-card p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.feature-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a5b4fc;
  font-size: 13px;
  font-weight: 500;
}

/* Module grid on homepage */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.module-card {
  display: block;
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.module-card:hover {
  background: rgba(34, 211, 238, 0.04);
  border-color: rgba(34, 211, 238, 0.25);
}

.module-card h3 {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 8px;
  color: #f3f4f6;
}

.module-card p {
  color: #9ca3af;
  font-size: 13px;
  margin: 0;
}

.module-card .arrow {
  position: absolute;
  right: 20px;
  top: 24px;
  color: #22D3EE;
  font-size: 18px;
}

/* Pillars on home */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.pillar {
  text-align: center;
  padding: 32px 24px;
}

.pillar-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(34,211,238,0.08));
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 14px;
}
.pillar-icon .ci {
  width: 28px;
  height: 28px;
  color: var(--accent-light);
}

.pillar h3 {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #6366F1, #22D3EE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pillar p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

/* Section helpers */
.section-intro {
  font-size: 17px;
  line-height: 1.7;
  color: #d1d5db;
  max-width: 760px;
  margin: 24px auto 0;
  text-align: center;
}

.section-sub {
  color: #9ca3af;
  text-align: center;
  max-width: 640px;
  margin: 12px auto 0;
}

.container.narrow {
  max-width: 720px;
}

.big-quote {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.5;
  color: #e5e7eb;
  text-align: center;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 24px;
  font-size: 13px;
  color: #9ca3af;
}

.feature-list {
  columns: 2;
  column-gap: 32px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.feature-list li {
  padding: 8px 0;
  color: #d1d5db;
  font-size: 14px;
  break-inside: avoid;
}

.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.roadmap-list li {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid #6366F1;
  border-radius: 0 8px 8px 0;
  margin-bottom: 10px;
  color: #d1d5db;
  font-size: 14px;
}

@media (max-width: 640px) {
  .feature-list { columns: 1; }
  .lang-cards { grid-template-columns: repeat(2, 1fr); }
  .nav-cta .lang-switch { display: none; }
}

/* ============================================================
   LEGAL PAGES (Privacy / Terms / Cookie Policy)
   ============================================================ */

.hero-legal {
  padding-bottom: 32px;
}

.last-updated {
  margin-top: 20px;
  font-size: 13px;
  color: #9ca3af;
  font-style: italic;
}

.last-updated strong {
  color: #d1d5db;
  font-weight: 600;
  font-style: normal;
}

.section-legal {
  padding-top: 48px;
  padding-bottom: 64px;
}

.legal-notice {
  padding: 16px 20px;
  margin-bottom: 32px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #d1d5db;
}

.legal-notice strong {
  color: #fbbf24;
  font-weight: 600;
}

.legal-toc {
  padding: 24px 28px;
  margin-bottom: 40px;
  background: rgba(99, 102, 241, 0.04);
  border: 1px solid rgba(99, 102, 241, 0.14);
  border-radius: 12px;
}

.legal-toc h2 {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a5b4fc;
  margin: 0 0 14px;
}

.legal-toc ol {
  padding-left: 20px;
  margin: 0;
  columns: 2;
  column-gap: 28px;
}

.legal-toc li {
  padding: 4px 0;
  break-inside: avoid;
  font-size: 13.5px;
}

.legal-toc a {
  color: #d1d5db;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.legal-toc a:hover {
  color: #a5b4fc;
  border-bottom-color: rgba(165, 180, 252, 0.4);
}

.legal-intro {
  font-size: 15px;
  line-height: 1.75;
  color: #d1d5db;
  margin: 0 0 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-section {
  margin-bottom: 36px;
  scroll-margin-top: 100px;
}

.legal-section h2 {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #f3f4f6;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.legal-content {
  font-size: 14.5px;
  line-height: 1.75;
  color: #d1d5db;
}

.legal-content strong {
  color: #e5e7eb;
  font-weight: 600;
}

.legal-content a {
  color: #a5b4fc;
  text-decoration: underline;
  text-decoration-color: rgba(165, 180, 252, 0.4);
}

.legal-content a:hover {
  color: #c7d2fe;
}

/* Cookie Policy specific */
.cookie-category {
  margin: 24px 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.cookie-category h3 {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #f3f4f6;
  margin: 0;
}

.consent-badge {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.consent-no {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.consent-yes {
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.cookie-category p {
  font-size: 13.5px;
  color: #9ca3af;
  line-height: 1.65;
  margin: 0 0 14px;
}

.cookie-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  min-width: 560px;
}

.cookie-table th {
  padding: 10px 14px;
  text-align: left;
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-table td {
  padding: 10px 14px;
  color: #d1d5db;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: top;
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

.cookie-table code {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 11.5px;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .legal-toc ol { columns: 1; }
  .cookie-category-head { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   USE CASE PAGES
   ============================================================ */
.usecase-hero {
  padding: 140px 40px 60px;
  text-align: center;
}
.usecase-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 48px auto 0;
  max-width: 900px;
}
.usecase-stat {
  text-align: center;
}
.usecase-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.usecase-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.usecase-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.usecase-benefit {
  padding: 28px 26px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: all var(--transition);
}
.usecase-benefit:hover {
  border-color: rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.04);
  transform: translateY(-2px);
}
.usecase-benefit h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  margin: 0 0 10px;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}
.usecase-benefit p {
  font-size: 14px; line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.usecase-cta {
  text-align: center;
  padding: 80px 40px;
  margin-top: 40px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.08), transparent 70%);
}
.usecase-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.usecase-cta p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Lang switch smaller inside nav */
.nav-cta .lang-switch {
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
  gap: 2px;
}
.nav-cta .lang-item {
  font-size: 10.5px;
  padding: 3px 6px;
}

/* ============================================================
   BLOG ARTICLE PAGES
   ============================================================ */
.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.blog-article {
  color: var(--text-primary);
}

/* Article Hero */
.article-hero {
  padding: 120px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.article-hero .tag {
  margin-bottom: 20px;
  display: inline-block;
}
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--text-primary);
}
.article-excerpt {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.article-meta-item strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Article Body - reading layout */
.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.article-body p.lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 32px;
  font-weight: 400;
}
.article-body p {
  margin: 0 0 20px;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin: 56px 0 20px;
  line-height: 1.25;
  scroll-margin-top: 100px;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 14px;
  line-height: 1.3;
}
.article-body h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 10px;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.article-body ul li, .article-body ol li {
  margin-bottom: 10px;
  line-height: 1.7;
}
.article-body strong {
  color: var(--text-primary);
  font-weight: 700;
}
.article-body a {
  color: var(--accent-light);
  text-decoration: underline;
  text-decoration-color: rgba(99,102,241,0.4);
  text-underline-offset: 3px;
  transition: all var(--transition);
}
.article-body a:hover {
  color: var(--cyan);
  text-decoration-color: var(--cyan);
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin: 32px 0;
  background: rgba(99,102,241,0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-primary);
}
.article-body blockquote p {
  margin: 0 0 10px;
}
.article-body blockquote p:last-child {
  margin-bottom: 0;
}
.article-body code {
  background: rgba(255,255,255,0.08);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--cyan);
}
.article-body em {
  color: var(--text-primary);
}

/* TOC block */
.toc-block {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0 48px;
}
.toc-block h2 {
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted) !important;
  margin: 0 0 16px !important;
  font-family: var(--font-body) !important;
}
.toc-block ol {
  margin: 0;
  padding-left: 24px;
}
.toc-block li {
  margin-bottom: 6px;
  font-size: 15px;
}
.toc-block a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.toc-block a:hover {
  color: var(--accent-light);
}

/* Table in article */
.post-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.post-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.post-table th, .post-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.post-table th {
  background: rgba(99,102,241,0.08);
  color: var(--text-primary);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.post-table tr:last-child td {
  border-bottom: none;
}

/* Inline CTA */
.article-cta {
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(34,211,238,0.05));
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 16px;
  padding: 32px 28px;
  margin: 48px 0 32px;
  text-align: center;
}
.article-cta h3 {
  font-family: var(--font-display);
  font-size: 22px !important;
  font-weight: 800;
  margin: 0 0 10px !important;
  color: var(--text-primary);
}
.article-cta p {
  color: var(--text-secondary);
  margin: 0 0 22px;
  font-size: 15px;
}

/* FAQ section */
.article-faq {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.article-faq h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin: 0 0 28px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0;
  transition: border-color var(--transition);
}
.faq-item[open] {
  border-color: rgba(99,102,241,0.25);
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-primary);
  list-style: none;
  position: relative;
  padding-right: 50px;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-light);
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 15px;
}

/* Related articles */
.section-related {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.section-related h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 32px;
  color: var(--text-primary);
}
.related-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.related-article-card {
  display: block;
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.related-article-card:hover {
  border-color: rgba(99,102,241,0.35);
  background: rgba(99,102,241,0.04);
  transform: translateY(-2px);
}
.related-article-card .tag {
  margin-bottom: 12px;
  display: inline-block;
}
.related-article-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
  line-height: 1.3;
}
.related-article-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.related-article-card .blog-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Blog listing enhancement */
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.blog-card .blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

.blog-coming-soon {
  text-align: center;
  padding: 60px 20px;
  max-width: 560px;
  margin: 0 auto;
}
.blog-coming-soon h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 12px;
}
.blog-coming-soon p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
}

/* ============================================================
   NAV V2 — Lang dropdown, mobile hamburger + drawer
   Custom SVG icon system
   ============================================================ */

/* Custom SVG Icons base class */
.ci {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  color: var(--accent-light);
  flex-shrink: 0;
}

/* Hide old flat lang-switch */
.nav-cta > .lang-switch { display: none !important; }

/* === Lang switcher dropdown (desktop) === */
.lang-switch-v2 {
  position: relative;
  margin-left: 6px;
}
.lang-switch-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 10px 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}
.lang-switch-trigger:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(99,102,241,0.35);
}
.lang-switch-trigger .nav-caret {
  opacity: 0.6;
  transition: transform var(--transition);
}
.lang-switch-v2:hover .lang-switch-trigger .nav-caret,
.lang-switch-v2:focus-within .lang-switch-trigger .nav-caret {
  transform: rotate(180deg);
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #101016;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 210;
}
/* Show on hover (desktop) OR when JS adds .lang-open class */
.lang-switch-v2:hover .lang-dropdown,
.lang-switch-v2:focus-within .lang-dropdown,
.lang-switch-v2.lang-open .lang-dropdown {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* Bridge for hover */
.lang-switch-v2::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 12px;
}
.lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: all var(--transition);
  font-size: 13px;
}
.lang-dropdown-item:hover {
  background: rgba(99,102,241,0.08);
  color: var(--text-primary);
}
.lang-dropdown-code {
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-light);
  letter-spacing: 0.5px;
  min-width: 22px;
}
.lang-dropdown-name {
  font-size: 13px;
}

/* === Hamburger button (mobile only) === */
.nav-hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 7px;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.nav-hamburger:hover {
  background: rgba(255,255,255,0.04);
}
.nav-hamburger .ci {
  width: 22px;
  height: 22px;
  color: var(--text-primary);
}
.nav-hamburger .hamburger-close { display: none; }
html.drawer-open .nav-hamburger .hamburger-open { display: none; }
html.drawer-open .nav-hamburger .hamburger-close { display: block; }

/* === Mobile drawer === */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0; right: 0; bottom: 0;
  background: #0A0A0F;
  z-index: 95;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
}
html.drawer-open .mobile-drawer {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
html.drawer-open {
  overflow: hidden;
}
body.drawer-open {
  overflow: hidden;
}
.drawer-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin: 0 0 8px;
}
.drawer-link {
  display: block;
  padding: 14px 0;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.drawer-link:hover { color: var(--accent-light); }
.drawer-sublink {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 4px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: background var(--transition);
}
.drawer-sublink:hover {
  background: rgba(99,102,241,0.08);
  color: var(--text-primary);
}
.drawer-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(99,102,241,0.1);
  border-radius: 8px;
  flex-shrink: 0;
}
.drawer-ico .ci {
  width: 18px;
  height: 18px;
}
.drawer-cta-section {
  padding-top: 10px;
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 10px;
}
.drawer-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
}
.drawer-langs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.drawer-lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: all var(--transition);
  font-size: 14px;
}
.drawer-lang-item:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
}
.drawer-lang-item.active {
  background: rgba(99,102,241,0.1);
  color: var(--accent-light);
}
.drawer-lang-code {
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--accent-light);
  min-width: 22px;
}
.drawer-lang-name {
  font-size: 13px;
}

/* === Responsive: hide desktop parts below 980px, show hamburger === */
@media (max-width: 980px) {
  .nav-cta-desktop { display: none !important; }
  .nav-hamburger { display: inline-flex; }
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; gap: 12px; }
}
@media (min-width: 981px) {
  .mobile-drawer { display: none !important; }
  .nav-hamburger { display: none !important; }
}

/* === Mega menu icons (using SVG now, not emoji) === */
.mega-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99,102,241,0.1);
  border-radius: 8px;
  color: var(--accent-light);
}
.mega-icon .ci {
  width: 20px;
  height: 20px;
}

/* Post Engine featured highlight in mega menu */
.mega-item-featured {
  position: relative;
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(34,211,238,0.04)) !important;
}
.mega-item-featured .mega-icon {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  color: white;
}
.mega-item-featured .mega-icon .ci {
  color: white;
}
.mega-item-featured::before {
  content: '';
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--cyan));
  border-radius: 0 3px 3px 0;
}

/* ============================================================
   USE CASE BENEFIT ICON (SVG)
   ============================================================ */
.usecase-benefit-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(34,211,238,0.08));
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 12px;
  margin-bottom: 16px;
}
.usecase-benefit-icon .ci {
  width: 22px;
  height: 22px;
  color: var(--accent-light);
}

/* ============================================================
   PRICING PAGE V2 — Taplio-inspired
   ============================================================ */

.pricing-section {
  padding: 40px 40px 80px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
  }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.pricing-card:hover {
  border-color: rgba(99,102,241,0.3);
  background: rgba(255,255,255,0.03);
  transform: translateY(-2px);
}

.pc-featured {
  background: linear-gradient(180deg, rgba(99,102,241,0.1) 0%, rgba(99,102,241,0.02) 100%);
  border: 1.5px solid rgba(99,102,241,0.35);
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 8px 40px rgba(99,102,241,0.15);
}
.pc-featured:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 12px 50px rgba(99,102,241,0.25);
}

.pc-founding {
  background: linear-gradient(180deg, rgba(251,191,36,0.06) 0%, rgba(251,191,36,0.01) 100%);
  border-color: rgba(251,191,36,0.25);
}

.pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(99,102,241,0.4);
  white-space: nowrap;
}
.pc-badge-gold {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  box-shadow: 0 6px 20px rgba(251,191,36,0.35);
}

.pc-header {
  margin-bottom: 24px;
}
.pc-tier-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  margin-bottom: 14px;
}
.pc-tier-tag-primary {
  background: rgba(99,102,241,0.15);
  color: var(--accent-light);
}
.pc-tier-tag-cyan {
  background: rgba(34,211,238,0.15);
  color: var(--cyan);
}
.pc-tier-tag-gold {
  background: rgba(251,191,36,0.15);
  color: #FBBF24;
}
.pc-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
  color: var(--text-primary);
}
.pc-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  min-height: 40px;
}

.pc-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pc-price-main {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--text-primary);
}
.pc-featured .pc-price-main {
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pc-price-period {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.pc-cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 24px;
  padding: 12px 20px;
  font-size: 14px;
}

.pc-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pc-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-secondary);
}
.pc-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99,102,241,0.12);
  border-radius: 50%;
  margin-top: 1px;
}
.pc-check .ci {
  width: 12px;
  height: 12px;
  color: var(--accent-light);
}
.pc-featured .pc-check {
  background: rgba(99,102,241,0.2);
}

/* Trust strip */
.trust-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 56px;
  padding: 24px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}
.trust-item .ci {
  width: 18px;
  height: 18px;
  color: var(--accent-light);
  opacity: 0.8;
}

/* Enterprise band */
.enterprise-band {
  padding: 60px 40px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.06), transparent 70%);
}
.enterprise-band-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 40px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.enterprise-band-inner h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.enterprise-band-inner p {
  color: var(--text-muted);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 520px;
}
.enterprise-band-inner > div {
  flex: 1 1 380px;
}
@media (max-width: 720px) {
  .enterprise-band-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 28px 24px;
  }
  .enterprise-band-inner .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Pricing FAQ section */
.pricing-faq-section {
  padding: 72px 40px 96px;
}
.pricing-faq-section .section-title {
  text-align: center;
  margin-bottom: 32px;
}

/* ============================================================
   APP iOS / ANDROID PAGES
   ============================================================ */
.app-hero {
  padding-bottom: 60px;
}
.app-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: left;
}
.app-hero-text .hero-badge {
  margin-bottom: 24px;
}
.app-hero-text h1 {
  text-align: left;
  font-size: clamp(36px, 5.5vw, 64px);
  letter-spacing: -2px;
  line-height: 1.02;
}
.app-hero-text .subtitle {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 520px;
  font-size: clamp(15px, 1.3vw, 18px);
}
.app-hero-text .hero-cta {
  justify-content: flex-start;
}
.app-hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.app-hero-phone::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.2) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.app-mockup {
  width: 100%;
  max-width: 320px;
  height: auto;
}

@media (max-width: 900px) {
  .app-hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .app-hero-text h1 { text-align: center; }
  .app-hero-text .subtitle { text-align: center; margin: 0 auto; }
  .app-hero-text .hero-cta { justify-content: center; }
  .app-mockup { max-width: 280px; }
}

/* Stats strip */
.app-stats-section { padding: 40px 40px; }
.app-stats-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin: 0 0 28px;
}
.app-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.app-stat {
  padding: 20px 16px;
  text-align: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
}
.app-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.8px;
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.app-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .app-stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* Screens gallery */
.app-screens-section {
  padding: 72px 40px 40px;
}
.app-screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.app-screen-block {
  text-align: center;
}
.app-screen-phone {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.app-screen-phone .app-mockup {
  max-width: 260px;
}
.app-screen-label {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .app-screens-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* Features list */
.app-features-section {
  padding: 72px 40px;
}
.app-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
  max-width: 1100px;
  margin: 40px auto 0;
}
.app-feature {
  padding: 28px 26px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: all var(--transition);
  position: relative;
}
.app-feature:hover {
  border-color: rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.04);
  transform: translateY(-2px);
}
.app-feature-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-light);
  margin-bottom: 10px;
}
.app-feature h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}
.app-feature p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
@media (max-width: 720px) {
  .app-features-grid { grid-template-columns: 1fr; }
}

/* Waitlist signup */
.app-waitlist-section {
  padding: 40px 40px 80px;
}
.app-waitlist-card {
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(34,211,238,0.04));
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 20px;
  text-align: center;
}
.app-waitlist-card h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
  color: var(--text-primary);
}
.app-waitlist-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.app-waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.app-waitlist-input {
  flex: 1;
  padding: 12px 18px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.app-waitlist-input:focus {
  border-color: var(--accent);
}
.app-waitlist-input::placeholder {
  color: var(--text-muted);
}
.app-waitlist-form .btn {
  flex-shrink: 0;
  padding: 12px 24px;
}
@media (max-width: 560px) {
  .app-waitlist-form { flex-direction: column; }
  .app-waitlist-form .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   MODULE PAGE ENRICHED SECTIONS
   ============================================================ */

/* Stats row on module pages */
.mod-stats-section {
  padding: 40px 40px 20px;
}
.mod-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.mod-stat {
  padding: 24px 16px;
  text-align: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
}
.mod-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -1.2px;
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  line-height: 1.05;
}
.mod-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
@media (max-width: 720px) {
  .mod-stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* How it works - numbered steps */
.mod-how-section {
  padding: 72px 40px;
}
.mod-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 880px;
  margin: 40px auto 0;
}
.mod-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: all var(--transition);
}
.mod-step:hover {
  border-color: rgba(99,102,241,0.25);
  background: rgba(99,102,241,0.04);
}
.mod-step-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1.5px;
}
.mod-step-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}
.mod-step-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}
@media (max-width: 640px) {
  .mod-step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 20px;
  }
  .mod-step-num { font-size: 32px; }
}

/* Scenario (persona before/after) */
.mod-scenario-section {
  padding: 72px 40px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.04), transparent 70%);
}
.mod-scenario {
  margin-top: 36px;
}
.mod-scenario-persona {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 28px;
}
.mod-scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.mod-scenario-block {
  padding: 28px 28px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}
.mod-scenario-before {
  background: rgba(255,255,255,0.02);
}
.mod-scenario-after {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(34,211,238,0.04));
  border-color: rgba(99,102,241,0.25);
}
.mod-scenario-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mod-scenario-before .mod-scenario-label {
  color: var(--text-muted);
}
.mod-scenario-after .mod-scenario-label {
  color: var(--accent-light);
  border-bottom-color: rgba(99,102,241,0.25);
}
.mod-scenario-block p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}
@media (max-width: 720px) {
  .mod-scenario-grid { grid-template-columns: 1fr; }
}

/* Comparison table without/with */
.mod-comparison-section {
  padding: 72px 40px;
}
.mod-comp-table {
  margin-top: 36px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
}
.mod-comp-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mod-comp-head-without,
.mod-comp-head-with {
  padding: 16px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.mod-comp-head-without {
  color: var(--text-muted);
}
.mod-comp-head-with {
  color: var(--accent-light);
  border-left: 1px solid rgba(99,102,241,0.2);
  background: rgba(99,102,241,0.04);
}
.mod-comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mod-comp-row:last-child {
  border-bottom: none;
}
.mod-comp-without,
.mod-comp-with {
  padding: 18px 24px;
  font-size: 14px;
  line-height: 1.55;
}
.mod-comp-without {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(156,163,175,0.35);
}
.mod-comp-with {
  color: var(--text-primary);
  border-left: 1px solid rgba(99,102,241,0.15);
  background: rgba(99,102,241,0.025);
  font-weight: 500;
}
@media (max-width: 720px) {
  .mod-comp-header { grid-template-columns: 1fr; }
  .mod-comp-row { grid-template-columns: 1fr; }
  .mod-comp-head-with { border-left: none; border-top: 1px solid rgba(99,102,241,0.2); }
  .mod-comp-with { border-left: none; border-top: 1px solid rgba(99,102,241,0.15); }
}

/* Integrates-with grid */
.mod-integrates-section {
  padding: 72px 40px;
}
.mod-integrates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 36px auto 0;
}
.mod-int-card {
  padding: 28px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
  display: block;
}
.mod-int-card:hover {
  border-color: rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.06);
  transform: translateY(-2px);
}
.mod-int-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(34,211,238,0.06));
  border-radius: 12px;
}
.mod-int-icon .ci {
  width: 24px;
  height: 24px;
  color: var(--accent-light);
}
.mod-int-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}
@media (max-width: 720px) {
  .mod-integrates-grid { grid-template-columns: 1fr; }
}

/* Enhance benefit cards with icons */
.benefit-card-iconed {
  position: relative;
}
.benefit-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(34,211,238,0.06));
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 12px;
  margin-bottom: 16px;
}
.benefit-card-icon .ci {
  width: 22px;
  height: 22px;
  color: var(--accent-light);
}
