/* haribooboo — developer website
   Aurora theme shared across all pages. No build step; plain CSS. */

:root {
  --aurora-1: #241a4e;
  --aurora-2: #0b1f72;
  --aurora-3: #1f7a6b;
  --cream: #fcf8c8;
  --accent: #8b7ff0;
  --accent-ink: #6c5fc2;

  --bg: #0e1020;
  --surface: #ffffff;
  --surface-soft: #f7f5fb;
  --ink: #1d1b29;
  --ink-soft: #5b5670;
  --line: #e7e3f0;
  --line-dark: rgba(255, 255, 255, 0.14);

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(20, 14, 50, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 14, 50, 0.18);
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic",
    "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header / nav ─────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 16, 32, 0.72);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.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: 19px;
  letter-spacing: -0.02em;
  color: #fff;
}
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--aurora-1), var(--aurora-2) 55%, var(--aurora-3));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.10); text-decoration: none; }

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 15% 0%, rgba(139, 127, 240, 0.35), transparent 45%),
    radial-gradient(120% 120% at 90% 20%, rgba(31, 122, 107, 0.40), transparent 50%),
    linear-gradient(160deg, var(--aurora-1), var(--aurora-2) 55%, var(--aurora-3));
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 120%, rgba(252, 248, 200, 0.12), transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  padding: 88px 20px 96px;
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 22px auto 16px;
  max-width: 16ch;
  font-weight: 800;
}
.hero p {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255, 255, 255, 0.86);
  max-width: 54ch;
  margin: 0 auto 32px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--cream); color: #2a2407; box-shadow: 0 8px 24px rgba(252, 248, 200, 0.25); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(252, 248, 200, 0.35); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* ── Sections ─────────────────────────────────── */
.section { padding: 72px 0; }
.section-soft { background: var(--surface-soft); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 44px; }
.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.section-head p { color: var(--ink-soft); font-size: 17px; margin: 0; }

/* ── App grid ─────────────────────────────────── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.app-card.is-soon { background: var(--surface-soft); border-style: dashed; box-shadow: none; }
.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--aurora-1), var(--aurora-2) 55%, var(--aurora-3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  margin-bottom: 16px;
}
.app-card h3 { font-size: 21px; margin: 0 0 6px; letter-spacing: -0.01em; }
.app-card .app-sub { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 14px; font-weight: 600; }
.app-card p { color: var(--ink-soft); font-size: 15px; margin: 0 0 20px; flex: 1; }
.app-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-ink);
  background: rgba(108, 95, 194, 0.10);
  padding: 4px 10px;
  border-radius: 999px;
}
.app-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.app-actions a {
  font-size: 14px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 10px;
}
.app-actions .a-store { background: var(--aurora-2); color: #fff; }
.app-actions .a-store:hover { background: var(--aurora-1); text-decoration: none; }
.app-actions .a-link { color: var(--accent-ink); background: var(--surface-soft); border: 1px solid var(--line); }
.app-actions .a-link:hover { background: #fff; text-decoration: none; }
.badge-soon {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ── About / contact ──────────────────────────── */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.prose p { color: var(--ink-soft); font-size: 16.5px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin: 0 0 16px; font-size: 20px; }
.contact-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: none; }
.contact-row .k { font-size: 13px; color: var(--ink-soft); width: 64px; font-weight: 700; }
.contact-row .v { font-size: 15.5px; font-weight: 600; }

/* ── Footer ───────────────────────────────────── */
.site-footer {
  background: var(--bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 40px;
}
.site-footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .brand { font-size: 17px; margin-bottom: 10px; }
.site-footer .f-links { display: flex; flex-direction: column; gap: 8px; }
.site-footer .f-links a { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; }
.site-footer .f-links a:hover { color: #fff; }
.site-footer .f-note { font-size: 13px; color: rgba(255, 255, 255, 0.45); max-width: 40ch; }

/* ── Legal / content pages ────────────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--aurora-1), var(--aurora-2) 70%, var(--aurora-3));
  color: #fff;
}
.page-hero .container { padding: 56px 20px 44px; }
.page-hero h1 { font-size: clamp(28px, 5vw, 42px); margin: 0 0 8px; letter-spacing: -0.02em; }
.page-hero p { color: rgba(255, 255, 255, 0.8); margin: 0; font-size: 15px; }
.page-hero .crumbs { font-size: 13.5px; margin-bottom: 18px; }
.page-hero .crumbs a { color: var(--cream); }

.doc { max-width: 800px; margin: 0 auto; padding: 56px 20px 80px; }
.doc .lang-switch {
  display: inline-flex;
  gap: 4px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 32px;
}
.doc .lang-switch a { font-size: 13.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; color: var(--ink-soft); }
.doc .lang-switch a.active { background: var(--accent-ink); color: #fff; }
.doc .lang-switch a:hover { text-decoration: none; }

.doc h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em; scroll-margin-top: 80px; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; }
.doc p, .doc li { color: #38344a; font-size: 15.5px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .meta { color: var(--ink-soft); font-size: 14px; }
.doc .callout {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--surface-soft); font-weight: 700; }
.doc hr { border: none; border-top: 1px solid var(--line); margin: 48px 0; }
.lang-block[hidden] { display: none; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero .container { padding: 64px 20px 72px; }
  .section { padding: 56px 0; }
}
