/* ================================================================
   SmartNote Design System v3 — Based on AIris Desktop App UI
   VS Code/Cursor chrome · Blue accent · Cyan→Purple gradient brand
   Scroll-Storytelling / Toss·Samsung Style
   ================================================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; height: 100%; overflow-x: hidden; }
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Malgun Gothic', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }

/* ── Design Tokens (Light — default) ── */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F8FA;
  --bg-tertiary: #F0F1F5;
  --bg-accent: #EFF6FF;
  --bg-surface: #FAFBFC;
  --card-bg: #FFFFFF;
  --text-primary: #191F28;
  --text-secondary: #4E5968;
  --text-tertiary: #8B95A1;
  --text-disabled: #B0B8C1;
  --brand-primary: #228df2;
  --brand-secondary: #0a6abf;
  --brand-light: #EFF6FF;
  --brand-gradient: linear-gradient(135deg, #2db8ff 0%, #6c4dff 100%);
  --brand-grad-airis: linear-gradient(90deg, #2db8ff 0%, #6c4dff 100%);
  --brand-grad-warm: linear-gradient(135deg, #228df2 0%, #4ca9ff 50%, #6c4dff 100%);
  --border: #E5E8EB;
  --divider: #F2F3F6;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(45, 184, 255, 0.15);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.25s var(--ease);
  --nav-height: 64px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
}

/* ── Dark Theme ── */
[data-theme="dark"] {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-tertiary: #334155;
  --bg-accent: #1e1b4b;
  --bg-surface: #141c2e;
  --card-bg: #1E293B;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-tertiary: #64748B;
  --text-disabled: #475569;
  --brand-primary: #4ca9ff;
  --brand-secondary: #60A5FA;
  --brand-light: rgba(76, 169, 255, 0.12);
  --brand-gradient: linear-gradient(135deg, #2db8ff 0%, #6c4dff 100%);
  --brand-grad-airis: linear-gradient(90deg, #2db8ff 0%, #6c4dff 100%);
  --brand-grad-warm: linear-gradient(135deg, #228df2 0%, #4ca9ff 50%, #6c4dff 100%);
  --border: #334155;
  --divider: #1E293B;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 40px rgba(45, 184, 255, 0.1);
}

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* ================================================================
   SCROLL REVEAL SYSTEM
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-left {
  opacity: 0; transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* ================================================================
   KEYFRAME ANIMATIONS (inspired by desktop app)
   ================================================================ */

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-80px, 50px) scale(1.08); }
  50% { transform: translate(-40px, 80px) scale(1.02); }
  75% { transform: translate(40px, 20px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -50px) scale(1.1); }
  50% { transform: translate(80px, -20px) scale(1.04); }
  75% { transform: translate(-30px, 30px) scale(0.92); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translateX(-50%) translate(0, 0) scale(1); }
  25% { transform: translateX(-50%) translate(-50px, 60px) scale(1.12); }
  50% { transform: translateX(-50%) translate(30px, 40px) scale(1.05); }
  75% { transform: translateX(-50%) translate(50px, -30px) scale(0.9); }
}

@keyframes lineRevealUp {
  0% { transform: translateY(110%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 184, 255, 0.4); }
  50% { box-shadow: 0 0 20px 6px rgba(45, 184, 255, 0.15); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes typingCursor {
  0%, 50% { border-color: var(--brand-primary); }
  51%, 100% { border-color: transparent; }
}

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

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes conicSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes mockTyping {
  0% { width: 0; }
  100% { width: 100%; }
}

@keyframes karaokeSweep {
  0% { background-size: 0% 100%; }
  100% { background-size: 100% 100%; }
}

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

@keyframes waveformPulse {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

[data-theme="dark"] .navbar {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
[data-theme="dark"] .navbar.scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo .logo-img {
  height: 26px;
  width: 26px;
  object-fit: contain;
  flex-shrink: 0;
  image-rendering: auto;
  margin-right: 0.2rem;
}
.nav-logo .logo-brand-text {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-logo .airis-grad {
  font-weight: 800;
  background-image: var(--brand-grad-airis);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo .logo-product-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-link {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link:focus { color: var(--text-primary); outline: none; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--brand-primary);
  transition: width 0.3s var(--ease);
}
.nav-link:hover::after { width: 100%; }

.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
  flex-shrink: 0;
}
.nav-link-home {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-tertiary);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.nav-link-home:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  background: var(--brand-light);
}
.nav-link-home svg { flex-shrink: 0; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-primary);
}
.mobile-menu-btn span {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.mobile-menu-btn span + span { margin-top: 5px; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   AMBIENT BACKGROUND — Gradient mesh
   ================================================================ */
.ambient-bg {
  position: fixed;
  inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(45, 184, 255, 0.08) 0%, transparent 100%), var(--bg-primary);
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.ambient-orb.orb-1 {
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(45, 184, 255, 0.5) 0%, rgba(45, 184, 255, 0.15) 40%, transparent 70%);
  filter: blur(80px);
  top: -20%; right: -15%;
  animation: orbFloat1 22s ease-in-out infinite;
}
.ambient-orb.orb-2 {
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(108, 77, 255, 0.45) 0%, rgba(108, 77, 255, 0.12) 40%, transparent 70%);
  filter: blur(80px);
  bottom: -15%; left: -12%;
  animation: orbFloat2 26s ease-in-out infinite;
}
.ambient-orb.orb-3 {
  width: 45vw; height: 45vw;
  max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, rgba(6, 182, 212, 0.1) 40%, transparent 70%);
  filter: blur(70px);
  top: 35%; left: 50%;
  transform: translateX(-50%);
  animation: orbFloat3 18s ease-in-out infinite;
}
.ambient-grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

[data-theme="dark"] .ambient-bg {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(45, 184, 255, 0.05) 0%, transparent 100%), var(--bg-primary);
}
[data-theme="dark"] .ambient-orb.orb-1 {
  background: radial-gradient(circle, rgba(45, 184, 255, 0.35) 0%, rgba(45, 184, 255, 0.08) 40%, transparent 70%);
}
[data-theme="dark"] .ambient-orb.orb-2 {
  background: radial-gradient(circle, rgba(108, 77, 255, 0.35) 0%, rgba(108, 77, 255, 0.08) 40%, transparent 70%);
}
[data-theme="dark"] .ambient-orb.orb-3 {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0.06) 40%, transparent 70%);
}
[data-theme="dark"] .ambient-grain { opacity: 0.05; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.hero-content {
  text-align: center;
  max-width: 920px;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}
.line-mask { overflow: hidden; display: block; }
h1 .line-mask { display: block; }
.line-reveal {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  animation: lineRevealUp 1s var(--ease-out-soft) forwards;
  animation-delay: calc(var(--line-i, 0) * 0.12s + 0.3s);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  letter-spacing: -0.03em;
  word-break: keep-all;
  margin-bottom: 1.5rem;
}
.hero-title .accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-light);
  border: 1px solid rgba(34, 141, 242, 0.15);
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
  animation: livePulse 1.5s ease-in-out infinite;
}

[data-theme="dark"] .hero-badge {
  background: rgba(76, 169, 255, 0.08);
  border-color: rgba(76, 169, 255, 0.2);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  padding: 1rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--brand-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(34, 141, 242, 0.25);
}

.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gradient);
  color: #FFFFFF;
  border: none;
  padding: 1rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45, 184, 255, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  padding: 1rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.btn-ghost:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand-gradient);
  color: #FFFFFF;
  border: none;
  padding: 0.9rem 2.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45, 184, 255, 0.3);
}
.btn-primary-hero svg { flex-shrink: 0; }

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  padding: 0.9rem 2.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-outline-hero:hover {
  border-color: rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .btn-outline-hero {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}
[data-theme="dark"] .btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ================================================================
   FULL-WIDTH SECTIONS
   ================================================================ */
.fs-section {
  padding: 6rem 0;
  position: relative;
}
.fs-section.bg-white { background: var(--bg-primary); }
.fs-section.bg-gray { background: var(--bg-secondary); }
.fs-section.bg-accent { background: var(--bg-accent); }
.fs-section.bg-surface { background: var(--bg-surface); }
.fs-section.bg-dark { background: #0F172A; color: #F1F5F9; }
[data-theme="dark"] .fs-section.bg-dark { background: #020617; }
.fs-section.bg-dark .text-body { color: rgba(241,245,249,0.7); }

.text-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.text-headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  word-break: keep-all;
}
.text-headline-sm {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  word-break: keep-all;
}
.text-body {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ================================================================
   APP PREVIEW SECTION — Desktop app mockup
   ================================================================ */
.app-preview-section {
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.app-preview-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide .app-preview-window {
  max-width: 1100px;
  margin: 0 auto;
}

.app-preview-header {
  text-align: center;
  margin-bottom: 3rem;
}

.app-preview-window {
  --sn-bg: #ffffff;
  --sn-bg2: #f8f8f8;
  --sn-surface: #f3f3f3;
  --sn-overlay: #ebebeb;
  --sn-text: #3b3b3b;
  --sn-text2: #616161;
  --sn-text3: #8a8a8a;
  --sn-border: #e5e5e5;
  --sn-border-s: #ebebeb;
  --sn-accent: #0a6abf;
  --sn-accent-bg: rgba(10, 106, 191, 0.08);
  background: var(--sn-bg);
  border: 1px solid var(--sn-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  font-family: 'Pretendard', 'Malgun Gothic', 'Segoe UI', sans-serif;
  color: var(--sn-text);
}

.app-preview-window:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(45, 184, 255, 0.12);
}
.feature-block-visual .app-preview-window {
  transform: none !important;
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--sn-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
}
.feature-block-visual .app-preview-window:hover {
  transform: none !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
}

.app-preview-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--sn-bg2);
  border-bottom: 1px solid var(--sn-border);
}

.app-preview-dots {
  display: flex; gap: 6px;
}
.app-preview-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.app-preview-dots span:nth-child(1) { background: #FF5F56; }
.app-preview-dots span:nth-child(2) { background: #FFBD2E; }
.app-preview-dots span:nth-child(3) { background: #27C93F; }

.app-preview-title {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sn-text3);
  letter-spacing: 0.02em;
}

.app-preview-body {
  display: flex;
  min-height: 400px;
  background: var(--sn-bg);
}

/* Sidebar */
.app-preview-sidebar {
  width: 200px;
  background: var(--sn-bg2);
  border-right: 1px solid var(--sn-border);
  padding: 0.75rem 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.app-sidebar-section {
  padding: 0.4rem 0.65rem;
}

.app-sidebar-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--sn-text3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 0.4rem;
  margin-bottom: 0.35rem;
}

.app-sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.4rem;
  border-radius: 6px;
  font-size: 0.68rem;
  color: var(--sn-text2);
  cursor: default;
  transition: background 0.15s;
  line-height: 1.4;
}

.app-sidebar-item.active {
  background: var(--sn-accent-bg);
  color: var(--sn-accent);
  font-weight: 600;
}

.app-sidebar-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Editor area */
.app-preview-editor {
  flex: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  background: var(--sn-bg);
}

.app-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--sn-border);
}
.app-mock-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--sn-border, var(--border));
  flex-shrink: 0;
}

.app-toolbar-btn {
  width: 26px; height: 26px;
  border-radius: 5px;
  background: var(--sn-surface, var(--bg-secondary));
  border: 1px solid var(--sn-border, var(--border));
  display: flex; align-items: center; justify-content: center;
  color: var(--sn-text3, var(--text-tertiary));
  font-size: 0.62rem;
  flex-shrink: 0;
}
.app-toolbar-btn.active {
  background: var(--sn-accent-bg, var(--brand-light));
  border-color: var(--sn-accent, var(--brand-primary));
  color: var(--sn-accent, var(--brand-primary));
}

.app-toolbar-rec {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #DC2626;
  border: none;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: pulseGlow 2s ease-in-out infinite;
}
.app-toolbar-rec::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
}

.app-toolbar-divider {
  width: 1px; height: 18px;
  background: var(--sn-border, var(--border));
  margin: 0 0.2rem;
}

.app-toolbar-time {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--sn-text2, var(--text-secondary));
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  font-family: 'Consolas', 'D2Coding', monospace;
}

.app-toolbar-badge {
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  background: #DC2626;
  padding: 0.12rem 0.4rem;
  border-radius: var(--radius-full);
  display: flex; align-items: center; gap: 0.25rem;
}
.app-toolbar-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: livePulse 1.5s ease-in-out infinite;
}

/* Segment rows */
.app-segment-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--sn-border-s, #ebebeb);
  transition: background 0.15s;
  animation: fadeInUp 0.5s var(--ease-out) backwards;
}
.app-segment-row:nth-child(1) { animation-delay: 0.3s; }
.app-segment-row:nth-child(2) { animation-delay: 0.5s; }
.app-segment-row:nth-child(3) { animation-delay: 0.7s; }
.app-segment-row:nth-child(4) { animation-delay: 0.9s; }

.app-segment-row:hover { background: var(--sn-surface, #f3f3f3); }

.app-speaker-tag {
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0.1rem;
  letter-spacing: 0.01em;
}

.app-segment-text {
  font-size: 0.78rem;
  color: var(--sn-text, #3b3b3b);
  line-height: 1.7;
  flex: 1;
  min-width: 0;
}

.app-segment-time {
  font-size: 0.58rem;
  color: var(--sn-text3, #8a8a8a);
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-family: 'Consolas', 'D2Coding', monospace;
  margin-top: 0.15rem;
}

.app-word-highlight {
  background: rgba(10, 106, 191, 0.10);
  color: var(--sn-accent, #0a6abf);
  padding: 1px 2px;
  border-radius: 2px;
  text-decoration: underline;
  text-decoration-color: rgba(10, 106, 191, 0.35);
  text-underline-offset: 2px;
}

/* Typing cursor in mock */
.app-typing-cursor {
  display: inline-block;
  width: 1.5px;
  height: 0.85em;
  background: var(--sn-text, var(--brand-primary));
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: typingCursor 1s step-end infinite;
}

/* Waveform animation */
.app-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px;
  margin-left: 0.4rem;
}
.app-waveform-bar {
  width: 2px;
  background: var(--sn-text3, #8a8a8a);
  border-radius: 1px;
  animation: waveformPulse 0.8s ease-in-out infinite;
}
.app-waveform-bar:nth-child(1) { height: 60%; animation-delay: 0s; }
.app-waveform-bar:nth-child(2) { height: 100%; animation-delay: 0.1s; }
.app-waveform-bar:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.app-waveform-bar:nth-child(4) { height: 80%; animation-delay: 0.3s; }
.app-waveform-bar:nth-child(5) { height: 50%; animation-delay: 0.15s; }

/* Segments container (scrollable) */
.app-preview-segments {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 220px;
  max-height: 420px;
  scrollbar-width: thin;
  scrollbar-color: var(--sn-border, var(--border)) transparent;
}
.app-preview-segments::-webkit-scrollbar { width: 4px; }
.app-preview-segments::-webkit-scrollbar-track { background: transparent; }
.app-preview-segments::-webkit-scrollbar-thumb {
  background: var(--sn-overlay, var(--border));
  border-radius: 2px;
}

/* Statusbar */
.app-preview-statusbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 1rem;
  background: var(--sn-bg2, var(--bg-secondary));
  border-top: 1px solid var(--sn-border, var(--border));
  font-size: 0.58rem;
  color: var(--sn-text3, var(--text-tertiary));
}

.app-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
}
.app-status-chip + .app-status-chip::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 10px;
  background: var(--sn-border, var(--border));
  margin-right: 0.5rem;
}

.app-status-brand {
  margin-left: auto;
  font-weight: 600;
  color: var(--sn-text3, var(--text-disabled));
  font-family: 'Consolas', 'D2Coding', monospace;
}

/* ================================================================
   STATS ROW
   ================================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ================================================================
   VALUE PROPOSITIONS
   ================================================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}

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

.value-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  background: var(--brand-light);
  color: var(--brand-primary);
}

.value-icon svg { width: 26px; height: 26px; }

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ================================================================
   FEATURE CARDS — Grid layout
   ================================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}
.feature-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  background: var(--brand-light);
  color: var(--brand-primary);
}
.feature-card-icon svg { width: 20px; height: 20px; }
.feature-card-icon.purple { background: rgba(124, 58, 237, 0.08); color: #7C3AED; }
.feature-card-icon.green { background: rgba(16, 185, 129, 0.08); color: #059669; }
.feature-card-icon.orange { background: rgba(245, 158, 11, 0.08); color: #D97706; }
.feature-card-icon.pink { background: rgba(236, 72, 153, 0.08); color: #DB2777; }
.feature-card-icon.cyan { background: rgba(6, 182, 212, 0.08); color: #0891B2; }
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.feature-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ================================================================
   SPLIT LAYOUT
   ================================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split--wide {
  grid-template-columns: 1fr 1.8fr;
  gap: 3rem;
}
.split.reverse > :first-child { order: 2; }
.split.reverse > :last-child { order: 1; }
.split-text { max-width: 520px; }
.split-text .text-eyebrow { margin-bottom: 0.75rem; }
.split-text .text-headline-sm { margin-bottom: 1.25rem; }
.split-text .text-body { margin-bottom: 2rem; }

.split-visual {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}

/* ================================================================
   FEATURE SHOWCASE — Alternating blocks
   ================================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-block:last-child { border-bottom: none; }
.feature-block.reverse {
  grid-template-columns: 1.8fr 1fr;
}
.feature-block.reverse > :first-child { order: 2; }
.feature-block.reverse > :last-child { order: 1; }
.feature-block-text .text-headline-sm { margin-bottom: 1rem; }
.feature-block-text .text-body { margin-bottom: 1.5rem; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.feature-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 0.5em;
}

.feature-block-visual {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--bg-secondary);
  display: flex;
  border: 1px solid var(--border);
  position: relative;
  aspect-ratio: auto;
  align-items: stretch;
}

/* Mock UI */
.mock-ui {
  width: 90%; height: 85%;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.mock-ui-toolbar {
  display: flex; align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.mock-ui-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-disabled);
}
.mock-ui-dot:nth-child(1) { background: #FF5F56; }
.mock-ui-dot:nth-child(2) { background: #FFBD2E; }
.mock-ui-dot:nth-child(3) { background: #27C93F; }
.mock-ui-body {
  flex: 1;
  padding: 1rem;
  display: flex; flex-direction: column;
  gap: 0.5rem;
}
.mock-segment {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.mock-segment:hover { background: var(--bg-secondary); }
.mock-speaker {
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand-primary);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}
.mock-speaker.s2 { background: #7C3AED; }
.mock-speaker.s3 { background: #059669; }
.mock-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.mock-text .highlight {
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-primary);
  padding: 0 0.15rem;
  border-radius: 2px;
}

/* ── Word Tag (correction preview) ── */
.wt {
  display: inline;
  cursor: pointer;
  border-radius: 2px;
  padding: 1px 3px;
  line-height: 1.8;
  font-size: 0.78rem;
  color: var(--text-secondary);
  transition: background 0.18s ease;
}
.wt:hover { background: var(--bg-secondary); }
.wt.corrected-dict {
  background: rgba(250, 179, 135, 0.28);
  border-bottom: 2px dotted rgba(250, 179, 135, 0.85);
}
.wt.corrected-dict:hover { background: rgba(250, 179, 135, 0.45); }
.wt.corrected-llm {
  background: rgba(203, 166, 247, 0.3);
  border-bottom: 2px dotted rgba(203, 166, 247, 0.9);
}
.wt.corrected-llm:hover { background: rgba(203, 166, 247, 0.5); }

.corr-tooltip {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  background: var(--bg-surface, #1e1e2e);
  color: var(--text-primary, #cdd6f4);
  border: 1px solid var(--border, #45475a);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.68rem;
  max-width: 280px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.corr-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}
.ct-row {
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.ct-orig {
  color: var(--text-muted, #7f849c);
  text-decoration: line-through;
}
.ct-arrow { color: var(--text-muted, #7f849c); }
.ct-now { font-weight: 600; }
.ct-meta {
  font-size: 0.6rem;
  margin-top: 4px;
  color: var(--text-muted, #7f849c);
}
.ct-badge-dict {
  display: inline-block;
  background: rgba(250, 179, 135, 0.35);
  color: #e8956a;
  padding: 0px 5px;
  border-radius: 3px;
  font-size: 0.55rem;
  font-weight: 600;
}
.ct-badge-llm {
  display: inline-block;
  background: rgba(203, 166, 247, 0.35);
  color: #b48fe0;
  padding: 0px 5px;
  border-radius: 3px;
  font-size: 0.55rem;
  font-weight: 600;
}

/* ── Dual Pane (Before / After) ── */
.corr-dual-pane {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  flex: 1;
}
.corr-pane {
  display: flex;
  flex-direction: column;
}
.corr-pane-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--sn-border, var(--border));
  background: var(--sn-bg2, var(--bg-secondary));
}
.corr-pane-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.corr-pane-before .corr-pane-label { color: var(--text-muted, #7f849c); }
.corr-pane-after .corr-pane-label { color: var(--brand-primary); }
.corr-pane-sub {
  font-size: 0.55rem;
  color: var(--text-disabled);
}
.corr-pane-divider {
  width: 1px;
  background: var(--sn-border, var(--border));
}
.corr-pane-body {
  flex: 1;
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.corr-line {
  padding: 0.3rem 0.4rem;
  border-radius: var(--radius-sm);
  line-height: 1.9;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.corr-line.visible {
  opacity: 1;
  transform: translateY(0);
}
.corr-line.fading {
  opacity: 0;
  transform: translateY(-8px);
}

.corr-line .wt-removed {
  color: var(--text-muted, #7f849c);
  text-decoration: line-through;
  opacity: 0.65;
}
.corr-line .wt-highlight {
  transition: background 0.5s ease, border-color 0.5s ease;
}

/* ── Diarization animation ── */
.dia-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--sn-border-s, #ebebeb);
  border-left: 3px solid #b0b8c1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.6s ease;
}
.dia-row.visible {
  opacity: 1;
  transform: translateY(0);
}
.dia-row.fading {
  opacity: 0;
  transform: translateY(-8px);
}
.dia-speaker {
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  background: #b0b8c1;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 48px;
  text-align: center;
  transition: background 0.5s ease, transform 0.3s ease;
  letter-spacing: 0.01em;
}
.dia-speaker.identified {
  transform: scale(1.08);
}
.dia-text {
  font-size: 0.78rem;
  color: var(--sn-text, var(--text-secondary));
  line-height: 1.7;
  flex: 1;
}

/* ── Checkpoint animation ── */
.cp-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border-left: 3px solid transparent;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease,
              background 0.4s ease, border-color 0.4s ease,
              filter 0.4s ease;
  cursor: default;
}
.cp-row.visible { opacity: 1; transform: translateY(0); }
.cp-row.fading  { opacity: 0; transform: translateY(-8px); }
.cp-row.dimmed  { opacity: 0.3; filter: grayscale(0.6); }
.cp-row.selected {
  box-shadow: 0 0 0 2px var(--brand-primary);
  transform: scale(1.02);
}
.cp-label {
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.cp-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
}
.cp-time {
  font-size: 0.62rem;
  margin-left: auto;
  color: var(--text-muted, #999);
  white-space: nowrap;
}
.cp-badge {
  font-size: 0.55rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cp-badge.show { opacity: 1; transform: scale(1); }
.cp-badge-save {
  background: rgba(10, 106, 191, 0.12);
  color: #0a6abf;
}
.cp-badge-restore {
  background: rgba(94, 170, 98, 0.15);
  color: #5EAA62;
}

/* ── Video player mock ── */
.vid-player-area {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}
.vid-screen {
  flex: 1;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 140px;
}
.vid-play-icon { opacity: 0.4; }
.vid-caption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.6rem;
  line-height: 1.5;
  padding: 4px 10px;
  border-radius: 4px;
  text-align: center;
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}
.vid-caption.visible { opacity: 1; }
.vid-caption .vid-cap-speaker {
  font-weight: 700;
  margin-right: 4px;
}
.vid-caption .vid-cap-active {
  font-weight: 700;
  color: #fff;
}
.vid-caption .vid-cap-dim {
  opacity: 0.55;
}
.vid-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.15);
}
.vid-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--brand-primary);
  transition: width 0.3s linear;
}

/* ── Checkpoint split layout ── */
.cp-split {
  display: grid;
  grid-template-columns: 1fr 170px;
  flex: 1;
}
.cp-split-editor {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.7rem;
  overflow: hidden;
  border-right: 1px solid var(--border);
}
.cp-split-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cp-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid var(--border);
}
.cp-panel-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-primary);
}
.cp-panel-add-btn {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  cursor: default;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.cp-panel-add-btn.clicking {
  background: var(--brand-primary);
  color: #fff;
  transform: scale(0.93);
}
.cp-panel-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.4rem;
  overflow: hidden;
}

/* Editor segment inside checkpoint view */
.cp-editor-seg {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.35rem 0.4rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
}
.cp-editor-seg.visible { opacity: 1; transform: translateY(0); }
.cp-editor-seg.fading  { opacity: 0; transform: translateY(-8px); }
.cp-editor-seg.focused { background: rgba(10, 106, 191, 0.08); }
.cp-editor-speaker {
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}
.cp-editor-text {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}
.cp-editor-time {
  font-size: 0.58rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ================================================================
   WORKFLOW
   ================================================================ */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}
.workflow-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.workflow-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.workflow-step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.workflow-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.workflow-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Workflow connector arrows */
.workflow-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(25% + 0.75rem);
  right: calc(25% + 0.75rem);
  height: 2px;
  background: var(--border);
  z-index: 0;
  display: none;
}

/* ================================================================
   TAGS
   ================================================================ */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.product-tag {
  display: inline-block;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
}
[data-theme="dark"] .product-tag { background: var(--bg-tertiary); }

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  padding: 8rem 0;
  text-align: center;
  background: var(--bg-accent);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45, 184, 255, 0.08), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-section .text-headline { margin-bottom: 1rem; }
.cta-section .text-body { margin: 0 auto 2.5rem; max-width: 520px; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--bg-secondary);
  padding: 1.5rem 0 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 1rem;
  align-items: start;
}
.footer-brand { column-count: 2; column-gap: 2.5rem; }
.footer-brand .footer-logo-wrap {
  column-span: all;
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.75rem;
}
.footer-brand .footer-logo-wrap .footer-logo-img {
  height: 24px;
  width: 24px;
  object-fit: contain;
  flex-shrink: 0;
  image-rendering: auto;
  margin-right: 0.2rem;
}
.footer-logo-wrap .logo-brand-text {
  font-size: 1rem;
  font-weight: 700;
}
.footer-logo-wrap .logo-product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.footer-brand .footer-logo-wrap .airis-grad {
  font-weight: 800;
  background-image: var(--brand-grad-airis);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand .footer-logo-wrap .logo-brand-text {
  display: inline-flex;
  align-items: baseline;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
  line-height: 1.6;
  break-inside: avoid;
}
.footer-brand .footer-address { break-inside: avoid; display: block; }
.footer-brand .footer-address p { margin: 0 0 0.5rem; }

.footer-links { display: block; }
.footer-links h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
  column-span: all;
}
.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
  break-inside: avoid;
}
.footer-links a:hover { color: var(--brand-primary); }

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-disabled);
}

/* ================================================================
   INDEX PAGE
   ================================================================ */
html.index-page body { display: block; min-height: auto; background: transparent; }
html.index-page .hero { background: transparent; }
html.index-page .footer {
  background: transparent;
  border-top-color: rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
}
[data-theme="dark"] html.index-page .footer,
html.index-page[data-theme="dark"] .footer {
  border-top-color: rgba(255, 255, 255, 0.06);
}
html.index-page .navbar {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: none;
}
html.index-page[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
html.index-page .navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}
html.index-page[data-theme="dark"] .navbar.scrolled {
  background: rgba(15, 23, 42, 0.85);
}

/* Sections on index page over ambient bg */
html.index-page .fs-section {
  position: relative;
  z-index: 1;
}
html.index-page .fs-section.bg-white {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
html.index-page[data-theme="dark"] .fs-section.bg-white {
  background: rgba(15, 23, 42, 0.85);
}
html.index-page .fs-section.bg-gray {
  background: rgba(247, 248, 250, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
html.index-page[data-theme="dark"] .fs-section.bg-gray {
  background: rgba(30, 41, 59, 0.9);
}

html.index-page .app-preview-section {
  position: relative;
  z-index: 1;
}

html.index-page .cta-section {
  position: relative;
  z-index: 1;
  background: rgba(239, 246, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
html.index-page[data-theme="dark"] .cta-section {
  background: rgba(30, 27, 75, 0.85);
}

/* ================================================================
   SETTINGS (Theme Toggle)
   ================================================================ */
.nav-settings { position: relative; margin-left: 0.75rem; }
.settings-toggle-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-tertiary);
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  padding: 0;
}
.settings-toggle-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.settings-toggle-btn svg { width: 18px; height: 18px; }

/* ================================================================
   LIVE DEMO SECTION
   ================================================================ */
.live-demo-visual { position: relative; overflow: hidden; }

.img-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-tertiary);
  box-shadow: var(--shadow-lg);
}
.img-carousel-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.img-carousel-item {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.img-carousel-item.active { opacity: 1; }
.img-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-primary);
  font-size: 1.4rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), transform var(--transition);
  z-index: 3;
}
.img-carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}
.img-carousel-btn.prev { left: 0.75rem; }
.img-carousel-btn.next { right: 0.75rem; }
[data-theme="dark"] .img-carousel-btn {
  background: rgba(30, 41, 59, 0.85);
  color: var(--text-primary);
}
[data-theme="dark"] .img-carousel-btn:hover { background: rgba(30, 41, 59, 1); }
.img-carousel-dots {
  position: absolute;
  bottom: 0.75rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.4rem;
  z-index: 3;
}
.img-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background var(--transition);
}
.img-carousel-dot.active { background: var(--brand-primary); }
[data-theme="dark"] .img-carousel-dot { background: rgba(255, 255, 255, 0.25); }
[data-theme="dark"] .img-carousel-dot.active { background: var(--brand-primary); }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #DC2626;
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}
.live-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: livePulse 1.5s ease-in-out infinite;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.page-header { margin-bottom: 2.5rem; }
.page-header-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.page-header-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-list {
  margin-top: 1.5rem;
  display: flex; flex-direction: column;
  gap: 1rem;
}
.contact-info-item { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-info-item strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-info-item span { font-size: 0.95rem; color: var(--text-primary); }
.contact-form-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
}
.contact-form-card .form-group { margin-bottom: 1.25rem; }
.contact-form-card label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(49, 130, 246, 0.12);
}
.contact-form-card textarea { resize: vertical; min-height: 120px; }
.contact-form-card select {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  appearance: auto;
}
.contact-form-card select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(49, 130, 246, 0.12);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.required { color: #ef4444; }
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin-top: 0.4rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 400 !important;
  color: var(--text-primary) !important;
  cursor: pointer;
  margin-bottom: 0 !important;
}
.checkbox-label input[type="checkbox"] {
  width: 16px !important;
  height: 16px;
  accent-color: var(--brand-primary);
  cursor: pointer;
}
.trial-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.trial-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.trial-benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  color: var(--brand-primary);
}
.trial-benefit-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}
.trial-benefit-item span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.trial-cta-info {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.trial-cta-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.trial-cta-info p:last-child { margin-bottom: 0; }
.trial-cta-info a {
  color: var(--brand-primary);
  text-decoration: none;
}
.trial-cta-info a:hover { text-decoration: underline; }

/* ================================================================
   EXPORT FORMAT BADGES
   ================================================================ */
.format-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.format-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: transform var(--transition), box-shadow var(--transition);
}
.format-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.format-badge .format-icon { font-size: 1.1rem; }

/* ================================================================
   VIDEO PAGE – INTRO HERO (전체 화면 인트로)
   ================================================================ */
.video-intro-hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0 7rem;
  background: var(--bg-primary);
  overflow: hidden;
}

/* 배경 글로우 – 중앙 */
.video-intro-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 60vw;
  max-width: 1000px;
  max-height: 640px;
  background: radial-gradient(ellipse at center,
    rgba(45, 184, 255, 0.09) 0%,
    rgba(108, 77, 255, 0.055) 40%,
    transparent 70%);
  pointer-events: none;
  animation: viGlowFloat 8s ease-in-out infinite;
}

/* 배경 글로우 – 우하단 */
.video-intro-hero::after {
  content: '';
  position: absolute;
  bottom: 5%;
  right: 8%;
  width: 35vw;
  height: 35vw;
  max-width: 420px;
  max-height: 420px;
  background: radial-gradient(ellipse at center,
    rgba(108, 77, 255, 0.07) 0%,
    transparent 65%);
  pointer-events: none;
  animation: viGlowFloat 10s ease-in-out 2s infinite reverse;
}

@keyframes viGlowFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -54%) scale(1.06); }
}

.video-intro-hero::after {
  animation-name: viGlowFloatAlt;
}

@keyframes viGlowFloatAlt {
  0%, 100% { transform: scale(1) translateY(0); }
  50%       { transform: scale(1.08) translateY(-12px); }
}

/* 콘텐츠 */
.video-intro-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

/* 스태거드 페이드-업 입장 애니메이션 */
.video-intro-content .text-eyebrow {
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: viFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.video-intro-title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: viFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.27s forwards;
}

.video-intro-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: viFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.video-intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.video-intro-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-light);
  border: 1px solid rgba(45, 184, 255, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  opacity: 0;
  animation: viFadeScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.video-intro-tag:hover {
  background: rgba(45, 184, 255, 0.14);
  border-color: rgba(45, 184, 255, 0.5);
  transform: translateY(-2px);
}

.video-intro-tag:nth-child(1) { animation-delay: 0.62s; }
.video-intro-tag:nth-child(2) { animation-delay: 0.72s; }
.video-intro-tag:nth-child(3) { animation-delay: 0.82s; }
.video-intro-tag:nth-child(4) { animation-delay: 0.92s; }

/* 스크롤 유도 */
.video-intro-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-tertiary, var(--text-secondary));
  text-decoration: none;
  transition: color 0.25s;
  opacity: 0;
  animation: viFadeIn 0.7s ease 1.1s forwards;
}

.video-intro-scroll:hover {
  color: var(--brand-primary);
}

.video-intro-scroll-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* SVG 아이콘만 바운스 */
.video-intro-scroll svg {
  animation: viScrollBounce 2.2s ease-in-out 2s infinite;
}

.video-intro-scroll:hover svg {
  animation: none;
  transform: translateY(4px);
  transition: transform 0.25s;
}

/* ── 공용 입장 키프레임 ── */
@keyframes viFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes viFadeScale {
  from { opacity: 0; transform: scale(0.82) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes viScrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* 기존 클래스 호환 유지 */
.video-page-header {
  text-align: center;
  padding: 3rem 0 2rem;
}
.video-page-header .text-headline {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
}
.video-page-header .text-body { margin: 0 auto; }

.video-page-section { padding: 4.5rem 0; }
.video-page-section.bg-white { background: var(--bg-primary); }
.video-page-section.bg-gray { background: var(--bg-secondary); }

.video-block { max-width: 900px; margin: 0 auto; }
.video-block-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.video-block-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 0.15rem;
}
.video-block-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}
.video-block-header p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.video-block-player {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.video-block-player video {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: #000;
  cursor: pointer;
}
.video-block-player video::-webkit-media-controls-time-remaining-display,
.video-block-player video::-webkit-media-controls-current-time-display {
  display: none;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.video-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}
.video-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
}

.video-card-thumb video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card-overlay {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s, background 0.3s;
}
.video-card:hover .video-card-overlay {
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
}
.video-card-overlay svg { transition: transform 0.3s; }
.video-card:hover .video-card-overlay svg { transform: scale(1.15); }
.video-card-duration {
  position: absolute;
  bottom: 0.5rem; right: 0.5rem;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.video-card-info { padding: 1.25rem 1.5rem 1.5rem; }
.video-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-primary);
  background: var(--brand-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
}
.video-card-tag.purple { color: #7C3AED; background: rgba(124, 58, 237, 0.08); }
.video-card-tag.green { color: #059669; background: rgba(16, 185, 129, 0.08); }
.video-card-tag.orange { color: #D97706; background: rgba(245, 158, 11, 0.08); }
.video-card-tag.pink { color: #DB2777; background: rgba(236, 72, 153, 0.08); }
.video-card-tag.cyan { color: #0891B2; background: rgba(6, 182, 212, 0.08); }
.video-card-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}
.video-card-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ================================================================
   VIDEO PAGE – VSPLIT LAYOUT (sections 01 / 02)
   ================================================================ */
.vsplit {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.vsplit--reverse { grid-template-columns: 1.6fr 1fr; }
.vsplit--reverse .vsplit-info { order: 2; }
.vsplit--reverse .vsplit-player { order: 1; }

.vsplit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.vsplit-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}
.vsplit-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.vsplit-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.vsplit-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.vsplit-features li::before {
  content: '';
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-primary);
}
.vsplit-player {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.vsplit-player video {
  display: block;
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  background: #000;
  cursor: pointer;
}

/* ================================================================
   VIDEO PAGE – SLIDE LAYOUT (슬라이드 형식)
   ================================================================ */
.video-slides-section {
  padding: 2.5rem 0 3rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

/* ── 탭 내비게이션 ── */
.vslide-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  position: relative;
}

.vslide-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  background: var(--card-bg);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  white-space: nowrap;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.2s;
  overflow: hidden;
}

/* 탭 클릭 리플 */
.vslide-tab::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(45,184,255,0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}

.vslide-tab:active::after {
  opacity: 1;
}

.vslide-tab:hover {
  border-color: var(--brand-primary);
  background: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45, 184, 255, 0.12);
}

.vslide-tab.active {
  border-color: var(--brand-primary);
  background: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(45, 184, 255, 0.15),
              0 4px 20px rgba(45, 184, 255, 0.12);
  transform: translateY(-1px);
}

.vslide-tab-num {
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vslide-tab-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.25s;
}

.vslide-tab.active .vslide-tab-label {
  color: var(--brand-primary);
}

/* ── 슬라이드 컨테이너 ── */
.vslide-container {
  position: relative;
}

.vslide {
  display: none;
}

/* 활성 슬라이드: 영상(좌 60%) + 정보카드(우 40%) 나란히 배치 */
.vslide.active {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* 영상 → 카드 순서로 스태거드 진입 */
.vslide.active .vslide-video-wrap {
  animation: vsVideoIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

/* 정보 카드: 영상 위로 올리고 수평 strip 레이아웃 */
.vslide.active .vslide-info-card {
  order: -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1.5rem;
  animation: vsInfoCardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* badge(좌, 2행 스팬) + title/desc(우) 격자 */
.vslide.active .vslide-info-main {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.85rem;
  row-gap: 0.08rem;
  flex: 1;
  min-width: 0;
}

.vslide.active .vslide-info-main .vsplit-badge {
  grid-column: 1;
  grid-row: 1 / 3;
  margin-bottom: 0;
  align-self: center;
}

.vslide.active .vslide-info-main .vsplit-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.vslide.active .vslide-info-main .vsplit-desc {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.78rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* chips: 우측 고정, 줄바꿈 없음 */
.vslide.active .vslide-info-chips {
  flex-shrink: 0;
}

.vslide.active .vslide-info-card {
  /* 위 .vslide.active .vslide-info-card 규칙에서 처리 */
}

/* 카드 내부 요소 스태거 */
.vslide.active .vslide-info-main .vsplit-badge {
  animation: vsItemIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
.vslide.active .vslide-info-main .vsplit-title {
  animation: vsItemIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}
.vslide.active .vslide-info-main .vsplit-desc {
  animation: vsItemIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.46s both;
}
.vslide.active .vslide-info-features {
  animation: vsItemIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}
.vslide.active .vsplit-features li:nth-child(1) {
  animation: vsItemIn 0.45s ease 0.54s both;
}
.vslide.active .vsplit-features li:nth-child(2) {
  animation: vsItemIn 0.45s ease 0.62s both;
}
.vslide.active .vsplit-features li:nth-child(3) {
  animation: vsItemIn 0.45s ease 0.70s both;
}
.vslide.active .vslide-info-chips {
  animation: vsItemIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}
.vslide.active .vslide-chip:nth-child(1) { animation: vsItemIn 0.42s ease 0.54s both; }
.vslide.active .vslide-chip:nth-child(2) { animation: vsItemIn 0.42s ease 0.60s both; }
.vslide.active .vslide-chip:nth-child(3) { animation: vsItemIn 0.42s ease 0.66s both; }

@keyframes vsVideoIn {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

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

@keyframes vsItemIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── 영상 영역 ── */
.vslide-video-wrap {
  width: 100%;
  max-width: none;        /* 그리드 컬럼이 너비를 결정 */
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  background: #000;
  position: relative;
  transition: box-shadow 0.35s, transform 0.35s;
}

.vslide-video-wrap:hover {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24),
              0 0 0 2px rgba(45, 184, 255, 0.2);
  transform: translateY(-3px);
}

.vslide-video-wrap video {
  display: block;
  width: 100%;
  max-height: 72vh;       /* 컬럼 너비로 크기 결정, 극단적 tall 영상만 제한 */
  object-fit: contain;
  background: #000;
  cursor: pointer;
}

/* 영상 일시정지 시 오버레이 힌트 */
.vslide-video-wrap video:not([data-playing])::after {
  content: '▶';
}

/* ── 정보 카드 ── */
.vslide-info-card {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.vslide-info-card:hover {
  border-color: rgba(45, 184, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.vslide-info-main {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.vslide-info-main .vsplit-badge {
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.vslide-info-main .vsplit-title { margin-bottom: 0.25rem; }
.vslide-info-main .vsplit-desc  { margin-bottom: 0; }

.vslide-info-features {
  border-left: none;
  border-top: 2px solid var(--border);
  padding-left: 0;
  padding-top: 1.25rem;
}

.vslide-info-features .vsplit-features li {
  font-size: 0.95rem;
}

/* ── 슬라이드 기능 chip 태그 ── */
.vslide-info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.25rem;
}

.vslide-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-primary);
  background: var(--brand-light);
  border: 1px solid rgba(45, 184, 255, 0.18);
  padding: 0.26rem 0.7rem 0.26rem 0.55rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.vslide-chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── 하단 컨트롤 ── */
.vslide-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  position: relative;
  width: 100%;
}

/* 볼륨 컨트롤 그룹 (우측 하단 절대 위치) */
.vslide-vol-group {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vslide-vol-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.2s;
}

.vslide-vol-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: var(--brand-light);
  transform: scale(1.1);
}

.vslide-vol-btn.is-muted {
  color: var(--text-muted, #aaa);
}

.vslide-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    var(--brand-primary) var(--vol-fill, 0%),
    var(--border) var(--vol-fill, 0%)
  );
  outline: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.vslide-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-primary);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(45, 184, 255, 0.45);
}

.vslide-vol-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-primary);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 6px rgba(45, 184, 255, 0.45);
}

.vslide-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: border-color 0.25s, color 0.25s, background 0.25s,
              transform 0.2s, box-shadow 0.25s;
}

.vslide-arrow:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: var(--brand-light);
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(45, 184, 255, 0.12);
}

.vslide-arrow:active {
  transform: scale(0.95);
}

/* 도트 – 활성 시 캡슐 모양 */
.vslide-dots {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.vslide-dot {
  height: 8px;
  width: 8px;
  border-radius: 4px;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s, box-shadow 0.3s;
}

.vslide-dot.active {
  background: var(--brand-primary);
  width: 24px;
  box-shadow: 0 0 8px rgba(45, 184, 255, 0.4);
}

/* 영상 내 볼륨 오버레이 */
.vslide-vol-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 5px 10px 5px 7px;
  z-index: 10;
  opacity: 0.55;
  transition: opacity 0.22s;
}

.vslide-video-wrap:hover .vslide-vol-overlay,
.vslide-vol-overlay:hover {
  opacity: 1;
}

/* 오버레이 내부 – 다크 배경 위 재정의 */
.vslide-vol-overlay .vslide-vol-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.vslide-vol-overlay .vslide-vol-btn:hover {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  box-shadow: none;
  transform: scale(1.08);
}

.vslide-vol-overlay .vslide-vol-btn.is-muted {
  color: rgba(255, 255, 255, 0.45);
}

.vslide-vol-overlay .vslide-vol-slider {
  width: 70px;
  background: linear-gradient(
    to right,
    #2db8ff var(--vol-fill, 0%),
    rgba(255, 255, 255, 0.28) var(--vol-fill, 0%)
  );
}

.vslide-vol-overlay .vslide-vol-slider::-webkit-slider-thumb {
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.45);
}

.vslide-vol-overlay .vslide-vol-slider::-moz-range-thumb {
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.45);
}

/* 오버레이 내 구분선 */
.vslide-overlay-sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  margin: 0 2px;
}

/* ================================================================
   VIDEO PAGE – FEATURE DEMOS LAYOUT (ROW SECTIONS)
   ================================================================ */
.vdemo-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 3rem;
}

.vdemo-row {
  display: grid;
  grid-template-columns: 2fr 3fr;  /* 영상 40%, 정보 60% */
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card-bg);
  overflow: hidden;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.vdemo-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(45, 184, 255, 0.18);
}

/* 짝수 행: 영상 우측(40%), 정보 좌측(60%) */
.vdemo-row--rev {
  grid-template-columns: 3fr 2fr;  /* 정보 60%, 영상 40% */
}

.vdemo-row--rev .vdemo-media { order: 2; }
.vdemo-row--rev .vdemo-info  { order: 1; }

/* 미디어 영역 */
.vdemo-media {
  position: relative;
  background: linear-gradient(135deg, #0e0e1a 0%, #1a1a2e 55%, #0f3460 100%);
  overflow: hidden;
  min-height: 200px;
}

/* 16:9 비율 유지 */
.vdemo-media::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.vdemo-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 영상 미삽입 플레이스홀더 */
.vdemo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.22);
}

.vdemo-placeholder-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 정보 영역 */
.vdemo-info {
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.vdemo-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vdemo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
}

.vdemo-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   VIDEO PAGE – FEATURE DEMOS (Sidebar + Panel)  ← Linear/Vercel style
   ================================================================ */
.vfd-layout {
  display: grid;
  grid-template-columns: 4fr 9fr;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}

/* ── 좌측 기능 목록 ── */
.vfd-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card-bg);
  position: sticky;
  top: calc(var(--nav-height) + 1.25rem);
}

.vfd-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  transition: background 0.2s, border-left-color 0.2s;
}

.vfd-item:last-child { border-bottom: none; }

.vfd-item:hover { background: var(--bg-secondary); }

.vfd-item.active {
  background: var(--brand-light);
  border-left-color: var(--brand-primary);
}

.vfd-item-num {
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--brand-primary);
  letter-spacing: 0.06em;
  min-width: 20px;
}

.vfd-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.vfd-item-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted, #aaa);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vfd-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.vfd-item-arrow {
  color: var(--brand-primary);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.vfd-item.active .vfd-item-arrow,
.vfd-item:hover .vfd-item-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* Coming Soon 배지 */
.vfd-item-soon {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-muted, #aaa);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.1rem 0.45rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ── 우측 패널 ── */
.vfd-pane { display: none; }

.vfd-pane.active {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: vfdIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* 정보 카드를 영상 위로 */
.vfd-pane.active .vfd-info {
  order: -1;
  margin-top: 0;
}

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

.vfd-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a14 0%, #1a1a2e 55%, #0f3460 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2),
              0 0 0 1px rgba(255, 255, 255, 0.05);
}

.vfd-media::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.vfd-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.vfd-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

.vfd-placeholder-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vfd-info {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.vfd-info .video-card-tag {
  flex-shrink: 0;
  margin-top: 0.15rem; /* title 베이스라인 맞춤 */
}

.vfd-info-text {
  flex: 1;
  min-width: 0;
}

.vfd-info-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.2rem;
  line-height: 1.3;
}

.vfd-info-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ================================================================
   VIDEO PAGE – FEATURE DEMOS LAYOUT
   ================================================================ */
.vfeat-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.vfeat-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: stretch;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.vfeat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}
.vfeat-thumb {
  position: relative;
  min-height: 170px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
}

.vfeat-thumb video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vfeat-info {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.vfeat-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}
.vfeat-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
.vsmall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet (901px ~ 1024px) */
@media (min-width: 901px) and (max-width: 1024px) {
  .container, .container-narrow, .container-wide { padding: 0 1.5rem; }
  .nav-container { padding: 0 1.5rem; }
  .split { gap: 3rem; }
  .feature-block { grid-template-columns: 1fr 1.5fr; gap: 2.5rem; padding: 4rem 0; }
  .feature-block.reverse { grid-template-columns: 1.5fr 1fr; }
  .fs-section { padding: 4rem 0; }
  .mobile-menu-btn { display: none !important; }
  .nav-menu { display: flex; gap: 1.25rem; }
  .nav-link { font-size: 0.95rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .feature-card { padding: 1.25rem 1rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid {
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
  }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .app-preview-sidebar { width: 180px; }
  .app-preview-body { min-height: 320px; }
  .split--wide { grid-template-columns: 1fr 1.5fr; gap: 2.5rem; }
  .vsplit, .vsplit--reverse { grid-template-columns: 1fr 1.3fr; gap: 2.5rem; }
  .vsplit--reverse { grid-template-columns: 1.3fr 1fr; }
  .vfeat-card { grid-template-columns: 220px 1fr; }
  .vsmall-grid { grid-template-columns: repeat(2, 1fr); }

  /* 인트로 히어로 – 태블릿 */
  .video-intro-hero { padding: 4rem 0 6rem; }
  .video-intro-title { font-size: clamp(1.9rem, 4vw, 2.8rem); }

  /* 슬라이드 – 태블릿 */
  .vslide-info-card {
    padding: 1.5rem 1.75rem;
    gap: 1rem;
  }
  .vslide-tab { padding: 0.6rem 1.2rem; }
}

/* Small Tablet (769px ~ 900px) — feature-block 단일 컬럼 전환 */
@media (min-width: 769px) and (max-width: 900px) {
  .container, .container-narrow, .container-wide { padding: 0 1.25rem; }
  .nav-container { padding: 0 1.25rem; }
  .mobile-menu-btn { display: none !important; }
  .nav-menu { display: flex; gap: 1rem; }
  .nav-link { font-size: 0.9rem; }
  .nav-link-home { font-size: 0.78rem; padding: 0.25rem 0.6rem; }

  .fs-section { padding: 3.5rem 0; }

  /* feature-block: 단일 컬럼으로 전환 */
  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
  }
  .feature-block.reverse > :first-child { order: 1; }
  .feature-block.reverse > :last-child  { order: 2; }
  /* 그리드 아이템 최소 너비 0 → sn-mock 툴바 너비로 인한 그리드 블로우아웃 방지 */
  .feature-block-text,
  .feature-block-visual { min-width: 0; }
  .feature-block-text {
    text-align: center;
    max-width: 100%;
  }
  .feature-block-text .text-body { margin-left: auto; margin-right: auto; }
  .feature-list { display: inline-flex; flex-direction: column; text-align: left; }

  .split { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .split.reverse > :first-child { order: 1; }
  .split.reverse > :last-child  { order: 2; }
  .split--wide { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* split-text: 단일 컬럼 전환 시 중앙 정렬 (LIVE 섹션 등) */
  .split-text { text-align: center; }
  .split-text .text-body { margin-bottom: 1.25rem; }
  .split-text .feature-list { display: inline-flex; flex-direction: column; text-align: left; }
  .split-text .product-tags { justify-content: center; }
  .feature-list li { font-size: 0.9rem; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .feature-card { padding: 1.25rem 1rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .footer-grid { grid-template-columns: 2fr 1fr; gap: 1.5rem; }
  .footer-brand { column-count: 1; }

  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .vfeat-card { grid-template-columns: 1fr; }
  .vfeat-thumb { min-height: 200px; }
  .vsmall-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* vdemo 행: 태블릿에서 패딩 축소 */
  .vdemo-info { padding: 1.75rem 2rem; }
  .vdemo-title { font-size: 1.1rem; }

  /* vfd 레이아웃: 태블릿에서 단일 컬럼 */
  .vfd-layout { grid-template-columns: 1fr; margin-top: 2rem; }
  .vfd-list {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: var(--radius-xl);
  }
  .vfd-item {
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-top: 3px solid transparent;
    border-left: none;
    padding: 1rem 1.1rem;
  }
  /* 3열 그리드(5개 항목): 4~5번째 하단 border 제거 */
  .vfd-item:nth-child(4),
  .vfd-item:nth-child(5) { border-bottom: none; }
  /* 각 행의 마지막 열 */
  .vfd-item:nth-child(3),
  .vfd-item:nth-child(5) { border-right: none; }
  /* 5번째 항목이 2번째 열이므로 나머지 공간 채우기 */
  .vfd-item:nth-child(5) { grid-column: 2 / 4; }
  .vfd-item.active { border-top-color: var(--brand-primary); border-left-color: transparent; }
  .vfd-item-arrow { display: none; }

  /* 메인 슬라이드: 태블릿 - info strip 컴팩트 */
  .vslide-video-wrap video { max-height: 52vw; }
  .vslide.active .vslide-info-card { padding: 0.75rem 1.1rem; gap: 1rem; }
  .vslide.active .vslide-info-main .vsplit-title { font-size: 0.95rem; }

  .vsplit, .vsplit--reverse { grid-template-columns: 1fr; gap: 2rem; }
  .vsplit--reverse .vsplit-info { order: 1; }
  .vsplit--reverse .vsplit-player { order: 2; }

  .vslide-nav { gap: 0.5rem; }
  .vslide-tab { padding: 0.6rem 1rem; }
  .vslide-tab-label { font-size: 0.85rem; }
  .vslide-info-card {
    padding: 1.5rem;
    gap: 1rem;
  }

  .contact-page-grid { grid-template-columns: 1fr; gap: 2rem; }

  .app-preview-sidebar { display: none; }
  .app-preview-body { min-height: 280px; }

  /* 수평 reveal 애니메이션 → 수직으로 교체 (iOS Safari 가로 오버플로 방지) */
  .reveal-left  { transform: translateY(48px); }
  .reveal-right { transform: translateY(48px); }
  .reveal-left.is-visible  { transform: translateY(0); }
  .reveal-right.is-visible { transform: translateY(0); }
}

/* Mobile */
@media (max-width: 768px) {
  .container, .container-narrow, .container-wide { padding: 0 1.25rem; }
  .nav-container { padding: 0 1rem; gap: 0.25rem; }
  .nav-logo { flex: 1; }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 0;
    order: 3;
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  .nav-settings {
    order: 2;
    margin-left: 0;
    margin-right: 0.25rem;
  }

  .settings-toggle-btn {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    border-color: var(--border);
  }

  .nav-menu {
    display: flex;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    width: 100%;
    height: calc(100dvh - var(--nav-height));
    background: var(--bg-primary);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.5rem 1.75rem 2rem;
    gap: 0;
    z-index: 998;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
    border-top: 1px solid var(--border);
  }
  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-menu .nav-link {
    display: block;
    padding: 1.15rem 0.25rem;
    border-bottom: 1px solid var(--divider);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    width: 100%;
  }
  .nav-link::after { display: none; }

  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 0.5rem 0;
  }
  .nav-link-home {
    display: flex;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  html, body { overflow-x: hidden; width: 100%; max-width: 100%; }

  /* 수평 reveal 애니메이션 → 수직으로 교체 (iOS Safari 가로 오버플로 방지) */
  .reveal-left  { transform: translateY(48px); }
  .reveal-right { transform: translateY(48px); }
  .reveal-left.is-visible  { transform: translateY(0); }
  .reveal-right.is-visible { transform: translateY(0); }

  /* 섹션 내부 가로 오버플로 확실히 차단 */
  .fs-section, .cta-section, .video-slides-section,
  .video-page-header { overflow-x: hidden; }

  .hero { min-height: 85vh; }
  .hero-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero-desc { font-size: 0.9rem; max-width: 100%; }
  .hero-actions { flex-direction: column; gap: 0.6rem; align-items: center; }
  .hero-actions .btn-primary-hero,
  .hero-actions .btn-outline-hero { width: 100%; max-width: 260px; padding: 0.8rem 1.5rem; font-size: 0.9rem; }

  .fs-section { padding: 3rem 0; }
  .text-headline { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .text-body { max-width: 100%; font-size: 0.88rem; }
  .text-eyebrow { font-size: 0.7rem; margin-bottom: 0.5rem; }

  .split { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .split.reverse > :first-child { order: 1; }
  .split.reverse > :last-child { order: 2; }
  .split-text { max-width: 100%; text-align: center; }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .feature-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
  }
  .feature-card:last-child { border-bottom: none; }
  .feature-card:hover { transform: none; box-shadow: none; }
  .feature-card-icon {
    width: 36px; height: 36px;
    margin-bottom: 0;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
  }
  .feature-card-icon svg { width: 16px; height: 16px; }
  .feature-card h3 { font-size: 0.88rem; margin-bottom: 0.15rem; }
  .feature-card p { font-size: 0.75rem; line-height: 1.45; color: var(--text-tertiary); }

  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-item { padding: 1.5rem 0.75rem; }
  .stat-number { font-size: clamp(2rem, 8vw, 3rem); }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .workflow-step { padding: 1.25rem 1rem; }
  .workflow-step h4 { font-size: 0.9rem; }
  .workflow-step p { font-size: 0.78rem; }

  .value-grid { grid-template-columns: 1fr; gap: 1rem; }
  .value-card { padding: 1.5rem 1.25rem; }

  .feature-block {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 2rem 0;
  }
  .feature-block.reverse > :first-child { order: 1; }
  .feature-block.reverse > :last-child { order: 2; }
  /* 그리드 아이템 최소 너비 0 → sn-mock 툴바 너비로 인한 그리드 블로우아웃 방지 */
  .feature-block-text,
  .feature-block-visual { min-width: 0; }

  .feature-block-text {
    text-align: center;
    max-width: 100%;
  }
  .feature-block-text .text-body { margin-left: auto; margin-right: auto; }
  .feature-list { display: inline-flex; flex-direction: column; text-align: left; }

  /* split-text: 단일 컬럼 전환 시 중앙 정렬 (LIVE 섹션 등) */
  .split-text .text-body { margin-left: auto; margin-right: auto; margin-bottom: 1.25rem; }
  .split-text .feature-list { display: inline-flex; flex-direction: column; text-align: left; }
  .split-text .product-tags { justify-content: center; }
  .product-tag { font-size: 0.78rem; padding: 0.3rem 0.75rem; }
  .feature-list li { font-size: 0.88rem; }

  .live-viewer-cards { flex-direction: column; }
  .video-grid { grid-template-columns: 1fr; }
  .vsplit, .vsplit--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .vsplit--reverse .vsplit-info { order: 1; }
  .vsplit--reverse .vsplit-player { order: 2; }
  .video-page-section { padding: 3rem 0; }
  .vfeat-card { grid-template-columns: 1fr; }
  .vfeat-thumb { min-height: 200px; }
  .vfeat-info { padding: 1.25rem; }
  .vsmall-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* 인트로 히어로 – 모바일 */
  .video-intro-hero { min-height: calc(100svh - var(--nav-height)); padding: 3rem 0 6rem; }
  .video-intro-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .video-intro-desc { font-size: 0.88rem; }
  .video-intro-tags { gap: 0.4rem; }
  .video-intro-tag { font-size: 0.75rem; padding: 0.28rem 0.75rem; }
  .video-intro-scroll { bottom: 1.75rem; }

  /* 슬라이드 – 모바일 */
  .video-slides-section { padding: 1rem 0 3.5rem; }
  .vslide-nav { gap: 0.5rem; margin-bottom: 1.75rem; }
  .vslide-tab {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 0.65rem 1rem;
  }
  .vslide-tab-label { font-size: 0.85rem; }
  .vslide-video-wrap { border-radius: var(--radius-lg); }
  .vslide-info-card {
    padding: 1.1rem 1.1rem 1.35rem;
    gap: 0.8rem;
  }
  .vslide-info-chips { gap: 0.35rem; }
  .vslide-chip { font-size: 0.66rem; }
  .vslide-controls { gap: 1rem; margin-top: 1.25rem; }
  .vslide-arrow { width: 40px; height: 40px; }
  .vslide-vol-slider { width: 56px; }
  .vslide-vol-btn { width: 32px; height: 32px; }

  /* vdemo 행: 모바일에서 1열 수직 스택 */
  .vdemo-list { gap: 1.25rem; margin-top: 2rem; }
  .vdemo-row { grid-template-columns: 1fr; }
  .vdemo-row--rev { grid-template-columns: 1fr; }
  /* 반전 행도 모바일에서는 미디어를 항상 위에 표시 */
  .vdemo-row--rev .vdemo-media { order: 0; }
  .vdemo-row--rev .vdemo-info  { order: 1; }
  .vdemo-info { padding: 1.25rem 1.5rem 1.5rem; gap: 0.6rem; }
  .vdemo-title { font-size: 1rem; }
  .vdemo-num { font-size: 0.65rem; }

  /* vfd 레이아웃: 모바일에서 2열 탭 그리드 */
  .vfd-layout { grid-template-columns: 1fr; gap: 0.75rem; margin-top: 1.25rem; }
  .vfd-list {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    border-radius: var(--radius-xl);
  }
  .vfd-item {
    flex: unset;
    min-width: unset;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-top: none;
    border-left: 3px solid transparent;
    padding: 0.8rem 0.9rem;
  }
  /* 짝수 번째 (오른쪽 열) border-right 제거 */
  .vfd-item:nth-child(even) { border-right: none; }
  /* 마지막 2개 border-bottom 제거 (5개 항목 기준: 4~5번째) */
  .vfd-item:nth-child(4),
  .vfd-item:nth-child(5) { border-bottom: none; }
  /* 모바일 2열: 5번 항목(홀수 마지막) 전체 너비 */
  .vfd-item:nth-child(5) { grid-column: 1 / -1; border-right: none; }
  .vfd-item.active { border-left-color: var(--brand-primary); border-top-color: transparent; }
  .vfd-item-arrow, .vfd-item-soon { display: none; }
  .vfd-item-label { display: none; }
  .vfd-item-title { font-size: 0.8rem; }
  .vfd-info { padding: 0.75rem 0.9rem; gap: 0.6rem; margin-top: 0.5rem; }
  .vfd-info-title { font-size: 0.88rem; }
  .vfd-info-desc { font-size: 0.76rem; }

  /* 메인 슬라이드: 모바일 - info strip → 세로 스택 */
  .vslide-video-wrap video { max-height: 56vw; }
  .vslide.active .vslide-info-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 1rem 1.1rem;
  }
  .vslide.active .vslide-info-main .vsplit-desc {
    white-space: normal;
    font-size: 0.76rem;
  }
  .vslide-info-card {
    padding: 1.1rem 1.1rem 1.35rem;
    gap: 0.8rem;
  }
  .vslide-info-chips { gap: 0.35rem; }
  .vslide-chip { font-size: 0.66rem; }
  .vslide-video-wrap--promo video { max-height: 56vw; }
  .vslide-promo-caption { margin-top: 0.85rem; }

  .footer { padding: 1.5rem 1rem 1.25rem; }
  .footer .container { padding: 0; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 520px;
    margin: 0 auto;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-brand { column-count: 1; }
  .footer-brand p { font-size: 0.72rem; line-height: 1.55; margin: 0 0 0.25rem; }
  .footer-links h5 { font-size: 0.8rem; margin: 0 0 0.6rem; }
  .footer-links a { font-size: 0.8rem; padding: 0.3rem 0; }

  html.index-page .footer {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top-color: rgba(0, 0, 0, 0.06);
  }
  html.index-page[data-theme="dark"] .footer {
    background: rgba(15, 23, 42, 0.6);
    border-top-color: rgba(255, 255, 255, 0.06);
  }

  .cta-section { padding: 4rem 0; }

  .page-header { margin-bottom: 1.25rem; text-align: left; }
  .page-header-title { font-size: 1.55rem; word-break: keep-all; }
  .page-header-desc { font-size: 0.85rem; line-height: 1.55; word-break: keep-all; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-info .text-headline-sm { font-size: 1.1rem; }
  .contact-info-list { margin-top: 1rem; gap: 0.75rem; }
  .contact-info-item { gap: 0.15rem; }
  .contact-info-item strong { font-size: 0.7rem; }
  .contact-info-item span { font-size: 0.85rem; line-height: 1.5; word-break: keep-all; }
  .contact-form-card { padding: 1.25rem 1.1rem; border-radius: var(--radius-xl); }
  .contact-form-card .text-headline-sm { font-size: 1.05rem; }
  .contact-form-card .form-group { margin-bottom: 0.9rem; }
  .contact-form-card label { font-size: 0.8rem; margin-bottom: 0.3rem; }
  .contact-form-card input,
  .contact-form-card textarea { padding: 0.7rem 0.85rem; font-size: 0.88rem; border-radius: var(--radius-sm); }
  .contact-form-card textarea { min-height: 110px; }
  .contact-form-card select { padding: 0.7rem 0.85rem; font-size: 0.88rem; border-radius: var(--radius-sm); }
  .form-row { grid-template-columns: 1fr; gap: 0.9rem; }
  .checkbox-group { grid-template-columns: 1fr; }

  .ambient-orb.orb-1 { width: 90vw; height: 90vw; filter: blur(60px); }
  .ambient-orb.orb-2 { width: 80vw; height: 80vw; filter: blur(60px); }
  .ambient-orb.orb-3 { width: 60vw; height: 60vw; filter: blur(50px); }

  /* App preview: hide sidebar on mobile */
  .app-preview-sidebar { display: none; }
  .app-preview-body { min-height: 280px; }
  .app-segment-row { padding: 0.4rem; }
  .app-segment-time { display: none; }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .line-reveal {
    opacity: 1;
    transform: none;
  }
}
