:root {
  --bg: #060912;
  --bg-soft: #0e1423;
  --surface: #10192b;
  --surface-2: #15213a;
  --border: #253552;
  --text: #eef3ff;
  --text-muted: #a7b5d6;
  --brand: #ffbf64;
  --brand-2: #7ea6ff;
  --ok: #8ce4ad;
  --danger: #ff8d8d;
  --container: 1160px;
  --radius: 18px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Sora", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 10%, rgba(83, 129, 255, 0.14), transparent 36%),
    radial-gradient(circle at 92% 16%, rgba(255, 196, 110, 0.14), transparent 34%),
    linear-gradient(150deg, #060912 0%, #090f1e 48%, #05070d 100%);
  color: var(--text);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body.mobile-cta-active {
  padding-bottom: 76px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background: rgba(126, 166, 255, 0.12);
  border: 1px solid rgba(126, 166, 255, 0.26);
  border-radius: 6px;
  padding: 0.15rem 0.35rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(126, 166, 255, 0.18);
  background: rgba(5, 8, 16, 0.8);
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .site-header {
    background: rgba(7, 11, 22, 0.96);
  }
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 30px;
  height: 30px;
}

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(126, 166, 255, 0.35);
  background: rgba(18, 30, 52, 0.52);
  color: #d6e4ff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  will-change: transform;
  cursor: pointer;
}

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

.btn-primary {
  color: #111;
  background: linear-gradient(120deg, #ffd18a 0%, #ffb84c 100%);
  box-shadow: 0 10px 28px rgba(255, 184, 76, 0.3);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(126, 166, 255, 0.35);
  background: rgba(18, 30, 52, 0.45);
}

.btn-light {
  color: #0c1222;
  background: #edf2ff;
}

.hero {
  padding: 68px 0 42px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Sora", "Space Grotesk", sans-serif;
  line-height: 1.18;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(1.45rem, 2.45vw, 2.55rem);
}

.hero p {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1.06rem;
  max-width: 640px;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.note {
  margin-top: 18px;
  color: #8fa2ca;
  font-size: 0.9rem;
}

.note-pill {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(126, 166, 255, 0.32);
  background: rgba(13, 21, 36, 0.72);
  color: #afbedc;
  font-size: 0.9rem;
}

.note-pill strong {
  color: #e4eeff;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.hero-visual .hero-bg {
  position: relative;
  height: 460px;
  border-radius: 24px;
  border: 1px solid rgba(126, 166, 255, 0.28);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 22%, rgba(126, 166, 255, 0.35), transparent 44%),
    linear-gradient(120deg, rgba(8, 14, 26, 0.52), rgba(4, 8, 16, 0.34) 45%, rgba(255, 190, 97, 0.12));
  pointer-events: none;
}

.hero-visual .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) hue-rotate(-8deg) contrast(1.04);
}

.hero-shot {
  position: absolute;
  border-radius: 24px;
  border: 1px solid rgba(126, 166, 255, 0.4);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
}

.hero-shot-guide {
  right: 210px;
  bottom: 44px;
  width: min(22vw, 180px);
  transform: rotate(-12deg);
  z-index: 2;
  animation: floatY 5.2s ease-in-out infinite;
}

.hero-shot-chat {
  right: 24px;
  bottom: -18px;
  width: min(30vw, 250px);
  z-index: 3;
  animation: floatY 4.8s ease-in-out infinite;
}

.chat-bubble {
  position: absolute;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(126, 166, 255, 0.35);
  background: rgba(6, 14, 28, 0.86);
  color: #e6efff;
  font-size: 0.86rem;
  line-height: 1.35;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  z-index: 4;
}

.chat-bubble-top {
  left: 16px;
  top: 16px;
}

.chat-bubble-bottom {
  left: 22px;
  bottom: 24px;
}

.chat-bubble::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 8px;
  background: #8ec0ff;
  box-shadow: 0 0 12px rgba(142, 192, 255, 0.8);
  vertical-align: 1px;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.stats {
  padding: 22px 0 8px;
}

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

.stat {
  background: linear-gradient(130deg, rgba(15, 25, 43, 0.9), rgba(13, 21, 37, 0.8));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 1.28rem;
  color: #f4f7ff;
}

.stat span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section {
  padding: 64px 0;
}

.section-head {
  margin-bottom: 24px;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--text-muted);
}

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

.card {
  background: linear-gradient(145deg, rgba(17, 27, 46, 0.95), rgba(12, 18, 31, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.card h3 {
  font-size: 1.12rem;
}

.card p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.card li {
  color: #d7e2f8;
  font-size: 0.93rem;
}

.card li + li {
  margin-top: 4px;
}

.shot-rail {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.shot-rail img {
  border-radius: 14px;
  border: 1px solid rgba(126, 166, 255, 0.28);
  height: 100%;
  object-fit: cover;
}

.compare {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(13, 20, 35, 0.92);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 760px;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(39, 55, 84, 0.75);
  font-size: 0.94rem;
}

th {
  font-weight: 700;
  background: rgba(18, 29, 49, 0.96);
}

td:nth-child(2) {
  color: #dbf3e6;
}

td:nth-child(3) {
  color: #d7e1f7;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  padding: 4px 8px;
  color: #a0c4ff;
  background: rgba(126, 166, 255, 0.12);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.alt-card {
  background: linear-gradient(145deg, rgba(17, 27, 46, 0.95), rgba(11, 17, 30, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.alt-card h3 {
  font-size: 1.2rem;
}

.alt-card p {
  color: var(--text-muted);
}

.faq {
  display: grid;
  gap: 10px;
}

details {
  background: rgba(13, 21, 36, 0.9);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

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

details p {
  margin: 10px 0 0;
  color: var(--text-muted);
}

.cta-panel {
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 192, 98, 0.22), transparent 38%),
    radial-gradient(circle at 8% 70%, rgba(121, 159, 255, 0.23), transparent 40%),
    linear-gradient(140deg, #101a2f 0%, #0a0f1f 100%);
  border: 1px solid rgba(126, 166, 255, 0.35);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.cta-panel p {
  margin: 12px 0 0;
  color: #c6d4f4;
  max-width: 700px;
}

.cta-panel .hero-actions {
  margin-top: 20px;
}

.subtle {
  color: #90a2c6;
  font-size: 0.87rem;
}

.site-footer {
  border-top: 1px solid rgba(126, 166, 255, 0.15);
  margin-top: 56px;
  padding: 22px 0 38px;
}

.footer-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.3fr 1fr;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.footer-links a {
  color: #c7d5ee;
  font-size: 0.88rem;
  border: 1px solid rgba(126, 166, 255, 0.26);
  background: rgba(16, 25, 43, 0.65);
  border-radius: 999px;
  padding: 6px 10px;
}

.footer-links a.meta-link {
  border-color: rgba(255, 191, 100, 0.34);
  background: rgba(255, 191, 100, 0.08);
}

.small {
  font-size: 0.84rem;
  color: #8da0c6;
}

.page-hero {
  padding: 62px 0 26px;
}

.page-hero h1 {
  max-width: 980px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #8fa1c8;
  font-size: 0.88rem;
  margin: 0 0 10px;
}

.breadcrumb a {
  color: #b7c7ea;
}

.content {
  display: grid;
  gap: 14px;
}

.content h2 {
  font-size: 1.5rem;
  margin-top: 12px;
}

.content h3 {
  font-size: 1.13rem;
}

.content p,
.content li {
  color: #d8e3fb;
}

.content ul {
  padding-left: 18px;
  margin: 8px 0 0;
}

.content li + li {
  margin-top: 6px;
}

.highlight {
  border-left: 3px solid var(--brand);
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 190, 93, 0.08);
  color: #ffe9c7;
}

.callout-danger {
  border-left-color: var(--danger);
  background: rgba(255, 141, 141, 0.08);
  color: #ffd8d8;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 10px;
}

.step {
  background: rgba(13, 21, 36, 0.92);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.step strong {
  display: block;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pager .btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.pager-status {
  color: var(--text-muted);
  font-size: 0.92rem;
  min-width: 120px;
  text-align: center;
}

.open-app-wrap {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.open-card {
  width: min(700px, 92vw);
  text-align: center;
}

.spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(161, 186, 239, 0.22);
  border-top-color: var(--brand);
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.mobile-install {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(126, 166, 255, 0.4);
  background: rgba(8, 13, 24, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.mobile-install.show {
  display: flex;
}

.mobile-install .left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mobile-install .left img {
  width: 34px;
  height: 34px;
}

.mobile-install .left .text {
  min-width: 0;
}

.mobile-install .left strong {
  display: block;
  font-size: 0.84rem;
  line-height: 1.2;
}

.mobile-install .left span {
  display: block;
  color: #a9b8d8;
  font-size: 0.72rem;
  line-height: 1.2;
}

.mobile-install .btn {
  min-height: 40px;
  padding: 0 12px;
  white-space: nowrap;
}

@media (max-width: 1320px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 10, 20, 0.97);
    border: 1px solid rgba(126, 166, 255, 0.3);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.42);
    padding: 8px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .header-inner.nav-open .nav {
    display: flex;
  }

  .nav a {
    border-radius: 10px;
    padding: 10px 12px;
  }

  .nav a:hover,
  .nav a.active {
    background: rgba(126, 166, 255, 0.16);
  }

  .header-cta .btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .feature-grid,
  .alt-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .shot-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 66px;
    flex-wrap: nowrap;
    padding: 10px 0;
  }

  .header-cta {
    margin-left: auto;
  }

  .header-cta .btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual .hero-bg {
    height: 300px;
  }

  .hero-shot-guide {
    right: 160px;
    bottom: 40px;
    width: min(36vw, 170px);
  }

  .hero-shot-chat {
    right: 8px;
    bottom: -8px;
    width: min(47vw, 220px);
  }

  .chat-bubble {
    max-width: 210px;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .chat-bubble-bottom {
    left: 12px;
    bottom: 14px;
  }

  .stats-grid,
  .shot-rail {
    grid-template-columns: 1fr 1fr;
  }

  .cta-panel {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(1.7rem, 8.2vw, 2.35rem);
  }

  h2 {
    font-size: clamp(1.3rem, 6.6vw, 1.85rem);
  }

  .hero-visual .hero-bg {
    height: 240px;
  }

  .hero-shot-guide {
    right: 124px;
    bottom: 34px;
    width: min(36vw, 138px);
  }

  .hero-shot-chat {
    right: 8px;
    bottom: -10px;
    width: min(44vw, 180px);
  }

  .chat-bubble-top {
    left: 10px;
    top: 10px;
  }

  .chat-bubble-bottom {
    left: 10px;
    bottom: 10px;
    max-width: 184px;
  }

  .hero p {
    font-size: 0.97rem;
  }

  .stats-grid,
  .shot-rail {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .mobile-install {
    display: flex;
    padding: 8px;
    gap: 8px;
  }

  .mobile-install .left span {
    display: none;
  }

  .mobile-install .left strong {
    font-size: 0.8rem;
  }

  .mobile-install .left img {
    width: 30px;
    height: 30px;
  }

  .mobile-install .btn {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.9rem;
  }
}
