/* Reset & base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { font-size: 112.5%; }
body { font-family: 'Pretendard', sans-serif; color: #0f172a; background: #ffffff; line-height: 1.7; font-size: 1rem; }

/* Type scale & weights */
.t-display { font-weight: 800; letter-spacing: -0.02em; }
.t-title { font-weight: 700; letter-spacing: -0.01em; }
.t-body { font-weight: 500; }
.t-ui { font-weight: 600; }

/* Layout */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.site-header { position: sticky; top: 0; background: #ffffff; border-bottom: 1px solid #e5e7eb; z-index: 20; }
.site-header.glass { background: rgba(255,255,255,0.7); backdrop-filter: saturate(180%) blur(14px); border-bottom-color: rgba(226,232,240,0.6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-rail { display:grid; grid-template-columns: 1fr auto 1fr; align-items:center; gap: 12px; }
.nav-rail .left { justify-self:start; }
.nav-rail .center { justify-self:center; }
.nav-rail .right { justify-self:end; display:flex; align-items:center; gap:10px; }
.util { color:#334155; text-decoration:none; font-weight:600; }
.brand { font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: #0f172a; }
.nav a { margin-left: 20px; text-decoration: none; color: #334155; font-weight: 600; font-size: 1.0625rem; }
.nav a:hover { color: #0f172a; }
.auth { display: flex; gap: 8px; }
.right .btn.btn-primary { padding:8px 12px; }

/* Accent tokens */
:root { --primary:#2563eb; --ink:#0f172a; --muted:#475569; --line:#e5e7eb; --bg-alt:#f8fafc; --hover:#0b5; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 10px; border: 1px solid transparent; text-decoration: none; font-weight: 700; transition: background .2s, color .2s, border-color .2s, transform .06s; }
.btn-ghost { color: #0f172a; border-color: #e5e7eb; background: transparent; }
.btn-ghost:hover { background: #f1f5f9; }
.btn-primary { background: var(--primary); color: #ffffff; border-color: var(--primary); }
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn-lg { padding: 14px 20px; font-size: 1.1875rem; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(37, 99, 235, .35); outline-offset: 2px; }

/* Hero */
.hero { padding: 108px 0 72px; }
.hero-gradient { background: radial-gradient(1200px 400px at 50% -10%, #eff6ff 0%, rgba(239,246,255,0) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-stack { display:flex; flex-direction:column; align-items:center; gap:28px; }
.eyebrow { display:flex; align-items:center; gap:12px; margin-bottom:12px; color: var(--muted); font-size: 1rem; }
.eyebrow.center { justify-content:center; }
.center-text { text-align:center; }
.cta-row.center { justify-content:center; }
.badge { display:inline-block; padding:6px 12px; border:1px solid var(--line); border-radius:999px; font-weight:700; color: var(--ink); background:#fff; }
.sub { color: var(--muted); }
.hero-text h1 { font-size: 3.3rem; line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.02em; }
.grad { background: linear-gradient(90deg, #2563eb 0%, #7c3aed 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text p { font-size: 1.25rem; color: #334155; margin: 0 0 24px; font-weight: 500; }
.cta-row { display: flex; gap: 12px; margin-bottom: 16px; }
.hero-bullets { margin: 0; padding-left: 18px; color: #334155; font-size: 1.0625rem; }
.hero-media { display: flex; justify-content: center; }
.devices { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; align-items:end; justify-items:center; }
.device { width: 100%; max-width: 220px; aspect-ratio: 9/19.5; border: 2px solid #0f172a; border-radius: 28px; padding: 10px; background:#0b1220; }
.device.big { max-width: 260px; }
.screen { width: 100%; height: 100%; border-radius: 18px; background: #111827; }
.mock.blue { background: linear-gradient(180deg, #1d4ed8 0%, #60a5fa 100%); }
.mock.yellow { background: linear-gradient(180deg, #f59e0b 0%, #fde047 100%); }
.mock.violet { background: linear-gradient(180deg, #7c3aed 0%, #a78bfa 100%); }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: #f8fafc; }
.section h2 { font-size: 2.375rem; margin: 0 0 32px; letter-spacing: -0.01em; font-weight: 800; }
.section-divider { height:1px; background: var(--line); }

/* Trust */
.trust-inner { display:flex; flex-direction: column; gap:16px; align-items:center; }
.logos { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.chip { border:1px solid var(--line); border-radius:999px; padding:8px 12px; color:#334155; font-weight:600; font-size:.9375rem; background:#fff; }
.stats { display:flex; gap:24px; flex-wrap:wrap; justify-content:center; }
.stat { display:flex; flex-direction:column; align-items:center; border:1px solid var(--line); border-radius:12px; padding:12px 16px; min-width:140px; }
.stat strong { font-size:1.25rem; }
.stat span { color:#64748b; font-size:.9375rem; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { border: 1px solid #e5e7eb; border-radius: 16px; padding: 22px; transition: background .2s, border-color .2s; }
.feature:hover { background:#f8fafc; border-color:#dbe2ea; }
.feature .icon { width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:8px; margin-bottom:10px; font-size:18px; }
.feature h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; }
.feature p { margin: 0; color: #475569; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 16px 0 24px; }
.steps li { border: 1px solid #e5e7eb; border-radius: 16px; padding: 18px; }
.steps strong { display: block; margin-bottom: 6px; }
.center { text-align: center; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.plan { border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; }
.plan.highlight { border-color: #2563eb; }
.price { font-size: 2rem; font-weight: 800; margin: 8px 0 12px; }
.plan ul { margin: 0 0 16px; padding-left: 18px; color: #334155; }

/* FAQ */
.faq details { border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: #475569; }

/* Footer */
.site-footer { border-top: 1px solid #e5e7eb; background: #ffffff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.footer-inner a { color: #334155; text-decoration: none; margin-left: 16px; }
.copy { color: #64748b; font-size: 1rem; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .devices { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats { gap:12px; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.5rem; }
  .devices { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .device { max-width: 160px; border-radius: 22px; }
}

