/* 미투디스크 쿠폰 - Design System */
:root {
  --primary: #1e6dff;
  --primary-dark: #0a4fd1;
  --primary-light: #e8f0ff;
  --accent: #ff6b35;
  --bg: #ffffff;
  --bg-soft: #f6f9ff;
  --text: #0f1a2e;
  --muted: #5a6478;
  --border: #e2e8f3;
  --success: #10b981;
  --warning: #f59e0b;
  --radius: 14px;
  --shadow-sm: 0 2px 6px rgba(15, 26, 46, 0.05);
  --shadow: 0 8px 28px rgba(30, 109, 255, 0.10);
  --shadow-lg: 0 20px 50px rgba(30, 109, 255, 0.18);
  --max: 1120px;
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; color: var(--text);
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), #5e9bff);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px;
}
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--primary); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--primary-light) 0%, #ffffff 100%);
  padding: 64px 20px 56px;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-block; background: #fff;
  color: var(--primary); font-weight: 700; font-size: 13px;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.2; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--primary); }
.hero p.lead {
  font-size: 18px; color: var(--muted); margin-bottom: 26px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; transition: all .2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); text-decoration: none; }
.btn-ghost {
  background: #fff; color: var(--text); border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.hero-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* Section */
section { padding: 64px 20px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-soft { background: var(--bg-soft); }
.section-title {
  font-size: clamp(24px, 3vw, 32px); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 12px; text-align: center;
}
.section-sub {
  text-align: center; color: var(--muted); max-width: 720px;
  margin: 0 auto 40px; font-size: 16px;
}

/* Coupon cards */
.coupon-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 8px;
}
.coupon-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 26px 22px;
  position: relative; transition: all .25s ease;
  overflow: hidden;
}
.coupon-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--primary), #5e9bff);
}
.coupon-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.coupon-label {
  font-size: 12px; font-weight: 700; color: var(--primary);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.coupon-code {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 22px; font-weight: 800; color: var(--text);
  margin: 10px 0 16px; word-break: break-all;
}
.coupon-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted); margin-bottom: 14px;
}
.copy-btn {
  width: 100%; background: var(--primary); color: #fff;
  border: none; padding: 11px 14px; border-radius: 10px;
  font-weight: 700; font-size: 14px; cursor: pointer;
  transition: background .2s;
}
.copy-btn:hover { background: var(--primary-dark); }
.copy-btn.copied { background: var(--success); }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; position: relative;
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 16px; margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* Feature grid with images */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature img { aspect-ratio: 16/10; object-fit: cover; }
.feature .body { padding: 20px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* Image-text alt */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-size: 26px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.01em; }
.split p { color: var(--muted); margin-bottom: 12px; }
.split ul { list-style: none; padding: 0; }
.split li {
  padding: 8px 0 8px 28px; position: relative; color: var(--text);
}
.split li::before {
  content: '✓'; position: absolute; left: 0; color: var(--primary);
  font-weight: 800;
}

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
table.compare {
  width: 100%; border-collapse: collapse; min-width: 640px;
}
.compare th, .compare td {
  padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.compare thead th {
  background: var(--primary); color: #fff; font-weight: 700; font-size: 14px;
}
.compare tbody tr:hover { background: var(--bg-soft); }
.compare td.highlight { color: var(--primary); font-weight: 700; }
.badge {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.badge-orange { background: #fff1e8; color: var(--accent); }

/* Calculator */
.calc {
  background: #fff; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  max-width: 720px; margin: 0 auto;
}
.calc-row { display: flex; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.calc-field { flex: 1; min-width: 200px; }
.calc-field label {
  display: block; font-size: 13px; font-weight: 700; color: var(--text);
  margin-bottom: 6px;
}
.calc-field input, .calc-field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 15px; font-family: var(--font);
  background: #fff; color: var(--text);
}
.calc-field input:focus, .calc-field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,109,255,0.15);
}
.calc-result {
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 1px solid var(--primary); border-radius: 12px;
  padding: 22px; text-align: center; margin-top: 18px;
}
.calc-result .num {
  font-size: 36px; font-weight: 800; color: var(--primary);
  display: block; margin: 6px 0;
}
.calc-result .label { font-size: 13px; color: var(--muted); }
.calc-breakdown {
  margin-top: 16px; font-size: 14px; color: var(--muted);
  text-align: left; padding: 12px 16px; background: #f6f9ff; border-radius: 10px;
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 22px; font-size: 16px; font-weight: 700; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text); font-family: var(--font);
}
.faq-q::after {
  content: '+'; font-size: 22px; color: var(--primary); font-weight: 400;
  transition: transform .2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 22px; max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  color: var(--muted); font-size: 15px; line-height: 1.7;
}
.faq-item.open .faq-a { padding: 0 22px 20px; max-height: 500px; }

/* Footer */
footer {
  background: #0f1a2e; color: #c5cad6; padding: 40px 20px;
  text-align: center; font-size: 14px;
}
footer a { color: #93b5ff; }
.footer-links { display: flex; gap: 18px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--text); color: #fff; padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; z-index: 100;
  transition: transform .3s ease; box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* Responsive */
@media (max-width: 860px) {
  .hero { padding: 40px 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .coupon-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  section { padding: 44px 20px; }
}
