/* ToonCraft AI — Main Stylesheet
   Neo-Brutalism + Bento Box Design System
   ======================================= */

/* ===== 1. RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea { font-family: inherit; }

/* ===== 2. CSS CUSTOM PROPERTIES ===== */
:root {
  --bg:              #F8F9FA;
  --surface:         #FFFFFF;
  --ink:             #111827;
  --ink-mid:         #374151;
  --ink-light:       #6B7280;
  --ink-xlight:      #D1D5DB;

  --primary:         #4F46E5;
  --primary-hover:   #4338CA;
  --primary-light:   #EEF2FF;

  --emerald:         #10B981;
  --emerald-hover:   #059669;
  --emerald-light:   #ECFDF5;

  --rose:            #F43F5E;
  --rose-hover:      #E11D48;
  --rose-light:      #FFF1F2;

  --yellow:          #FBBF24;
  --yellow-hover:    #F59E0B;
  --yellow-light:    #FFFBEB;

  --dark-bg:         #0F172A;
  --dark-surface:    #1E293B;
  --dark-text:       #F1F5F9;
  --dark-text-sub:   #94A3B8;

  --border:          2.5px solid var(--ink);
  --border-light:    1.5px solid var(--ink-xlight);
  --radius:          12px;
  --radius-sm:       8px;
  --radius-lg:       18px;

  --shadow:          5px 5px 0 0 var(--ink);
  --shadow-sm:       3px 3px 0 0 var(--ink);
  --shadow-lg:       8px 8px 0 0 var(--ink);
  --shadow-hover:    2px 2px 0 0 var(--ink);

  --font-main:       'Outfit', 'Noto Sans KR', sans-serif;
  --font-mono:       'Space Mono', monospace;

  --container-max:   1200px;
  --nav-height:      68px;
  --ease:            cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg:              #0F172A;
  --surface:         #1E293B;
  --ink:             #F8FAFC;
  --ink-mid:         #CBD5E1;
  --ink-light:       #94A3B8;
  --ink-xlight:      #334155;

  /* Neon Vibrant Colors */
  --primary:         #6366F1;
  --primary-hover:   #818CF8;
  --primary-light:   rgba(99, 102, 241, 0.15);

  --emerald:         #34D399;
  --emerald-hover:   #6EE7B7;
  --emerald-light:   rgba(52, 211, 153, 0.15);

  --rose:            #FB7185;
  --rose-hover:      #FDA4AF;
  --rose-light:      rgba(251, 113, 133, 0.15);

  --yellow:          #FDE047;
  --yellow-hover:    #FEF08A;
  --yellow-light:    rgba(253, 224, 71, 0.15);

  --border:          2.5px solid #334155;
  --border-light:    1.5px solid #1E293B;

  /* Dark pure shadows for Neo-Brutalism */
  --shadow:          5px 5px 0 0 rgba(0, 0, 0, 0.85);
  --shadow-sm:       3px 3px 0 0 rgba(0, 0, 0, 0.85);
  --shadow-lg:       8px 8px 0 0 rgba(0, 0, 0, 0.85);
  --shadow-hover:    2px 2px 0 0 rgba(0, 0, 0, 0.85);
}

/* ===== 3. UTILITIES ===== */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }

/* Prevent fixed nav from hiding scroll targets */
html { scroll-padding-top: var(--nav-height); }

/* ===== 4. KEYFRAMES ===== */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}
@keyframes renderProgress {
  0%   { width: 10%; }
  60%  { width: 100%; }
  100% { width: 10%; }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.08; }
  50%       { transform: scale(1.15); opacity: 0.14; }
}

/* ===== 5. REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal--right { transform: translateX(28px); }
.reveal.is-visible { opacity: 1; transform: translate(0); }

.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 120ms; }
.stagger > *:nth-child(3) { transition-delay: 240ms; }
.stagger > *:nth-child(4) { transition-delay: 360ms; }

/* ===== 6. BENTO BOX ===== */
.bento-box {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== 7. BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.15s var(--ease), transform 0.15s var(--ease), background 0.15s ease, color 0.15s ease;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.btn:active::after { opacity: 1; }

.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-hover); transform: translate(2px,2px); }

.btn--ghost { background: transparent; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: var(--ink); color: var(--surface); box-shadow: var(--shadow-hover); transform: translate(2px,2px); }

.btn--rose { background: var(--rose); color: #fff; box-shadow: var(--shadow-sm); }
.btn--rose:hover { background: var(--rose-hover); box-shadow: var(--shadow-hover); transform: translate(2px,2px); }

.btn--sm  { padding: 8px 18px;  font-size: 0.875rem; }
.btn--lg  { padding: 14px 28px; font-size: 1rem; }
.btn--full { width: 100%; }

.btn.is-loading { pointer-events: none; opacity: 0.7; }
.btn.is-loading::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spinSlow 0.6s linear infinite;
  margin-right: 6px;
}

/* ===== 8. BADGES & SECTION HEADINGS ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border: var(--border);
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.badge--pill-red { background: var(--rose-light); color: var(--rose); border: 2px solid var(--rose); padding: 5px 16px; border-radius: 999px; font-weight: 800; font-family: var(--font-main); }

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 14px;
  white-space: pre-line;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--ink-light);
  margin-bottom: 48px;
  max-width: 560px;
}
.text-highlight {
  color: var(--rose);
  font-weight: 800;
}
.status-highlight {
  font-family: var(--font-mono);
  color: #FBBF24 !important;
  font-weight: 800 !important;
  font-size: 1.25em !important;
  display: inline-block;
}

/* Browser chrome dots */
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: var(--border); }
.dot--red    { background: #FF5F57; }
.dot--yellow { background: #FEBC2E; }
.dot--green  { background: #28C840; }

/* ===== 9. NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--surface);
  border-bottom: var(--border);
  height: var(--nav-height);
  transition: background 0.3s ease;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav__logo-icon { color: var(--primary); font-size: 1.2rem; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-mid);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav__link:hover { color: var(--primary); background: var(--bg); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__lang-btn, .nav__theme-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono);
  border: var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.nav__lang-btn:hover, .nav__theme-btn:hover { box-shadow: var(--shadow-hover); transform: translate(2px,2px); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.nav__hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  background: var(--surface);
  border-top: var(--border);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}
.nav__mobile-overlay.is-open { display: flex; }
.nav__mobile-links { display: flex; flex-direction: column; gap: 8px; }
.nav__mobile-link {
  padding: 14px 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  border: var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.nav__mobile-link:hover { background: var(--bg); }

/* ===== 10. MARQUEE BAND ===== */
.marquee-band {
  background: var(--ink);
  border-bottom: var(--border);
  padding: 10px 0;
  overflow: hidden;
  margin-top: var(--nav-height);
  user-select: none;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 0 20px;
}
.marquee-item::after { content: '✦'; color: var(--yellow); margin-left: 20px; }

/* ===== 11. HERO SECTION ===== */
.hero-section {
  padding-top: 80px;
  padding-bottom: 100px;
  background: var(--bg);
  overflow: hidden;
  border-bottom: var(--border);
}
.hero-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-section__copy { display: flex; flex-direction: column; gap: 24px; }
.hero-tag-wrapper { margin-bottom: 4px; }
.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 2.2px solid var(--ink);
  border-radius: 100px;
  padding: 6px 18px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink);
  box-shadow: 3px 3px 0 0 var(--ink);
}
.hero-tag-dot {
  width: 10px; height: 10px;
  background: #FF4A60; /* Vibrant rose */
  border-radius: 50%;
  animation: tagPulse 2s infinite ease-in-out;
}
@keyframes tagPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}
.hero-section__headline {
  font-size: clamp(2.2rem, 3.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: pre-line;
}
.hero-section__headline--accent {
  color: var(--rose);
  display: inline-block;
}
.hero-section__subtext { font-size: 1rem; font-weight: 500; color: var(--ink-light); line-height: 1.75; max-width: 480px; white-space: pre-line; }
.hero-section__ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-section__users { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.hero-section__avatars { display: flex; }
.avatar { width: 32px; height: 32px; border-radius: 50%; border: 2.5px solid var(--surface); margin-left: -10px; }
.avatar:first-child { margin-left: 0; }
.avatar--1 { background: linear-gradient(135deg, #4F46E5, #7C3AED); }
.avatar--2 { background: linear-gradient(135deg, #10B981, #059669); }
.avatar--3 { background: linear-gradient(135deg, #F43F5E, #E11D48); }
.hero-section__users-text { font-size: 0.85rem; color: var(--ink-light); line-height: 1.6; }

/* Mockup Card */
.hero-section__mockup { animation: float 4s ease-in-out infinite; }
.mockup-card {
  background: linear-gradient(145deg, #EEF2FF 0%, #F8F9FA 60%, #FFF1F2 100%);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mockup-card__chrome { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--surface); border-bottom: var(--border); }
.mockup-card__steps { display: grid; grid-template-columns: 1fr 1fr; border-bottom: var(--border); }
.mockup-step { padding: 20px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 150px; }
.mockup-step--1 { background: linear-gradient(135deg, #EEF2FF, #E0E7FF); border-right: var(--border); }
.mockup-step--2 { background: linear-gradient(135deg, #FFF1F2, #FFE4E6); }
.mockup-step__label { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; color: var(--ink-light); letter-spacing: 0.08em; }
.mockup-step__title { font-size: 0.85rem; font-weight: 800; color: var(--ink); }
.mockup-step__visual { flex: 1; display: flex; align-items: center; justify-content: center; }

/* Composition grid visual */
.composition-grid { width: 76px; height: 56px; position: relative; border: 1.5px solid rgba(79,70,229,0.4); border-radius: 4px; }
.comp-line { position: absolute; background: rgba(79,70,229,0.25); }
.comp-line--h { width: 100%; height: 1px; top: 50%; transform: translateY(-50%); }
.comp-line--v { width: 1px; height: 100%; left: 50%; transform: translateX(-50%); }
.comp-dot { position: absolute; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 1.5px solid #fff; animation: pulse 2s ease-in-out infinite; }

/* Style preview visual */
.style-preview { display: flex; gap: 4px; align-items: flex-end; height: 46px; }
.style-brush { width: 16px; border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--rose), #FB7185); }
.style-brush:nth-child(1) { height: 65%; animation: pulse 2s ease-in-out infinite; }
.style-brush--2 { width: 26px; height: 100%; background: linear-gradient(to top, var(--primary), #818CF8); animation: pulse 2s ease-in-out infinite 0.5s; }

/* Mockup action buttons */
.mockup-card__actions { display: flex; flex-direction: column; }
.mockup-action-btn { padding: 9px 14px; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; text-align: left; cursor: default; border-bottom: 1px solid var(--ink-xlight); }
.mockup-action-btn:last-child { border-bottom: none; }
.mockup-action-btn--primary  { background: var(--primary-light); color: var(--primary); }
.mockup-action-btn--secondary { background: var(--rose-light); color: var(--rose); }
.mockup-action-btn--dark { background: var(--ink); color: #fff; }

/* ===== 12. PAIN POINTS SECTION ===== */
.pain-section { background: var(--surface); border-bottom: var(--border); }
.pain-section__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.pain-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.pain-card:hover { box-shadow: var(--shadow-hover); transform: translate(3px,3px); }

.pain-card--rose    { background-color: var(--rose-light); }
.pain-card--indigo  { background-color: var(--primary-light); }
.pain-card--emerald { background-color: var(--emerald-light); }

.pain-card__icon { font-size: 1.75rem; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: var(--border); border-radius: 10px; flex-shrink: 0; box-shadow: 2.5px 2.5px 0 0 var(--ink); }
.pain-card__icon--rose    { background: var(--rose); }
.pain-card__icon--indigo  { background: var(--primary); }
.pain-card__icon--emerald { background: var(--emerald); }

.pain-card__title { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-top: 8px; }
.pain-card__amount { font-family: var(--font-main); font-size: 1.625rem; font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; }
.pain-card--rose    .pain-card__amount { color: var(--rose); }
.pain-card--indigo  .pain-card__amount { color: var(--primary); }
.pain-card--emerald .pain-card__amount { color: var(--emerald); }
.pain-card__desc { font-size: 0.875rem; color: var(--ink-mid); line-height: 1.65; white-space: pre-line; }

/* ===== 13. CORE VALUE SECTION ===== */
.value-section { background: var(--surface); border-bottom: var(--border); }
.value-section__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.value-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.value-card:hover { box-shadow: var(--shadow-hover); transform: translate(3px,3px); }

.value-card--emerald { background-color: var(--emerald-light); }
.value-card--indigo  { background-color: var(--primary-light); }
.value-card--rose    { background-color: var(--rose-light); }

.value-card__icon { font-size: 1.85rem; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border: var(--border); border-radius: 10px; flex-shrink: 0; box-shadow: 2.5px 2.5px 0 0 var(--ink); }
.value-card__icon--emerald { background: var(--emerald); }
.value-card__icon--indigo  { background: var(--primary); }
.value-card__icon--rose    { background: var(--rose); }

.value-card__title { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-top: 4px; }
.value-card__highlight { font-family: var(--font-main); font-size: 1.625rem; font-weight: 900; line-height: 1.1; margin-bottom: 2px; letter-spacing: -0.02em; }
.value-card--emerald .value-card__highlight { color: var(--emerald); }
.value-card--indigo  .value-card__highlight { color: var(--primary); }
.value-card--rose    .value-card__highlight { color: var(--rose); }

.value-card__desc  { font-size: 0.875rem; color: var(--ink-mid); line-height: 1.7; flex: 1; white-space: pre-line; }

/* ===== 14. HOW IT WORKS SECTION ===== */
.how-section { background: var(--bg); border-bottom: var(--border); }
.how-section__steps { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin-top: 48px; }
.how-step { padding: 40px 32px; display: flex; flex-direction: column; gap: 24px; }

.how-step__header { display: flex; flex-direction: column; gap: 8px; }
.how-step__label { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; color: var(--ink-mid); opacity: 0.8; letter-spacing: 0.05em; }
.how-step--1 .how-step__label { color: var(--emerald); }
.how-step--2 .how-step__label { color: var(--rose); }

.how-step__title-row { display: flex; align-items: center; gap: 12px; }
.how-step__num { width: 32px; height: 32px; border-radius: 8px; border: var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-main); font-size: 1rem; font-weight: 900; color: #fff; flex-shrink: 0; }
.how-step--1 .how-step__num { background: var(--emerald); }
.how-step--2 .how-step__num { background: var(--rose); }
.how-step__title { font-size: 1.25rem; font-weight: 800; color: var(--ink); }

.how-step__preview { 
  background: var(--surface); 
  border: 2px dashed var(--ink-xlight); 
  border-radius: var(--radius); 
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.how-step--1 .how-step__preview { background-color: var(--emerald-light); border-color: var(--emerald); }
.how-step--2 .how-step__preview--rose { background-color: var(--rose-light); border-color: var(--rose); } /* added --rose class to preview if needed, but the current html uses how-step--2 on parent */
.how-step--2 .how-step__preview { background-color: var(--rose-light); border-color: var(--rose); }

.preview-inner { text-align: center; }
.preview-icon { margin-bottom: 12px; opacity: 0.6; }
.how-step--1 .preview-icon { color: var(--emerald); }
.how-step--2 .preview-icon { color: var(--rose); }
.preview-text { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; margin-bottom: 4px; color: var(--ink); letter-spacing: 0.05em; }
.preview-sub { font-size: 0.7rem; color: var(--ink-mid); opacity: 0.7; }

.how-step__feats { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.how-step__feats li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; font-weight: 500; color: var(--ink-mid); line-height: 1.5; }
.feat-num { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: #fff; flex-shrink: 0; margin-top: 1px; }
.how-step--1 .feat-num { background: var(--emerald); }
.how-step--2 .feat-num { background: var(--rose); }

.how-section__arrow { display: flex; align-items: center; justify-content: center; }
.arrow-circle { width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid #111827; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; color: #111827; box-shadow: 3px 3px 0 0 #111827; flex-shrink: 0; }

/* ===== 14. COMPARE SECTION ===== */
.compare-section { background: var(--surface); border-bottom: var(--border); }
.compare-section__wrapper { 
  display: grid; 
  grid-template-columns: 1fr auto 1fr; 
  gap: 24px; 
  align-items: center; /* Centered vertically */
  margin-top: 48px; 
}
.compare-col { overflow: hidden; display: flex; flex-direction: column; gap: 0; }
.compare-col--before { box-shadow: none !important; border: var(--border); }

.compare-col__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.compare-col__header { 
  padding: 18px 24px; 
  font-family: var(--font-mono); 
  font-size: 0.85rem; 
  font-weight: 700; 
  background: var(--bg); 
  border-bottom: var(--border); 
  color: var(--ink-mid); 
}
.compare-col__header--after { background: var(--primary); color: #fff; border-bottom: none; }

.compare-row { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 14px 20px; 
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease;
}

.compare-col--before .compare-row {
  background: #FFF5F5; /* Light red/pink bg */
  border: 1px solid #FFE3E3;
}
.compare-col--before .compare-row:last-child {
  background: #E9ECEF; /* Light gray from image 1 */
  border: 1.5px solid #DEE2E6;
  margin-top: 12px;
}

.compare-col--after .compare-row {
  background: #F0FFF4; /* Light green bg */
  border: 1px solid #C6F6D5;
}
.compare-col--after .compare-row:last-child {
  background: var(--primary); /* Indigo/Blue from image 2 */
  border: none;
  margin-top: 12px;
}

.compare-row__label { font-size: 0.9rem; font-weight: 700; color: var(--ink-mid); }
.compare-col--before .compare-row:last-child .compare-row__label { color: var(--ink-mid); }
.compare-col--after .compare-row:last-child .compare-row__label { color: #fff; }

.compare-row__value { 
  font-family: var(--font-main); 
  font-size: 0.95rem; 
  font-weight: 800; 
}

.compare-row__value--bad { color: #E53E3E; }
.compare-col--before .compare-row:last-child .compare-row__value--bad { color: var(--ink); }

.compare-row__value--good { color: #38A169; }
.compare-col--after .compare-row:last-child .compare-row__value--good { color: var(--yellow); }

.compare-section__arrow { display: flex; align-items: center; justify-content: center; }
.arrow-circle--lg { 
  width: 52px; 
  height: 52px; 
  border-radius: 50%; 
  border: 2.5px solid #111827; 
  background: var(--yellow); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.75rem; 
  font-weight: 300; /* Thinner arrow */
  color: #111827;
  box-shadow: 4px 4px 0 0 #111827; 
  flex-shrink: 0; 
  line-height: 1;
  padding-bottom: 2px; /* Center arrow character properly */
}

/* ===== 15. PRICING SECTION ===== */
.pricing-section { background: var(--bg); }
.pricing-section__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; align-items: start; }
.pricing-card {
  position: relative; /* For absolute badge */
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 0 var(--ink);
  padding: 40px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.pricing-card:hover { box-shadow: 3px 3px 0 0 var(--ink); transform: translate(3px,3px); }

.pricing-card--highlight {
  border-color: var(--primary);
  border-width: 3px;
  box-shadow: 8px 8px 0 0 var(--primary);
  background: var(--surface);
}
.pricing-card--highlight:hover { 
  box-shadow: 4px 4px 0 0 var(--primary); 
}
.pricing-card__header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pricing-card__name { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-light); }
.pricing-card__badge { 
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono); 
  font-size: 0.65rem; 
  font-weight: 800; 
  padding: 6px 14px; 
  background: var(--yellow); 
  color: var(--ink); 
  border: 2.5px solid var(--ink); 
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 2px 2px 0 0 var(--ink);
}
.pricing-card__price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.pricing-card__price-num { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 900; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.pricing-card__price-period { font-size: 0.9rem; font-weight: 600; color: var(--ink-mid); opacity: 0.7; }
.pricing-card__price-krw { font-size: 0.8rem; font-weight: 600; color: var(--ink-light); width: 100%; margin-top: 4px; }
.pricing-card__credits { 
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 800; 
  color: var(--primary); 
  background: var(--primary-light); 
  border: 1.5px solid var(--primary); 
  padding: 10px; border-radius: 8px; text-align: center; 
}
.pricing-card__features { display: flex; flex-direction: column; gap: 12px; flex: 1; padding-top: 8px; }
.pricing-card__feature { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--ink-mid); }
.pricing-card__feature::before { 
  content: '✓'; 
  width: 20px; height: 20px; 
  border-radius: 50%; 
  background: var(--ink-xlight); 
  color: #fff; 
  font-size: 0.65rem; 
  font-weight: 900; 
  display: flex; align-items: center; justify-content: center; 
  flex-shrink: 0; 
}
.pricing-card--highlight .pricing-card__feature::before { background: var(--primary); }
.pricing-card__cta {
  display: flex !important; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 12px 20px;
  font-family: var(--font-main); font-weight: 700; font-size: 0.9rem;
  border: var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.pricing-card__cta:hover { background: var(--ink); color: var(--surface); box-shadow: var(--shadow-hover); transform: translate(2px,2px); }
.pricing-card--highlight .pricing-card__cta { background: var(--primary); color: #fff; border-color: var(--primary); }
.pricing-card--highlight .pricing-card__cta:hover { background: var(--primary-hover); }
.pricing-note { text-align: center; font-size: 0.78rem; color: var(--ink-light); margin-top: 24px; font-family: var(--font-mono); }

/* ===== 16. WAITLIST SECTION ===== */
.waitlist-section { padding: 0; }
.waitlist-section__bg { background: var(--dark-bg); position: relative; overflow: hidden; padding: 100px 0; }

/* Status Bar (Image 3) */
.waitlist-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.status-avatars { display: flex; align-items: center; }
.sdot {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--dark-bg);
  margin-left: -8px;
}
.sdot:first-child { margin-left: 0; }
.sdot--rose { background: var(--rose); }
.sdot--emerald { background: var(--emerald); }
.sdot--yellow { background: var(--yellow); }
.sdot--indigo { background: var(--primary); }
.status-text { color: #fff; font-size: 0.85rem; font-weight: 700; opacity: 0.95; }

.waitlist-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 10px 10px 0 0 var(--rose);
  padding: 48px 48px;
  display: flex; flex-direction: column; gap: 24px;
  align-items: center; text-align: center;
  color: var(--ink);
}
.waitlist-section__title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; color: var(--ink); line-height: 1.25; }
.waitlist-section__subtitle { font-size: 0.95rem; color: var(--ink-mid); max-width: 480px; font-weight: 500; }

.waitlist-form { width: 100%; max-width: 520px; }
.waitlist-form__group {
  display: flex;
  gap: 10px;
  width: 100%;
}
.waitlist-form__input {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg);
  border: var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  color: var(--ink);
  font-size: 0.9375rem;
}
.waitlist-form__btn { 
  padding: 14px 24px; 
  font-size: 0.9rem; 
  border-radius: var(--radius-sm); 
  border: var(--border); 
  background: var(--rose); 
  color: #fff; 
  font-weight: 800; 
  cursor: pointer; 
  font-family: var(--font-main); 
  box-shadow: 3px 3px 0 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.waitlist-form__btn:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 0 var(--ink); }
.waitlist-section__footnote { font-size: 0.78rem; color: #6B7280; margin-top: 12px; }

.waitlist-form__message {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}
.waitlist-form__message:not(:empty) {
  max-height: 80px;
  opacity: 1;
  padding: 12px 16px;
  margin-top: 12px;
}
.waitlist-form__message--success {
  background: #F0FDF4;
  border: 2px solid #10B981;
  color: #065F46;
}
.waitlist-form__message--success::before {
  content: "✓  ";
  font-weight: 800;
  color: #10B981;
}
.waitlist-form__message--error {
  background: #FFF1F2;
  border: 2px solid #F43F5E;
  color: #9F1239;
}
.waitlist-form__message--error::before {
  content: "✕  ";
  font-weight: 800;
  color: #F43F5E;
}

/* ===== 17. FAQ SECTION ===== */
.faq-section { background: var(--surface); border-bottom: var(--border); }
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-item { background: var(--surface); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow 0.2s ease; }
.faq-item.is-open { box-shadow: var(--shadow); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 1rem; font-weight: 700; color: var(--ink); cursor: pointer; user-select: none; width: 100%; text-align: left; background: transparent; border: none; font-family: var(--font-main); transition: background 0.15s ease; }
.faq-question:hover { background: var(--bg); }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; border: var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; transition: transform 0.3s ease, background 0.2s ease, border-color 0.2s ease; background: var(--surface); color: var(--ink); }
.faq-item.is-open .faq-icon { background: var(--primary); color: #fff; border-color: var(--primary); transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer__inner { overflow: hidden; }
.faq-answer__content { padding: 0 24px 20px; font-size: 0.9375rem; color: var(--ink-light); line-height: 1.75; border-top: 1px solid var(--ink-xlight); padding-top: 16px; margin-top: 0; }

/* ===== 18. FOOTER ===== */
.footer { background: var(--surface); padding: 32px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1rem; color: var(--ink); letter-spacing: -0.02em; }
.footer__links { display: flex; align-items: center; gap: 16px; }
.footer__link { font-size: 0.8125rem; color: var(--ink-light); transition: color 0.15s ease; }
.footer__link:hover { color: var(--ink); }
.footer__copy { font-size: 0.8125rem; color: var(--ink-light); font-family: var(--font-mono); }

/* ===== 19. DARK MODE COMPONENT OVERRIDES ===== */

/* Marquee Band */
[data-theme="dark"] .marquee-item {
  color: var(--dark-bg);
}
[data-theme="dark"] .marquee-item::after { 
  color: var(--primary);
}

/* Hero mockup — replace light gradients */
[data-theme="dark"] .mockup-card {
  background: linear-gradient(145deg, #1E1B4B 0%, #1E293B 60%, #1F0A0D 100%);
}
[data-theme="dark"] .mockup-step--1 {
  background: linear-gradient(135deg, #1E1B4B, #312E81);
}
[data-theme="dark"] .mockup-step--2 {
  background: linear-gradient(135deg, #1F0A0D, #3B0D1A);
}
[data-theme="dark"] .mockup-card__chrome {
  background: var(--dark-surface);
}

/* Compare rows — replace hardcoded light colors */
[data-theme="dark"] .compare-col--before .compare-row {
  background: #2D1A1A;
  border-color: #5C2626;
}
[data-theme="dark"] .compare-col--before .compare-row:last-child {
  background: #1E293B;
  border-color: #334155;
}
[data-theme="dark"] .compare-col--after .compare-row {
  background: #0D2E1F;
  border-color: #1A5438;
}

/* Pain / Value card icon shadow in dark mode */
[data-theme="dark"] .pain-card__icon,
[data-theme="dark"] .value-card__icon {
  box-shadow: 2.5px 2.5px 0 0 rgba(0, 0, 0, 0.85);
  border-color: #334155;
}

/* ===== 20. RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__actions .btn--sm { display: none; }

  .hero-section__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-section__mockup { animation: none; max-width: 460px; margin: 0 auto; width: 100%; }

  .pain-section__grid  { grid-template-columns: 1fr; gap: 16px; }
  .value-section__grid { grid-template-columns: 1fr; gap: 16px; }

  .how-section__steps { grid-template-columns: 1fr; gap: 16px; }
  .how-section__arrow { transform: rotate(90deg); }

  .compare-section__wrapper { grid-template-columns: 1fr; gap: 0; }
  .compare-col--before { border-radius: var(--radius) var(--radius) 0 0; }
  .compare-col--after  { border-radius: 0 0 var(--radius) var(--radius); border-top: none; }
  .compare-section__arrow { padding-top: 0; justify-content: center; transform: rotate(90deg); margin: 12px 0; }

  .pricing-section__grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-card--highlight { transform: none; }
  .pricing-card--highlight:hover { transform: translate(3px,3px); }

  .waitlist-card { padding: 36px 28px; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }

  .hero-section { padding-top: 64px; padding-bottom: 72px; }
  .hero-section__headline { font-size: clamp(1.875rem, 8vw, 2.5rem); }
  .hero-section__ctas { flex-direction: column; align-items: stretch; }

  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  .how-step { padding: 24px 20px; }
  .pain-card { padding: 24px 20px; }

  .waitlist-card { padding: 28px 20px; }
  .waitlist-section__title { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .waitlist-form__group { flex-direction: column; }
  .waitlist-form__btn { border-left: none; border-top: 1.5px solid rgba(241,245,249,0.15); padding: 14px; }
}

/* ===== 21. REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== 22. SNACKBAR NOTIFICATION ===== */
.snackbar-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.snackbar {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  pointer-events: auto;
  min-width: 300px;
}
.snackbar.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.snackbar__icon {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.snackbar__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.snackbar__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.snackbar__message {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.snackbar__message .text-highlight {
  font-weight: 800;
  color: var(--rose);
}

@media (max-width: 600px) {
  .snackbar-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  .snackbar {
    width: 100%;
    min-width: 0;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
#tc-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
#tc-cookie-banner.tc-cookie-banner--show { transform: translateY(0); }
#tc-cookie-banner.tc-cookie-banner--hide { transform: translateY(100%); }
.tc-cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.tc-cookie-banner__text {
  flex: 1;
  min-width: 200px;
  font-size: 0.85rem;
  color: var(--ink-light);
  line-height: 1.6;
}
.tc-cookie-banner__text strong { color: var(--ink); }
.tc-cookie-banner__text a { color: var(--primary); text-decoration: underline; }
.tc-cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }
}
