/* Weniversal Titan 랜딩 - 회사 웹(weniver.se) 계열 라이트 톤.
   빌드 없음, BEM, CSS 변수. 반응형 768/480. */

:root {
  --bg: #d6d7dd;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-sub: #4b4f58;
  --accent: #2563eb;
  --accent-soft: #dbe5fb;
  --dark: #1a1a2e;
  --line: rgba(26, 26, 46, 0.12);
  --radius: 16px;
  --shadow: 0 12px 40px rgba(26, 26, 46, 0.10);
  --font: "Inter", "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* display 를 지정한 클래스(.btn 등)가 UA 의 hidden 처리를 덮지 못하게 */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------------------------------------------------------------- 공통 */

.section { padding: 96px 24px; }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0)); }
.section__inner { max-width: 1080px; margin: 0 auto; }
.section__inner--narrow { max-width: 760px; }
.section__title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition);
  cursor: pointer;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45); }
.btn--ghost { border-color: rgba(26, 26, 46, 0.35); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.6); }
.btn--small { padding: 8px 18px; font-size: 0.85rem; background: var(--dark); color: #fff; }
.btn--small:hover { background: var(--accent); }
.btn--large { padding: 16px 36px; font-size: 1.05rem; }

/* 스크롤 등장 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- 헤더 */

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(214, 215, 221, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.header__brand { font-size: 1.02rem; font-weight: 500; letter-spacing: -0.01em; display: flex; align-items: center; gap: 9px; }
.header__brand strong { font-weight: 800; }
.header__brand-mark {
  width: 22px; height: 22px; border-radius: 7px; flex: none;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.55), rgba(255,255,255,0) 55%),
    linear-gradient(135deg, var(--accent), #7c3aed);
}
.header__nav { display: flex; gap: 22px; margin-left: auto; }
.header__link { font-size: 0.9rem; font-weight: 500; color: var(--text-sub); transition: color var(--transition); }
.header__link:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  font-family: var(--font); font-size: 0.8rem; font-weight: 700;
  border: 1.5px solid rgba(26, 26, 46, 0.3); background: none; border-radius: 999px;
  padding: 5px 12px; cursor: pointer; color: var(--text-sub);
  transition: color var(--transition), border-color var(--transition);
}
.lang-toggle:hover { color: var(--accent); border-color: var(--accent); }

/* ---------------------------------------------------------------- 히어로 */

.hero { padding: 168px 24px 110px; overflow: hidden; }
.hero__inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px; align-items: center;
}
.hero__badge {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--accent); background: var(--accent-soft);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.4rem, 5.4vw, 3.7rem);
  font-weight: 800; line-height: 1.16; letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero__subtitle { font-size: 1.06rem; color: var(--text-sub); max-width: 34em; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero__note { font-size: 0.82rem; color: var(--text-sub); opacity: 0.8; }

/* 히어로 목업 (순수 CSS) */
.hero__visual { position: relative; min-height: 420px; }
.mock {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; max-width: 430px;
}
.mock__titlebar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #d9dbe3; }
.mock__dot:first-child { background: #f4a9a3; }
.mock__title { margin-left: 8px; font-size: 0.78rem; font-weight: 600; color: var(--text-sub); }
.mock__chat { padding: 20px 18px 24px; display: flex; flex-direction: column; gap: 12px; }
.mock__bubble {
  max-width: 85%; padding: 11px 15px; border-radius: 14px;
  font-size: 0.88rem; line-height: 1.5;
}
.mock__bubble--user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.mock__bubble--ai { align-self: flex-start; background: #eef0f5; color: var(--text); border-bottom-left-radius: 4px; }
.mock__bubble--talking { padding: 13px 18px; }
.mock__wave { display: inline-flex; align-items: flex-end; gap: 3.5px; height: 14px; }
.mock__wave i {
  width: 3.5px; border-radius: 2px; background: rgba(255, 255, 255, 0.95);
  animation: wave 1.1s ease-in-out infinite;
}
.mock__wave i:nth-child(1) { height: 6px; animation-delay: 0s; }
.mock__wave i:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.mock__wave i:nth-child(3) { height: 8px; animation-delay: 0.3s; }
.mock__wave i:nth-child(4) { height: 14px; animation-delay: 0.45s; }
.mock__wave i:nth-child(5) { height: 7px; animation-delay: 0.6s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.55); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .mock__wave i { animation: none; } }

.mock-phone {
  position: absolute; right: 0; bottom: -34px;
  width: 210px; background: var(--dark); color: #fff;
  border-radius: 26px; padding: 34px 14px 16px;
  box-shadow: 0 18px 50px rgba(26, 26, 46, 0.35);
  border: 5px solid #2c2c44;
}
.mock-phone__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 8px; border-radius: 999px; background: #2c2c44;
}
.mock-phone .mock__bubble--ai { background: rgba(255, 255, 255, 0.12); color: #f3f4f8; font-size: 0.8rem; }
.mock-phone__lock {
  display: block; margin-top: 12px; text-align: center;
  font-size: 0.68rem; letter-spacing: 0.03em; color: #9aa0b4;
}
.mock-phone__lock::before { content: "🔒 "; }

/* ---------------------------------------------------------------- 3단계 */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 26px;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 800; font-size: 0.95rem; margin-bottom: 16px;
}
.step__title { font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.step__desc { font-size: 0.92rem; color: var(--text-sub); }

/* ---------------------------------------------------------------- 기능 */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); padding: 26px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature__title::before {
  content: ""; display: block; width: 26px; height: 3.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #7c3aed);
  margin-bottom: 14px;
}
.feature__desc { font-size: 0.9rem; color: var(--text-sub); }

/* ---------------------------------------------------------------- 프라이버시 */

.privacy { background: var(--dark); color: #f3f4f8; padding: 96px 24px; }
.privacy__title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800;
  letter-spacing: -0.02em; text-align: center; margin-bottom: 18px;
}
.privacy__lead {
  text-align: center; color: #b9becf; max-width: 40em;
  margin: 0 auto 52px; font-size: 1rem;
}
.privacy__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.privacy__fact {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 26px 24px;
}
.privacy__fact h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.privacy__fact p { font-size: 0.88rem; color: #b9becf; }

/* ---------------------------------------------------------------- FAQ */

.faq {
  background: var(--surface); border-radius: 14px; border: 1px solid var(--line);
  margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-weight: 600; font-size: 0.97rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.25rem; font-weight: 500; color: var(--accent);
  transition: transform var(--transition); flex: none;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 22px 18px; font-size: 0.92rem; color: var(--text-sub); }

/* ---------------------------------------------------------------- CTA */

.cta { padding: 110px 24px; text-align: center; }
.cta__title { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta__desc { color: var(--text-sub); margin-bottom: 32px; }

/* ---------------------------------------------------------------- 알림 모달 */

.notify {
  border: none; border-radius: var(--radius); padding: 0;
  margin: auto;  /* 전역 리셋(* margin:0)이 UA 의 dialog 중앙 정렬을 지운다 */
  width: min(420px, calc(100vw - 40px));
  box-shadow: 0 24px 70px rgba(26, 26, 46, 0.35);
}
.notify::backdrop { background: rgba(26, 26, 46, 0.45); backdrop-filter: blur(3px); }
.notify__form { padding: 34px 30px 26px; display: flex; flex-direction: column; position: relative; }
.notify__close {
  position: absolute; top: 12px; right: 14px;
  border: none; background: none; font-size: 1.5rem; line-height: 1;
  color: var(--text-sub); cursor: pointer; padding: 6px;
}
.notify__close:hover { color: var(--text); }
.notify__title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.notify__desc { font-size: 0.9rem; color: var(--text-sub); margin-bottom: 20px; }
.notify__input {
  font-family: var(--font); font-size: 1rem;
  border: 1.5px solid rgba(26, 26, 46, 0.25); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 12px; outline: none;
  transition: border-color var(--transition);
}
.notify__input:focus { border-color: var(--accent); }
.notify__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify__submit { width: 100%; }
.notify__submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.notify__hint { font-size: 0.74rem; color: var(--text-sub); opacity: 0.85; margin-top: 14px; line-height: 1.55; }
.notify__status { font-size: 0.86rem; margin-top: 10px; min-height: 1.3em; font-weight: 600; }
.notify__status.is-error { color: #b91c1c; }

/* 성공 상태: 폼 요소를 통째로 성공 뷰로 대체 */
.notify__form.is-done .notify__desc,
.notify__form.is-done .notify__input,
.notify__form.is-done .notify__submit,
.notify__form.is-done .notify__hint,
.notify__form.is-done .notify__status { display: none; }
.notify__done { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 0 2px; }
.notify__check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #dcfce7; color: #15803d;
  font-size: 1.6rem; font-weight: 800; margin-bottom: 16px;
}
.notify__done-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.notify__done-desc { font-size: 0.92rem; color: var(--text-sub); margin-bottom: 20px; }
.notify__done-close { width: 100%; }

/* ---------------------------------------------------------------- 계정 페이지 */

.account { max-width: 560px; margin: 0 auto; padding: 140px 20px 90px; min-height: 62vh; }
.account__head { margin-bottom: 20px; }
.account__title { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.account__email { color: var(--text-sub); font-size: 0.95rem; }
.account__card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 28px; margin-bottom: 18px;
}
.account__card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.account__desc { font-size: 0.92rem; color: var(--text-sub); margin-bottom: 22px; }
.account__desc--tight { margin-bottom: 16px; }
.account__label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-sub); margin-bottom: 6px; }
.account__input { width: 100%; }
.account__submit { width: 100%; }
.account__sent { font-size: 0.9rem; margin-bottom: 14px; }
.account__back {
  display: block; margin: 12px auto 0; border: none; background: none;
  font-family: var(--font); font-size: 0.85rem; color: var(--text-sub);
  cursor: pointer; text-decoration: underline;
}
.account__back:hover { color: var(--text); }
.account__muted { font-size: 0.85rem; color: var(--text-sub); }
.account__sub { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.account__badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700;
  background: #f1f2f6; color: var(--text-sub);
}
.account__badge.is-on { background: #dcfce7; color: #15803d; }
.account__device {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 0; border-top: 1px solid var(--line);
}
.account__device:first-child { border-top: none; }
.account__device.is-revoked { opacity: 0.55; }
.account__device-info { display: flex; flex-direction: column; gap: 2px; }
.account__device-info strong { font-size: 0.95rem; font-weight: 700; }
.account__revoke {
  border: 1.5px solid rgba(185, 28, 28, 0.4); background: none; color: #b91c1c;
  font-family: var(--font); font-size: 0.8rem; font-weight: 700;
  border-radius: 999px; padding: 6px 14px; cursor: pointer; flex: none;
  transition: background var(--transition), color var(--transition);
}
.account__revoke:hover, .account__revoke.is-armed { background: #b91c1c; color: #fff; }
.account__revoke:disabled { opacity: 0.5; cursor: default; }

/* ---------------------------------------------------------------- 푸터 */

.footer { background: var(--dark); color: #b9becf; padding: 44px 24px; }
.footer__inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.footer__brand { color: #fff; font-weight: 500; margin-bottom: 10px; }
.footer__brand strong { font-weight: 800; }
.footer__meta { font-size: 0.88rem; margin-bottom: 14px; display: flex; gap: 10px; justify-content: center; }
.footer__meta a { color: #d7dae6; transition: color var(--transition); }
.footer__meta a:hover { color: #fff; }
.footer__copy { font-size: 0.78rem; opacity: 0.65; }

/* ---------------------------------------------------------------- 반응형 */

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .hero { padding: 136px 20px 96px; }
  .section { padding: 72px 20px; }
  .steps, .features, .privacy__facts { grid-template-columns: 1fr; }
  .mock-phone { right: -6px; bottom: -28px; width: 186px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.15rem; }
  .btn--large { width: 100%; }
  .hero__cta .btn { flex: 1 1 auto; text-align: center; }
}
