/* ---- hero (dawn) ---- */
.hero-inner { width: min(880px, 100%); }
.hero-title {
  font-size: clamp(44px, 9vw, 92px); line-height: 1.05;
  font-weight: 870; letter-spacing: 0;
  display: flex; flex-direction: column; gap: 0.04em;
  margin-bottom: 26px; text-shadow: 0 4px 60px rgba(2, 6, 16, 0.4);
}
.hero-sub {
  font-size: clamp(17px, 2.3vw, 21px); line-height: 1.62; color: var(--ink-2);
  max-width: 52ch; margin: 0 auto 38px; text-wrap: pretty;
  text-shadow: 0 1px 22px rgba(2, 6, 16, 0.3);
}
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* ---- shared caption ---- */
.stat-caption {
  display: inline-flex; max-width: 100%;
  font-size: 12.5px; font-weight: 680; line-height: 1.45; color: var(--ink);
  letter-spacing: 0; background: rgba(5, 9, 20, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px;
  padding: 7px 12px; box-shadow: 0 8px 24px rgba(2, 6, 16, 0.24);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

/* ---- phone mockup (split scenes) ---- */
.split-visual { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.phone {
  position: relative; width: min(288px, 72%); border-radius: 48px; overflow: hidden;
  padding: 10px; background: #0a0f1e;
  border: 1px solid var(--hairline); box-shadow: 0 40px 90px rgba(2, 6, 16, 0.55);
}
.phone img { width: 100%; height: auto; border-radius: 38px; }
.phone::after {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 22px; border-radius: 12px; background: #05080f;
}

/* alerts: two-screen duo — 알림 설정(앞) + 즐겨찾기(뒤) */
.phone-stack { position: relative; width: 100%; display: flex; justify-content: center; }
.phone-stack .phone-front {
  position: relative; z-index: 2;
  width: min(262px, 62%); margin: 64px 0 0 26%;
}
.phone-stack .phone-back {
  position: absolute; top: 0; right: 52%;
  width: min(234px, 55%); opacity: 0.92;
}
.phone-stack .phone-back::after { width: 64px; height: 18px; top: 17px; }
@media (hover: hover) {
  .phone-stack .phone { transition: opacity 0.35s ease, box-shadow 0.35s ease; }
  .phone-stack .phone picture { transition: transform 0.35s ease; }
  .phone-stack .phone:hover { z-index: 3; opacity: 1; box-shadow: 0 42px 96px rgba(2, 6, 16, 0.65); }
  .phone-stack .phone:hover picture { transform: scale(1.03) translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .phone-stack .phone, .phone-stack .phone picture { transition: none; }
}

/* ---- alerts (dusk) ---- */
.notif {
  display: flex; gap: 14px; align-items: center; width: 100%; max-width: none; margin: 0;
  background: rgba(7, 11, 22, 0.78); border: 1px solid var(--hairline); border-radius: 24px;
  padding: 18px 20px; box-shadow: var(--shadow); text-align: left;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.notif-icon { border-radius: 10px; flex-shrink: 0; }
.notif-body { min-width: 0; flex: 1; }
.notif-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.notif-app { font-size: 12px; font-weight: 750; letter-spacing: 0; color: #b9c7da; text-transform: uppercase; }
.notif-time { font-size: 12px; color: #b9c7da; }
.notif-title { display: block; font-size: 15.5px; font-weight: 760; margin-bottom: 3px; }
.notif-text { font-size: 14px; line-height: 1.5; color: #dbe5f2; }

/* ---- navigate (night) ---- */
.nav-chips { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.nav-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--glass-strong); border: 1px solid var(--hairline);
  padding: 12px 18px; border-radius: 999px; font-weight: 720; font-size: 14.5px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.nav-chip-ic { width: 20px; height: 20px; border-radius: 6px; box-shadow: 0 2px 8px rgba(2, 6, 16, 0.4); }

/* ---- trust (night) ---- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.trust-card {
  background: var(--glass); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 24px 20px; text-align: left;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.trust-card h3 { font-size: 16.5px; font-weight: 760; margin-bottom: 8px; }
.trust-card p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* ---- FAQ (night) ---- */
.faq-inner { width: min(860px, 100%); }
.faq-inner .scene-sub { margin-bottom: 28px; }
.faq-list { display: grid; gap: 10px; text-align: left; }
.faq-item {
  background: rgba(7, 11, 22, 0.58); border: 1px solid var(--hairline);
  border-radius: 18px; overflow: hidden;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 20px; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: 16px; font-weight: 780; line-height: 1.35; }
.faq-body { overflow: hidden; }
.faq-item p {
  padding: 0 20px 18px; color: #dbe5f2;
  font-size: 14px; line-height: 1.65;
}
.faq-toggle {
  position: relative; width: 18px; height: 18px; flex: 0 0 18px;
}
.faq-toggle::before,
.faq-toggle::after {
  content: ""; position: absolute; left: 3px; right: 3px; top: 8px; height: 2px;
  border-radius: 999px; background: #c4d1e3;
}
.faq-toggle::after { transform: rotate(90deg); transition: transform 0.2s ease, opacity 0.2s ease; }
.faq-item[open] .faq-toggle::after { transform: rotate(0deg); opacity: 0; }
.faq-item.closing .faq-toggle::after { transform: rotate(90deg); opacity: 1; }

/* ---- cta (deep night) ---- */
.cta-title {
  font-size: clamp(34px, 6.4vw, 64px); font-weight: 850; letter-spacing: 0;
  line-height: 1.1; margin-bottom: 16px; text-wrap: balance;
  text-shadow: 0 4px 50px rgba(110, 160, 255, 0.25);
}
.cta-note { font-size: 13px; color: #c4d1e3; margin-top: 20px; }

/* ---- footer ---- */
.footer {
  position: relative; border-top: 1px solid var(--hairline);
  padding: 56px 24px calc(48px + env(safe-area-inset-bottom));
}
.footer-inner {
  width: min(720px, 100%); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 8px; }
.footer-brand div { text-align: left; }
.footer-brand strong { font-size: 15.5px; }
.footer-brand p { font-size: 13px; color: #c4d1e3; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer-langs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.flang { font-size: 12.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid transparent; color: #c4d1e3; }
.flang:hover { color: var(--ink); }
.flang.active { border-color: var(--hairline); background: var(--glass); color: var(--ink); }
.footer-copy { font-size: 12.5px; color: #c4d1e3; }

@media (max-width: 760px) {
  .trust-grid { grid-template-columns: 1fr; }
  .faq-item summary { padding: 16px 18px; }
  .faq-item p { padding: 0 18px 16px; }
  .phone-stack .phone-front { width: min(238px, 60%); margin: 72px 0 0 30%; }
  .phone-stack .phone-back { right: auto; left: 2%; width: min(206px, 52%); }
}
