/* El'Dar — лендинг. Палитра как у интерфейса хаба: ночное небо + закатный янтарь. */
:root {
  --bg: #0b0e13; --bg2: #10151c; --card: rgba(255,255,255,.045); --card-hi: rgba(255,255,255,.075);
  --line: rgba(255,255,255,.09); --text: #eef2f6; --muted: #9aa6b5; --dim: #6b7786;
  --accent: #f5b04a; --accent-2: #ffcf7d; --cool: #5fd4e0; --ok: #58d68d; --violet: #a78bfa;
  --r: 22px; --r-sm: 14px; --wrap: 1180px;
  --font: "Manrope", "Noto Sans Thai", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); overflow-x: hidden; }
html[lang="th"] body { line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow-wrap { width: min(820px, 100% - 32px); margin-inline: auto; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--dim); }
.center { text-align: center; }
.narrow, .sub.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }

/* ── кнопки ─────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; cursor: pointer; }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.lg { padding: 15px 26px; font-size: 16px; }
.btn.primary { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #1b1305; box-shadow: 0 8px 28px rgba(245,176,74,.28); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(245,176,74,.38); }
.btn.ghost { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.btn.ghost:hover { background: rgba(255,255,255,.09); }
.btn svg.i { width: 18px; height: 18px; fill: currentColor; stroke: none; }

/* ── шапка ─────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(11,14,19,.72); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  background: conic-gradient(from 210deg, var(--accent), #ff7a59, var(--violet), var(--cool), var(--accent)); box-shadow: 0 0 22px rgba(245,176,74,.35); }
.logo span { width: 32px; height: 32px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.bname { display: flex; flex-direction: column; font-weight: 800; font-size: 18px; line-height: 1.05; letter-spacing: .2px; }
.bname small { font-weight: 600; font-size: 11px; color: var(--muted); letter-spacing: 1.2px; text-transform: uppercase; }
.links { display: flex; gap: 26px; margin-left: 12px; }
.links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .15s; }
.links a:hover { color: var(--text); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.lang a { text-decoration: none; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 999px; color: var(--muted); }
.lang a[aria-current] { background: rgba(245,176,74,.16); color: var(--accent-2); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: grid; gap: 4px; padding: 8px 16px 18px; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 4px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }

/* ── первый экран ─────────────────────── */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden;
  background: radial-gradient(900px 520px at 85% 0%, rgba(245,176,74,.16), transparent 62%),
              radial-gradient(700px 480px at -5% 90%, rgba(95,212,224,.10), transparent 60%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px;
  background: rgba(245,176,74,.1); border: 1px solid rgba(245,176,74,.25); color: var(--accent-2); font-weight: 700; font-size: 13px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(245,176,74,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(245,176,74,0); } 100% { box-shadow: 0 0 0 0 rgba(245,176,74,0); } }
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -1.5px; margin: 0 0 20px; font-weight: 800; }
html[lang="th"] h1 { line-height: 1.25; letter-spacing: -.5px; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent-2), var(--accent) 45%, #ff8a5c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: #c6ced8; margin: 0 0 28px; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--dim); font-size: 14px; margin: 16px 0 0; }
.hero-visual { position: relative; padding: 10px 40px 60px 0; }
.tablet { border-radius: 26px; padding: 12px; background: linear-gradient(145deg, #2a2f38, #14181e); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.4) inset; transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; }
.tablet img { border-radius: 16px; }
.phone { position: absolute; right: 0; bottom: 0; width: 25%; min-width: 118px; border-radius: 26px; padding: 7px; background: #15191f;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.phone img { border-radius: 20px; }
.bubble { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; font-size: 14px; font-weight: 600;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0,0,0,.4); max-width: 280px; }
.bubble.b1 { left: -18px; top: 10%; background: rgba(245,176,74,.92); color: #1b1305; animation: float 6s ease-in-out infinite; }
.bubble.b1 svg.i { width: 18px; height: 18px; }
.bubble.b2 { left: 8%; bottom: 8%; background: rgba(16,21,28,.88); border: 1px solid rgba(245,176,74,.35); animation: float 6s ease-in-out 1.5s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.fact { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); }
.fact svg.i { color: var(--accent); width: 26px; height: 26px; }
.fact b { display: block; font-size: 15px; }
.fact span { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }

/* ── секции ─────────────────────────── */
.section { padding: 88px 0; }
.kicker { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; margin: 0 0 12px; }
html[lang="th"] .kicker { letter-spacing: .5px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.8px; margin: 0 0 16px; font-weight: 800; }
html[lang="th"] h2 { line-height: 1.3; letter-spacing: 0; }
h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.sub { color: var(--muted); font-size: 18px; margin: 0 0 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg.i { color: var(--ok); margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: #d3dae3; }
.shot { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.45); background: var(--bg2); }
.grid { display: grid; gap: 16px; }
.features { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
.card { padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: background .2s, transform .2s, border-color .2s; }
.card:hover { background: var(--card-hi); transform: translateY(-2px); border-color: rgba(245,176,74,.25); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px;
  background: rgba(245,176,74,.12); color: var(--accent); }
.ico svg.i { width: 24px; height: 24px; }

/* витрина экранов */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs button { font: inherit; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  color: var(--muted); background: var(--card); border: 1px solid var(--line); }
.tabs button[aria-selected="true"] { color: #1b1305; background: var(--accent); border-color: var(--accent); }
.panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 40px; align-items: center; }
.panel[hidden] { display: none; }
.panel-text p { color: var(--muted); font-size: 17px; }
.panel-text h3 { font-size: 26px; line-height: 1.25; }

/* демо */
.demo-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 48px;
  border-radius: 30px; border: 1px solid rgba(245,176,74,.25);
  background: radial-gradient(600px 300px at 90% 10%, rgba(245,176,74,.14), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); }
.demo-preview { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.demo-preview img { transition: transform .4s, filter .4s; filter: saturate(.9) brightness(.85); }
.demo-preview:hover img { transform: scale(1.03); filter: none; }
.play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #1b1305; box-shadow: 0 0 0 12px rgba(245,176,74,.2), 0 20px 40px rgba(0,0,0,.4); }
.play svg.i { width: 32px; height: 32px; fill: currentColor; stroke: none; margin-left: 4px; }

/* как это работает */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 14px; font-weight: 800;
  color: #1b1305; background: var(--accent); }
.hw { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.hw-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-sm); border: 1px dashed rgba(255,255,255,.14); }
.hw-item svg.i { color: var(--cool); width: 26px; height: 26px; }
.hw-item b { display: block; }
.hw-item span { color: var(--muted); font-size: 14px; line-height: 1.4; display: block; }

/* пакеты */
.prices { grid-template-columns: repeat(3, 1fr); margin-top: 40px; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: 30px 26px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.price.hot { background: linear-gradient(180deg, rgba(245,176,74,.12), rgba(245,176,74,.03)); border-color: rgba(245,176,74,.45);
  box-shadow: 0 30px 70px rgba(245,176,74,.08); }
.p-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.p-head h3 { font-size: 24px; margin: 0; }
.badge { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: #1b1305; }
.p-for { color: var(--muted); margin: 6px 0 18px; font-size: 15px; }
.p-sum { margin: 0 0 22px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.p-sum b { font-size: 36px; letter-spacing: -1px; }
.p-sum span { color: var(--muted); font-size: 14px; }
.price ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.price li { position: relative; padding-left: 26px; font-size: 15px; color: #d3dae3; }
.price li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.note { color: var(--dim); font-size: 14px; margin-top: 22px; }
.who { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }

/* вопросы */
.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); padding: 0 20px; transition: background .2s; }
.faq details[open] { background: var(--card-hi); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 20px; color: var(--muted); }

/* контакты */
.contact-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 44px;
  border-radius: 30px; background: linear-gradient(135deg, rgba(245,176,74,.16), rgba(167,139,250,.08) 60%, rgba(95,212,224,.08)); border: 1px solid rgba(245,176,74,.25); }
.contacts { display: grid; gap: 12px; }
.contact { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; text-decoration: none;
  background: rgba(11,14,19,.55); border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.contact:hover { transform: translateY(-1px); border-color: rgba(245,176,74,.4); }
.contact b { display: block; }
.contact small { color: var(--muted); font-size: 14px; }
.ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--card-hi); }
.ci::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; }
.contact.telegram .ci { color: #37aee2; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.5 3.5 2.8 10.7c-1 .4-1 1.8.1 2.1l4.6 1.5 1.8 5.6c.3.9 1.4 1.1 2 .4l2.6-2.6 4.6 3.4c.8.6 1.9.1 2.1-.9L23 4.9c.2-1-.7-1.8-1.5-1.4zM9.3 14.5l8.6-7.8-6.5 9.3-.3 3.1z'/%3E%3C/svg%3E"); }
.contact.whatsapp .ci { color: #25d366; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.3-.5.1-1 .1-3.3-.8-2.8-1.2-4.5-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.3-.3.6-.3.8-.3h.6c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.4 0 .6l-.4.6-.4.4c-.1.2-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.6-.1l2 1c.3.1.5.2.5.3.1.2.1.7-.1 1.3z'/%3E%3C/svg%3E"); }
.contact.line .ci { color: #06c755; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 3.9 3.5 7.2 8.3 7.9.3.1.8.2.9.5l.1 1.3s.1.7.8.4c.7-.3 4.1-2.4 5.6-4.1C19.9 15.3 22 13.3 22 11c0-4.4-4.5-8-10-8zM8 13.5H6a.5.5 0 0 1-.5-.5V9a.5.5 0 0 1 1 0v3.5H8a.5.5 0 0 1 0 1zm2-.5a.5.5 0 0 1-1 0V9a.5.5 0 0 1 1 0zm4.8 0a.5.5 0 0 1-.9.3l-2-2.8V13a.5.5 0 0 1-1 0V9a.5.5 0 0 1 .9-.3l2 2.8V9a.5.5 0 0 1 1 0zm3.2-2.5a.5.5 0 0 1 0 1h-1.5v1h1.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5V9a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-1.5v1z'/%3E%3C/svg%3E"); }
.contact.phone .ci { color: var(--accent); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.contact.email .ci { color: var(--cool); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 7.2L4 7.3V17h16V7.3z'/%3E%3C/svg%3E"); }

/* подвал */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot p { margin: 0; color: var(--muted); font-size: 14px; }
.foot .muted { margin-left: auto; }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .bubble, .pulse { animation: none; } html { scroll-behavior: auto; } }

/* ── адаптив ─────────────────────────── */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps, .hw { grid-template-columns: repeat(2, 1fr); }
  .links { display: none; }
  .burger { display: block; }
}
@media (max-width: 900px) {
  .hero-in, .split, .panel, .demo-box, .contact-box { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 32px; }
  .hero-visual { padding: 0 20px 44px 0; margin-top: 8px; }
  .tablet { transform: none; }
  .bubble.b1 { left: 0; top: -14px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .prices, .who { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .panel { gap: 20px; }
  .demo-box, .contact-box { padding: 28px 22px; gap: 28px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .hide-sm { display: none; }
  .nav-in { gap: 10px; height: 60px; }
  .bname small { display: none; }
  .lead { font-size: 17px; }
  .facts, .features, .steps, .hw { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn { flex: 1 1 100%; }
  .bubble { font-size: 12px; padding: 8px 11px; max-width: 220px; }
  .bubble.b2 { display: none; }
  .phone { width: 30%; }
  .foot .muted { margin-left: 0; }
  .p-sum b { font-size: 30px; }
}
