:root {
  --bg-primary: #060b1a;
  --bg-secondary: #0a1228;
  --bg-card: #0e1733;
  --bg-card-hover: #142048;
  --text-primary: #f3f4f8;
  --text-secondary: #97a3c2;
  --text-muted: #5a6a90;
  --navy: #0d1f3d;
  --navy-light: #1a3060;
  --accent: #ff7a1a;
  --accent-2: #ffa44d;
  --accent-warm: #f5b042;
  --accent-cream: #fde0a3;
  --gradient-hero: linear-gradient(135deg, #ff7a1a 0%, #ffa44d 50%, #f5b042 100%);
  --gradient-navy: linear-gradient(135deg, #0d1f3d 0%, #1a3060 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 122, 26, 0.08) 0%, rgba(245, 176, 66, 0.04) 100%);
  --border-subtle: rgba(255, 122, 26, 0.18);
  --border-hover: rgba(255, 122, 26, 0.45);
  --shadow-glow: 0 0 60px rgba(255, 122, 26, 0.18);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; font-size: 16px; }
body {
  font-family: var(--font-display);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ============== BACKGROUND ============== */
.bg-mesh {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.bg-mesh::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background:
    radial-gradient(ellipse at 20% 25%, rgba(255, 122, 26, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 70%, rgba(13, 31, 61, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(245, 176, 66, 0.05) 0%, transparent 50%);
  animation: meshFloat 22s ease-in-out infinite;
}
@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -2%) rotate(0.5deg); }
  66% { transform: translate(-1%, 1%) rotate(-0.5deg); }
}

.bg-grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ============== SCROLL REVEAL ============== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============== NAV ============== */
nav#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(6, 11, 26, 0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 122, 26, 0.08);
  transition: all 0.3s ease;
}
nav#navbar.scrolled {
  padding: 12px 40px;
  background: rgba(6, 11, 26, 0.92);
  border-bottom-color: rgba(255, 122, 26, 0.18);
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--gradient-hero);
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 6px 20px rgba(255, 122, 26, 0.4);
}
.nav-logo-mark svg { width: 24px; height: 24px; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px; color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-hero);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 11px 24px;
  background: var(--gradient-hero);
  border: none; border-radius: 100px;
  color: white; font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 122, 26, 0.35);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255, 122, 26, 0.5); }

.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 140px 40px 100px;
  z-index: 2;
}

.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5;
  animation: orbFloat 18s ease-in-out infinite;
}
.hero-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.30), transparent 70%);
  top: 8%; left: 8%; animation-delay: 0s;
}
.hero-orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(245, 176, 66, 0.22), transparent 70%);
  top: 28%; right: 5%; animation-delay: -6s;
}
.hero-orb-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(26, 48, 96, 0.7), transparent 70%);
  bottom: 8%; left: 32%; animation-delay: -12s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.08); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 30px) scale(1.05); }
}

.hero-content { position: relative; z-index: 2; max-width: 980px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 122, 26, 0.10);
  border: 1px solid rgba(255, 122, 26, 0.28);
  border-radius: 100px;
  font-size: 13px; font-weight: 500;
  color: var(--accent-2);
  margin-bottom: 28px;
  animation: badgePulse 3s ease-in-out infinite;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(255, 122, 26, 0); }
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--accent-2);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-title .gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px;
  background: var(--gradient-hero);
  border: none; border-radius: 100px;
  color: white; font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(255, 122, 26, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(255, 122, 26, 0.55); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500;
  cursor: pointer; transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.22); }

.hero-pillars {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 122, 26, 0.12);
}
.hero-pillar {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-secondary);
}
.hero-pillar-icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(255, 122, 26, 0.12);
  border: 1px solid rgba(255, 122, 26, 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-2); font-size: 14px;
}

/* ============== SECTION CONTAINER ============== */
.section-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 122, 26, 0.12);
  border: 1px solid rgba(255, 122, 26, 0.28);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============== MARQUEE ============== */
.marquee-section {
  padding: 28px 0;
  background: var(--gradient-navy);
  border-top: 1px solid rgba(255, 122, 26, 0.15);
  border-bottom: 1px solid rgba(255, 122, 26, 0.15);
  overflow: hidden;
  position: relative; z-index: 2;
}
.marquee {
  display: flex; gap: 36px; white-space: nowrap;
  animation: scroll 50s linear infinite;
}
.marquee-item {
  font-size: 15px; font-weight: 500;
  color: var(--text-primary);
  display: inline-flex; align-items: center; gap: 10px;
}
.marquee-sep { color: var(--accent); font-size: 12px; }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============== PROBLEM ============== */
.problem { padding: 120px 0; }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem-visual {
  position: relative;
  height: 460px;
  display: flex; align-items: center; justify-content: center;
}
.spreadsheet-mock {
  width: 100%; max-width: 480px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 122, 26, 0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  transform: rotate(-3deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.spreadsheet-header {
  padding: 14px 18px;
  background: var(--navy-light);
  display: flex; gap: 6px; align-items: center;
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #e23744; }
.dot-y { background: #f5b042; }
.dot-g { background: #00c853; }
.spreadsheet-title { margin-left: 12px; font-size: 12px; color: var(--text-muted); }
.spreadsheet-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}
.spreadsheet-table td, .spreadsheet-table th {
  padding: 8px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  text-align: left;
}
.spreadsheet-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-weight: 500;
}
.spreadsheet-table .err { color: #e23744; }
.spreadsheet-overlay {
  position: absolute; bottom: 30px; right: 30px;
  background: linear-gradient(135deg, #e23744, #ff6b6b);
  color: white;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(226, 55, 68, 0.4);
  transform: rotate(8deg);
}

.problem-text h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.15;
}
.problem-text p { color: var(--text-secondary); font-size: 16px; margin-bottom: 24px; }
.problem-list { list-style: none; }
.problem-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.problem-list li:last-child { border-bottom: none; }
.problem-list-icon {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(226, 55, 68, 0.15);
  color: #ff6b6b;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  margin-top: 1px;
}

/* ============== FEATURES ============== */
.features { padding: 120px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: rgba(255, 122, 26, 0.12);
  border: 1px solid rgba(255, 122, 26, 0.22);
}
.feature-card h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============== HOW IT WORKS ============== */
.how-it-works {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 31, 61, 0.3) 50%, transparent 100%);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px; left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.3), rgba(255, 122, 26, 0.3), transparent);
  z-index: 0;
}
.step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient-hero);
  color: white;
  font-family: var(--font-display);
  font-weight: 800; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 30px rgba(255, 122, 26, 0.4);
  position: relative;
  z-index: 2;
}
.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============== COMPARISON ============== */
.comparison { padding: 120px 0; }
.comparison-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 48px;
}
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th {
  padding: 22px 24px;
  text-align: left;
  background: rgba(255, 122, 26, 0.06);
  font-weight: 700; font-size: 15px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}
.comparison-table th.highlight {
  background: var(--gradient-hero);
  color: white;
}
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14.5px;
  color: var(--text-secondary);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td.highlight {
  background: rgba(255, 122, 26, 0.05);
  color: var(--text-primary);
  font-weight: 500;
}
.check { color: #00c853; font-weight: 700; font-size: 18px; margin-right: 6px; }
.cross { color: #e23744; font-weight: 700; font-size: 16px; }
.partial { color: #f5b042; font-size: 13px; font-style: italic; }

/* ============== MANIFESTO ============== */
.manifesto {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 122, 26, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(245, 176, 66, 0.08) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}
.manifesto .section-container { position: relative; z-index: 1; }
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}
.manifesto-card {
  position: relative;
  padding: 48px 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.10) 0%, rgba(13, 31, 61, 0.6) 100%);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.manifesto-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gradient-hero);
}
.manifesto-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.manifesto-icon { font-size: 32px; color: var(--accent-2); margin-bottom: 20px; line-height: 1; }
.manifesto-card h3 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.manifesto-card p {
  font-size: 16px; line-height: 1.75;
  color: var(--text-secondary);
}
.manifesto-card p strong { color: var(--text-primary); font-weight: 600; }
.manifesto-card p em { color: var(--accent-2); font-style: italic; font-weight: 500; }

/* ============== AUDIENCE ============== */
.audience { padding: 120px 0; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.audience-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.audience-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-hero);
}
.audience-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.audience-emoji { font-size: 32px; margin-bottom: 14px; }
.audience-card h4 {
  font-size: 17px; font-weight: 700;
  margin-bottom: 8px;
}
.audience-card p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.6;
}

/* ============== PRICING ============== */
.pricing { padding: 120px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pricing-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.08) 0%, var(--bg-card) 100%);
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(255, 122, 26, 0.18);
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.pricing-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient-hero);
  border-radius: 100px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: white;
  margin-bottom: 14px;
}
.pricing-name {
  font-size: 22px; font-weight: 700;
  margin-bottom: 6px;
}
.pricing-tagline {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 22px;
  min-height: 36px;
}
.pricing-price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 22px;
}
.pricing-price .amount {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-hero);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricing-price .period { font-size: 14px; color: var(--text-muted); }
.pricing-price .custom {
  font-size: 24px; font-weight: 700;
  color: var(--text-primary);
}
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}
.pricing-features li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.pf-check {
  flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0, 200, 83, 0.15);
  color: #00c853;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  margin-top: 2px;
}
.pricing-cta {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.pricing-card.featured .pricing-cta {
  background: var(--gradient-hero);
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 24px rgba(255, 122, 26, 0.35);
}
.pricing-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pricing-card.featured .pricing-cta:hover {
  transform: translateY(-2px);
  color: white;
}

/* ============== STATS ============== */
.stats-bar {
  padding: 80px 0;
  background: var(--gradient-navy);
  border-top: 1px solid rgba(255, 122, 26, 0.12);
  border-bottom: 1px solid rgba(255, 122, 26, 0.12);
  position: relative; z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item h4 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-hero);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.stat-item p {
  font-size: 14px; color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* ============== CONTACT ============== */
.contact { padding: 120px 0; }
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 56px;
  margin-top: 48px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h3 {
  font-size: 24px; font-weight: 700;
  margin-bottom: 14px;
}
.contact-info p {
  font-size: 15px; color: var(--text-secondary);
  margin-bottom: 28px; line-height: 1.7;
}
.contact-methods { display: flex; flex-direction: column; gap: 18px; }
.contact-method {
  display: flex; gap: 14px; align-items: center;
  font-size: 14px; color: var(--text-secondary);
}
.contact-method-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(255, 122, 26, 0.12);
  border: 1px solid rgba(255, 122, 26, 0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-display); font-size: 14px;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  padding: 14px 24px;
  background: var(--gradient-hero);
  border: none; border-radius: 100px;
  color: white;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  box-shadow: 0 10px 28px rgba(255, 122, 26, 0.32);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 122, 26, 0.45); }

/* ============== FOOTER ============== */
footer {
  padding: 60px 0 30px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 122, 26, 0.10);
  position: relative; z-index: 2;
}
.footer-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 360px;
}
.footer-links-group h5 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-links-group ul { list-style: none; }
.footer-links-group li { margin-bottom: 10px; }
.footer-links-group a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links-group a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted);
  flex-wrap: wrap; gap: 14px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 122, 26, 0.08);
  border: 1px solid rgba(255, 122, 26, 0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-social:hover {
  color: white;
  background: var(--gradient-hero);
  border-color: transparent;
  transform: translateY(-2px);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav#navbar { padding: 14px 20px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { padding: 110px 20px 70px; }
  .section-container { padding: 0 20px; }
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .features-grid,
  .pricing-grid,
  .audience-grid,
  .steps-grid,
  .manifesto-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-card { padding: 32px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .manifesto-card { padding: 36px 28px; }
}

/* ============== ADDITIONS: CMS, SEO & A11Y ============== */
[hidden] { display: none !important; }
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 2000;
  padding: 10px 16px; background: var(--accent); color: #fff; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 8px; }

.nav-links.show {
  display: flex; flex-direction: column; gap: 18px;
  position: absolute; top: 100%; left: 0; right: 0;
  padding: 20px 24px 24px;
  background: rgba(6, 11, 26, 0.97);
  border-bottom: 1px solid rgba(255, 122, 26, 0.18);
}

.nav-logo-img { height: 52px; width: auto; display: block; }
.nav-logo.has-image .nav-logo-mark, .nav-logo.has-image .nav-logo-text { display: none; }
nav#navbar.scrolled .nav-logo-img { height: 44px; }
footer .nav-logo-img { height: 60px; }

.hero-image { margin: 48px auto 0; max-width: 980px; }
.hero-image img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 122, 26, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), var(--shadow-glow);
}

.feature-icon, .audience-emoji { position: relative; overflow: hidden; }
.feature-icon img, .audience-emoji img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.audience-emoji img { width: 64px; height: 64px; border-radius: 14px; }
.feature-icon.has-image span, .audience-emoji.has-image span { display: none; }

.steps-grid { list-style: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-hero);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  line-height: 1.1;
}
.stat-item p:not(.stat-value) { color: var(--text-secondary); font-size: 14px; }

.contact-methods { font-style: normal; }
.contact-method-label { font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.contact-method a { color: inherit; text-decoration: none; }
.contact-method a:hover { color: var(--accent-2); }
.botcheck { display: none; }
.form-result { margin-top: 12px; font-size: 14px; text-align: center; }
.form-result.ok { color: #00c853; }
.form-result.err { color: #e23744; }
.form-submit.is-success { background: linear-gradient(135deg, #00c853, #00e676); }
.pricing-price .period[hidden] { display: none; }

/* FAQ */
.faq { padding: 120px 0; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 24px;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: var(--border-hover); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.faq-chevron { color: var(--accent-2); font-size: 22px; font-weight: 500; transition: transform 0.3s; flex-shrink: 0; }
.faq-item[open] .faq-chevron { transform: rotate(45deg); }
.faq-item p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; padding: 0 0 22px; }

/* Footer headings (h2 for semantics, styled like the old h5) */
.footer-links-group h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-primary); margin-bottom: 18px; }

/* Legal pages */
.legal-page { padding: 150px 0 100px; }
.legal-page .legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-page h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.legal-page .legal-updated { color: var(--text-muted); font-size: 14px; margin-bottom: 40px; }
.legal-body h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; letter-spacing: -0.01em; }
.legal-body p, .legal-body li { color: var(--text-secondary); font-size: 16px; line-height: 1.75; margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; margin-bottom: 16px; }
.legal-body a { color: var(--accent-2); }
.legal-nav { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.legal-nav a { color: var(--text-secondary); text-decoration: none; font-size: 14px; }
.legal-nav a:hover { color: var(--accent-2); }

/* 404 */
.notfound { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 20px; position: relative; z-index: 2; }
.notfound h1 { font-size: clamp(64px, 12vw, 140px); font-weight: 800; line-height: 1; }
.notfound p { color: var(--text-secondary); margin: 16px 0 32px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bg-mesh::before, .hero-orb, .marquee, .hero-badge { animation: none; }
}

/* ============== PARTNERS (portfolio) ============== */
@property --partner-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.portfolio { padding: 120px 0; position: relative; }
.partners-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 52px 36px; padding-top: 8px;
}
.partner {
  width: clamp(150px, 19vw, 220px); text-align: center;
  transition: opacity .5s ease, filter .5s ease;
}

/* Gentle, never-in-sync floating */
.partner-float { animation: partnerFloat 7s ease-in-out infinite; will-change: transform; }
.partner:nth-child(4n+1) .partner-float { animation-duration: 6.4s; animation-delay: -1.2s; }
.partner:nth-child(4n+2) .partner-float { animation-duration: 7.6s; animation-delay: -3.1s; }
.partner:nth-child(4n+3) .partner-float { animation-duration: 6.9s; animation-delay: -4.7s; }
.partner:nth-child(4n)   .partner-float { animation-duration: 8.1s; animation-delay: -2.3s; }
.partner:hover .partner-float { animation-play-state: paused; }
@keyframes partnerFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25%      { transform: translate3d(0, -7px, 0) rotate(-0.6deg); }
  50%      { transform: translate3d(0, -13px, 0) rotate(0.4deg); }
  75%      { transform: translate3d(0, -5px, 0) rotate(0.7deg); }
}

/* The tile IS the logo: full square, edge to edge */
.partner-tile {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --lift: 0px; --scale: 1;
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1;
  border-radius: 28px; overflow: hidden; isolation: isolate;
  background: var(--tile-bg, #fff);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 18px 40px -18px rgba(0, 0, 0, 0.75);
  transform: perspective(900px) translate3d(0, var(--lift), 0) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--scale));
  transition: transform .7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .5s ease;
  text-decoration: none; cursor: default; -webkit-tap-highlight-color: transparent;
}
.partner-tile[href] { cursor: pointer; }
.partner-tile:not(.has-image) { background: radial-gradient(circle at 30% 20%, #1f3a70 0%, var(--navy) 70%); }

.partner-logo {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover;
  transition: filter .6s ease, opacity .6s ease, transform .9s cubic-bezier(0.16, 1, 0.3, 1);
}
.partner-logo[hidden] { display: none; }
.partner-tile.is-contain .partner-logo { object-fit: contain; padding: 14%; }

.partner-initial {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: clamp(42px, 5vw, 66px); letter-spacing: -0.04em;
  background: var(--gradient-hero); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.partner-tile.has-image .partner-initial { display: none; }

/* Light that follows the cursor */
.partner-glare {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.12) 28%, transparent 58%);
  mix-blend-mode: overlay; opacity: 0; transition: opacity .5s ease;
}

/* Spinning brand-gradient border */
.partner-ring {
  position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--partner-angle), transparent 0deg, var(--accent) 70deg, var(--accent-cream) 110deg, var(--accent-warm) 150deg, transparent 220deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s ease;
  animation: partnerSpin 3.2s linear infinite; animation-play-state: paused;
}
@keyframes partnerSpin { to { --partner-angle: 360deg; } }

.partner-visit {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(6, 11, 26, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; font-size: 15px; font-weight: 700;
  opacity: 0; transform: translate(6px, -6px) scale(0.7);
  transition: opacity .4s ease, transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.partner-visit[hidden] { display: none; }

.partner-name { margin-top: 20px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-primary); transition: color .4s ease; }
.partner-text {
  margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--text-secondary);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.partner-text[hidden] { display: none; }

/* Mouse / trackpad: logos rest in monochrome, colour fades in on hover */
@media (hover: hover) and (pointer: fine) {
  .partner-tile.has-image .partner-logo { filter: grayscale(1) contrast(1.05) brightness(0.92); opacity: 0.8; }
  .partner-tile:hover, .partner-tile:focus-visible {
    --lift: -8px; --scale: 1.045;
    transition: transform .18s ease-out, box-shadow .5s ease;
    box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.35), 0 30px 60px -18px rgba(255, 122, 26, 0.55), 0 50px 90px -30px rgba(0, 0, 0, 0.85);
  }
  .partner-tile:hover .partner-logo, .partner-tile:focus-visible .partner-logo { filter: grayscale(0) contrast(1) brightness(1); opacity: 1; transform: scale(1.06); }
  .partner-tile:hover .partner-glare, .partner-tile:focus-visible .partner-glare { opacity: 1; }
  .partner-tile:hover .partner-ring, .partner-tile:focus-visible .partner-ring { opacity: 1; animation-play-state: running; }
  .partner-tile:hover .partner-visit, .partner-tile:focus-visible .partner-visit { opacity: 1; transform: none; }
  .partner:hover .partner-name { color: var(--accent-2); }
  /* Spotlight: the others step back */
  .partners-grid:has(.partner-tile:hover) .partner:not(:has(.partner-tile:hover)) { opacity: 0.45; filter: saturate(0.6) blur(1px); }
}
.partner-tile:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; }

@media (max-width: 600px) {
  .partners-grid { gap: 34px 16px; }
  .partner { width: calc(50% - 8px); max-width: 200px; }
  .partner-tile { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .partner-float, .partner-ring { animation: none; }
  .partner-tile, .partner-tile:hover { transform: none; transition: box-shadow .3s ease; }
  .partner-tile:hover .partner-logo { transform: none; }
}
