:root {
  --navy: #0b1230;
  --navy-2: #121c48;
  --brand: #2b3a9b;
  --accent: #46aed6;
  --accent-2: #7c6cf2;
  --ink: #0f172a;
  --muted: #5b6478;
  --line: #e6e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --radius: 20px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: 0 8px 24px -8px rgba(70, 174, 214, .6);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(124, 108, 242, .6); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-ghost { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); box-shadow: none; }
.btn-ghost-light { background: transparent; border: 1px solid rgba(255,255,255,.4); box-shadow: none; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px;
  display: flex; align-items: center;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 18, 48, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-color: rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 36px; width: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { color: rgba(255,255,255,.8); font-size: 15px; font-weight: 500; transition: color .2s; }
.menu a:not(.btn):hover, .menu a.active { color: #fff; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #1d2a6b 0%, transparent 60%), var(--navy);
  color: #fff; padding: 120px 0 80px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 18s ease-in-out infinite; }
.b1 { width: 520px; height: 520px; background: var(--brand); top: -120px; right: -80px; }
.b2 { width: 420px; height: 420px; background: var(--accent); bottom: -160px; left: -120px; opacity: .35; animation-delay: -6s; }
.b3 { width: 360px; height: 360px; background: var(--accent-2); top: 40%; right: 20%; opacity: .3; animation-delay: -12s; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(.95); }
}
.hero-inner { position: relative; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero h1 { font-size: clamp(36px, 6.4vw, 76px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.grad { background: linear-gradient(90deg, #8fd8f5, var(--accent), #a99cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 24px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.72); max-width: 680px; }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.stats {
  margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px;
  border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1);
}
.stats > div { background: rgba(11, 18, 48, .6); padding: 22px 24px; backdrop-filter: blur(8px); }
.stats dt { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.stats dd { font-size: 14px; color: rgba(255,255,255,.6); }

/* Sections */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2, .cta h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.25; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section-dark .section-head p:not(.eyebrow) { color: rgba(255,255,255,.65); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent));
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li {
  position: relative; padding: 32px 28px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); overflow: hidden;
}
.steps li::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .5s var(--ease);
}
.steps li:hover::after { width: 100%; }
.step-no { font-size: 40px; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { margin-top: 8px; font-size: 19px; font-weight: 700; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.partner {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.partner:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.partner img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .5s var(--ease); }
.partner:hover img { transform: scale(1.04); }
.partner figcaption { padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.partner strong { display: block; font-size: 17px; }
.partner span { font-size: 14px; color: var(--muted); }

/* Timeline */
.timeline { position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 88px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--accent), rgba(255,255,255,.08)); }
.timeline > li { display: grid; grid-template-columns: 88px 1fr; gap: 40px; padding-bottom: 36px; position: relative; }
.timeline > li::before {
  content: ""; position: absolute; left: 83px; top: 9px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--accent); box-shadow: 0 0 0 4px rgba(70,174,214,.15);
}
.timeline time { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.timeline ul li { color: rgba(255,255,255,.75); font-size: 16px; padding: 2px 0; }

/* CTA */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(36px, 6vw, 64px); border-radius: 28px; color: #fff;
  background: radial-gradient(600px 300px at 90% 0%, rgba(124,108,242,.55), transparent 60%), linear-gradient(135deg, var(--navy-2), var(--brand));
}
.cta .eyebrow { color: #9fdcf3; }
.cta p:not(.eyebrow) { margin-top: 12px; color: rgba(255,255,255,.75); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.footer { background: #070c22; color: rgba(255,255,255,.6); font-size: 14px; padding: 64px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 14px; }
.footer-info { font-style: normal; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .cards, .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .menu {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 18, 48, .97); backdrop-filter: blur(14px); padding: 8px 20px 24px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu .btn { margin-top: 16px; }
  .nav:has(.menu.open) { background: rgba(11, 18, 48, .97); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .cards, .partners, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .timeline::before { left: 5px; }
  .timeline > li { grid-template-columns: 1fr; gap: 6px; padding-left: 32px; }
  .timeline > li::before { left: 0; }
  .hero-cta .btn, .cta-actions .btn { flex: 1 1 100%; }
}
