:root {
  --bg: #041323;
  --bg-soft: #071b30;
  --panel: rgba(9, 31, 54, 0.82);
  --panel-solid: #0a2038;
  --line: rgba(154, 188, 220, 0.18);
  --text: #f4f8fb;
  --muted: #9eb0c2;
  --green: #32d66b;
  --green-dark: #1aaf4e;
  --blue: #2d95ff;
  --purple: #8b5cf6;
  --gold: #f2ad34;
  --red: #ff5b62;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 13%, rgba(0, 123, 191, .18), transparent 32%),
    linear-gradient(180deg, #03101e 0%, #05172a 52%, #06192d 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { display: block; }

.site-header {
  min-height: 86px;
  padding: 0 3.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 16, 30, .9);
  backdrop-filter: blur(16px);
}

.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(50,214,107,.17), rgba(45,149,255,.08));
}
.brand-icon svg { width: 31px; fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy strong { display: block; font-size: 1.55rem; letter-spacing: -.04em; line-height: 1; }
.brand-copy strong span { color: var(--green); }
.brand-copy small { color: #c7d2dd; font-size: .7rem; }

.site-nav { display: flex; align-items: center; justify-content: center; gap: 30px; font-weight: 600; font-size: .92rem; }
.site-nav a { padding: 31px 2px 27px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: #fff; border-color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-button {
  width: 42px; height: 42px; border: 0; background: transparent; color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.icon-button svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button {
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: 0 12px 30px rgba(50,214,107,.16); }
.button-outline { color: #fff; border-color: rgba(205,222,239,.7); background: rgba(255,255,255,.015); }
.button.small { padding: 10px 18px; font-size: .88rem; }
.button.large { padding: 15px 26px; }
.button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-button { display: none; background: none; border: 0; padding: 8px; }
.menu-button span { width: 25px; height: 2px; margin: 5px 0; display: block; background: white; }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 5vw;
  padding: 75px 5.5vw 70px;
  position: relative;
  overflow: hidden;
}
.hero-background-grid {
  position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(47, 146, 209, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(47,146,209,.18) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to right, transparent, black 45%, black);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.glow-one { width: 480px; height: 480px; right: -60px; top: 70px; background: rgba(0,150,255,.15); }
.glow-two { width: 380px; height: 380px; left: 12%; bottom: -240px; background: rgba(50,214,107,.09); }
.hero-content, .chart-card { position: relative; z-index: 2; }
.market-pill {
  display: inline-flex; align-items: center; gap: 11px;
  border: 1px solid rgba(50,214,107,.12);
  background: rgba(29, 120, 67, .18);
  padding: 8px 13px; border-radius: 999px;
  font-size: .8rem;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(50,214,107,.1); }
.market-pill span, .market-pill em { color: var(--green); font-style: normal; }
.market-pill strong { font-weight: 600; color: #eff7f3; }

.hero h1 {
  margin: 28px 0 22px;
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  line-height: .98;
  letter-spacing: -.065em;
}
.hero h1 span { color: var(--green); }
.hero-content > p { color: #b9c6d3; font-size: 1.12rem; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

.chart-card {
  min-height: 490px;
  border-radius: 20px;
  padding: 28px;
  background: linear-gradient(155deg, rgba(8,39,66,.97), rgba(3,18,34,.97));
  border: 1px solid rgba(49, 142, 207, .38);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}
.chart-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.chart-header span { display: block; font-weight: 700; font-size: 1.08rem; }
.chart-header strong { display: block; font-size: 1.9rem; margin-top: 4px; }
.chart-header small { display: block; color: var(--green); margin-top: 3px; }
.chart-tabs { display: flex; padding: 4px; border-radius: 8px; border: 1px solid var(--line); }
.chart-tabs button { border: 0; background: transparent; color: #b9c8d7; border-radius: 6px; padding: 7px 10px; cursor: pointer; }
.chart-tabs button.selected { color: white; background: #0a518c; }

.chart-area { position: relative; height: 310px; margin-top: 22px; overflow: hidden; border-bottom: 1px solid var(--line); }
.chart-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(125,165,198,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(125,165,198,.11) 1px,transparent 1px); background-size: 25% 25%; }
.line-chart { position: absolute; inset: 20px 0 10px; width: 100%; height: calc(100% - 30px); }
.area-path { fill: url(#lineFill); }
.main-line { fill: none; stroke: var(--green); stroke-width: 3; }
.chart-price { position: absolute; right: 2px; top: 50px; background: var(--green); color: #052315; padding: 6px 9px; border-radius: 6px; font-size: .72rem; font-weight: 800; }
.candle { position: absolute; width: 8px; border-radius: 2px; }
.candle::before { content: ""; position: absolute; left: 3px; width: 2px; height: calc(100% + 20px); top: -10px; background: inherit; z-index: -1; }
.candle.up { background: var(--green); }
.candle.down { background: var(--red); }
.candle-1{left:12%;top:165px;height:44px}.candle-2{left:20%;top:145px;height:35px}.candle-3{left:29%;top:170px;height:55px}.candle-4{left:38%;top:130px;height:48px}.candle-5{left:48%;top:160px;height:46px}.candle-6{left:59%;top:118px;height:52px}.candle-7{left:69%;top:88px;height:44px}.candle-8{left:77%;top:105px;height:35px}.candle-9{left:86%;top:60px;height:50px}.candle-10{left:92%;top:72px;height:38px}
.chart-times { display: flex; justify-content: space-between; color: #91a6b8; font-size: .73rem; padding-top: 9px; }

.feature-strip {
  margin: 0 3.5vw;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(11, 34, 58, .88);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
}
.feature-strip article { display: flex; gap: 16px; padding: 4px 22px; border-right: 1px solid var(--line); }
.feature-strip article:last-child { border-right: 0; }
.feature-icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; font-weight: 800; }
.feature-icon.green { background: rgba(50,214,107,.13); color: var(--green); }
.feature-icon.blue { background: rgba(45,149,255,.13); color: var(--blue); }
.feature-icon.purple { background: rgba(139,92,246,.14); color: var(--purple); }
.feature-icon.gold { background: rgba(242,173,52,.13); color: var(--gold); }
.feature-strip h3 { margin: 2px 0 4px; font-size: 1rem; }
.feature-strip p { color: var(--muted); font-size: .82rem; margin: 0; }

.markets-section, .education-section, .about-section, .contact-section { padding: 100px 5.5vw; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.eyebrow { color: var(--green); text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; font-weight: 800; }
.section-heading h2, .education-copy h2, .about-section h2, .contact-section h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.045em; margin: 9px 0 0; }
.section-heading > p { max-width: 590px; color: var(--muted); margin: 0; }

.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.market-card { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: linear-gradient(155deg,rgba(10,34,57,.9),rgba(6,24,42,.9)); }
.market-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; color: #c4d1dd; font-size: .78rem; font-weight: 700; }
.status { padding: 4px 7px; border-radius: 999px; font-size: .65rem; }
.status.up { color: var(--green); background: rgba(50,214,107,.1); }
.status.neutral { color: var(--blue); background: rgba(45,149,255,.1); }
.market-card > strong { display: block; font-size: 1.8rem; margin-top: 17px; }
.gain { color: var(--green); }
.loss { color: var(--red); }
.market-card svg { width: 100%; height: 60px; margin-top: 15px; }
.spark-up, .spark-down { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.spark-up { stroke: var(--green); }
.spark-down { stroke: var(--red); }

.education-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; background: rgba(4,17,31,.55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.education-copy p { color: var(--muted); max-width: 610px; margin-bottom: 28px; }
.education-cards { display: grid; gap: 15px; }
.education-cards article { display: grid; grid-template-columns: 62px 1fr; column-gap: 16px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.education-cards article > span { grid-row: 1 / 3; font-size: 2rem; color: var(--green); font-weight: 800; }
.education-cards h3 { margin: 0; font-size: 1.06rem; }
.education-cards p { color: var(--muted); margin: 3px 0 0; font-size: .88rem; }

.about-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.about-section > div:last-child { color: var(--muted); font-size: 1.02rem; }
.risk-note { border-left: 3px solid var(--gold); padding: 15px 18px; background: rgba(242,173,52,.07); color: #d7c59f; }

.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; background: linear-gradient(135deg,rgba(22,80,54,.28),rgba(5,25,43,.8)); }
.contact-section p { color: var(--muted); }
.signup-form { padding: 28px; border-radius: 14px; background: rgba(7,28,48,.86); border: 1px solid var(--line); }
.signup-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.signup-form > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.signup-form input { width: 100%; border-radius: 9px; border: 1px solid #34516a; background: #071a2d; color: #fff; padding: 13px 14px; outline: none; }
.signup-form input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(50,214,107,.11); }
.signup-form small { display: block; margin-top: 10px; color: var(--muted); }

footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 26px 5.5vw; background: #020c16; border-top: 1px solid var(--line); }
.footer-brand .brand-copy small { color: var(--muted); }
footer > p { color: var(--muted); font-size: .8rem; }

@media (max-width: 1120px) {
  .site-nav { gap: 18px; }
  .header-actions .icon-button { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { max-width: 780px; }
  .chart-card { transform: none; }
  .feature-strip { grid-template-columns: repeat(2,1fr); }
  .feature-strip article:nth-child(2) { border-right: 0; }
  .feature-strip article:nth-child(-n+2) { padding-bottom: 20px; }
  .feature-strip article:nth-child(n+3) { padding-top: 20px; }
  .market-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .site-header { min-height: 72px; }
  .menu-button { display: block; order: 3; }
  .header-actions { margin-left: auto; }
  .header-actions .button-outline { display: none; }
  .site-nav {
    display: none; position: absolute; top: 70px; left: 3.5vw; right: 3.5vw;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 14px; background: #06192c; border: 1px solid var(--line); border-radius: 12px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; border-bottom: 0; }
  .education-section, .about-section, .contact-section { grid-template-columns: 1fr; gap: 35px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
}
@media (max-width: 620px) {
  .brand-copy small { display: none; }
  .header-actions .button-primary { display: none; }
  .hero { padding: 55px 5vw; }
  .hero h1 { font-size: 3.3rem; }
  .market-pill { flex-wrap: wrap; border-radius: 12px; }
  .chart-card { min-height: 410px; padding: 18px; }
  .chart-header { display: block; }
  .chart-tabs { margin-top: 15px; width: max-content; }
  .chart-area { height: 250px; }
  .feature-strip, .market-grid { grid-template-columns: 1fr; }
  .feature-strip { padding: 18px; }
  .feature-strip article, .feature-strip article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 4px; }
  .feature-strip article:last-child { border-bottom: 0; }
  .markets-section, .education-section, .about-section, .contact-section { padding: 72px 5vw; }
  .signup-form > div { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
}
