:root {
  --bg-a: #fff6e8;
  --bg-b: #d4f8e8;
  --ink: #1d2939;
  --muted: #5a677a;
  --card: rgba(255, 255, 255, 0.85);
  --line: rgba(29, 41, 57, 0.1);
  --accent: #ff6b2c;
  --accent-2: #0aa38f;
  --shadow: 0 20px 60px rgba(9, 30, 66, 0.14);
}

[data-theme="dark"] {
  --bg-a: #0f1722;
  --bg-b: #111a2a;
  --ink: #e8eef7;
  --muted: #a6b2c5;
  --card: rgba(22, 30, 46, 0.88);
  --line: rgba(232, 238, 247, 0.16);
  --accent: #ff8a4c;
  --accent-2: #34d7bd;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Rubik", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: linear-gradient(140deg, var(--bg-a), var(--bg-b));
  scroll-behavior: smooth;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 107, 44, 0.15), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(10, 163, 143, 0.2), transparent 35%),
    radial-gradient(circle at 40% 80%, rgba(255, 190, 92, 0.2), transparent 33%);
  z-index: -1;
}

.topbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), #ffb457);
  box-shadow: 0 0 0 6px rgba(255, 107, 44, 0.14);
}

nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

nav select,
.theme-toggle {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  height: 36px;
  font-size: 13px;
}

nav select {
  padding: 0 10px;
  min-width: 118px;
}

.theme-toggle {
  padding: 0 12px;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px 64px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 110px);
}

.app-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(13, 27, 44, 0.16);
  background: #fff;
}

.app-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
}

.app-sub {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.eyebrow {
  margin: 0;
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin: 12px 0;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.08;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 64ch;
}

.action-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(130deg, var(--accent), #ff9351);
  box-shadow: 0 12px 24px rgba(255, 107, 44, 0.35);
}

.btn.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.btn.mini {
  padding: 8px 14px;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(130deg, var(--accent-2), #12b0a2);
}

.meta {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.meta li {
  min-width: 170px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.meta strong {
  font-size: 22px;
  display: block;
}

.meta span {
  color: var(--muted);
  font-size: 13px;
}

.phone {
  width: min(360px, 86vw);
  margin: 0 auto;
  background: #1f2735;
  border-radius: 34px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.notch {
  width: 42%;
  height: 26px;
  margin: 4px auto 8px;
  border-radius: 14px;
  background: #141b26;
}

.screen {
  border-radius: 24px;
  min-height: 520px;
  background: linear-gradient(180deg, #fff7ec, #eaf9f3);
  padding: 22px;
}

[data-theme="dark"] .screen {
  background: linear-gradient(180deg, #182233, #101a2b);
}

.chip {
  margin: 0;
  font-size: 11px;
  display: inline-block;
  border: 1px solid rgba(10, 163, 143, 0.3);
  color: var(--accent-2);
  border-radius: 999px;
  padding: 6px 9px;
  letter-spacing: 0.4px;
}

.screen h3 {
  margin: 10px 0 8px;
  font-size: 28px;
}

.phone-gallery {
  margin-top: 8px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

[data-theme="dark"] .phone-gallery {
  background: #0f1722;
}

.phone-gallery img {
  width: 100%;
  aspect-ratio: 392 / 696;
  object-fit: cover;
  display: block;
}

.phone-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.phone-controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.phone-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.phone-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(29, 41, 57, 0.28);
}

.phone-dots span.active {
  width: 20px;
  border-radius: 999px;
  background: var(--accent);
}

.section {
  margin-top: 80px;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 40px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(13, 27, 44, 0.06);
}

.grid article h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.grid article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.66);
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 8px;
}

[data-theme="dark"] .timeline div,
[data-theme="dark"] #faq details,
[data-theme="dark"] .cta {
  background: rgba(22, 30, 46, 0.78);
}

.timeline span {
  font-weight: 800;
  color: var(--accent-2);
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.cta {
  border-radius: 20px;
  border: 1px solid rgba(29, 41, 57, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.55));
  padding: 28px;
}

#faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
}

#faq details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

footer {
  max-width: 1180px;
  margin: 50px auto 0;
  padding: 24px 20px 40px;
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .right {
    order: -1;
  }
}

@media (max-width: 680px) {
  nav {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  nav a {
    font-size: 14px;
  }

  nav select {
    min-width: 94px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .app-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

  .timeline div {
    grid-template-columns: 1fr;
  }
}
