/* 라디아(Ladia) — dailyladia.com. Own design: dark, single-orange, daily-mood. */
:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1f1f1f;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.42);
  --accent: #f5a623;
  --accent-grad: linear-gradient(180deg, #f9b24a 0%, #f59120 100%);
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.4px; }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.btn-pill {
  background: var(--accent-grad); color: #000; font-weight: 700; font-size: 14px;
  padding: 9px 18px; border-radius: 999px; border: none; cursor: pointer;
}
@media (max-width: 640px) { .nav-links a:not(.btn-pill) { display: none; } }

/* ---------- Hero (split) ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(245, 166, 35, 0.18), transparent 70%),
    radial-gradient(50% 40% at 90% 90%, rgba(245, 129, 32, 0.14), transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 84px;
}
.hero h1 { font-size: 46px; line-height: 1.18; font-weight: 800; letter-spacing: -1.2px; }
.hero h1 .accent { color: var(--accent); }
.hero .sub { color: var(--muted); font-size: 17px; margin-top: 20px; max-width: 460px; }
.stores { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface-2); border: 1px solid rgba(255,255,255,0.08);
  color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 14px;
}
.store small { display: block; color: var(--faint); font-size: 10px; font-weight: 500; }
.store:hover { border-color: rgba(245, 166, 35, 0.5); }
.store .si { width: 20px; height: 20px; color: #fff; flex: 0 0 auto; }
.hero-note { margin-top: 14px; color: var(--faint); font-size: 12.5px; }

/* Phone mockup */
.phone {
  justify-self: center; width: 268px; aspect-ratio: 9 / 19.2;
  border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #2a2a2a, #0e0e0e);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.05);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden; position: relative;
  background:
    radial-gradient(120% 90% at 50% 20%, rgba(245,166,35,0.28), transparent 60%),
    linear-gradient(180deg, #1a1712, #0a0a0a);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.phone-screen .ring { width: 68px; height: 68px; }
.phone-screen .cap { color: var(--muted); font-size: 13px; }
.phone-screen .shutter {
  position: absolute; bottom: 26px; width: 58px; height: 58px; border-radius: 50%;
  border: 3px solid #fff;
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .stores { justify-content: center; }
}

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.4px; }
.h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.8px; margin-top: 10px; }
.lead { color: var(--muted); font-size: 16px; margin-top: 12px; max-width: 560px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* 3-step */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.step {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 28px 24px;
}
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent-grad);
  color: #000; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.step h3 { margin-top: 16px; font-size: 18px; font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 46px; }
.card {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 30px;
}
.card.hero-card {
  grid-column: span 2;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(245,166,35,0.16), transparent 60%),
    var(--surface);
}
.card .tag { color: var(--accent); font-weight: 700; font-size: 12.5px; }
.card h3 { margin-top: 10px; font-size: 21px; font-weight: 800; letter-spacing: -0.4px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; max-width: 520px; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } .card.hero-card { grid-column: span 1; } }

/* mood gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 40px; }
.tile { aspect-ratio: 3 / 4; border-radius: 14px; background: var(--surface-2); position: relative; overflow: hidden; }
.tile::after { content: ""; position: absolute; inset: 0; opacity: 0.9; }
.tile:nth-child(1)::after { background: linear-gradient(160deg, #c98f6a, #6b4a32); }
.tile:nth-child(2)::after { background: linear-gradient(160deg, #e0a96a, #8a5a2e); }
.tile:nth-child(3)::after { background: linear-gradient(160deg, #8fa06b, #3e4a2a); }
.tile:nth-child(4)::after { background: linear-gradient(160deg, #7a94a8, #35485a); }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* final CTA */
.cta {
  text-align: center;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(245,166,35,0.18), transparent 65%),
    var(--surface);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cta h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.8px; }
.cta .stores { justify-content: center; margin-top: 28px; }

/* footer */
footer { padding: 40px 0 60px; color: var(--faint); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); font-size: 14px; }
footer a:hover { color: var(--text); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.socials { display: flex; gap: 14px; align-items: center; }
.socials a { display: inline-flex; }
.socials svg { width: 22px; height: 22px; color: var(--muted); }
.socials a:hover svg { color: var(--accent); }
@media (max-width: 640px) { footer .wrap { justify-content: center; } }

/* ---------- Legal / prose pages ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 60px 24px 100px; }
.doc h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.6px; }
.doc .eff { color: var(--faint); font-size: 14px; margin-top: 8px; }
.doc h2 { font-size: 19px; font-weight: 700; margin-top: 34px; }
.doc h3 { font-size: 16px; font-weight: 700; margin-top: 22px; }
.doc p, .doc li { color: var(--muted); font-size: 15px; margin-top: 12px; }
.doc ul { margin-top: 12px; padding-left: 20px; }
.doc li { margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.doc th, .doc td { border: 1px solid rgba(255,255,255,0.1); padding: 10px 12px; font-size: 14px; text-align: left; }
.doc th { color: var(--text); background: var(--surface); }
.doc .back { display: inline-block; margin-top: 40px; color: var(--accent); font-weight: 600; }
.doc .note { background: var(--surface); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px 16px; margin-top: 20px; font-size: 13.5px; }
