:root {
  --bg-main: #0b1020;
  --bg-panel: #121a2e;
  --line: rgba(255, 255, 255, 0.08);
  --text-main: #f3f6ff;
  --text-dim: #a9b4d0;
  --accent: #2962ff;
  --accent-hover: #3f72ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    linear-gradient(rgba(8, 14, 28, 0.72), rgba(8, 14, 28, 0.72)),
    url("pics/banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-main);
  min-height: 100vh;
}

.hero {
  min-height: 100vh;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.topbar {
  width: min(1200px, 92vw);
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.hero-content {
  width: min(980px, 92vw);
  margin: 9vh auto 0;
  text-align: center;
}

.headline {
  font-size: clamp(2rem, 5.2vw, 4.1rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 20px;
}

.subline {
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto 38px;
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  line-height: 1.55;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(41, 98, 255, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.chart-mock {
  width: min(1100px, 92vw);
  height: 300px;
  margin: 70px auto 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 70px 70px,
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 70px 70px,
    linear-gradient(180deg, #111a31 0%, #0b1223 100%);
  position: relative;
}

.chart-mock::after {
  content: "";
  position: absolute;
  inset: 24px 26px 30px;
  border-radius: 10px;
  background: linear-gradient(110deg, rgba(85, 178, 255, 0.45), rgba(52, 238, 188, 0.36));
  clip-path: polygon(0 76%, 9% 67%, 17% 70%, 26% 54%, 35% 58%, 44% 38%, 55% 46%, 66% 30%, 75% 38%, 84% 22%, 93% 30%, 100% 16%, 100% 100%, 0 100%);
  opacity: 0.9;
}

.white-start {
  display: none;
}

@media (max-width: 820px) {
  .topbar {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    height: auto;
    padding: 20px 0;
  }

  nav ul {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content {
    margin-top: 6vh;
  }

  .chart-mock {
    height: 220px;
    margin-top: 44px;
  }
}
