:root {
  --ink: #071124;
  --muted: #607088;
  --line: #d9e4f2;
  --soft: #f3f8fc;
  --panel: #ffffff;
  --primary: #0788f2;
  --primary-dark: #06468f;
  --cyan: #55dff1;
  --silver: #d7dde8;
  --green: #13c98b;
  --danger: #ef5f6b;
  --shadow: 0 18px 50px rgba(5, 33, 76, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 228, 242, 0.85);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #314058;
  font-weight: 650;
  font-size: 14px;
}

.nav-links a {
  padding: 8px 0;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  font-size: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 28px rgba(7, 136, 242, 0.28);
}

.btn-secondary {
  color: var(--primary-dark);
  background: #fff;
  border-color: var(--line);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--soft);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 76px);
  max-width: 900px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  max-width: 760px;
}

h3 {
  font-size: 22px;
}

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

.lead {
  font-size: clamp(17px, 2vw, 21px);
  max-width: 760px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 12%, rgba(85, 223, 241, 0.23), transparent 34%),
    linear-gradient(135deg, #061735 0%, #09275a 50%, #0b4c9b 100%);
  color: white;
}

.hero .container {
  min-height: calc(100vh - 76px);
  padding: 74px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 48px;
}

.hero p,
.hero .lead {
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.metric-chip {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
}

.metric-chip strong {
  display: block;
  color: white;
  font-size: 22px;
  line-height: 1;
}

.metric-chip span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

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

.market-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.terminal-panel {
  position: absolute;
  left: -28px;
  bottom: 32px;
  width: min(380px, 76%);
  padding: 18px;
  border-radius: 8px;
  background: rgba(7, 17, 36, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.ticker-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 800;
}

.ticker-line:last-child {
  border-bottom: 0;
}

.up {
  color: var(--green);
}

.down {
  color: var(--danger);
}

.hero-title {
  display: grid;
  gap: 22px;
}

.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(7, 136, 242, 0.18);
  background: rgba(7, 136, 242, 0.08);
  color: var(--primary-dark);
  padding: 8px 12px;
  font-weight: 800;
  font-size: 13px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}

.section-head p {
  max-width: 460px;
}

.feature-stack {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: stretch;
}

.feature-media {
  overflow: hidden;
  border-radius: 8px;
  background: #061735;
  min-height: 420px;
  position: relative;
  color: white;
  padding: 30px;
}

.chart-card {
  margin-top: 18px;
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.spark {
  height: 120px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  align-items: end;
  gap: 8px;
  margin-top: 22px;
}

.spark span {
  display: block;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--primary));
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
  box-shadow: 0 10px 28px rgba(7, 17, 36, 0.05);
}

.icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  font-weight: 900;
  margin-bottom: 18px;
}

.card h3 {
  margin-bottom: 10px;
}

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

.step {
  position: relative;
  padding-top: 22px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 850;
  margin-bottom: 18px;
}

.compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.compare > div {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.compare > div:last-child {
  border-right: 0;
}

.quote-band {
  background: #061735;
  color: white;
}

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

.quote-grid .card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.13);
}

.quote-grid p,
.quote-band p {
  color: rgba(255, 255, 255, 0.72);
}

.cta-band {
  background: linear-gradient(135deg, #eef8ff, #f8fbff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.page-hero {
  padding: 84px 0 58px;
  background:
    radial-gradient(circle at 80% 20%, rgba(85, 223, 241, 0.2), transparent 28%),
    linear-gradient(135deg, #f6fbff, #fff);
  border-bottom: 1px solid var(--line);
}

.page-hero .lead {
  margin-top: 18px;
}

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

.rounded-img {
  border-radius: 8px;
  min-height: 430px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

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

.legal-wrap {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-note {
  padding: 22px;
  border-radius: 8px;
  background: #eef8ff;
  border: 1px solid #cbe5fb;
  margin-bottom: 24px;
}

.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.legal-section ul {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 800;
  color: #26364e;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  min-height: 46px;
  font: inherit;
  color: var(--ink);
  background: white;
}

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

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.form-message {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 750;
}

.form-message.show {
  display: block;
  background: #eafaf4;
  color: #08724f;
  border: 1px solid #bfeada;
}

.download-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
}

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

.store {
  min-width: 178px;
  background: #071124;
  color: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 850;
}

.store small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  background: #071124;
  color: white;
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.h5-only .site-header,
.h5-only .footer {
  display: none;
}

@media (max-width: 880px) {
  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    width: min(100% - 28px, 1180px);
  }

  .nav-links {
    position: absolute;
    inset: 76px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    box-shadow: var(--shadow);
  }

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

  .nav-actions .btn {
    display: none;
  }

  .container,
  .legal-wrap {
    width: min(100% - 28px, 1180px);
  }

  .hero .container,
  .feature-stack,
  .split,
  .contact-grid,
  .download-panel,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero .container {
    min-height: auto;
    padding-top: 54px;
  }

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

  .market-photo {
    height: 360px;
  }

  .terminal-panel {
    position: static;
    margin: -70px auto 0;
    width: calc(100% - 24px);
  }

  .trust-row,
  .flow,
  .compare,
  .quote-grid,
  .stat-grid,
  .info-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    display: grid;
  }

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

@media (max-width: 520px) {
  h1 {
    font-size: 40px;
  }

  .brand span {
    display: none;
  }

  .hero-actions,
  .button-row,
  .store-buttons {
    flex-direction: column;
  }

  .btn,
  .store {
    width: 100%;
  }
}
