/* ============================================================
   EMAIL DESIGNER — emaildesigner.css
   Prefix: ed-
   Accent: red #E8312A (email-native feel)
   ============================================================ */

/* ── Font faces ── */
@font-face {
  font-family: 'Aeonik Pro';
  src: url('Aeonik/AeonikPro-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik Pro';
  src: url('Aeonik/AeonikPro-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik Pro';
  src: url('Aeonik/AeonikPro-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ── Design tokens ── */
:root {
  --primary: #0060FF;
  --ed-accent: #E8312A;
  --ed-accent-dim: rgba(232, 49, 42, 0.12);
  --ed-accent-glow: rgba(232, 49, 42, 0.22);
  --dark-bg: #080C10;
  --dark-elevated: #0E1419;
  --dark-card: #141A20;
  --surface: #FAFAFA;
  --surface-card: #FFFFFF;
  --surface-muted: #F4F4F8;
  --text-primary: #0A0A0F;
  --text-secondary: #6B7280;
  --text-on-dark: #EEF2F7;
  --text-muted-on-dark: #8B9AAF;
  --border: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);
  --font-display: 'Aeonik Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Aeonik Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-7: 96px; --sp-8: 128px;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-pill: 99px;
  --max-w: 1280px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-display);
  background: var(--dark-bg);
  color: var(--text-on-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── Container ── */
.ed-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s 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; }

/* ── Buttons ── */
.ed-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--ed-accent);
  color: #05161A;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 0 28px var(--ed-accent-glow);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ed-btn-primary:hover {
  background: #FF4A42;
  box-shadow: 0 0 48px rgba(232,49,42,0.35);
  transform: translateY(-1px);
}
.ed-btn-primary--large {
  padding: 18px 40px;
  font-size: 17px;
}

.ed-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: transparent;
  color: var(--text-on-dark);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border-dark);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ed-btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.ed-btn-ghost--cta {
  color: rgba(255,255,255,0.55);
  border: none;
  padding: 14px 8px;
}
.ed-btn-ghost--cta:hover { color: #fff; background: none; transform: translateX(4px); }

/* ── Shared section ── */
.ed-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ed-accent);
  margin-bottom: var(--sp-2);
}
.ed-section-header {
  text-align: center;
  margin-bottom: var(--sp-6);
}
.ed-section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-on-dark);
  margin-bottom: var(--sp-2);
}
.ed-section-sub {
  font-size: 17px;
  color: var(--text-muted-on-dark);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================================
   S1 — HERO
   ============================================================ */
.ed-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--dark-bg);
}

.ed-hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}
.ed-hero-glow--1 {
  top: -120px; right: -80px;
  width: 700px; height: 600px;
  background: radial-gradient(ellipse, rgba(232,49,42,0.13) 0%, transparent 70%);
}
.ed-hero-glow--2 {
  bottom: 100px; left: -100px;
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,96,255,0.08) 0%, transparent 70%);
}
.ed-hero-glow--3 {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(232,49,42,0.04) 0%, transparent 65%);
}

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

/* Orbital rings */
.ed-hero-rings {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ed-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid transparent;
}

.ed-ring--1 {
  width: 500px; height: 500px;
  top: 50%; left: 62%;
  transform: translate(-50%, -50%) perspective(800px) rotateX(70deg);
  background: transparent padding-box,
    conic-gradient(from 0deg, transparent 0%, rgba(232,49,42,0.65) 20%, rgba(255,100,90,0.45) 38%, transparent 58%) border-box;
  animation: ed-ring-rotate 14s linear infinite;
}
.ed-ring--2 {
  width: 740px; height: 740px;
  top: 50%; left: 62%;
  transform: translate(-50%, -50%) perspective(800px) rotateX(70deg);
  background: transparent padding-box,
    conic-gradient(from 120deg, transparent 0%, rgba(0,96,255,0.45) 14%, transparent 32%) border-box;
  animation: ed-ring-rotate 22s linear infinite reverse;
}
.ed-ring--3 {
  width: 1000px; height: 1000px;
  top: 50%; left: 62%;
  transform: translate(-50%, -50%) perspective(800px) rotateX(70deg);
  background: transparent padding-box,
    conic-gradient(from 240deg, transparent 0%, rgba(232,49,42,0.28) 10%, transparent 24%) border-box;
  animation: ed-ring-rotate 34s linear infinite;
}

@keyframes ed-ring-rotate {
  from { transform: translate(-50%, -50%) perspective(800px) rotateX(70deg) rotate(0deg); }
  to   { transform: translate(-50%, -50%) perspective(800px) rotateX(70deg) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ed-ring { animation: none; }
}

/* Hero content */
.ed-hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: calc(58px + var(--sp-8));
  padding-bottom: var(--sp-6);
  max-width: 680px;
}

/* Product icon mark */
.ed-hero-icon {
  display: flex;
  align-items: center;
  margin-bottom: var(--sp-3);
}
.ed-hero-icon img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 32px rgba(232, 49, 42, 0.3),
    0 8px 24px rgba(0,0,0,0.4);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}
.ed-hero-icon:hover img {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 0 48px rgba(232, 49, 42, 0.45),
    0 12px 32px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}

.ed-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  background: rgba(232,49,42,0.07);
  border: 1px solid rgba(232,49,42,0.22);
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: var(--sp-4);
  transition: border-color var(--transition), background var(--transition);
  letter-spacing: -0.01em;
  backdrop-filter: blur(12px);
}
.ed-hero-badge:hover { border-color: rgba(232,49,42,0.4); background: rgba(232,49,42,0.12); color: #fff; }

.ed-hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ed-accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--ed-accent);
  animation: ed-pulse 2.4s cubic-bezier(0.4,0,0.6,1) infinite;
}
@keyframes ed-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.8); }
}

.ed-hero-headline {
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #fff;
  margin-bottom: var(--sp-3);
}
.ed-hero-gradient {
  background: linear-gradient(135deg, #FF5A52 0%, var(--ed-accent) 50%, #C01F19 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ed-hero-sub {
  font-size: 18px;
  color: var(--text-muted-on-dark);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: var(--sp-4);
}

.ed-hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  flex-wrap: wrap;
}

.ed-hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted-on-dark);
}
.ed-hero-note svg { color: #4ade80; flex-shrink: 0; }

/* Product screenshot */
.ed-hero-product {
  position: relative;
  z-index: 2;
  padding: 0 var(--sp-3);
  margin-top: var(--sp-5);
}
.ed-hero-product-wrap {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  box-shadow:
    0 0 0 1px rgba(232,49,42,0.07),
    0 -20px 80px rgba(232,49,42,0.06),
    0 -60px 120px rgba(0,0,0,0.4);
  transform: perspective(1400px) rotateX(2.5deg);
  transform-origin: bottom center;
}
.ed-hero-product-wrap img { width: 100%; height: auto; display: block; }

.ed-hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(10,16,20,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  white-space: nowrap;
  z-index: 3;
}
.ed-hero-float--compat {
  bottom: 32px; left: 32px;
  animation: ed-float 3.5s ease-in-out infinite;
  color: var(--ed-accent);
}
.ed-hero-float--responsive {
  top: 32px; right: 32px;
  animation: ed-float 3.5s 1.75s ease-in-out infinite;
  color: #60a5fa;
}
@keyframes ed-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* Scroll hint */
.ed-hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 2px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.ed-hero-scroll-bar {
  width: 100%; height: 40%;
  background: var(--ed-accent);
  border-radius: 2px;
  animation: ed-scroll-bar 2s ease-in-out infinite;
}
@keyframes ed-scroll-bar {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(280%); opacity: 0; }
}

/* Stats row */
.ed-hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-dark);
}
.ed-stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4) 0;
}
.ed-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 var(--sp-5);
}
.ed-stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
}
.ed-stat-label {
  font-size: 12px;
  color: var(--text-muted-on-dark);
  white-space: nowrap;
}
.ed-stat-divider {
  width: 1px; height: 40px;
  background: var(--border-dark);
  flex-shrink: 0;
}

/* ============================================================
   S3 — FEATURES
   ============================================================ */
.ed-features {
  background: var(--surface);
  padding: var(--sp-8) 0;
}
.ed-features .ed-section-title,
.ed-features .ed-section-sub { color: var(--text-primary); }
.ed-features .ed-section-sub { color: var(--text-secondary); }

.ed-feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--border);
}
.ed-feature-block:last-child { border-bottom: none; }
.ed-feature-block--left .ed-feature-visual { order: -1; }

.ed-feature-number {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ed-accent);
  margin-bottom: var(--sp-2);
}
.ed-feature-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
  line-height: 1.15;
}
.ed-feature-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-2);
}
.ed-feature-desc:last-of-type { margin-bottom: var(--sp-3); }

.ed-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ed-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.ed-feature-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ed-accent);
  flex-shrink: 0;
}

.ed-feature-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.07), var(--shadow-hover);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.ed-feature-img-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.07), 0 20px 60px rgba(0,0,0,0.14);
}
.ed-feature-img-wrap img { width: 100%; height: auto; display: block; }

/* ============================================================
   S4 — TOOLS SPOTLIGHT (bento grid)
   ============================================================ */
.ed-tools {
  background: var(--dark-bg);
  padding: var(--sp-8) 0;
  position: relative;
  overflow: hidden;
}
.ed-tools::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,49,42,0.25), transparent);
}
.ed-tools::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(232,49,42,0.04) 0%, transparent 65%);
  pointer-events: none;
}

/* Bento grid */
.ed-tools-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* Base bento card */
.ed-bento-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.ed-bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(232,49,42,0);
  transition: box-shadow var(--transition-smooth);
  pointer-events: none;
}
.ed-bento-card:hover {
  border-color: rgba(232,49,42,0.25);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.ed-bento-card:hover::after {
  box-shadow: inset 0 0 0 1px rgba(232,49,42,0.1);
}

/* Magic Slider */
.ed-bento-card--magic {
}
.ed-bento-img-fill {
  position: relative;
  overflow: hidden;
}
.ed-bento-img-fill img {
  width: 100%; height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.ed-bento-card--magic:hover .ed-bento-img-fill img { transform: scale(1.02); }
.ed-bento-overlay {
  position: relative;
  z-index: 2;
  padding: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(to bottom, rgba(8,12,16,0.6) 0%, rgba(8,12,16,0.95) 100%);
}
.ed-bento-overlay .ed-bento-title { font-size: 20px; margin-bottom: 6px; }
.ed-bento-overlay .ed-bento-desc { font-size: 14px; max-width: 440px; }

/* Inspector */
.ed-bento-card--inspector {
}
.ed-bento-img-top {
  overflow: hidden;
  flex-shrink: 0;
  background: var(--dark-elevated);
}
.ed-bento-img-top img {
  width: 100%; height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.ed-bento-card:hover .ed-bento-img-top img { transform: scale(1.02); }

/* Body text area */
.ed-bento-body {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* Standard card */
.ed-bento-card--std { }

/* Dark icon cards */
.ed-bento-card--dark {
  background: linear-gradient(135deg, var(--dark-elevated) 0%, rgba(232,49,42,0.03) 100%);
  padding: var(--sp-4);
  gap: 10px;
}

/* Code card — wide */
.ed-bento-card--code { grid-column: span 2; }

/* Icon in dark card */
.ed-bento-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(232,49,42,0.1);
  border: 1px solid rgba(232,49,42,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ed-accent);
  flex-shrink: 0;
  margin-bottom: 4px;
  transition: background var(--transition), box-shadow var(--transition);
}
.ed-bento-card--dark:hover .ed-bento-icon {
  background: rgba(232,49,42,0.16);
  box-shadow: 0 0 20px rgba(232,49,42,0.2);
}

/* Shared text */
.ed-bento-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ed-accent);
  opacity: 0.8;
}
.ed-bento-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.ed-bento-desc {
  font-size: 14px;
  color: var(--text-muted-on-dark);
  line-height: 1.65;
}

/* Code tags decorative strip */
.ed-bento-code-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--sp-2);
}
.ed-bento-code-tags span {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(232,49,42,0.07);
  border: 1px solid rgba(232,49,42,0.14);
  border-radius: 6px;
  color: rgba(232,49,42,0.7);
  letter-spacing: -0.01em;
}

/* Responsive */
@media (max-width: 640px) {
  .ed-tools-bento {
    grid-template-columns: 1fr;
  }
  .ed-bento-card--code { grid-column: span 1; }
}

/* ============================================================
   S5 — RESPONSIVE SECTION
   ============================================================ */
.ed-responsive {
  background: var(--surface-muted);
  padding: var(--sp-8) 0;
}

.ed-responsive-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
}

.ed-responsive .ed-eyebrow { color: var(--primary); }

.ed-responsive-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1.05;
  margin-bottom: var(--sp-3);
}

.ed-responsive-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-2);
}
.ed-responsive-desc:last-of-type { margin-bottom: var(--sp-4); }

.ed-responsive-stats {
  display: flex;
  gap: var(--sp-4);
}
.ed-responsive-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ed-responsive-stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.ed-responsive-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.ed-responsive-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--border), var(--shadow-hover);
  transition: transform var(--transition-smooth);
}
.ed-responsive-img-wrap:hover { transform: translateY(-4px); }
.ed-responsive-img-wrap img { width: 100%; height: auto; display: block; }

/* ============================================================
   S6 — PRICING
   ============================================================ */
.ed-pricing {
  background: var(--dark-bg);
  padding: var(--sp-8) 0;
  position: relative;
  overflow: hidden;
}
.ed-pricing::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,49,42,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.ed-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  max-width: 820px;
  margin: 0 auto;
}

.ed-plan-card {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.ed-plan-card--featured {
  background: linear-gradient(145deg, rgba(232,49,42,0.07) 0%, var(--dark-card) 50%);
  border-color: rgba(232,49,42,0.2);
  box-shadow: 0 0 40px rgba(232,49,42,0.06);
}

.ed-plan-badge-top {
  position: absolute;
  top: -1px; right: 24px;
  padding: 4px 14px;
  background: var(--ed-accent);
  color: #05161A;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 0 0 10px 10px;
}

.ed-plan-header { display: flex; flex-direction: column; gap: 8px; }

.ed-plan-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ed-plan-icon--super {
  background: rgba(232,49,42,0.1);
  border-color: rgba(232,49,42,0.18);
  color: var(--ed-accent);
}

.ed-plan-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.ed-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.ed-plan-amount {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
}
.ed-plan-period {
  font-size: 13px;
  color: var(--text-muted-on-dark);
}
.ed-plan-desc {
  font-size: 14px;
  color: var(--text-muted-on-dark);
  line-height: 1.55;
}

.ed-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.ed-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.ed-plan-features li svg { color: #4ade80; flex-shrink: 0; }

.ed-plan-cta {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255,255,255,0.07);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition), border-color var(--transition);
  letter-spacing: -0.01em;
}
.ed-plan-cta:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.18); }
.ed-plan-cta--featured {
  background: var(--ed-accent);
  border-color: var(--ed-accent);
  color: #05161A;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(232,49,42,0.25);
}
.ed-plan-cta--featured:hover { background: #FF4A42; box-shadow: 0 4px 28px rgba(232,49,42,0.4); }

.ed-plan-note {
  font-size: 12px;
  color: var(--text-muted-on-dark);
  text-align: center;
}

.ed-pricing-compare {
  text-align: center;
  margin-top: var(--sp-4);
  font-size: 14px;
  color: var(--text-muted-on-dark);
}

/* ============================================================
   S7 — FEATURE GRID
   ============================================================ */
.ed-all-features {
  background: var(--surface);
  padding: var(--sp-8) 0;
}
.ed-all-features .ed-section-title,
.ed-all-features .ed-section-sub { color: var(--text-primary); }
.ed-all-features .ed-section-sub { color: var(--text-secondary); }

.ed-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.ed-feat-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.ed-feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ed-accent), #FF7A73);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}
.ed-feat-card:hover {
  border-color: rgba(232,49,42,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.ed-feat-card:hover::before { transform: scaleX(1); }

.ed-feat-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ed-accent-dim);
  border: 1px solid rgba(232,49,42,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--ed-accent);
  margin-bottom: 4px;
}
.ed-feat-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.ed-feat-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}
.ed-feat-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: var(--sp-1);
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.ed-feat-card-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}
.ed-feat-card-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ed-accent);
  flex-shrink: 0;
}

/* ============================================================
   S8 — FAQ (canonical — identical to index.html)
   ============================================================ */
.ed-faq {
  background: var(--surface);
  padding: var(--sp-8) 0;
}
.ed-faq .ed-section-title { color: var(--text-primary); }
.ed-faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-card);
}

.faq-item {
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background var(--transition);
}
.faq-item:last-child { border-bottom: none; }

.faq-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 0 2px 2px 0;
}
.faq-item.open::before { opacity: 1; }
.faq-item.open { background: rgba(0, 96, 255, 0.025); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
  padding: 20px 24px;
  min-height: 64px;
  background: none;
  border: none;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.02em;
  font-family: var(--font-body);
  transition: color var(--transition);
  touch-action: manipulation;
}
.faq-question:hover { color: var(--primary); }
.faq-item.open .faq-question { color: var(--primary); font-weight: 600; }
.faq-question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.14);
  color: var(--text-secondary);
  background: transparent;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; }
.faq-answer p {
  padding: 0 24px 22px 27px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   S9 — CTA FINAL
   ============================================================ */
.ed-cta-final {
  background: var(--dark-bg);
  padding: var(--sp-8) 0 calc(var(--sp-8) + 32px);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
}

.ed-cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(232,49,42,0.1) 0%, rgba(0,96,255,0.05) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(70px);
}

.ed-cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}
.ed-cta-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.05;
}
.ed-cta-sub {
  font-size: 18px;
  color: var(--text-muted-on-dark);
  max-width: 520px;
  line-height: 1.6;
}
.ed-cta-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--sp-1);
}
.ed-cta-note {
  font-size: 13px;
  color: var(--text-muted-on-dark);
  opacity: 0.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .ed-hero-inner { grid-template-columns: 1fr; padding-top: var(--sp-6); }
  .ed-hero-visual { display: none; }
  .ed-stats-grid { flex-wrap: wrap; gap: var(--sp-4); }
  .ed-stat { padding: 0 var(--sp-3); }
  .ed-stat-divider { display: none; }
  .ed-feature-block { grid-template-columns: 1fr; gap: var(--sp-4); }
  .ed-feature-block--left .ed-feature-visual { order: 0; }
  .ed-responsive-inner { grid-template-columns: 1fr; }
  .ed-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .ed-feat-grid { grid-template-columns: repeat(2, 1fr); }
  .ed-pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 768px) {
  .ed-hero-headline { font-size: 40px; }
  .ed-section-title { font-size: 26px; }
  .ed-responsive-title { font-size: 30px; }
  .ed-tools-grid { grid-template-columns: 1fr; }
  .ed-feat-grid { grid-template-columns: 1fr; }
  .ed-cta-title { font-size: 32px; }
  .ed-cta-actions { flex-direction: column; align-items: stretch; }
  .ed-btn-primary--large { text-align: center; justify-content: center; }
  .ed-responsive-stats { flex-direction: column; gap: var(--sp-2); }
}

@media (max-width: 640px) {
  .ed-container { padding: 0 16px; }
  .ed-hero-ctas { flex-direction: column; align-items: flex-start; }
  .ed-hero-ctas .ed-btn-primary,
  .ed-hero-ctas .ed-btn-ghost { width: 100%; justify-content: center; }
}
