:root {
  color-scheme: dark;
  --bg: #080a10;
  --panel: rgba(17, 21, 31, 0.82);
  --panel-strong: #111520;
  --line: rgba(255, 255, 255, 0.1);
  --muted: #9aa4b7;
  --text: #f6f8fb;
  --accent: #74e4bb;
  --accent-strong: #36c991;
  --accent-ink: #06261b;
  --blue: #77a8ff;
  --danger: #ff8b8b;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(75, 129, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 80% 28%, rgba(54, 201, 145, 0.1), transparent 30rem),
    var(--bg);
  color: var(--text);
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.14;
  pointer-events: none;
}
.ambient-one { top: -10rem; right: -8rem; background: var(--accent); }
.ambient-two { bottom: 0; left: -12rem; background: var(--blue); }

.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(116, 228, 187, 0.42);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(116, 228, 187, 0.2), rgba(119, 168, 255, 0.14));
  color: var(--accent);
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: -0.02em; }
.brand small { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.beta-chip {
  padding: 6px 9px;
  border: 1px solid rgba(116, 228, 187, 0.3);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(116, 228, 187, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
  align-items: center;
  gap: clamp(44px, 8vw, 110px);
  min-height: calc(100vh - 82px);
  padding-block: 64px 84px;
}
.hero-copy { max-width: 670px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 6.6vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}
.hero-text {
  margin: 30px 0 0;
  max-width: 650px;
  color: #bcc4d1;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}
.trust-row {
  display: flex;
  gap: clamp(24px, 5vw, 58px);
  margin: 34px 0;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}
.trust-row span { display: grid; gap: 2px; }
.trust-row b { font-size: 1.5rem; }
.trust-row small { color: var(--muted); font-size: 0.75rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.primary-button, .ghost-button, .danger-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 19px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 750;
  transition: transform 160ms ease, opacity 160ms ease, border-color 160ms ease, background 160ms ease;
}
.primary-button {
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), #9ef3d3);
  box-shadow: 0 14px 34px rgba(54, 201, 145, 0.18);
}
.ghost-button { color: var(--text); background: rgba(255,255,255,0.04); border-color: var(--line); }
.ghost-button.compact { min-height: 36px; padding: 0 12px; border-radius: 10px; font-size: 0.82rem; }
.danger-button { min-height: 40px; color: var(--danger); border-color: rgba(255,139,139,0.3); background: rgba(255,139,139,0.08); }
.primary-button:hover, .ghost-button:hover, .danger-button:hover { transform: translateY(-1px); }
.primary-button:disabled, .ghost-button:disabled, .danger-button:disabled { opacity: 0.5; cursor: wait; transform: none; }
.clarity-note { margin: 17px 0 0; display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.clarity-note > span:first-child { color: #f3c46c; font-size: 0.55rem; margin-top: 0.34rem; }

.experience-panel {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(22, 27, 40, 0.94), rgba(10, 13, 20, 0.9));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 4px 16px;
  color: var(--muted);
  font-size: 0.77rem;
}
.panel-topline > div { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #687085; box-shadow: 0 0 0 4px rgba(104,112,133,0.12); }
.status-dot.online { background: var(--accent); box-shadow: 0 0 0 4px rgba(116,228,187,0.12); }
.status-dot.offline { background: var(--danger); box-shadow: 0 0 0 4px rgba(255,139,139,0.12); }
.phone-stage {
  min-height: 590px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(150deg, rgba(119,168,255,0.12), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(116,228,187,0.12), transparent 50%),
    #0b0e16;
}
.phone {
  width: min(270px, 76vw);
  padding: 8px;
  border-radius: 42px;
  background: linear-gradient(145deg, #353b49, #090b10 40%, #252b37);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.15);
}
.phone-speaker { width: 76px; height: 22px; margin: 0 auto -16px; position: relative; z-index: 2; border-radius: 0 0 15px 15px; background: #07080c; }
.phone-screen {
  position: relative;
  height: 540px;
  overflow: hidden;
  border-radius: 35px;
  background:
    radial-gradient(circle at 25% 10%, rgba(129,178,255,0.35), transparent 36%),
    linear-gradient(150deg, #192437, #11151f 55%, #0a0c12);
}
.android-statusbar { height: 42px; padding: 15px 18px 0; display: flex; justify-content: space-between; color: rgba(255,255,255,0.8); font-size: 0.65rem; }
.screen-state {
  display: none;
  height: calc(100% - 42px);
  padding: 34px 26px 28px;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.screen-state.active-screen-state { display: flex; }
.screen-state strong { font-size: 1.12rem; }
.screen-state p { margin: 10px 0 0; color: rgba(255,255,255,0.62); font-size: 0.74rem; line-height: 1.55; }
.cloud-orbit { position: relative; width: 116px; height: 116px; display: grid; place-items: center; margin-bottom: 30px; }
.orbit-ring { position: absolute; inset: 0; border: 1px solid rgba(116,228,187,0.28); border-radius: 50%; animation: orbit 8s linear infinite; }
.orbit-ring::after { content: ""; position: absolute; width: 9px; height: 9px; top: 8px; left: 20px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.cloud-glyph { font-size: 3.3rem; color: var(--accent); filter: drop-shadow(0 12px 22px rgba(54,201,145,0.28)); }
@keyframes orbit { to { transform: rotate(360deg); } }
.mini-label { color: var(--accent); text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.62rem; font-weight: 800; }
#queuePosition { margin-top: 12px; font-size: 4.6rem; letter-spacing: -0.07em; }
.queue-track { width: 100%; height: 5px; margin: 26px 0 18px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,0.1); }
.queue-track span { display: block; width: 34%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--accent)); transition: width 400ms ease; }
#queueScreen small { color: rgba(255,255,255,0.44); font-size: 0.62rem; line-height: 1.5; }
.android-home { justify-content: flex-start; padding: 10px 16px 18px; }
.session-banner { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border: 1px solid rgba(116,228,187,0.18); border-radius: 10px; background: rgba(4,12,10,0.35); color: var(--accent); font-size: 0.64rem; }
.session-banner strong { font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.android-date { margin-top: 62px; display: grid; gap: 4px; }
.android-date strong { font-size: 3.25rem; font-weight: 300; letter-spacing: -0.07em; }
.android-date span { color: rgba(255,255,255,0.58); font-size: 0.64rem; }
.app-grid { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 70px; }
.app-grid button { appearance: none; border: 0; background: transparent; color: white; padding: 0; display: grid; justify-items: center; gap: 6px; cursor: pointer; }
.app-grid button span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, rgba(119,168,255,0.42), rgba(116,228,187,0.18)); border: 1px solid rgba(255,255,255,0.14); font-size: 0.72rem; }
.app-grid button small { font-size: 0.55rem; color: rgba(255,255,255,0.72); }
.android-dock { margin-top: auto; width: 78%; height: 54px; display: flex; justify-content: space-around; align-items: center; border-radius: 18px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.72); }
.complete-mark { width: 82px; height: 82px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 50%; background: rgba(116,228,187,0.12); border: 1px solid rgba(116,228,187,0.28); color: var(--accent); font-size: 2rem; }
.session-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px 0; }
.session-controls div { display: grid; gap: 3px; }
.session-controls small { color: var(--muted); font-size: 0.68rem; }
.session-controls strong { font-size: 0.88rem; }
.feedback-card { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,0.03); text-align: center; }
.feedback-card strong { font-size: 0.87rem; }
.feedback-options { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.feedback-options button { min-width: 70px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,0.04); color: var(--text); cursor: pointer; }
.feedback-options button:hover { border-color: rgba(116,228,187,0.4); }
.feedback-card p { min-height: 1em; margin: 9px 0 0; color: var(--accent); font-size: 0.72rem; }
.hidden { display: none !important; }

.section { padding-block: 96px; border-top: 1px solid var(--line); }
.section-heading { max-width: 700px; margin-bottom: 40px; }
h2 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: -0.055em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps article { min-height: 250px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,0.025); }
.steps article > span { color: var(--accent); font-size: 0.72rem; font-weight: 800; }
.steps h3 { margin: 68px 0 10px; font-size: 1.08rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.65; }
.roadmap { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 80px; }
.roadmap-list { display: grid; }
.roadmap-list span { position: relative; padding: 18px 18px 18px 42px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.roadmap-list span::before { content: ""; position: absolute; left: 12px; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: #485064; }
.roadmap-list .done, .roadmap-list .active { color: var(--text); }
.roadmap-list .done::before { background: var(--accent); }
.roadmap-list .active::before { background: var(--blue); box-shadow: 0 0 0 5px rgba(119,168,255,0.1); }
.site-footer { min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.76rem; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); max-width: min(420px, calc(100% - 32px)); padding: 11px 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(15,18,27,0.96); box-shadow: 0 18px 50px rgba(0,0,0,0.45); color: var(--text); font-size: 0.78rem; opacity: 0; pointer-events: none; transition: 180ms ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

html[dir="rtl"] .eyebrow { letter-spacing: 0; }
html[dir="rtl"] h1, html[dir="rtl"] h2 { letter-spacing: -0.035em; }
html[dir="rtl"] .clarity-note { text-align: right; }
html[dir="rtl"] .roadmap-list span { padding: 18px 42px 18px 18px; }
html[dir="rtl"] .roadmap-list span::before { left: auto; right: 12px; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: none; }
  .experience-panel { width: min(520px, 100%); margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 560px) {
  .shell, .site-header { width: min(100% - 24px, 1160px); }
  .site-header { min-height: 68px; }
  .brand-mark { width: 34px; height: 34px; }
  .beta-chip { display: none; }
  .hero { padding-block: 52px 64px; gap: 46px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.7rem); }
  .hero-text { font-size: 0.96rem; line-height: 1.65; }
  .trust-row { justify-content: space-between; gap: 12px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .primary-button, .hero-actions .ghost-button { width: 100%; }
  .experience-panel { padding: 12px; border-radius: 22px; }
  .phone-stage { min-height: 550px; border-radius: 17px; }
  .phone-screen { height: 500px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 210px; }
  .steps h3 { margin-top: 48px; }
  .section { padding-block: 72px; }
  .site-footer { align-items: flex-start; justify-content: center; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
