:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #09111f;
  --muted: #647084;
  --line: #dbe3ee;
  --soft: #edf3f8;
  --green: #10b981;
  --violet: #6d5dfc;
  --amber: #f59e0b;
  --blue: #2563eb;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(9, 17, 31, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(9, 17, 31, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 10%, rgba(16, 185, 129, 0.12), transparent 30%),
    var(--bg);
  background-size: 42px 42px, 42px 42px, auto, auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.2);
}

.brand span span {
  color: var(--green);
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

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

.header-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.primary-btn {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(9, 17, 31, 0.18);
}

.secondary-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.header-cta:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 58px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 950;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-copy p {
  max-width: 570px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

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

.phone-shell {
  position: absolute;
  inset: 18px auto auto 0;
  z-index: 2;
  width: min(390px, 68%);
  min-height: 560px;
  border: 10px solid #111827;
  border-radius: 38px;
  background: #fbfdff;
  box-shadow: var(--shadow);
  padding: 22px;
  overflow: hidden;
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 86px;
  height: 5px;
  border-radius: 99px;
  background: #111827;
  transform: translateX(-50%);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.phone-status b {
  color: var(--green);
}

.chart-card,
.ai-panel,
.mini-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.chart-card {
  margin-top: 22px;
  padding: 18px;
}

.chart-card div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.chart-card span,
.mini-grid span,
.ai-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chart-card strong {
  font-size: 22px;
  letter-spacing: 0;
}

.chart-card svg {
  width: 100%;
  margin-top: 10px;
}

.grid-line {
  stroke: #dce4ee;
  stroke-width: 1;
}

.area {
  fill: url(#chartFill);
}

.line {
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
}

.candles {
  fill: none;
  stroke: var(--violet);
  stroke-width: 5;
  stroke-linecap: round;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.mini-grid > div {
  padding: 16px;
}

.mini-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.ai-panel {
  margin-top: 14px;
  padding: 18px;
  background: #101828;
}

.ai-panel span {
  color: #8debc4;
}

.ai-panel p {
  margin: 8px 0 0;
  color: #eef5ff;
  font-size: 14px;
  line-height: 1.55;
}

.product-mockup {
  position: absolute;
  right: 0;
  bottom: 28px;
  width: min(430px, 64%);
  border-radius: 8px;
  filter: drop-shadow(0 28px 60px rgba(16, 24, 40, 0.18));
}

.feature-band {
  max-width: 1120px;
  margin: 32px auto 0;
  padding: 0 24px;
}

.feature-band article {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.feature-band article:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-band article > span {
  color: var(--green);
  font-size: 15px;
  font-weight: 950;
}

.feature-band h2,
.callback-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.feature-band p,
.callback-panel p,
.section-heading p,
.split-section p,
.pricing-card p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-block {
  max-width: 1120px;
  margin: 86px auto 0;
  padding: 0 24px;
}

.section-heading {
  max-width: 760px;
}

.section-heading span,
.eyebrow,
.pricing-card > div > span {
  display: inline-flex;
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading h2,
.split-section h2,
.pricing-card h3 {
  margin: 12px 0 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading.compact {
  max-width: 720px;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.app-screen {
  min-height: 410px;
  border: 1px solid rgba(219, 227, 238, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 54px rgba(16, 24, 40, 0.1);
  padding: 18px;
  overflow: hidden;
}

.screen-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.screen-top span,
.stat-row span,
.pill-row span,
.signal-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.screen-top strong {
  color: var(--ink);
  font-size: 16px;
  text-align: right;
}

.screen-chart {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 132px;
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}

.screen-chart i {
  display: block;
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--green), #a7f3d0);
}

.screen-chart i:nth-child(1) { height: 42%; }
.screen-chart i:nth-child(2) { height: 64%; }
.screen-chart i:nth-child(3) { height: 50%; }
.screen-chart i:nth-child(4) { height: 78%; }
.screen-chart i:nth-child(5) { height: 56%; }
.screen-chart i:nth-child(6) { height: 88%; }

.stat-row,
.signal-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--soft);
}

.stat-row b,
.signal-grid b {
  font-size: 13px;
}

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

.app-screen p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.candle-board {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 148px;
  margin-top: 24px;
  background:
    linear-gradient(90deg, rgba(9, 17, 31, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(9, 17, 31, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  border-radius: 8px;
  padding: 16px;
}

.candle-board i {
  position: relative;
  display: block;
  width: 14px;
  height: 68px;
  border-radius: 4px;
  background: var(--green);
}

.candle-board i::before {
  content: "";
  position: absolute;
  left: 6px;
  top: -16px;
  width: 2px;
  height: 100px;
  border-radius: 99px;
  background: currentColor;
  opacity: 0.5;
}

.candle-board i:nth-child(2n) {
  height: 48px;
  background: #ef4444;
}

.candle-board i:nth-child(3n) {
  height: 86px;
}

.pill-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.pill-row span {
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  padding: 8px 10px;
}

.lesson-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.lesson-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.lesson-list b {
  font-size: 14px;
}

.lesson-list span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.lesson-list li:last-child span {
  color: var(--muted);
}

.ai-screen {
  background: #101828;
}

.ai-screen .screen-top span,
.ai-screen p,
.ai-screen .signal-grid span {
  color: #b9c5d6;
}

.ai-screen .screen-top strong {
  color: #ffffff;
}

.ai-bubble {
  margin-top: 28px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.16);
  color: #efffff;
  padding: 18px;
  font-size: 15px;
  line-height: 1.55;
}

.ai-screen .signal-grid {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  align-items: start;
}

.path-list {
  display: grid;
  gap: 12px;
}

.path-list article,
.market-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
}

.path-list b {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
}

.path-list span,
.market-grid span,
.pricing-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}

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

.market-grid article {
  grid-template-columns: 1fr;
  min-height: 170px;
  align-content: start;
}

.market-grid b {
  font-size: 22px;
}

.pricing-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.pricing-card {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.18), transparent 38%),
    #101828;
  color: #ffffff;
  padding: 30px;
  box-shadow: var(--shadow);
}

.pricing-card h3 {
  color: #ffffff;
}

.pricing-card p {
  color: #b9c5d6;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  color: #eaf2fb;
}

.pricing-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 99px;
  background: var(--green);
}

.callback-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1120px;
  margin: 72px auto;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.24), transparent 35%),
    #0b1120;
  padding: 38px;
  box-shadow: var(--shadow);
}

.callback-panel h2 {
  color: #ffffff;
}

.callback-panel p {
  color: #b9c5d6;
}

.primary-btn.dark {
  flex: 0 0 auto;
  background: #ffffff;
  color: #0b1120;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 46px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 580px;
  }

  .phone-shell {
    width: min(360px, 78%);
  }

  .product-mockup {
    width: min(390px, 72%);
  }

  .callback-panel {
    margin-inline: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .split-section,
  .pricing-section,
  .pricing-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    width: 100%;
    max-width: 100vw;
    padding-inline: 18px;
    overflow: hidden;
  }

  .hero-copy,
  .hero-copy p {
    max-width: 354px;
  }

  .hero-copy h1 {
    max-width: 354px;
  }

  .hero-copy h1 {
    font-size: 45px;
  }

  .hero-actions a {
    width: 354px;
    max-width: calc(100vw - 36px);
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 354px;
  }

  .hero-visual {
    min-height: 560px;
    overflow: hidden;
  }

  .phone-shell {
    left: 50%;
    width: min(330px, calc(100vw - 36px));
    min-height: 500px;
    padding: 18px;
    transform: translateX(-50%);
  }

  .chart-card {
    padding: 16px;
    overflow: hidden;
  }

  .chart-card div {
    display: block;
  }

  .chart-card strong {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    text-align: left;
  }

  .ai-panel p {
    font-size: 13px;
  }

  .product-mockup {
    display: none;
  }

  .feature-band article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-block {
    margin-top: 62px;
    padding-inline: 18px;
  }

  .screens-grid,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .app-screen {
    min-height: 360px;
  }

  .callback-panel {
    padding: 26px;
  }

  footer {
    flex-direction: column;
  }
}
