:root {
  --bg: #07040e;
  --line: rgba(255, 180, 255, 0.12);
  --text: #f7f0ff;
  --muted: #b9a8d4;
  --pink: #ff4db8;
  --pink-2: #ff7ad9;
  --purple: #8b5cff;
  --max: 1160px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    url("media/hero/glow.jpg") center top / cover no-repeat,
    radial-gradient(900px 500px at 10% -10%, rgba(255, 77, 184, 0.22), transparent 55%),
    radial-gradient(800px 480px at 90% 0%, rgba(139, 92, 255, 0.22), transparent 55%),
    #07040e;
  opacity: 0.35;
}

a { color: #f0abfc; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }

.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(7, 4, 14, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 12px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 800;
  letter-spacing: 0.08em; font-size: 0.8rem;
}
.brand:hover { text-decoration: none; }
.logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  background: transparent;
}
.nav-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: #e9d5ff; font-size: 0.88rem; text-decoration: none; }
.nav-links a:hover { color: #fff; }
.langs {
  display: flex; gap: 4px; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px;
}
.langs a {
  color: #e9d5ff; text-decoration: none !important;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 5px 9px; border-radius: 999px;
}
.langs a.on { background: linear-gradient(90deg, #ff4db8, #8b5cff); color: #fff; }
html[lang="th"] body { font-family: "Noto Sans Thai", "Manrope", sans-serif; }
html[lang="th"] h1, html[lang="th"] h2 { letter-spacing: 0; }
html[lang="ru"] body { font-family: "Manrope", "Noto Sans", sans-serif; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 18px;
  font-weight: 800; cursor: pointer; text-decoration: none !important; font: inherit;
}
.btn-hot {
  background: linear-gradient(90deg, #ff4db8, #8b5cff);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 77, 184, 0.28);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  padding: 56px 0 20px;
  align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 8px 10px 0;
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff4d6d;
  box-shadow: 0 0 10px #ff4d6d;
  animation: pulse 1.4s infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

h1 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 8px 0 16px;
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #ff7ad9, #c084fc 45%, #a78bfa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); font-size: 1.05rem; max-width: 52ch; margin: 0 0 22px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.fineprint { color: #8b7aa6; font-size: 0.82rem; margin-top: 14px; }

.phone-wrap {
  position: relative;
  width: min(320px, 100%);
  min-height: 520px;
  margin-left: auto;
}
.phone {
  position: relative;
  width: 100%;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(180deg, #3a2a4e, #120816);
  box-shadow: 0 30px 80px rgba(140, 40, 180, 0.35), 0 0 0 1px rgba(255,255,255,0.08);
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 177.78%;
  border-radius: 28px;
  overflow: hidden;
  background: #120816 url("media/hero/phone-poster.jpg") center / cover no-repeat;
}
.phone-screen .poster,
.phone-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phone-screen .poster { z-index: 0; }
.phone-screen video { z-index: 1; background: #09060f; }
.phone-screen.is-playing .poster { opacity: 0; }
.phone-ui {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), transparent 30%, rgba(0,0,0,0.55));
}
.live-badge {
  position: absolute; top: 16px; left: 14px;
  background: #ff2d55; color: #fff;
  font-size: 0.7rem; font-weight: 800;
  padding: 4px 8px; border-radius: 6px;
}
.float {
  position: absolute;
  background: #fff; color: #1a1024;
  border-radius: 16px; padding: 10px 12px;
  font-size: 0.78rem; font-weight: 800;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.float small { display: block; font-weight: 600; color: #6b5a7a; font-size: 0.68rem; }
.f1 { top: 18%; right: -28px; }
.f2 { bottom: 22%; right: -18px; }
.f3 { bottom: 8%; left: -16px; background: #111; color: #fff; }

section { padding: 52px 0; }
h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 0 8px; letter-spacing: -0.03em;
}
.sub { color: var(--muted); margin: 0 0 22px; max-width: 62ch; }

.grid-4, .grid-3, .grid-2 { display: grid; gap: 14px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }

.card, .panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card { padding: 20px; }
.panel { padding: 24px; }
.card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.tile {
  position: relative; min-height: 190px; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--line);
}
.tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0.75; }
.tile span {
  position: absolute; left: 14px; bottom: 14px;
  font-weight: 800; letter-spacing: 0.04em;
}

.clip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 36px 28px;
  padding: 12px 0 40px;
}
.clip-phone {
  width: 168px;
  cursor: pointer;
}
.clip-phone .phone { width: 100%; }
.clip-phone .phone-screen { background-image: none; background: #120816; }
.clip-phone .live-badge { font-size: 0.62rem; padding: 3px 7px; }
.tilt-1 { transform: rotate(-8deg); }
.tilt-2 { transform: rotate(6deg) translateY(18px); }
.tilt-3 { transform: rotate(-4deg) translateY(8px); }
.tilt-4 { transform: rotate(7deg) translateY(-6px); }
.tilt-5 { transform: rotate(-6deg) translateY(14px); }
.tilt-6 { transform: rotate(5deg); }
.clip-phone:hover,
.clip-phone.is-playing {
  transform: rotate(-1deg) scale(1.04);
  z-index: 2;
}

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.step { padding: 16px; }
.step b { display: block; color: var(--pink-2); font-size: 0.75rem; letter-spacing: 0.08em; margin-bottom: 6px; }

table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: #e9d5ff; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }

form { display: grid; gap: 12px; }
label { font-size: 0.8rem; font-weight: 700; color: #e9d5ff; }
input, select, textarea {
  width: 100%; margin-top: 6px;
  background: #100817; color: #fff;
  border: 1px solid #3b2a52; border-radius: 12px;
  padding: 11px 12px; font: inherit;
}
textarea { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { color: var(--muted); margin: 8px 0 0; }

.calc-out { margin-top: 12px; padding: 14px; border-radius: 14px; background: #0d0814; border: 1px solid var(--line); }
.calc-out strong { color: #ff7ad9; font-size: 1.5rem; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 calc(48px + env(safe-area-inset-bottom));
  color: #8b7aa6; font-size: 0.82rem;
}

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 960px) {
  .hero, .grid-4, .grid-3, .grid-2, .clip-grid, .steps, .row2 { grid-template-columns: 1fr 1fr; }
  .hero, .steps { grid-template-columns: 1fr; }
  .phone-wrap { margin: 24px auto 48px; width: min(280px, 86%); min-height: 460px; }
  .f1, .f2 { right: 0; }
  .f3 { left: 0; }
}

@media (max-width: 720px) {
  .nav-inner { flex-wrap: wrap; }
  .nav-links a.nav-hide { display: none; }
  .hero { padding-top: 28px; }
  .phone-wrap { overflow: visible; }
  .float { font-size: 0.72rem; padding: 8px 10px; }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .clip-grid, .row2 { grid-template-columns: 1fr; }
  .clip-grid { gap: 22px 12px; }
  .clip-phone { width: 140px; }
  input, select, textarea { font-size: 16px; }
  .btn { min-height: 44px; width: auto; }
}
