:root {
  --bg: #070b14;
  --bg-soft: #0d1424;
  --card: #111a2e;
  --line: #1f2b45;
  --text: #e8edf7;
  --muted: #8fa0c0;
  --accent: #3b82f6;
  --accent-2: #22d3ee;
  --up: #26a69a;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 20, 0.8);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: 0.02em; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.nav { display: flex; gap: 28px; color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #2563eb); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }

/* Ticker */
.ticker { border-bottom: 1px solid var(--line); min-height: 46px; }

/* Hero */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 400px at 15% -10%, rgba(59, 130, 246, 0.25), transparent 60%),
    radial-gradient(700px 360px at 90% 10%, rgba(34, 211, 238, 0.14), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-soft);
  color: var(--accent-2); font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { margin: 0 0 18px; font-size: clamp(32px, 5vw, 56px); line-height: 1.2; letter-spacing: -0.02em; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { margin: 0 0 28px; max-width: 640px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.quote-card, .chart-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.quote-card { max-width: 420px; margin-top: 32px; padding: 6px 10px; min-height: 126px; }
.chart-card { margin-top: 8px; }
.chart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 600;
}
.chart-head small { color: var(--muted); font-weight: 400; }
.chart-box { height: 560px; }
.tradingview-widget-container, .tradingview-widget-container__widget { height: 100%; width: 100%; }

/* Sections */
section { padding: 88px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-title { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.section-title span { color: var(--accent-2); font-weight: 700; font-size: 14px; letter-spacing: .08em; }
.section-title h2 { margin: 10px 0 14px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.3; letter-spacing: -0.01em; }
.section-title p { margin: 0; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(59, 130, 246, 0.15); color: var(--accent); font-size: 22px;
}
.card h3 { margin: 0 0 10px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.step .num { font-size: 14px; font-weight: 800; color: var(--accent-2); margin-bottom: 10px; }

.stat { text-align: center; padding: 28px 16px; }
.stat strong {
  display: block; font-size: 34px; letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--muted); font-size: 14px; }

/* CTA */
.cta {
  text-align: center; padding: 64px 24px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(600px 240px at 50% 0%, rgba(59, 130, 246, 0.28), transparent 70%), var(--card);
}
.cta h2 { margin: 0 0 12px; font-size: clamp(24px, 3.2vw, 34px); }
.cta p { margin: 0 0 28px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 13px; }
.site-footer .container { display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 720px) {
  .nav { display: none; }
  .chart-box { height: 440px; }
  section { padding: 64px 0; }
}
