/* BannerHandler – Design tokens (Spec Pack v1.2 + Art Rules v1.0) */
/* Manrope loaded async via index.html to avoid render-blocking */

:root {
  /* Colors */
  --bh-bg: #0B1020;
  --bh-panel: #111833;
  --bh-panel-hover: #141C3A;
  --bh-accent: #3B82F6;
  --bh-glow: rgba(59, 130, 246, 0.15);
  --bh-text: #E5E7EB;
  --bh-text-secondary: #B0B8C2;
  --bh-border: rgba(255, 255, 255, 0.08);
  --bh-border-hover: rgba(59, 130, 246, 0.3);

  /* Layout */
  --bh-max-width: 1200px;
  --bh-page-padding-mobile: 24px;
  --bh-page-padding-tablet: 32px;
  --bh-page-padding-desktop: 48px;
  --bh-section-spacing-desktop: 96px;
  --bh-section-spacing-mobile: 64px;

  /* Typography */
  --bh-font: 'Inter', system-ui, sans-serif;
  --bh-h1-size-desktop: 48px;
  --bh-h1-size-mobile: 34px;
  --bh-h1-weight: 600;
  --bh-h1-lh: 1.1;
  --bh-h1-lh-mobile: 1.12;
  --bh-h2-size-desktop: 24px;
  --bh-h2-size-mobile: 20px;
  --bh-h2-weight: 500;
  --bh-h2-lh: 1.25;
  --bh-body-size: 16px;
  --bh-body-lh: 1.5;
  --bh-small-size: 13px;
  --bh-small-lh: 1.45;

  /* Components */
  --bh-card-radius: 12px;
  --bh-btn-radius: 10px;
  --bh-motion-duration: 250ms;
  --bh-motion-ease: ease-out;

  /* Entry */
  --bh-entry-center-width-max: 820px;
  --bh-status-bar-height: 56px;
  --bh-status-bar-height-mobile: 64px;
}

/* ───────────────────── RESET ───────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--bh-font);
  font-size: var(--bh-body-size);
  font-weight: 400;
  line-height: var(--bh-body-lh);
  background: var(--bh-bg);
  color: var(--bh-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background depth: very subtle top wash */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.03), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

#root { position: relative; z-index: 1; }

/* ───────────────────── LAYOUT ───────────────────── */

.bh-page-wrap {
  max-width: var(--bh-max-width);
  margin: 0 auto;
  padding-left: var(--bh-page-padding-mobile);
  padding-right: var(--bh-page-padding-mobile);
}
@media (min-width: 768px) {
  .bh-page-wrap { padding-left: var(--bh-page-padding-tablet); padding-right: var(--bh-page-padding-tablet); }
}
@media (min-width: 1024px) {
  .bh-page-wrap { padding-left: var(--bh-page-padding-desktop); padding-right: var(--bh-page-padding-desktop); }
}

.bh-section-spacing {
  padding-top: var(--bh-section-spacing-mobile);
  padding-bottom: var(--bh-section-spacing-mobile);
}
@media (min-width: 1024px) {
  .bh-section-spacing { padding-top: var(--bh-section-spacing-desktop); padding-bottom: var(--bh-section-spacing-desktop); }
}

.bh-page-main { flex: 1; display: flex; flex-direction: column; }

/* ───────────────────── TYPOGRAPHY ───────────────────── */

.bh-h1 {
  font-size: var(--bh-h1-size-mobile);
  font-weight: var(--bh-h1-weight);
  line-height: var(--bh-h1-lh-mobile);
  letter-spacing: -0.025em;
  margin: 0;
  color: #fff;
}
@media (min-width: 1024px) {
  .bh-h1 { font-size: var(--bh-h1-size-desktop); line-height: var(--bh-h1-lh); }
}

.bh-h2 {
  font-size: var(--bh-h2-size-mobile);
  font-weight: var(--bh-h2-weight);
  line-height: var(--bh-h2-lh);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--bh-text);
}
@media (min-width: 1024px) {
  .bh-h2 { font-size: var(--bh-h2-size-desktop); }
}

.bh-body { font-size: var(--bh-body-size); line-height: var(--bh-body-lh); color: var(--bh-text); }
.bh-small { font-size: var(--bh-small-size); line-height: var(--bh-small-lh); color: var(--bh-text-secondary); }

/* Section heading: accent bar + title + optional subtitle */
.bh-section-header {
  margin-bottom: 40px;
}

.bh-section-header .bh-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bh-accent);
  margin-bottom: 14px;
}

.bh-section-header .bh-section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--bh-accent);
  border-radius: 1px;
}

.bh-section-header .bh-section-sub {
  margin-top: 12px;
  max-width: 520px;
  color: var(--bh-text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

/* ───────────────────── CARD ───────────────────── */

.bh-card {
  background: var(--bh-panel);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-card-radius);
  transition: background var(--bh-motion-duration) var(--bh-motion-ease),
              border-color var(--bh-motion-duration) var(--bh-motion-ease),
              box-shadow var(--bh-motion-duration) var(--bh-motion-ease);
}
.bh-card:hover {
  background: var(--bh-panel-hover);
  border-color: var(--bh-border-hover);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

/* ───────────────────── BUTTONS ───────────────────── */

.bh-btn-primary:focus-visible,
.bh-btn-secondary:focus-visible { outline: 2px solid var(--bh-accent); outline-offset: 2px; }

.bh-btn-primary:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.bh-btn-secondary:hover { border-color: var(--bh-border-hover); background: rgba(255, 255, 255, 0.04); }

/* ───────────────────── INPUT ───────────────────── */

.bh-input:focus { outline: none; border-color: var(--bh-accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12); }
.bh-input::placeholder { color: var(--bh-text-secondary); opacity: 0.7; }

/* ───────────────────── ENTRY DROP SCREEN (FINAL v1) ───────────────────── */

/* Base: 100vh, scroll kapalı, tam sayfa drop target */
.entry-drop-screen {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  /* §3 Background: #0B1020, linear gradient top-left → bottom-right */
  background: linear-gradient(to bottom right, #0B1020, #070b14);
}

/* Subtle center ambient — no glow */
.entry-drop-screen::before {
  content: '';
  position: absolute;
  width: 100%;
  max-width: 800px;
  height: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  transition: opacity 200ms ease-out;
}
.entry-drop-screen.drag-active::before {
  opacity: 1;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 65%);
}

/* §4 Focus surface: odak rehberi, kart değil. Border çok silik. */
.entry-focus-surface {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 40px;
  position: relative;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: transparent;
  transition: transform 300ms ease-out, opacity 300ms ease-out;
}
@media (min-width: 768px) {
  .entry-focus-surface { padding: 64px; }
}

/* §6.3 Drop accepted: fade + scale, yukarı taşınır */
.entry-drop-screen.collapsing .entry-focus-surface {
  transform: translateY(-40vh) scale(0.4);
  opacity: 0;
}

/* §5.1 Upload icon: tek renk gri, küçük, dekoratif — juicy bounce animation */
@keyframes entry-upload-bounce {
  0% { transform: translateY(0) scale(1); }
  18% { transform: translateY(-10px) scale(1.12); }
  36% { transform: translateY(2px) scale(0.96); }
  54% { transform: translateY(-5px) scale(1.06); }
  72% { transform: translateY(1px) scale(0.98); }
  90% { transform: translateY(-2px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}
.entry-upload-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5C6370;
  animation: entry-upload-bounce 2.2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  transform-origin: center bottom;
}
.entry-drop-screen.drag-active .entry-upload-icon {
  animation: none;
  transform: translateY(0) scale(1);
}

/* §5.2 Headline — matches ShowCases hero typography */
.entry-headline {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  text-transform: none;
  margin: 0 0 24px;
  line-height: 1.05;
  max-width: 720px;
  transition: content 200ms ease-out;
}
@media (min-width: 768px) {
  .entry-headline { font-size: clamp(48px, 7vw, 80px); }
}

/* §5.3 Subline — matches ShowCases hero typography */
.entry-subline {
  font-size: 16px;
  color: var(--bh-text-secondary);
  font-weight: 400;
  margin: 0 auto 28px;
  line-height: 1.6;
  max-width: 460px;
}
@media (min-width: 768px) {
  .entry-subline { font-size: clamp(17px, 2vw, 20px); }
}

/* §5.4 CTA row: desktop yan yana, mobile alt alta */
.entry-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
@media (max-width: 767px) {
  .entry-cta-row { flex-direction: column; align-items: stretch; }
}

/* §5.4 Primary: #3B82F6, white, radius 10px, padding 14px 24px, hover brightness +5%, 200ms */
.entry-btn-primary {
  background: #3B82F6;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: filter 200ms ease-out;
}
.entry-btn-primary:hover {
  filter: brightness(1.05);
}

/* §5.4 Secondary: transparent, border rgba(255,255,255,0.14), #E5E7EB, hover border +10% */
.entry-btn-secondary {
  background: transparent;
  color: #E5E7EB;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 200ms ease-out, background 200ms ease-out;
}
.entry-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

/* §5.5 Support line — matches ShowCases body typography */
.entry-support-line {
  font-size: 13px;
  color: var(--bh-text-secondary);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.55;
}
.entry-support-keyword {
  color: inherit;
}
.entry-support-dot {
  color: rgba(255, 255, 255, 0.15);
}

/* §7 Upload Status Bar (entry post-drop) */
.entry-status-bar {
  padding-left: var(--bh-page-padding-mobile);
  padding-right: var(--bh-page-padding-mobile);
}
@media (min-width: 768px) {
  .entry-status-bar { padding-left: var(--bh-page-padding-tablet); padding-right: var(--bh-page-padding-tablet); }
}
@media (min-width: 1024px) {
  .entry-status-bar { padding-left: var(--bh-page-padding-desktop); padding-right: var(--bh-page-padding-desktop); }
}

/* ───────────────────── UPLOAD STATUS BAR ───────────────────── */

.upload-status-bar {
  min-height: var(--bh-status-bar-height);
  padding-left: var(--bh-page-padding-mobile);
  padding-right: var(--bh-page-padding-mobile);
}
@media (min-width: 768px) {
  .upload-status-bar { padding-left: var(--bh-page-padding-tablet); padding-right: var(--bh-page-padding-tablet); }
}
@media (min-width: 1024px) {
  .upload-status-bar { padding-left: var(--bh-page-padding-desktop); padding-right: var(--bh-page-padding-desktop); }
}
@media (max-width: 767px) {
  .upload-status-bar { min-height: var(--bh-status-bar-height-mobile); }
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-indicator.is-ready { background: #34D399; }
.status-indicator.is-preparing { background: var(--bh-accent); animation: status-pulse 1.5s ease-in-out infinite; }
.status-indicator.is-error { background: #EF4444; }

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ───────────────────── PIPELINE (How it works) ───────────────────── */

.pipeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Vertical connector line (mobile) */
.pipeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 56px;
  width: 1px;
  background: linear-gradient(to bottom, var(--bh-border), var(--bh-accent), var(--bh-border));
  opacity: 0.4;
}

.pipeline-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  position: relative;
}

.pipeline-node {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--bh-panel);
  border: 1px solid var(--bh-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: border-color var(--bh-motion-duration) var(--bh-motion-ease), box-shadow var(--bh-motion-duration) var(--bh-motion-ease);
}
.pipeline-step:hover .pipeline-node {
  border-color: var(--bh-border-hover);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pipeline-node-number {
  font-size: 18px;
  font-weight: 600;
  color: var(--bh-accent);
  letter-spacing: -0.02em;
}

.pipeline-content {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.pipeline-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--bh-text);
  margin-bottom: 6px;
}

.pipeline-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--bh-text-secondary);
  margin-bottom: 12px;
}

.pipeline-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pipeline-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 500;
  color: var(--bh-text-secondary);
  letter-spacing: 0.01em;
}

/* Desktop: horizontal pipeline */
@media (min-width: 768px) {
  .pipeline {
    flex-direction: row;
    gap: 0;
  }

  .pipeline::before {
    left: 56px;
    right: 56px;
    top: 28px;
    bottom: auto;
    height: 1px;
    width: auto;
    background: linear-gradient(to right, var(--bh-border), var(--bh-accent), var(--bh-border));
  }

  .pipeline-step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 0 12px;
  }

  .pipeline-content { padding-top: 0; }
  .pipeline-tags { justify-content: center; }
}

/* ───────────────────── EXAMPLE CARDS ───────────────────── */

.example-preview {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bh-bg);
  border: 1px solid var(--bh-border);
}

/* Subtle grid pattern inside preview */
.example-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Mock wireframe shapes inside preview */
.example-preview::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  pointer-events: none;
}

.example-dim-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 10px;
  font-weight: 500;
  color: var(--bh-text-secondary);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.example-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 14px;
}

.example-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--bh-text);
}

/* ───────────────────── VIDEO PROOF ───────────────────── */

.video-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--bh-card-radius);
  background: var(--bh-panel);
  border: 1px solid var(--bh-border);
  max-width: 800px;
  transition: border-color var(--bh-motion-duration) var(--bh-motion-ease);
}
.video-container:hover { border-color: var(--bh-border-hover); }

/* Inner vignette */
.video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  border-radius: var(--bh-card-radius);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.video-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ───────────────────── EARLY ACCESS ───────────────────── */

.early-access-card {
  position: relative;
  overflow: hidden;
}

.early-access-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bh-accent), transparent);
  opacity: 0.4;
}

/* ───────────────────── FOOTER ───────────────────── */

.bh-footer-divider {
  width: 32px;
  height: 2px;
  background: var(--bh-accent);
  border-radius: 1px;
  margin: 0 auto 20px;
  opacity: 0.5;
}

/* ───────────────────── EDITOR HEADER ───────────────────── */

.bh-back-link:hover { opacity: 0.85; }
.bh-back-link:focus-visible { outline: 2px solid var(--bh-accent); outline-offset: 2px; border-radius: 4px; }

/* ───────────────────── MISC ───────────────────── */

.entry-hint-desktop { display: none; }
@media (min-width: 1024px) { .entry-hint-desktop { display: block; } }

/* ───────────────────── MOBILE GUARDS ───────────────────── */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════ */
/* ── PREMIUM HERO REDESIGN ──────────────────────────────── */
/* ═══════════════════════════════════════════════════════════ */

/* ── Subtle ambient mesh backgrounds (no glow, no purple) ── */
.hero-mesh {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.hero-mesh-1 {
  width: 600px;
  height: 600px;
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 65%);
  filter: blur(100px);
  animation: heroMesh1 22s ease-in-out infinite;
}
.hero-mesh-2 {
  width: 500px;
  height: 500px;
  bottom: -10%;
  left: -8%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 65%);
  filter: blur(100px);
  animation: heroMesh2 26s ease-in-out infinite;
}
.hero-mesh-3 {
  width: 300px;
  height: 300px;
  top: 30%;
  left: 40%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.02) 0%, transparent 65%);
  filter: blur(80px);
  animation: heroMesh3 18s ease-in-out infinite;
}

@keyframes heroMesh1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.98); }
}
@keyframes heroMesh2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.03); }
  66% { transform: translate(25px, -15px) scale(0.97); }
}
@keyframes heroMesh3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.6; }
  50% { transform: translate(20px, -20px); opacity: 1; }
}

/* ── Hero badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.12);
  font-size: 12px;
  font-weight: 500;
  color: var(--bh-accent);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  animation: heroFadeUp 0.7s ease-out;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: heroBadgePulse 2.5s ease-in-out infinite;
}
@keyframes heroBadgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Gradient headline text (clean blue, no purple) ── */
.hero-gradient-text {
  background: linear-gradient(135deg, #60A5FA 0%, #38BDF8 50%, #60A5FA 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroGradientShift 6s ease-in-out infinite;
}
@keyframes heroGradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* ── Glass drop card (drop zone height × 0.5) ── */
.hero-drop-card {
  position: relative;
  max-width: 460px;
  margin: 0 auto 24px;
  padding: 14px 20px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  animation: heroFadeUp 0.7s ease-out 0.25s both;
}
.hero-drop-card:hover {
  border-color: rgba(59, 130, 246, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
.drag-active .hero-drop-card {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

/* ── Hero entrance animation ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Landing navigation bar ── */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 16, 32, 0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.3s;
}
@media (min-width: 768px) {
  .landing-nav { padding: 14px 40px; }
}
.landing-nav-logo {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.landing-nav-logo-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--bh-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing-nav-btn {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.landing-nav-btn-ghost {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.75);
}
.landing-nav-btn-ghost:hover { color: rgba(255,255,255,0.95); }
.landing-nav-btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
}
.landing-nav-btn-outline:hover {
  border-color: rgba(59,130,246,0.3);
  color: #fff;
}

/* ── How it works section ── */
.how-section {
  padding: 80px 24px;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 767px) {
  .how-section { padding: 56px 20px; }
}
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
@media (max-width: 767px) {
  .how-steps-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* Connecting line between steps (desktop) */
.how-steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.15), rgba(59,130,246,0.15), transparent);
}
@media (max-width: 767px) {
  .how-steps-grid::before { display: none; }
}

.how-step-card {
  padding: 28px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.how-step-card:hover {
  border-color: rgba(59, 130, 246, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.how-step-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--bh-accent);
  position: relative;
  z-index: 1;
}
.how-step-title {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 8px;
}
.how-step-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--bh-text-secondary);
  margin: 0;
}

/* ── Section divider (gradient line) ── */
.section-divider {
  width: 100%;
  max-width: 200px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

/* ── Studio section (built-in editor showcase, after hero) ── */
.studio-showcase {
  padding: 80px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .studio-showcase { padding: 56px 20px 48px; }
}

.studio-header {
  max-width: 640px;
  margin: 0 auto 48px;
}

.studio-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--bh-accent);
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.studio-title {
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.12;
  font-weight: 700;
  color: var(--bh-text);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.studio-subheadline {
  font-size: 16px;
  line-height: 1.6;
  color: var(--bh-text-secondary);
  margin: 0;
}

/* Browser frame: floating app window */
.studio-browser-frame {
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 24px 48px -12px rgba(0, 0, 0, 0.2),
    0 0 80px rgba(59, 130, 246, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.studio-browser-frame:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.15),
    0 32px 56px -14px rgba(0, 0, 0, 0.22),
    0 0 100px rgba(59, 130, 246, 0.08);
}

.studio-window-header {
  height: 44px;
  background: #F3F4F6;
  border-bottom: 1px solid #E5E7EB;
  border-radius: 14px 14px 0 0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.studio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.studio-dot-close { background: #FF5F57; }
.studio-dot-minimize { background: #FEBC2E; }
.studio-dot-maximize { background: #28C840; }

.studio-address-bar {
  margin: 0 auto;
  background: #fff;
  padding: 6px 100px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--bh-text-secondary);
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.studio-browser-frame picture {
  display: block;
}
.studio-app-screenshot {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 14px 14px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .studio-showcase { overflow: visible; }
  .studio-header h2.studio-title { font-size: 26px; }
  .studio-address-bar { display: none; }
  .studio-browser-frame {
    overflow: visible;
  }
  .studio-app-screenshot {
    min-height: 120px;
  }
}

/* Feature tags below the frame */
.studio-feature-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
@media (max-width: 767px) {
  .studio-feature-tags { margin-top: 20px; gap: 8px; }
}

.studio-feature-tag {
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--bh-border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 500;
  color: var(--bh-text-secondary);
  letter-spacing: 0.02em;
}

/* ── Landing content blocks (center-aligned, short) ── */
.landing-content-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
@media (max-width: 767px) {
  .landing-content-section { padding: 48px 20px 56px; gap: 40px; }
}

.landing-content-block {
  text-align: center;
}

.landing-content-badge {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--bh-accent);
  font-size: 10px;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.landing-content-title {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--bh-text);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.landing-content-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--bh-text-secondary);
  margin: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Inline stats row */
.landing-content-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
  padding: 8px 0;
}
@media (max-width: 767px) {
  .landing-content-stats-row { grid-template-columns: 1fr; gap: 12px; }
}

.landing-content-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-content-stat-value {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bh-text);
  line-height: 1;
}
.landing-content-stat-unit {
  font-size: 0.45em;
  color: var(--bh-accent);
  margin-left: 3px;
  font-weight: 600;
}
.landing-content-stat-desc {
  font-size: 13px;
  font-weight: 500;
  color: var(--bh-text);
  margin-top: 4px;
}
.landing-content-stat-source {
  font-size: 10px;
  color: var(--bh-text-secondary);
  opacity: 0.7;
  font-weight: 500;
}

/* ── Ambient glow orbs ── */
.landing-glow-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  height: 0;
  overflow: visible;
  pointer-events: none;
}
.landing-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.landing-glow-a {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.06);
  top: 60px;
  left: -80px;
}
.landing-glow-b {
  width: 350px;
  height: 350px;
  background: rgba(139, 92, 246, 0.04);
  top: 200px;
  right: -60px;
}
.landing-glow-cta {
  width: 500px;
  height: 300px;
  background: rgba(59, 130, 246, 0.06);
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 767px) {
  .landing-glow-a, .landing-glow-b { width: 250px; height: 250px; filter: blur(80px); }
  .landing-glow-cta { width: 300px; height: 200px; filter: blur(80px); }
}

/* ── Section divider ── */
.landing-section-divider {
  width: 100%;
  max-width: 160px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.12), transparent);
}

/* ── Tag cloud ── */
.landing-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 56px;
}
@media (max-width: 767px) {
  .landing-tag-cloud { padding: 32px 20px 40px; gap: 8px; }
}
.landing-tag-pill {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  font-weight: 500;
  color: var(--bh-text-secondary);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s;
}
.landing-tag-pill:hover {
  border-color: rgba(59, 130, 246, 0.2);
  color: var(--bh-text);
}

/* ── Final CTA ── */
.landing-final-cta {
  position: relative;
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 32px;
  text-align: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
@media (max-width: 767px) {
  .landing-final-cta { padding: 40px 20px; margin: 0 20px; }
}
.landing-final-cta-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--bh-text);
  margin: 0 0 12px;
}
.landing-final-cta-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--bh-text-secondary);
  margin: 0 0 28px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.landing-final-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
.landing-footer {
  padding: 32px 24px 40px;
  text-align: center;
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
@media (max-width: 767px) {
  .landing-footer { padding: 24px 20px 32px; margin-top: 48px; }
}
.landing-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bh-text-secondary);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.landing-footer-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--bh-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.landing-footer-copy {
  font-size: 11px;
  color: var(--bh-text-secondary);
  opacity: 0.7;
  letter-spacing: 0.03em;
}
.landing-footer-seo {
  margin-top: 6px;
  font-size: 10px;
  color: var(--bh-text-secondary);
  opacity: 0.5;
  letter-spacing: 0.02em;
}

/* ── Trusted strip ── */
.trusted-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px;
}
.trusted-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.trusted-strip-icon {
  width: 18px;
  height: 18px;
  opacity: 0.5;
}

/* ── Updated Entry Drop Screen for premium hero ── */
.entry-drop-screen {
  background: linear-gradient(165deg, #0c1225 0%, #0B1020 40%, #080d1a 100%);
}
.entry-drop-screen::before {
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(59, 130, 246, 0.02) 0%, transparent 70%);
}

/* ── Updated hero headline for premium ── */
.entry-headline {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  text-transform: none;
  margin: 0 0 20px;
  line-height: 1.06;
  max-width: 620px;
  animation: heroFadeUp 0.7s ease-out 0.1s both;
}

/* ── Updated hero subline ── */
.entry-subline {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  margin: 0 auto 32px;
  line-height: 1.65;
  max-width: 440px;
  animation: heroFadeUp 0.7s ease-out 0.15s both;
}
@media (min-width: 768px) {
  .entry-subline { font-size: clamp(16px, 1.8vw, 18px); }
}

/* ── Updated CTA buttons for premium (no glow) ── */
.entry-btn-primary {
  background: #3B82F6;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.entry-btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.entry-btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: #E5E7EB;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.entry-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

/* ── Scroll indicator pulse ── */
.landing-scroll-indicator {
  animation: landingScrollFloat 2.8s ease-in-out infinite;
}
@keyframes landingScrollFloat {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.9; transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════════ */
/* ── LANDING + SHOWCASE THEME (white bg, black text, accent #D76C5B) ── */
/* Applied when body has class .landing-page (LandingPage sets it) ─────── */
/* ═══════════════════════════════════════════════════════════ */

body.landing-page {
  background: #FFFFFF;
  color: #000000;
  --bh-bg: #FFFFFF;
  --bh-text: #000000;
  --bh-accent: #D76C5B;
  --bh-text-secondary: #5C6370;
  --bh-border: rgba(0, 0, 0, 0.08);
  --bh-border-hover: rgba(215, 108, 91, 0.35);
  --bh-panel: #F8F8F8;
  --bh-panel-hover: #EEEEEE;
  --bh-glow: rgba(215, 108, 91, 0.12);
}

/* Hero / entry: light background, black text */
body.landing-page .entry-drop-screen {
  background: #FFFFFF;
}
body.landing-page .entry-drop-screen::before {
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(215, 108, 91, 0.03) 0%, transparent 70%);
}
body.landing-page .entry-headline {
  color: #000000;
}
body.landing-page .entry-subline {
  color: #5C6370;
}
/* CTA: Get started = black bg + white text; Try demo = white + black border (reference) */
body.landing-page .entry-btn-primary {
  background: #000000;
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
body.landing-page .entry-btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
body.landing-page .entry-btn-secondary {
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #000000;
}
body.landing-page .entry-btn-secondary:hover {
  border-color: #000000;
  background: #F8F8F8;
}
/* Hero gradient headline: use accent terracotta */
body.landing-page .hero-gradient-text {
  background: linear-gradient(135deg, #D76C5B 0%, #c45a4a 50%, #D76C5B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
body.landing-page .hero-badge {
  background: rgba(215, 108, 91, 0.08);
  border-color: rgba(215, 108, 91, 0.2);
  color: #D76C5B;
}
body.landing-page .hero-drop-card {
  background: rgba(248, 248, 248, 0.9);
  border-color: rgba(0, 0, 0, 0.06);
}
body.landing-page .hero-drop-card:hover {
  border-color: rgba(215, 108, 91, 0.2);
}
body.landing-page .entry-upload-icon {
  color: rgba(0, 0, 0, 0.35);
}
body.landing-page .entry-drop-screen:not(.drag-active) .entry-drop-hint {
  color: #5C6370 !important;
}
body.landing-page .entry-drop-screen.drag-active .entry-drop-hint {
  color: var(--bh-accent) !important;
}
/* ── Drop zone compact text (split layout: smaller so content goes up) ── */
body.landing-page .entry-drop-screen-split .entry-headline {
  font-size: clamp(22px, 3.5vw, 28px);
  margin-bottom: 12px;
}
body.landing-page .entry-drop-screen-split .entry-subline {
  font-size: 13px;
  margin-bottom: 16px;
}
body.landing-page .entry-drop-screen-split .entry-drop-hint {
  font-size: 12px;
  margin-bottom: 8px;
}
body.landing-page .entry-drop-screen-split .hero-badge {
  font-size: 11px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
body.landing-page .entry-drop-screen-split .entry-btn-primary,
body.landing-page .entry-drop-screen-split .entry-btn-secondary {
  padding: 10px 18px;
  font-size: 13px;
}
body.landing-page .entry-drop-screen-split .entry-support-line,
body.landing-page .entry-drop-screen-split .entry-support-line span {
  font-size: 11px;
}
body.landing-page .entry-support-line,
body.landing-page .entry-support-line span {
  color: #374151 !important;
}

/* Nav: light bar, black text */
body.landing-page .landing-nav {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
body.landing-page .landing-nav-logo {
  color: #000000;
}
body.landing-page .landing-nav-logo-icon {
  background: #D76C5B;
}
body.landing-page .landing-nav-logo-icon svg {
  stroke: #fff;
}
body.landing-page .landing-nav-btn-ghost {
  color: rgba(0, 0, 0, 0.6);
}
body.landing-page .landing-nav-btn-ghost:hover {
  color: #000000;
}
body.landing-page .landing-nav span[style*="fontSize: 12"] {
  color: rgba(0, 0, 0, 0.5) !important;
}

/* Scroll indicator */
body.landing-page .landing-scroll-indicator span {
  color: rgba(0, 0, 0, 0.4) !important;
}
body.landing-page .landing-scroll-indicator svg {
  color: rgba(0, 0, 0, 0.35) !important;
}

/* Section divider */
body.landing-page .section-divider {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

/* Showcase sections: light UI panels, slider thumb accent */
body.landing-page .showcase-slider {
  background: rgba(0, 0, 0, 0.08);
}
body.landing-page .showcase-slider::-webkit-slider-thumb {
  background: #D76C5B;
}
body.landing-page .showcase-slider::-moz-range-thumb {
  background: #D76C5B;
}
body.landing-page .showcase-slider::-moz-range-track {
  background: rgba(0, 0, 0, 0.08);
}
body.landing-page .vf-restart-btn:hover {
  border-color: #D76C5B !important;
  color: #D76C5B !important;
}

/* Studio section & stats: sufficient contrast on light background (A11y) */
body.landing-page .studio-badge {
  color: #a84838;
  background: rgba(215, 108, 91, 0.12);
  border-color: rgba(215, 108, 91, 0.25);
}
body.landing-page .studio-address-bar {
  color: #374151;
}
body.landing-page .landing-content-stat-unit {
  color: #a84838;
}
body.landing-page .landing-content-stat-desc,
body.landing-page .landing-content-stat-value {
  color: #111827;
}
body.landing-page .landing-content-stat-source {
  color: #4B5263;
  opacity: 1;
}

/* Support line keywords (150 KB, Google Ads ready): dark text on light landing for readability */
body.landing-page .entry-support-keyword {
  color: #374151 !important;
}
body.landing-page .entry-support-dot {
  color: rgba(0, 0, 0, 0.2) !important;
}
/* Tag cloud pills on light landing: avoid white bg + gray text */
body.landing-page .landing-tag-pill {
  background: rgba(0, 0, 0, 0.06);
  color: #374151;
  border-color: rgba(0, 0, 0, 0.12);
}
body.landing-page .landing-tag-pill:hover {
  border-color: rgba(215, 108, 91, 0.35);
  color: #111827;
}

/* ── Dark mode (body.landing-page.landing-dark) ── */
body.landing-page.landing-dark {
  background: #0f1419;
  color: #e5e7eb;
  --bh-bg: #0f1419;
  --bh-text: #e5e7eb;
  --bh-accent: #D76C5B;
  --bh-text-secondary: #9ca3af;
  --bh-border: rgba(255, 255, 255, 0.08);
  --bh-border-hover: rgba(215, 108, 91, 0.4);
  --bh-panel: #1a1f26;
  --bh-panel-hover: #232a33;
  --bh-glow: rgba(215, 108, 91, 0.08);
}
body.landing-page.landing-dark .entry-drop-screen {
  background: #0f1419;
}
body.landing-page.landing-dark .entry-drop-screen::before {
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(215, 108, 91, 0.04) 0%, transparent 70%);
}
body.landing-page.landing-dark .entry-headline {
  color: #fff;
}
body.landing-page.landing-dark .entry-subline,
body.landing-page.landing-dark .entry-support-line {
  color: #9ca3af;
}
body.landing-page.landing-dark .entry-support-keyword {
  color: #9ca3af !important;
}
body.landing-page.landing-dark .entry-support-dot {
  color: rgba(255, 255, 255, 0.25) !important;
}
body.landing-page.landing-dark .entry-btn-primary {
  background: #D76C5B;
  color: #fff;
  box-shadow: 0 2px 8px rgba(215, 108, 91, 0.35);
}
body.landing-page.landing-dark .entry-btn-primary:hover {
  filter: brightness(1.08);
}
body.landing-page.landing-dark .entry-btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
body.landing-page.landing-dark .entry-btn-secondary:hover {
  border-color: rgba(215, 108, 91, 0.5);
  background: rgba(215, 108, 91, 0.1);
}
body.landing-page.landing-dark .hero-gradient-text {
  background: linear-gradient(135deg, #ff9a8b 0%, #D76C5B 50%, #e07a6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
body.landing-page.landing-dark .hero-badge {
  background: rgba(215, 108, 91, 0.15);
  border-color: rgba(215, 108, 91, 0.35);
  color: #ff9a8b;
}
body.landing-page.landing-dark .hero-drop-card {
  background: rgba(26, 31, 38, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
}
body.landing-page.landing-dark .hero-drop-card:hover {
  border-color: rgba(215, 108, 91, 0.3);
}
body.landing-page.landing-dark .entry-upload-icon {
  color: rgba(255, 255, 255, 0.4);
}
body.landing-page.landing-dark .entry-drop-screen:not(.drag-active) .entry-drop-hint {
  color: #9ca3af !important;
}
body.landing-page.landing-dark .entry-drop-screen.drag-active .entry-drop-hint {
  color: var(--bh-accent) !important;
}
body.landing-page.landing-dark .landing-nav {
  background: rgba(15, 20, 25, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.landing-page.landing-dark .landing-nav-logo {
  color: #fff;
}
body.landing-page.landing-dark .landing-nav-logo-icon {
  background: #D76C5B;
}
body.landing-page.landing-dark .landing-nav-logo-icon svg {
  stroke: #fff;
}
body.landing-page.landing-dark .landing-nav-btn-ghost {
  color: rgba(255, 255, 255, 0.75);
}
body.landing-page.landing-dark .landing-nav-btn-ghost:hover {
  color: #fff;
}
body.landing-page.landing-dark .landing-nav span[style*="fontSize: 12"] {
  color: rgba(255, 255, 255, 0.6) !important;
}
body.landing-page.landing-dark .landing-dark-toggle {
  padding: 8px;
  min-width: 40px;
  color: inherit;
}
body.landing-page.landing-dark .landing-scroll-indicator span,
body.landing-page.landing-dark .landing-scroll-indicator svg {
  color: rgba(255, 255, 255, 0.4) !important;
}
body.landing-page.landing-dark .section-divider {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}
body.landing-page.landing-dark .showcase-slider {
  background: rgba(255, 255, 255, 0.1);
}
body.landing-page.landing-dark .showcase-slider::-webkit-slider-thumb,
body.landing-page.landing-dark .showcase-slider::-moz-range-thumb {
  background: #D76C5B;
}
body.landing-page.landing-dark .studio-badge {
  color: #e89a90;
  background: rgba(215, 108, 91, 0.18);
  border-color: rgba(215, 108, 91, 0.35);
}
body.landing-page.landing-dark .studio-address-bar {
  color: #9ca3af;
}
body.landing-page.landing-dark .landing-content-stat-desc,
body.landing-page.landing-dark .landing-content-stat-value,
body.landing-page.landing-dark .landing-content-stat-unit {
  color: #e5e7eb;
}
body.landing-page.landing-dark .landing-content-stat-source {
  color: #6b7280;
}
/* Cinematic hero dark */
body.landing-page.landing-dark .landing-hero-cinematic {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #1a1f26 0%, #141920 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}
body.landing-page.landing-dark .landing-hero-cinematic::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 0.8px, transparent 0.8px);
  opacity: 0.35;
}
body.landing-page.landing-dark .landing-cinematic-title {
  color: #fff;
}
body.landing-page.landing-dark .landing-cinematic-sub {
  color: rgba(229, 231, 235, 0.7);
}
body.landing-page.landing-dark .landing-cinematic-caption {
  color: rgba(229, 231, 235, 0.6);
}
body.landing-page.landing-dark .landing-cinematic-pill {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(229, 231, 235, 0.85);
}
body.landing-page.landing-dark .landing-cinematic-btn-primary {
  background: linear-gradient(135deg, #e07a6b 0%, #D76C5B 58%, #c45a4a 100%);
  color: #fff;
}
body.landing-page.landing-dark .landing-cinematic-btn-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(229, 231, 235, 0.9);
  background: rgba(255, 255, 255, 0.06);
}
body.landing-page.landing-dark .landing-cinematic-btn-secondary:hover {
  border-color: rgba(215, 108, 91, 0.5);
  background: rgba(215, 108, 91, 0.12);
}
body.landing-page.landing-dark .landing-cinematic-error {
  color: #fca5a5;
}
body.landing-page.landing-dark .landing-cinematic-mobile-upload-hint {
  color: rgba(229, 231, 235, 0.6);
}
/* Footer, content section, final CTA dark */
body.landing-page.landing-dark .landing-footer {
  background: #0f1419;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #9ca3af;
}
body.landing-page.landing-dark .landing-footer-brand,
body.landing-page.landing-dark .landing-footer-copy {
  color: #e5e7eb;
}
body.landing-page.landing-dark .landing-content-section {
  background: transparent;
}
body.landing-page.landing-dark .landing-content-block {
  background: rgba(26, 31, 38, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}
body.landing-page.landing-dark .landing-content-badge {
  color: #e89a90;
  background: rgba(215, 108, 91, 0.15);
  border-color: rgba(215, 108, 91, 0.3);
}
body.landing-page.landing-dark .landing-content-title {
  color: #fff;
}
body.landing-page.landing-dark .landing-content-body {
  color: rgba(229, 231, 235, 0.8);
}
body.landing-page.landing-dark .landing-tag-pill {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(229, 231, 235, 0.85);
}
body.landing-page.landing-dark .landing-final-cta {
  background: linear-gradient(180deg, #1a1f26 0%, #141920 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
body.landing-page.landing-dark .landing-final-cta-title {
  color: #fff;
}
body.landing-page.landing-dark .landing-final-cta-body {
  color: rgba(229, 231, 235, 0.75);
}
body.landing-page.landing-dark .landing-compare-head {
  color: rgba(229, 231, 235, 0.9);
}
body.landing-page.landing-dark .landing-cinematic-metric {
  color: rgba(229, 231, 235, 0.8);
}
body.landing-page.landing-dark .landing-cinematic-metric span {
  color: inherit;
}
body.landing-page.landing-dark .studio-showcase {
  background: transparent;
}
body.landing-page.landing-dark .studio-title {
  color: #fff;
}
body.landing-page.landing-dark .studio-address-bar {
  color: #9ca3af;
}
/* Light theme nav dark toggle (icon only) */
body.landing-page .landing-dark-toggle {
  padding: 8px;
  min-width: 40px;
  color: inherit;
}

/* ── Landing split layout: left = upload, right = showcases ── */
.landing-main {
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 52px;
}
.landing-split {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-height: calc(100vh - 52px);
  min-width: 0;
  justify-content: center;
}
.landing-split-inner {
  display: flex;
  flex-direction: row;
  flex: 1;
  width: 100%;
  max-width: 1400px;
  min-height: calc(100vh - 52px);
  min-width: 0;
}
.landing-split-left {
  flex: 0 0 50%;
  min-width: 340px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
}
.landing-split-left-live-demo {
  min-height: 280px;
}
.landing-split-right {
  flex: 1;
  min-width: 0;
  max-width: 720px;
  overflow-y: auto;
  overflow-x: hidden;
}
@media (max-width: 1180px) {
  .landing-split {
    flex-direction: column;
    min-height: 0;
  }
  .landing-split-inner {
    flex-direction: column;
    flex: 1;
    max-width: none;
    min-height: 0;
  }
  .landing-split-left {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    min-height: min(420px, 50vh);
  }
  .landing-split-right {
    flex: 1;
    min-height: 400px;
  }
}
.entry-drop-screen-split.collapsing .entry-focus-surface {
  transform: translateY(-12%) scale(0.92);
  opacity: 0.7;
}

/* ── New landing desktop flow: cinematic hero + 2x showcase split rows ── */
.landing-hero-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 20px 10px;
}
.landing-hero-cinematic {
  width: 100%;
  min-height: 720px;
  border-radius: 26px;
  border: 1px solid rgba(19, 25, 36, 0.1);
  background: linear-gradient(180deg, #fcfdff 0%, #f2f4f8 100%);
  box-shadow: 0 18px 34px rgba(18, 24, 34, 0.08);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  padding: 34px 34px 34px 30px;
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

/* Desktop: 2 kolon — sol metin dar, sağ stage geniş; örnekler büyür, boşluk azalır */
@media (min-width: 1181px) {
  .landing-hero-cinematic {
    grid-template-columns: 1fr minmax(680px, 860px);
    gap: 20px;
    padding: 24px 28px 28px;
    min-height: 640px;
  }
  .landing-cinematic-copy {
    max-width: 480px;
  }
}
.landing-hero-cinematic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.08) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  opacity: 0.22;
  pointer-events: none;
  border-radius: 26px;
  clip-path: inset(0 round 26px);
}
.landing-hero-cinematic::after {
  content: none;
}
.landing-cinematic-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-left: 14px;
  font-family: 'Manrope', 'Inter', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
}
.landing-cinematic-copy-flow {
  animation: heroCopyIn 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.landing-cinematic-title {
  margin: 0 0 26px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #0f1117;
  white-space: nowrap;
}
.landing-cinematic-sub {
  margin: 0 0 30px;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.35;
  color: rgba(31, 36, 48, 0.58);
  letter-spacing: -0.015em;
  font-weight: 500;
}
.landing-cinematic-error {
  margin: -8px 0 14px;
  font-size: 13px;
  color: #9e1b1b;
}
.landing-cinematic-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.landing-cinematic-caption {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(31, 36, 48, 0.62);
  letter-spacing: -0.005em;
  max-width: 560px;
}
.landing-cinematic-pills {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.landing-cinematic-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(25, 30, 39, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(25, 30, 39, 0.74);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.landing-cinematic-btn {
  border-radius: 22px;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  padding: 13px 28px;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
  letter-spacing: -0.01em;
  font-family: 'Manrope', 'Inter', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
}
.landing-cinematic-btn:hover {
  transform: translateY(-1px);
}
.landing-cinematic-btn-primary {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #ff8e70 0%, #ff7261 58%, #ef6152 100%);
  box-shadow: none;
}
.landing-cinematic-btn-secondary {
  border: 2px solid rgba(34, 38, 47, 0.55);
  color: rgba(34, 38, 47, 0.82);
  background: rgba(255, 255, 255, 0.94);
}
/* Stage: perspective kapsayıcı — 3D'nin başladığı yer */
.landing-cinematic-stage {
  position: absolute;
  right: 28px;
  bottom: 26px;
  width: min(700px, 52%);
  max-width: 700px;
  height: 560px;
  margin-left: 0;
  perspective: 1200px;
  -webkit-perspective: 1200px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 1181px) {
  .landing-cinematic-stage {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    height: 600px;
  }
}
.landing-stage-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: opacity 520ms cubic-bezier(0.32, 0.72, 0.2, 1), transform 520ms cubic-bezier(0.32, 0.72, 0.2, 1);
  will-change: opacity, transform;
}
.landing-stage-layer.live-layer {
  opacity: 1;
  display: grid;
  grid-template-columns: 372px 206px;
  grid-template-rows: 244px 208px;
  column-gap: 48px;
  row-gap: 20px;
  align-content: center;
  justify-content: center;
  padding: 20px 16px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

@media (min-width: 1181px) {
  .landing-stage-layer.live-layer {
    grid-template-columns: 420px 232px;
    grid-template-rows: 272px 232px;
    column-gap: 44px;
    row-gap: 20px;
  }
}
.landing-stage-layer.comparison-layer {
  opacity: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}
.landing-cinematic-stage.show-comparison .landing-stage-layer.comparison-layer {
  pointer-events: auto;
}
.landing-cinematic-stage.show-live .landing-stage-layer.live-layer {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* Gizli layer aşağıda hazır (sıradaki scroll ile yukarı gelecek) */
.landing-cinematic-stage.show-live .landing-stage-layer.comparison-layer {
  opacity: 0;
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
}
.landing-cinematic-stage.show-comparison .landing-stage-layer.live-layer {
  opacity: 0;
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
}
.landing-cinematic-stage.show-comparison .landing-stage-layer.comparison-layer {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* Comparison set: same centered area, 3D chain */
.landing-comparison-set {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 280px 280px;
  grid-template-rows: 24px 280px 36px;
  column-gap: 20px;
  row-gap: 10px;
  align-content: center;
  justify-content: center;
  padding: 20px 16px;
  opacity: 0;
  transform: translate3d(0, 100%, 0);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: opacity 480ms cubic-bezier(0.32, 0.72, 0.2, 1);
}

@media (min-width: 1181px) {
  .landing-comparison-set {
    grid-template-columns: 312px 312px;
    grid-template-rows: 24px 312px 36px;
    column-gap: 24px;
  }
}
.landing-comparison-set.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* Comparison item geçişi: live ile aynı scroll (yukarı çıkar, sıradaki aşağıdan gelir) */
.landing-comparison-set.comparison-scroll-out {
  animation: landingLayerScrollOutToTop 620ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.landing-comparison-set.comparison-scroll-in {
  opacity: 1;
  animation: landingLayerScrollInFromBottom 620ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.landing-compare-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(20, 25, 34, 0.66);
  text-transform: uppercase;
  align-self: end;
  justify-self: center;
  margin-bottom: 4px;
}
.landing-compare-head.compare-head-a {
  grid-column: 1;
  grid-row: 1;
}
.landing-compare-head.compare-head-b {
  grid-column: 2;
  grid-row: 1;
}

/* Geçişler: sürekli scroll — çıkan yukarı gider, giren aşağıdan yukarı gelir */
@keyframes landingLayerScrollOutToTop {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 1; transform: translate3d(0, -100%, 0); }
}
@keyframes landingLayerScrollInFromBottom {
  from { opacity: 1; transform: translate3d(0, 100%, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
/* Mobil: yukarı çıkış yok, sadece aşağıdan geliş — overlap önleme */
@keyframes landingLayerScrollOutToBottom {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 100%, 0); }
}
.landing-cinematic-stage.is-transitioning.to-comparison .landing-stage-layer.live-layer {
  animation: landingLayerScrollOutToTop 620ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.landing-cinematic-stage.is-transitioning.to-comparison .landing-stage-layer.comparison-layer {
  animation: landingLayerScrollInFromBottom 620ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.landing-cinematic-stage.is-transitioning.to-live .landing-stage-layer.comparison-layer {
  animation: landingLayerScrollOutToTop 620ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.landing-cinematic-stage.is-transitioning.to-live .landing-stage-layer.live-layer {
  animation: landingLayerScrollInFromBottom 620ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* İnce turuncu bağlantı çizgileri (referans) */
.landing-stage-beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.landing-cinematic-beam {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 97, 82, 0.45), rgba(255, 114, 97, 0.5), transparent);
  border: none;
  animation: beamFade 3s ease-in-out infinite;
}
.landing-cinematic-beam.beam-a {
  width: 200px;
  top: 28%;
  left: 22%;
  transform: rotate(-18deg);
  animation-delay: 0s;
}
.landing-cinematic-beam.beam-b {
  width: 160px;
  top: 52%;
  left: 8%;
  transform: rotate(-12deg);
  animation-delay: 0.8s;
}
.landing-cinematic-beam.beam-c {
  width: 140px;
  bottom: 28%;
  right: 18%;
  transform: rotate(14deg);
  animation-delay: 1.4s;
}
@keyframes beamFade {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ───────────────────────────────────────────────────────────── */
/* 3D KART: Sahte kalınlık (extrusion) + katmanlı gölge           */
/* ───────────────────────────────────────────────────────────── */

.landing-cinematic-card {
  position: relative;
  border-radius: 24px; /* Köşeleri biraz daha yumuşattım */
  overflow: hidden;
  background: #000;   /* İçerik yüklenene kadar arka plan */
  will-change: transform; /* compositor layer for smoother animations */

  /* 1. PERSPEKTİF: rotateX -1, rotateY -19, rotateZ 0 */
  transform: rotateX(-1deg) rotateY(-19deg) rotateZ(0deg);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;

  /* 2. KALINLIK 3px — soft glassy kenar */
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.5),
    1px -1px 0px #e5e7eb,
    2px -2px 0px #d1d5db,
    3px -3px 0px #9ca3af;

  /* Işık sol üstten: sol/üst parlak, sağ kenar gölgede */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, width 1150ms cubic-bezier(0.22, 1, 0.36, 1), height 1150ms cubic-bezier(0.22, 1, 0.36, 1);
  justify-self: center;
  align-self: center;
}

.landing-cinematic-card picture {
  display: block;
  width: 100%;
  height: 100%;
}
.landing-cinematic-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 24px;
  background: white;
}

/* ── 3D POZİSYONLAR (X, Y ve Z eksenleri eklendi) ── */

.landing-cinematic-card.live-a {
  grid-column: 1;
  grid-row: 1;
  transform: rotateX(-1deg) rotateY(-19deg) rotateZ(0deg) scale(0.95);
  z-index: 2;
}

.landing-cinematic-card.live-b {
  grid-column: 2;
  grid-row: 1 / span 2;
  transform: rotateX(-1deg) rotateY(-19deg) rotateZ(0deg);
  z-index: 1;
}

.landing-cinematic-card.live-c {
  grid-column: 1;
  grid-row: 2;
  transform: rotateX(-1deg) rotateY(-19deg) rotateZ(0deg) translateZ(10px);
  z-index: 3;
}

/* ── HOVER: kalkma ── */
.landing-cinematic-card:hover {
  transform: rotateX(0deg) rotateY(-10deg) rotateZ(0deg) translateY(-20px);
  z-index: 10;
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.5),
    1px -1px 0px #e5e7eb,
    2px -2px 0px #d1d5db,
    3px -3px 0px #9ca3af;
}

/* ── FLOAT ANİMASYONU (GÜNCELLENDİ) ── */
/* Eski animasyon sadece Z eksenini döndürüyordu, 3D yapıyı bozuyordu. */
@keyframes heroCardFloat {
  0%, 100% {
    transform: rotateX(-1deg) rotateY(-19deg) rotateZ(0deg) translateY(0);
  }
  50% {
    transform: rotateX(-1deg) rotateY(-19deg) rotateZ(0deg) translateY(-15px);
  }
}

.landing-cinematic-card.compare-a {
  grid-column: 1;
  grid-row: 2;
  transform: rotateX(-1deg) rotateY(-19deg) rotateZ(0deg);
}
.landing-cinematic-card.compare-b {
  grid-column: 2;
  grid-row: 2;
  transform: rotateX(-1deg) rotateY(-19deg) rotateZ(0deg);
}
.landing-cinematic-metric {
  grid-column: 1 / span 2;
  grid-row: 3;
  justify-self: center;
  align-self: start;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 8px 16px;
  margin-top: 4px;
  border-radius: 999px;
  border: 1px solid rgba(18, 24, 34, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(18, 24, 34, 0.75);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.landing-cinematic-metric span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.landing-cinematic-metric span + span::before {
  content: '•';
  color: rgba(18, 24, 34, 0.3);
  margin-right: 8px;
}
.landing-showcase-rows {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.landing-showcase-row {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(560px, 1.1fr);
  gap: 16px;
  align-items: start;
}
.landing-showcase-live-slot {
  min-height: 560px;
}
.landing-showcase-compare-slot {
  min-width: 0;
}
@media (max-width: 1320px) and (min-width: 1181px) {
  .landing-hero-cinematic {
    min-height: 620px;
    grid-template-columns: 1fr minmax(700px, 800px);
  }
  .landing-cinematic-stage {
    height: 560px;
  }
  .landing-comparison-set {
    grid-template-columns: 296px 296px;
    grid-template-rows: 22px 296px 34px;
    column-gap: 16px;
  }
  .landing-compare-head {
    font-size: 11px;
  }
}
@media (max-width: 1180px) {
  .landing-hero-wide {
    padding: 12px 12px 6px;
  }
  .landing-hero-cinematic {
    min-height: 0;
    padding: 18px 16px;
    border-radius: 18px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .landing-hero-cinematic::before {
    opacity: 0.16;
  }
  /* Mobilde yukarı kaydırırken live demo kartlarının yazıların üstüne binmemesi için copy her zaman üstte */
  .landing-cinematic-copy {
    max-width: none;
    padding-left: 0;
    text-align: left;
    z-index: 3;
    position: relative;
    isolation: isolate;
  }
  .landing-cinematic-title {
    white-space: normal;
    margin-bottom: 16px;
  }
  .landing-cinematic-sub {
    font-size: clamp(14px, 4vw, 17px);
    margin-bottom: 18px;
  }
  .landing-cinematic-btn {
    font-size: 15px;
    padding: 12px 18px;
    border-radius: 18px;
  }
  .landing-cinematic-mobile-upload-hint {
    font-size: 13px;
    color: rgba(34, 38, 47, 0.7);
    margin: 0;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 12px;
  }
  .landing-cinematic-caption {
    margin-top: 12px;
    font-size: 12px;
    max-width: 100%;
  }
  .landing-cinematic-pills {
    margin-top: 8px;
    gap: 6px;
  }
  .landing-cinematic-pill {
    height: 24px;
    font-size: 10px;
    padding: 0 9px;
  }
  .landing-cinematic-stage {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 264px;
    margin-left: 0;
    max-width: none;
    overflow: visible;
    perspective: 1000px;
    perspective-origin: 50% 50%;
    z-index: 1;
  }
  .landing-cinematic-stage::before {
    content: none;
  }
  .landing-stage-layer.live-layer {
    position: absolute;
    inset: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .landing-stage-layer.comparison-layer {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .landing-cinematic-stage.is-mobile .landing-comparison-set {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 20px 1fr;
    row-gap: 6px;
    column-gap: 8px;
    max-width: min(320px, 100%);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }
  .landing-cinematic-stage.is-mobile .landing-compare-head.compare-head-a { grid-column: 1; grid-row: 1; }
  .landing-cinematic-stage.is-mobile .landing-compare-head.compare-head-b { grid-column: 2; grid-row: 1; }
  .landing-cinematic-stage.is-mobile .landing-comparison-set .landing-cinematic-card.compare-a { grid-column: 1; grid-row: 2; }
  .landing-cinematic-stage.is-mobile .landing-comparison-set .landing-cinematic-card.compare-b { grid-column: 2; grid-row: 2; }
  .landing-cinematic-stage.is-mobile .landing-comparison-set .landing-cinematic-card {
    max-width: 100%;
    justify-self: center;
  }
  /* Disable 3D CSS on mobile: flat transforms, no perspective, no overflow clip */
  .landing-cinematic-stage.is-mobile {
    perspective: none;
    -webkit-perspective: none;
    transform-style: flat;
    -webkit-transform-style: flat;
    overflow: hidden;
  }
  /* Mobil: gizli layer'lar yukarı (-100%) değil aşağıda (100%) — yazıyla overlap olmasın */
  .landing-cinematic-stage.is-mobile.show-live .landing-stage-layer.comparison-layer {
    transform: translate3d(0, 100%, 0);
  }
  .landing-cinematic-stage.is-mobile.show-comparison .landing-stage-layer.live-layer {
    transform: translate3d(0, 100%, 0);
  }
  /* Mobil: geçişte çıkan layer yukarı gitmesin, aşağıya gitsin (sadece aşağıdan geliş) */
  .landing-cinematic-stage.is-mobile.is-transitioning.to-comparison .landing-stage-layer.live-layer {
    animation: landingLayerScrollOutToBottom 620ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }
  .landing-cinematic-stage.is-mobile.is-transitioning.to-live .landing-stage-layer.comparison-layer {
    animation: landingLayerScrollOutToBottom 620ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }
  .landing-cinematic-stage.is-mobile .landing-stage-layer {
    transform-style: flat;
    -webkit-transform-style: flat;
    overflow: visible;
  }
  .landing-cinematic-stage.is-mobile .landing-cinematic-card {
    transform: none !important;
    transform-style: flat;
    -webkit-transform-style: flat;
    backface-visibility: visible;
  }
  .landing-cinematic-stage.is-mobile .landing-cinematic-card:hover {
    transform: translateY(-8px) !important;
  }
  .landing-cinematic-stage.is-mobile .landing-cinematic-card.live-mobile {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    animation: none;
    box-shadow:
      -5px 5px 0px rgba(200, 200, 210, 0.5),
      -15px 20px 40px rgba(0, 0, 0, 0.12);
  }
  .landing-cinematic-metric {
    display: none;
  }
  .landing-showcase-rows {
    padding: 0 12px 16px;
    gap: 12px;
  }
  .landing-showcase-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .landing-showcase-live-slot {
    min-height: 420px;
  }
}

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

/* ───────────────────── SEO / ACCESSIBILITY SAFETY NET ───────────────────── */

/* Print: ensure all content is visible (no scroll-triggered animations) */
@media print {
  section, div, article, main {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Reduced motion: skip all scroll-triggered fade-in animations */
@media (prefers-reduced-motion: reduce) {
  section, div, article, main {
    transition: none !important;
  }
  .hero-mesh, .hero-badge-dot, .hero-gradient-text, .landing-scroll-indicator {
    animation: none !important;
  }
}

/* ───────────────────── Demo scene: template masonry grid (compact) ───────────────────── */
.template-masonry-grid {
  display: flex;
  margin-left: -10px;
  width: auto;
}

.template-masonry-grid_column {
  padding-left: 10px;
  background-clip: padding-box;
}

.template-masonry-item {
  margin-bottom: 10px;
}
