/* ============================================================
   WITHSOMEONE — Landing
   ============================================================ */
:root {
  --bg: #07070c;
  --bg-soft: #0e0e17;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f5fb;
  --muted: #9aa0b4;
  --brand: #7c5cff;
  --brand-2: #4ea8ff;
  --whobuys: #ff9d5c;
  --whobuys-2: #ff5c8a;
  --withtalk: #36d6c3;
  --withtalk-2: #4ea8ff;
  --doodle: #ff7eb6;
  --doodle-2: #b06cff;
  --radius: 22px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ---------- ambient aurora background ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 120% at 50% -10%, #11121f 0%, var(--bg) 55%);
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5;
  animation: float 22s var(--ease) infinite;
}
.blob--1 { width: 540px; height: 540px; top: -160px; left: -120px;
  background: var(--brand); }
.blob--2 { width: 480px; height: 480px; top: 120px; right: -140px;
  background: var(--brand-2); animation-delay: -7s; }
.blob--3 { width: 420px; height: 420px; bottom: -180px; left: 35%;
  background: var(--withtalk); opacity: 0.35; animation-delay: -14s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.12); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 8, 14, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; }
.brand__mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  font-size: 18px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.4);
}
.brand__text { font-size: 16px; letter-spacing: 0.04em; }
.brand__text b { font-weight: 800; }

.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
  will-change: transform;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(124, 92, 255, 0.5); }
.btn--ghost { color: var(--text); background: var(--surface-2); border: 1px solid var(--border); }
.btn--ghost:hover { transform: translateY(-2px); background: var(--surface); }
.btn--lg { padding: 17px 38px; font-size: 17px; }

/* ---------- hero ---------- */
.hero { padding: 170px 0 90px; }
.hero__inner { text-align: center; max-width: 820px; margin: 0 auto; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand-2); margin-bottom: 20px;
}
.hero__title { font-size: clamp(34px, 6vw, 62px); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; }
.grad {
  background: linear-gradient(120deg, var(--brand) 10%, var(--brand-2) 55%, var(--withtalk) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { margin-top: 26px; font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); }
.hero__cta { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.stats {
  margin-top: 64px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.stat {
  flex: 1 1 150px; max-width: 220px;
  padding: 22px 16px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.stat strong { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.stat strong span { color: var(--brand-2); }
.stat__label { font-size: 13.5px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 100px 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__head h2 { font-size: clamp(28px, 4.5vw, 42px); font-weight: 800; letter-spacing: -0.02em; }
.section__sub { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* ---------- app cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; overflow: hidden;
  padding: 34px 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.2); background: var(--surface-2); }
.card__glow {
  position: absolute; inset: -1px; z-index: 0; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(80% 60% at 50% 0%, var(--c1, var(--brand)) 0%, transparent 70%);
}
.card:hover .card__glow { opacity: 0.16; }
.card > * { position: relative; z-index: 1; }
.card--whobuys { --c1: var(--whobuys); }
.card--withtalk { --c1: var(--withtalk); }
.card--doodle { --c1: var(--doodle); }

.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.card__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 16px; font-size: 30px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
  padding: 6px 12px; border-radius: 999px;
  color: var(--muted); background: var(--surface-2); border: 1px solid var(--border);
}
.tag--soon { color: var(--brand-2); border-color: rgba(78,168,255,0.4); }

.card__title { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.card__title-en { font-size: 16px; font-weight: 600; color: var(--muted); }
.card__tagline {
  margin-top: 8px; font-size: 15px; font-weight: 600;
  background: linear-gradient(120deg, var(--c1, var(--brand)), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card__desc { margin-top: 14px; color: var(--muted); font-size: 15px; }
.card__features { list-style: none; margin: 20px 0 26px; display: grid; gap: 10px; }
.card__features li { position: relative; padding-left: 24px; font-size: 14.5px; color: #cdd1e0; }
.card__features li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 13px; height: 13px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c1, var(--brand)), var(--brand-2));
}
.card__link {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 15px; color: var(--text);
  transition: gap 0.2s;
}
.card__link span { transition: transform 0.2s; }
.card__link:hover span { transform: translateX(4px); }
.card__link--muted { color: var(--muted); }

.card--soon { border-style: dashed; background: transparent; }
.card--soon .card__icon { background: var(--surface); }

/* ---------- about ---------- */
.section--about { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 50%, transparent); }
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about h2 { font-size: clamp(28px, 4.5vw, 42px); font-weight: 800; margin-top: 14px; letter-spacing: -0.02em; }
.about__lede { margin-top: 20px; color: var(--muted); font-size: 17px; }
.about__values { list-style: none; display: grid; gap: 14px; }
.about__values li {
  padding: 22px 24px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.about__values li:hover { transform: translateX(6px); border-color: rgba(124,92,255,0.4); }
.about__values strong { display: block; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.about__values span { color: var(--muted); font-size: 14.5px; }

/* ---------- contact ---------- */
.section--contact { padding-bottom: 120px; }
.contact {
  text-align: center; max-width: 720px; margin: 0 auto;
  padding: 64px 32px; border-radius: 30px;
  background: linear-gradient(135deg, rgba(124,92,255,0.12), rgba(78,168,255,0.08));
  border: 1px solid var(--border);
}
.contact h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.contact p { margin: 14px 0 30px; color: var(--muted); font-size: 17px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 36px; background: var(--bg-soft); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer__brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; }
.footer__info p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.footer__info a { color: var(--brand-2); }
.footer__apps { display: flex; flex-direction: column; gap: 10px; }
.footer__apps a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.footer__apps a:hover { color: var(--text); }
.footer__copy { text-align: center; margin-top: 40px; color: #5b6075; font-size: 13px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .nav__links { display: none; }
  .hero { padding: 140px 0 70px; }
  .section { padding: 76px 0; }
  .br-desktop { display: none; }
}
