:root {
  --bg: #070a14;
  --bg-2: #0a0f1f;
  --bg-alt: #0c1326;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef2fb;
  --muted: #9aa6c2;
  --muted-2: #7c89a8;
  --rainbow: linear-gradient(
    100deg,
    #8b5cf6 0%,
    #3b82f6 28%,
    #22d3ee 52%,
    #a3e635 76%,
    #facc15 100%
  );
  --radius: 18px;
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 860px;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", "Inter", sans-serif;
  margin: 0 0 0.4em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.gradient-text {
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

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

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

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-rainbow {
  position: relative;
  background: #050810;
  color: #fff;
  z-index: 0;
}

.btn-rainbow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--rainbow);
  z-index: -1;
}

.btn-rainbow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #0a0f1f;
  z-index: -1;
  transition: background 0.25s ease;
}

.btn-rainbow:hover {
  box-shadow: 0 12px 40px -8px rgba(59, 130, 246, 0.6);
}

.btn-rainbow:hover::after {
  background: #11182e;
}

.btn-block {
  width: 100%;
  padding: 16px;
}

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 10, 20, 0.6);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(7, 10, 20, 0.92);
  border-bottom-color: var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand-name {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 8px;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* ====== Hero ====== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 85% 0%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(900px 500px at 5% 90%, rgba(139, 92, 246, 0.16), transparent 60%),
    var(--bg);
  padding: 60px 0 90px;
}

.hero-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  right: -10%;
  top: 20%;
  width: 60%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.18), transparent);
  filter: blur(40px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: "Sora", sans-serif;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 18px;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 800;
  margin: 0 0 22px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ====== Sections ====== */
.section {
  position: relative;
  padding: 96px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-alt));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 700;
}

.section-title.center,
.kicker.center,
.muted.center {
  text-align: center;
}

.kicker {
  font-family: "Sora", sans-serif;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  font-weight: 600;
  color: #22d3ee;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.lead {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 30px;
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

/* check list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rainbow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 80% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 80% no-repeat;
}

.brand-link {
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.rubik-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--muted);
}

.rubik-note strong {
  color: var(--text);
}

.rubik-note a {
  font-weight: 600;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.2s ease;
}

.rubik-note a:hover {
  opacity: 0.75;
}

/* two column */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.store-badges {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.store-badge:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.store-badge-soon {
  opacity: 0.5;
  cursor: default;
}

.store-badge-soon:hover {
  transform: none;
  border-color: var(--border);
}

.store-badge-icon {
  font-size: 1.3rem;
}

.store-badge small {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.store-badge strong {
  display: block;
  font-size: 0.96rem;
}

/* phone mock */
.phone-mock {
  width: 280px;
  height: 560px;
  margin: 0 auto;
  border-radius: 38px;
  padding: 12px;
  background: linear-gradient(160deg, #1a2238, #0a0f1f);
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px -30px rgba(59, 130, 246, 0.5);
  position: relative;
}

.phone-mock::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 40px;
  background: var(--rainbow);
  z-index: -1;
  opacity: 0.55;
  filter: blur(8px);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: #060a14;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
}

.phone-app-name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.phone-app-live {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
  border-radius: 999px;
  padding: 2px 8px;
}

.phone-chart {
  width: 100%;
  flex: 1;
}

.phone-ticker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
}

.phone-ticker .up { color: #4ade80; }
.phone-ticker .down { color: #f87171; }

/* ====== Cards ====== */
.cards {
  display: grid;
  gap: 24px;
  margin-top: 50px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.4);
  background: var(--surface-2);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--rainbow);
  color: #050810;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

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

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

.feature {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--rainbow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature h3 {
  font-size: 1.1rem;
}

.feature p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ====== CTA ====== */
.cta {
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.22), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.contact-form {
  margin-top: 40px;
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background: var(--surface-2);
}

.form-success {
  text-align: center;
  color: #4ade80;
  font-weight: 600;
  margin: 6px 0 0;
}

/* ====== Footer ====== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 70px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}

.footer-tagline {
  margin-top: 18px;
  max-width: 320px;
  color: var(--muted-2);
}

.footer-col h4 {
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: #22d3ee;
}

.disclaimer {
  padding-top: 36px;
  font-size: 0.8rem;
  color: var(--muted-2);
}

.disclaimer h4 {
  color: var(--text);
  margin-bottom: 14px;
}

.disclaimer p {
  margin: 0 0 12px;
}

.disclaimer strong {
  color: var(--muted);
}

.copyright {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem;
}

.copyright p {
  margin: 0;
}

/* ====== Reveal animation ====== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ====== Responsive ====== */
@media (max-width: 980px) {
  .cards.four {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .col-media {
    order: -1;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }
  .section {
    padding: 64px 0;
  }
  .cards.three {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero {
    min-height: auto;
    padding: 50px 0 70px;
  }
}

@media (max-width: 480px) {
  .cards.four {
    grid-template-columns: 1fr;
  }
}
