@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #08111f;
  --bg-soft: #0d1830;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --text: #eef4ff;
  --muted: rgba(238, 244, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --primary: #47b4ff;
  --primary-hover: #67c0ff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --max: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Sora", "Avenir Next", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 700px at 10% 0%, rgba(71, 180, 255, 0.18), transparent 60%),
    radial-gradient(1000px 700px at 90% 10%, rgba(47, 125, 255, 0.18), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.55;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page {
  min-height: 100vh;
}

.wrapper {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(8, 17, 31, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 80px;
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.logo-tagline {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.15;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.96rem;
  white-space: nowrap;
  transition: color 0.15s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  position: relative;
  transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav.nav-open .nav-toggle span {
  background: transparent;
}

.nav.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #03101f;
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-ghost {
  background: var(--panel);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--panel-strong);
  border-color: var(--line-strong);
}

/* homepage */

.hero {
  padding: 78px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 42px;
  align-items: center;
}

.hero-kicker,
.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a9d9ff;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 11.5ch;
}

.hero-subtitle,
.section-intro,
.feature-body,
.contact-meta,
.pricing-footnote,
.hero-note,
.hero-market-note {
  color: var(--muted);
  font-size: 1rem;
}

.hero-subtitle {
  margin: 0 0 14px;
  max-width: 64ch;
}

.hero-badges,
.hero-cta-row,
.hero-footer,
.stat-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges {
  margin: 24px 0 18px;
}

.badge,
.pill,
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.92rem;
}

.hero-cta-row {
  margin: 10px 0 18px;
}

.hero-note {
  margin: 0 0 14px;
}

.hero-footer {
  align-items: center;
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 14px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #42d27a;
  display: inline-block;
  flex-shrink: 0;
}

.hero-market-note {
  margin: 0;
}

.hero-card,
.feature-card,
.strip-card,
.pricing-card,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(71, 180, 255, 0.14), rgba(255, 255, 255, 0.04)),
    var(--panel);
}

.hero-card-header,
.timeline-header,
.strip-card-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-card-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.hero-card-tag {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 4px;
}

.hero-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.pill {
  padding: 8px 12px;
  font-size: 0.84rem;
}

.pill-accent {
  background: rgba(71, 180, 255, 0.18);
  border-color: rgba(71, 180, 255, 0.35);
  color: #d7ecff;
}

.timeline {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.timeline-header {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.timeline-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.timeline-row-label {
  font-weight: 600;
}

.timeline-row-pill {
  color: var(--muted);
  font-size: 0.9rem;
}

section {
  padding: 44px 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 24px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.95rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-intro {
  margin: 0;
}

.features-grid,
.pricing-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.feature-card,
.pricing-card,
.contact-card {
  padding: 22px;
}

.feature-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #a9d9ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-title,
.pricing-name {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.feature-body {
  margin: 0;
}

.market-card ul,
.pricing-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.market-card li,
.pricing-list li {
  margin-bottom: 10px;
}

.strip .strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.strip-card {
  padding: 14px;
}

.strip-card-row {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}

.strip-card-row:last-child {
  border-bottom: 0;
}

.strip-card-row span:last-child {
  color: var(--muted);
  text-align: right;
}

.stat-pill-row {
  margin-top: 18px;
}

.stat-pill {
  border-radius: 16px;
  padding: 14px 16px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card.highlight {
  border-color: rgba(71, 180, 255, 0.45);
  background: linear-gradient(180deg, rgba(71,180,255,0.16), rgba(255,255,255,0.05));
}

.pricing-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(71, 180, 255, 0.16);
  border: 1px solid rgba(71, 180, 255, 0.32);
  color: #d7ecff;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-price {
  font-size: 1.72rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.pricing-period {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}

.pricing-footnote {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

.contact-card form {
  display: grid;
  gap: 16px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--muted);
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: rgba(71, 180, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.contact-textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-btn {
  width: 100%;
}

/* support / login / signup shared */

.support-hero {
  padding: 56px 0 20px;
}

.page-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page-meta {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
}

.support-section {
  padding: 24px 0 44px;
}

.support-card-title,
.support-faq-title {
  margin: 0 0 10px;
}

.support-intro {
  margin-bottom: 18px;
}

.msg {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  display: none;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.msg.ok {
  background: rgba(50, 205, 50, 0.15);
  border: 1px solid rgba(50, 205, 50, 0.35);
}

.msg.err {
  background: rgba(255, 80, 80, 0.15);
  border: 1px solid rgba(255, 80, 80, 0.35);
}

.links-row {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.links-row a {
  color: #9cc3ff;
}

.divider {
  margin: 24px 0 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.store-wrap {
  display: none;
  margin-top: 16px;
}

.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.store-btn {
  flex: 1 1 220px;
}

.small-note {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(233, 238, 251, 0.72);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hidden {
  display: none !important;
}

/* signup */

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

.section-mini-title {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-mini-copy {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.field-help {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.chip-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-option span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.chip-option:has(input:checked) span {
  color: #d9f0ff;
  background: rgba(71, 180, 255, 0.16);
  border-color: rgba(71, 180, 255, 0.48);
}

.dashboard-choice-list {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.dashboard-choice {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.dashboard-choice:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.dashboard-choice input[type="radio"] {
  margin: 3px 0 0;
  width: 16px;
  height: 16px;
  accent-color: #47b4ff;
}

.dashboard-choice-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-choice-title {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.dashboard-choice-copy {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.dashboard-choice input[type="radio"]:checked + .dashboard-choice-body .dashboard-choice-title {
  color: #d9f0ff;
}

.dashboard-choice:has(input[type="radio"]:checked) {
  background: rgba(71, 180, 255, 0.14);
  border-color: rgba(71, 180, 255, 0.48);
}

/* get app */

.get-app-buttons {
  justify-content: center;
}

.get-app-buttons .store-btn {
  min-height: 52px;
}

/* forgot password link-style button */

.forgot-link {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: #9cc3ff;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.forgot-link:focus,
.forgot-link:active {
  outline: none;
  box-shadow: none;
}

/* footer */

footer {
  padding: 22px 0 34px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
}

.footer-row {
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a:hover {
  color: var(--text);
}

/* responsive */

@media (max-width: 1220px) {
  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 0.92rem;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .strip .strip-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-card {
    max-width: 760px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid .pricing-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .nav {
    min-height: 78px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links,
  .nav-cta {
    display: none;
    width: 100%;
  }

  .nav.nav-open .nav-links,
  .nav.nav-open .nav-cta {
    display: flex;
  }

  .nav.nav-open .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0 8px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }

  .nav.nav-open .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 8px 0 6px;
  }

  .nav.nav-open .nav-cta .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .wrapper {
    width: min(var(--max), calc(100% - 24px));
  }

  .hero-title {
    font-size: clamp(2.15rem, 10vw, 3.3rem);
    max-width: 11ch;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

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

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid .pricing-card:last-child {
    grid-column: auto;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .hero-cta-row .btn,
  .hero-badges .badge {
    width: 100%;
  }

  .hero-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .strip .strip-inner {
    padding: 18px;
    border-radius: 22px;
  }

  .feature-card,
  .pricing-card,
  .contact-card,
  .hero-card {
    padding: 18px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .row-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-choice {
    grid-template-columns: 18px 1fr;
    padding: 13px 14px;
  }
}

@media (max-width: 560px) {
  .links-row {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .store-buttons {
    flex-direction: column;
  }

  .store-btn {
    width: 100%;
    flex: 1 1 auto;
  }

  .small-note {
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .site-header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .nav {
    min-height: 72px;
  }

  .logo-img {
    width: 56px;
    height: 56px;
  }

  .logo-tagline {
    font-size: 0.82rem;
    white-space: normal;
  }

  .hero {
    padding: 40px 0 30px;
  }

  section {
    padding: 32px 0;
  }

  .hero-subtitle,
  .section-intro,
  .feature-body,
  .contact-meta,
  .pricing-footnote,
  .hero-note,
  .hero-market-note,
  .pricing-period,
  .timeline-header,
  .footer-row {
    font-size: 0.95rem;
  }

  .btn {
    min-height: 44px;
  }

  .badge,
  .pill,
  .stat-pill {
    font-size: 0.88rem;
  }

  .strip-card-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .strip-card-row span:last-child {
    text-align: left;
  }
}