/* ===== Elyvora — redesign: slate header, airy content, Playfair + Manrope ===== */
:root {
  --color-bg: #f4f6fb;
  --color-bg-soft: #e8ecf4;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-accent: #4f46e5;
  --color-accent-hover: #4338ca;
  --color-accent-soft: #e0e7ff;
  --color-accent-glow: #818cf8;
  --color-warm: #c2410c;
  --color-warm-soft: #ffedd5;
  --color-border: #cbd5e1;
  --color-disclaimer-bg: #eff6ff;
  --color-disclaimer-border: #93c5fd;
  --color-header-bg: #0f172a;
  --color-header-border: rgba(148, 163, 184, 0.12);
  --color-ad-banner: #1e293b;
  --color-ad-banner-text: #f1f5f9;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.12);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 85% -20%, rgba(79, 70, 229, 0.09), transparent 50%),
    radial-gradient(ellipse 90% 60% at 0% 100%, rgba(56, 189, 248, 0.06), transparent 45%),
    linear-gradient(180deg, #f8fafc 0%, var(--color-bg) 32%);
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.18;
  font-weight: 600;
  color: var(--color-text);
}

/* ===== Ad banner ===== */
.ad-banner {
  background: var(--color-ad-banner);
  color: var(--color-ad-banner-text);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  width: 100%;
  max-width: none;
  margin: 0;
  background: linear-gradient(180deg, #0f172a 0%, #0c1322 100%);
  border-bottom: 1px solid var(--color-header-border);
  padding: 12px clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #f8fafc;
  text-decoration: none;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.88;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 45%, #2563eb 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #eef2ff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 8px 24px rgba(79, 70, 229, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px 26px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: #f1f5f9;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-header .btn-ghost {
  background: transparent;
  border: 1px solid rgba(248, 250, 252, 0.22);
  color: #e2e8f0;
}

.site-header .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.site-header .btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.45);
}

.site-header .btn-primary:hover {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.5);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition), border-color var(--transition);
  text-decoration: none;
  font-family: inherit;
}

.btn-ghost:hover {
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border-color: #c7d2fe;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #fafafa;
  border: none;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  text-decoration: none;
  font-family: inherit;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(79, 70, 229, 0.4);
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
}

/* ===== Disclaimer ===== */
.disclaimer-block {
  background: var(--color-disclaimer-bg);
  border: 1px solid var(--color-disclaimer-border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 28px auto 12px;
  max-width: 1200px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent);
}

.disclaimer-block h3 {
  font-family: var(--font-display);
  color: #312e81;
  font-size: 1.125rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.disclaimer-block p {
  color: #1e3a5f;
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ===== Hero — image left, text card right (no overlap) ===== */
.hero {
  position: relative;
  margin: clamp(16px, 2.5vw, 28px) 0 clamp(36px, 5vw, 56px);
  padding: 0;
  overflow: visible;
}

.hero-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-frame {
  position: relative;
  border-radius: calc(var(--radius) + 10px) 6px calc(var(--radius) + 10px) calc(var(--radius) + 10px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  aspect-ratio: 5 / 4;
  max-height: min(520px, 72vh);
  background: var(--color-bg-soft);
}

.hero-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(15, 23, 42, 0.07) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(12px, 2vw, 20px) 0;
  animation: slideUp 0.85s ease-out;
}

.hero-panel {
  background: var(--color-surface);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(26px, 3.5vw, 38px) clamp(24px, 3vw, 34px);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 4px;
  height: 1.15em;
  background: linear-gradient(180deg, var(--color-accent) 0%, #38bdf8 100%);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.8vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--color-text);
}

.hero-lead {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  margin-bottom: 26px;
  max-width: 36rem;
  line-height: 1.72;
}

.hero p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  margin-bottom: 28px;
  max-width: 34rem;
  line-height: 1.72;
}

.hero-form {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--color-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.hero-form input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero-cta-buttons .btn-video::before {
  content: '▶ ';
  font-size: 0.85em;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  animation: countIn 0.8s ease-out backwards;
}

.hero-stat:nth-child(1) { animation-delay: 0.2s; }
.hero-stat:nth-child(2) { animation-delay: 0.35s; }
.hero-stat:nth-child(3) { animation-delay: 0.5s; }

@keyframes countIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero-stat .stars {
  color: var(--color-accent);
  letter-spacing: 2px;
}

.hero-illustration {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: block;
  position: relative;
  z-index: 0;
}

.hero-illustration svg,
.hero-illustration img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.hero-fallback {
  display: none;
  width: 100%;
  max-width: 100%;
}

.hero-fallback.hero-fallback-visible {
  display: block;
}

.hero-fallback svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Partners ===== */
.partners {
  padding: 48px clamp(16px, 4vw, 28px);
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-soft) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.partners-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.partners h2 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  flex-wrap: wrap;
}

.partners-logos span {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #334155;
  padding: 10px 20px;
  background: var(--color-surface);
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* ===== Statistics ===== */
.section-stats {
  padding: clamp(52px, 8vw, 92px) clamp(16px, 4vw, 28px);
  background: var(--color-surface);
  position: relative;
}

.section-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.section-stats .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-stats-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.section-stats-intro {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  max-width: 42rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.stat-card {
  background: linear-gradient(165deg, #fafbff 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-accent), #38bdf8);
  opacity: 0;
  transition: opacity var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #a5b4fc;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 10px;
}

.stat-card .stat-label {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.stat-card .stat-source {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-stats-footer {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.section-stats-footer a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.section-stats-footer a:hover {
  border-bottom-color: var(--color-accent);
}

/* ===== Section unlock ===== */
.section-unlock {
  padding: clamp(64px, 9vw, 104px) clamp(16px, 4vw, 28px);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-unlock h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.section-unlock h2.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-unlock > p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  margin-bottom: 26px;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease 0.08s, transform 0.65s ease 0.08s;
}

.section-unlock > p.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-header-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 44px;
  justify-content: center;
  flex-wrap: wrap;
}

.illustration-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.illustration-strip .illus-card {
  flex: 1 1 140px;
  min-width: 140px;
  max-width: 200px;
  min-height: 168px;
  padding: 24px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}

.illustration-strip .illus-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #c7d2fe;
}

.illustration-strip .illus-card > svg {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  color: var(--color-accent);
  display: block;
}

.illustration-strip .illus-card > span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 2.8em;
  line-height: 1.4;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ===== Features ===== */
.section-features {
  padding: clamp(64px, 9vw, 104px) clamp(16px, 4vw, 28px) clamp(80px, 10vw, 112px);
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
}

.section-features .section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 44px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-features .section-sub {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  max-width: 36rem;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(24px);
  box-shadow: var(--shadow-sm);
}

.feature-card.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  line-height: 1.65;
}

.feature-card .prompt-box {
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-box .plus {
  color: var(--color-accent);
  font-weight: 700;
}

.feature-illus {
  width: 100%;
  height: 120px;
  min-height: 120px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--color-accent-soft) 0%, #f8fafc 100%);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.feature-illus svg {
  width: 76px;
  height: 76px;
  color: var(--color-accent);
  opacity: 0.88;
}

/* ===== Product ===== */
.section-product {
  padding: clamp(52px, 8vw, 92px) clamp(16px, 4vw, 28px);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.section-product .container {
  max-width: 1200px;
  margin: 0 auto;
}

.product-block--compact {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 360px);
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.product-block--compact::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.product-block--compact .product-block-media {
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.product-block--compact .product-block-img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 16px 32px rgba(15, 23, 42, 0.12));
}

.product-block--compact .product-block-body {
  padding: 0;
  text-align: left;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.product-block-top {
  margin-bottom: 20px;
}

.product-block-badge {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-warm);
  margin-bottom: 10px;
}

.product-block-price {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 14px;
}

.product-block-desc {
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0;
}

.product-block-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.product-block-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.product-block-list li {
  position: relative;
  padding-left: 20px;
}

.product-block-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.product-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.product-block-actions .btn-primary,
.product-block-actions .btn-ghost {
  font-size: 1rem;
  padding: 12px 24px;
}

.product-block-actions .btn-buy {
  flex-shrink: 0;
}

.product-block-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-block-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.product-block-body {
  min-width: 0;
}

.product-block {
  margin: 0 auto;
}

.product-cta-wrap {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.product-cta-wrap .btn-buy {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .product-block--compact {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 24px;
  }

  .product-block--compact .product-block-body {
    text-align: center;
  }

  .product-block-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .product-block--compact .product-block-list {
    grid-template-columns: 1fr;
    text-align: left;
    justify-items: start;
  }

  .product-block--compact .product-block-actions {
    justify-content: center;
  }

  .product-block--compact .product-block-media {
    order: -1;
  }

  .product-block--compact .product-block-img {
    max-height: 200px;
  }
}

/* ===== Sources ===== */
.section-sources {
  padding: clamp(52px, 8vw, 92px) clamp(16px, 4vw, 28px);
  max-width: 1200px;
  margin: 0 auto;
}

.section-sources h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-sources > p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.source-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 22px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}

.source-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.source-card a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  font-family: var(--font-display);
}

.source-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-card p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-top: 8px;
  line-height: 1.55;
}

/* ===== Checkout ===== */
.checkout-page {
  padding: 48px clamp(16px, 4vw, 28px) 88px;
  min-height: 60vh;
}

.checkout-container {
  max-width: 960px;
  margin: 0 auto;
}

.checkout-container h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  font-weight: 600;
  margin-bottom: 10px;
}

.checkout-intro {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  margin-bottom: 32px;
  line-height: 1.65;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: start;
}

.checkout-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  box-shadow: var(--shadow-sm);
}

.checkout-summary h2 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.checkout-product {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.checkout-product-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.checkout-product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9375rem;
}

.checkout-product-price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 12px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.checkout-product-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.45;
}

.checkout-disclaimer {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

.checkout-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}

.checkout-fieldset {
  border: none;
  margin: 0 0 24px;
  padding: 0;
}

.checkout-fieldset legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  margin-bottom: 16px;
  padding: 0;
  color: var(--color-text);
}

.form-row {
  margin-bottom: 16px;
}

.form-row-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row label,
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-row input,
.form-row select,
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-group input:focus,
.form-row select:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form-row input[aria-invalid="true"],
.form-group input[aria-invalid="true"] {
  border-color: #b91c1c;
}

.form-error {
  display: block;
  font-size: 0.8125rem;
  color: #b91c1c;
  margin-top: 6px;
  font-weight: 600;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

  .form-row-inline {
    grid-template-columns: 1fr;
  }
}

/* ===== Thank you ===== */
.thankyou-page {
  padding: 88px clamp(16px, 4vw, 28px) 120px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou-container {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.thankyou-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  background: linear-gradient(145deg, #6366f1 0%, #4f46e5 100%);
  color: #fafafa;
  font-size: 2rem;
  font-weight: 700;
  line-height: 72px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.thankyou-container h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.thankyou-message {
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  font-size: 1.0625rem;
}

.thankyou-order {
  font-size: 1rem;
  margin-bottom: 16px;
}

.thankyou-contact {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.thankyou-contact a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.thankyou-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0;
}

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: #94a3b8;
  padding: 52px clamp(16px, 4vw, 28px) 26px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer-inner h4 {
  font-family: var(--font-body);
  color: #f1f5f9;
  font-size: 0.6875rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-inner ul {
  list-style: none;
}

.footer-inner a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-inner a:hover {
  color: #c7d2fe;
}

.footer-inner li {
  margin-bottom: 10px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.8125rem;
  text-align: center;
  color: #64748b;
  line-height: 1.55;
}

/* ===== Utilities & motion ===== */
.btn-primary:active {
  transform: translateY(0);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #818cf8, #38bdf8);
  transition: width var(--transition);
  border-radius: 1px;
}

.nav-links a:hover::after {
  width: 100%;
}

.source-card {
  animation: fadeInUp 0.55s ease-out backwards;
}

.source-card:nth-child(1) { animation-delay: 0.05s; }
.source-card:nth-child(2) { animation-delay: 0.1s; }
.source-card:nth-child(3) { animation-delay: 0.15s; }
.source-card:nth-child(4) { animation-delay: 0.2s; }
.source-card:nth-child(5) { animation-delay: 0.25s; }
.source-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.illus-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.illus-card:hover {
  border-color: #a5b4fc;
}

.hero-form input:focus {
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.reveal.visible {
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.partners-logos span {
  transition: color var(--transition), transform var(--transition), border-color var(--transition);
}

.partners-logos span:hover {
  color: var(--color-accent);
  border-color: #c7d2fe;
  transform: translateY(-2px);
}

/* ===== Legal pages ===== */
.legal-page {
  padding: 48px clamp(16px, 4vw, 28px) 88px;
  max-width: 44rem;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 600;
  margin-bottom: 20px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.legal-page p,
.legal-page li {
  color: var(--color-text-muted);
  margin-bottom: 14px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.legal-page ul {
  margin-left: 1.25rem;
  margin-bottom: 18px;
}

.legal-page a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.legal-page a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page {
  animation: pageFadeIn 0.55s ease-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== Contact form ===== */
.contact-form-wrap {
  max-width: 560px;
  margin-top: 32px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 18px;
  background: var(--color-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    row-gap: 14px;
  }

  .nav-links {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    padding-top: 14px;
    border-top: 1px solid var(--color-header-border);
  }

  .header-cta {
    margin-left: auto;
  }
}

@media (max-width: 960px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    max-height: none;
    aspect-ratio: 16 / 10;
    border-radius: calc(var(--radius) + 8px);
  }

  .hero-content {
    padding: 0;
    margin-top: clamp(20px, 4vw, 28px);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .hero {
    text-align: center;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-lead,
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-buttons {
    justify-content: center;
  }

  .hero-form {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .section-features .section-top {
    flex-direction: column;
  }

  .site-header .logo {
    flex: 1 1 auto;
  }
}

@media (max-width: 520px) {
  .header-cta {
    width: 100%;
    justify-content: center;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header .logo {
    justify-content: center;
  }
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
