/* ============================================================
   ResellZero — Landing Page Styles (Light Minimal Theme)
   Pretendard · #E24B4A Blue · Toss/Apple Style
   ============================================================ */

/* ── Light Theme Token Override ─────────────────────────── */
body {
  --bg-base:        #FFFFFF;
  --bg-surface:     #F9FAFB;
  --bg-elevated:    #F3F4F6;
  --bg-overlay:     #FFFFFF;
  --bg-hover:       rgba(0,0,0,0.04);
  --border-subtle:  rgba(0,0,0,0.07);
  --border-default: rgba(0,0,0,0.11);
  --border-strong:  rgba(0,0,0,0.18);
  --border-brand:   rgba(226,75,74,0.30);
  --text-primary:   #191F28;
  --text-secondary: #6B7684;
  --text-tertiary:  #9CA3AF;
  --text-inverse:   #FFFFFF;
  --brand-500:      #E24B4A;
  --brand-gradient: linear-gradient(135deg, #E24B4A 0%, #F07171 100%);
  --brand-glow:     0 0 60px rgba(226,75,74,0.12);
  --brand-glow-sm:  0 0 24px rgba(226,75,74,0.08);
  --color-danger:     #EF4444;
  --color-danger-bg:  rgba(239,68,68,0.08);
  --color-warning:    #F59E0B;
  --color-warning-bg: rgba(245,158,11,0.08);
  --color-success:    #10B981;
  --color-success-bg: rgba(16,185,129,0.08);
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.11);
  --shadow-xl: 0 16px 64px rgba(0,0,0,0.13);
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

/* ── Global Reset for Landing ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; }

/* ── Pretendard Font ────────────────────────────────────── */
/* (loaded via <link> in HTML head) */

/* ── Container ──────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  padding: 10px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: all 150ms var(--ease-default);
  border: 1.5px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn-sm  { padding: 8px 16px; font-size: var(--text-xs); }
.btn-xl  { padding: 14px 28px; font-size: var(--text-base); font-weight: var(--weight-bold); }

.btn-primary {
  background: #E24B4A;
  color: #FFFFFF;
  border-color: #E24B4A;
}
.btn-primary:hover {
  background: #CC3A39;
  border-color: #CC3A39;
  box-shadow: 0 4px 16px rgba(226,75,74,0.28);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary);
  border-color: var(--border-default);
}
.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

/* ── Badges (shared) ─────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: var(--weight-bold);
}
.badge-danger  { background: var(--color-danger-bg);  color: var(--color-danger);  }
.badge-warning { background: var(--color-warning-bg); color: var(--color-warning); }
.badge-success { background: var(--color-success-bg); color: var(--color-success); }
.badge-neutral {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* ── Inputs ──────────────────────────────────────────────── */
.input-group  { display: flex; flex-direction: column; gap: var(--space-2); }
.input-label  { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--text-primary); }
.input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: border-color 150ms;
  outline: none;
}
.input::placeholder { color: var(--text-tertiary); }
.input:focus { border-color: #E24B4A; box-shadow: 0 0 0 3px rgba(226,75,74,0.12); }

/* ── Modal ───────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.30);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
}
.modal-header { margin-bottom: var(--space-6); }
.modal-title  { font-size: var(--text-xl); font-weight: var(--weight-bold); color: var(--text-primary); margin-bottom: var(--space-1); }
.modal-subtitle { font-size: var(--text-sm); color: var(--text-secondary); }
.modal-tabs {
  display: flex;
  gap: 0;
  margin-bottom: var(--space-6);
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 3px;
}
.modal-tab {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: calc(var(--radius-md) - 2px);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 150ms;
}
.modal-tab.active {
  background: #FFFFFF;
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
  font-weight: var(--weight-semibold);
}

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--duration-slow) var(--ease-default),
              box-shadow var(--duration-slow) var(--ease-default);
}
.nav.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-logo svg { flex-shrink: 0; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.nav-logo-brand {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  line-height: 1;
}
.nav-logo-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-tertiary);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  transition: color var(--duration-fast), background var(--duration-fast);
  text-decoration: none;
}
.nav-links a:hover { color: var(--text-primary); background: var(--bg-hover); }
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-mobile-btn span {
  width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--duration-base);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: #FFFFFF;
  overflow: hidden;
}

/* Subtle dot pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.055) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 40%, black 30%, transparent 100%);
  pointer-events: none;
}

/* Remove old dark orbs/grid */
.hero-bg, .hero-orb, .hero-grid { display: none; }

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-24) var(--space-6) var(--space-20);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Old hero-text wrapper — just a width limiter now */
.hero-text {
  max-width: 740px;
  width: 100%;
  display: contents; /* flatten into flex parent */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(226,75,74,0.07);
  border: 1px solid rgba(226,75,74,0.18);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: #E24B4A;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-6);
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: #E24B4A;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  font-weight: var(--weight-extrabold);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  max-width: 700px;
}
.hero-title-accent { color: #E24B4A; }
.line-colored { display: block; }
.text-gradient {
  background: linear-gradient(135deg, #E24B4A 0%, #F07171 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-10);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
}
.hero-avatars { display: flex; margin-right: var(--space-2); }
.hero-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: linear-gradient(135deg, #E24B4A, #F07171);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-left: -8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.hero-avatar:first-child { margin-left: 0; }
.hero-proof-text { font-size: var(--text-sm); color: var(--text-secondary); }
.hero-proof-text strong { color: var(--text-primary); }

/* Hero visual — centered mockup below text */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 640px;
  display: flex;
  justify-content: center;
}
.hero-mockup {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.04);
}
.hero-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}
.hero-mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-mockup-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Mini stat cards */
.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.mockup-stat {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.mockup-stat-label {
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.mockup-stat-value {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}
.mockup-stat-change      { font-size: 10px; color: var(--color-danger); margin-top: 2px; }
.mockup-stat-change.up   { color: var(--color-success); }

/* Mini list rows */
.mockup-list { display: flex; flex-direction: column; gap: var(--space-2); }
.mockup-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: left;
  animation: fadeSlideIn 0.4s var(--ease-out) both;
}
.mockup-row:nth-child(1) { animation-delay: 0.1s; }
.mockup-row:nth-child(2) { animation-delay: 0.25s; }
.mockup-row:nth-child(3) { animation-delay: 0.4s; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.mockup-row-icon {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0;
}
.mockup-row-icon.danger  { background: var(--color-danger-bg);  }
.mockup-row-icon.warning { background: var(--color-warning-bg); }
.mockup-row-icon.success { background: var(--color-success-bg); }
.mockup-row-info { flex: 1; min-width: 0; }
.mockup-row-name {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mockup-row-sub { font-size: 10px; color: var(--text-tertiary); margin-top: 1px; }

/* Floating badges */
.hero-float-card {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  animation: floatCard 3s ease-in-out infinite;
}
.hero-float-card-1 { top: -16px; right: -16px; animation-delay: 0s; }
.hero-float-card-2 { bottom: 32px; left: -24px; animation-delay: 1.5s; }
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ── Section Common ─────────────────────────────────────── */
.section    { padding: var(--space-24) 0; position: relative; }
.section-sm { padding: var(--space-16) 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: #E24B4A;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}
.section-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: var(--leading-relaxed);
}
.section-header             { margin-bottom: var(--space-16); }
.section-header.centered    { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* ── Problem Section ────────────────────────────────────── */
.problem-section { background: var(--bg-surface); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.problem-card {
  padding: var(--space-8);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base);
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-danger);
  opacity: 0.65;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-icon  { font-size: 2rem; margin-bottom: var(--space-4); }
.problem-title { font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--text-primary); margin-bottom: var(--space-2); }
.problem-desc  { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); }
.problem-stat  {
  display: inline-block;
  margin-top: var(--space-4);
  padding: 4px 10px;
  background: var(--color-danger-bg);
  color: var(--color-danger);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  border-radius: var(--radius-sm);
}

/* ── Features Section ───────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.feature-card {
  padding: var(--space-8);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: all var(--duration-base) var(--ease-out);
}
.feature-card:hover {
  border-color: rgba(226,75,74,0.22);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
}
.feature-card.featured {
  background: linear-gradient(135deg, rgba(226,75,74,0.04) 0%, rgba(96,165,250,0.02) 100%);
  border-color: rgba(226,75,74,0.18);
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-5);
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xs);
}
.feature-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}
.feature-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); }
.feature-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.feature-tag {
  padding: 4px 12px;
  background: rgba(226,75,74,0.06);
  border: 1px solid rgba(226,75,74,0.14);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: #E24B4A;
  font-weight: var(--weight-medium);
}

/* ── How It Works ───────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
/* 7단계 흐름용 — 데스크톱에서 4+3 배치 */
.steps-7 {
  grid-template-columns: repeat(4, 1fr);
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.67% + 32px);
  right: calc(16.67% + 32px);
  height: 1px;
  background: linear-gradient(90deg, var(--border-subtle), #E24B4A 50%, var(--border-subtle));
}
.steps-7::before { display: none; }
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-6);
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--border-default);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  position: relative; z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-base);
  flex-shrink: 0;
}
.step:hover .step-num {
  background: rgba(226,75,74,0.06);
  border-color: #E24B4A;
  color: #E24B4A;
  box-shadow: 0 0 0 5px rgba(226,75,74,0.10);
}
.step-title { font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--text-primary); margin-bottom: var(--space-3); }
.step-desc  { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); }

/* ── Stats Counter ──────────────────────────────────────── */
.stats-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  text-align: center;
}
.stat-item { padding: var(--space-6); }
.stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #E24B4A 0%, #F07171 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
}
.stat-label { font-size: var(--text-sm); color: var(--text-secondary); font-weight: var(--weight-medium); }

/* ── Pricing ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--duration-base) var(--ease-out);
}
.pricing-card:hover {
  border-color: var(--border-default);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
}
.pricing-card.popular {
  background: #FFFFFF;
  border-color: #E24B4A;
  box-shadow: 0 0 0 1px #E24B4A, var(--shadow-md);
  transform: translateY(-8px);
}
.pricing-card.popular:hover { transform: translateY(-12px); }
.pricing-popular-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: #E24B4A;
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.pricing-plan {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: var(--space-2); }
.pricing-amount { font-size: 2.5rem; font-weight: var(--weight-extrabold); color: var(--text-primary); letter-spacing: -0.04em; }
.pricing-period { font-size: var(--text-sm); color: var(--text-tertiary); }
.pricing-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}
.pricing-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-8); }
.pricing-feature { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-sm); color: var(--text-secondary); }
.pricing-feature-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-feature-check.on  { background: var(--color-success-bg); color: var(--color-success); }
.pricing-feature-check.off { background: var(--bg-elevated); color: var(--text-tertiary); }

/* ── CTA Section ────────────────────────────────────────── */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
}
.cta-inner {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-20) var(--space-12);
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}
.cta-desc { font-size: var(--text-lg); color: var(--text-secondary); margin-bottom: var(--space-10); }
.cta-actions { display: flex; justify-content: center; gap: var(--space-3); }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-16) 0 var(--space-10);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-top: var(--space-4);
  max-width: 240px;
  line-height: var(--leading-relaxed);
}
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
}
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a,
.footer-link-btn { font-size: var(--text-sm); color: var(--text-secondary); transition: color var(--duration-fast); text-decoration: none; }
.footer-links a:hover,
.footer-link-btn:hover { color: var(--text-primary); }
.footer-link-btn { background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
}
.footer-copy { font-size: var(--text-sm); color: var(--text-tertiary); }

/* ── Toast (UI feedback) ─────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .problem-grid              { grid-template-columns: repeat(2, 1fr); }
  .features-grid             { grid-template-columns: 1fr; }
  .feature-card.featured     { grid-column: span 1; grid-template-columns: 1fr; }
  .stats-grid                { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid              { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.popular      { transform: none; }
  .pricing-card.popular:hover{ transform: translateY(-4px); }
  .footer-inner              { grid-template-columns: 1fr 1fr; }
}

/* ── 모바일 전용 줄바꿈 태그 ── */
.br-mobile { display: none; }

/* ── 한글 단어 단위 줄바꿈 (모든 해상도 적용) ── */
.hero-title,
.hero-desc,
.hero-badge,
.hero-proof-text,
.section-title,
.section-desc,
.problem-title,
.problem-desc,
.feature-title,
.feature-desc,
.step-title,
.step-desc,
.cta-title,
.cta-desc,
.pricing-name,
.pricing-desc,
.pricing-feature,
.footer-links a,
.stat-label {
  word-break: keep-all;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  /* ── 네비게이션 ── */
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-4) var(--space-6) var(--space-6);
    gap: 0;
    z-index: 400;
    box-shadow: var(--shadow-md);
  }
  .nav-links.mobile-open li a {
    display: block;
    padding: 14px 0;
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.mobile-open li:last-child a { border-bottom: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-mobile-btn { display: flex; }

  /* 햄버거 → X 애니메이션 */
  .nav-mobile-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-mobile-btn.active span:nth-child(2) { opacity: 0; }
  .nav-mobile-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── 콘텐츠 ── */
  .hero-content    { padding: var(--space-16) var(--space-4) var(--space-12); }
  .hero-title      { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions    { flex-direction: column; }
  .hero-actions .btn { justify-content: center; width: 100%; max-width: 320px; }
  .hero-float-card-1, .hero-float-card-2 { display: none; }
  .problem-grid    { grid-template-columns: 1fr; }

  /* steps: 모바일에서 가로(번호 + 텍스트) 레이아웃 */
  .steps, .steps-7 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .steps::before   { display: none; }
  .steps-7::before { display: none; }
  .step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  .step:last-child { border-bottom: none; }
  .step-num {
    width: 40px; height: 40px;
    font-size: var(--text-base);
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .step-body { flex: 1; min-width: 0; }
  .step-title { font-size: var(--text-base); margin-bottom: var(--space-1); }
  .step-desc  { font-size: var(--text-xs); }

  .stats-grid      { grid-template-columns: repeat(2, 1fr); }

  /* ── 푸터 모바일 ── */
  .footer              { padding: var(--space-8) 0 var(--space-6); }
  .footer-inner        { grid-template-columns: 1fr 1fr 1fr; gap: var(--space-5) var(--space-3); margin-bottom: var(--space-6); }
  .footer-brand        { grid-column: 1 / -1; }
  .footer-brand p      { display: none; }
  .footer-col-title    { font-size: 10px; margin-bottom: var(--space-2); }
  .footer-links        { gap: var(--space-2); }
  .footer-links a      { font-size: 12px; }
  .footer-bottom       { flex-direction: column; gap: var(--space-2); text-align: center; padding-top: var(--space-4); }
  .footer-copy         { font-size: 11px; }

  .cta-inner       { padding: var(--space-12) var(--space-6); }
  .cta-actions     { flex-direction: column; }
  .cta-actions .btn { justify-content: center; }

  /* 모바일 전용 줄바꿈 활성화 */
  .br-mobile { display: inline; }
}
