:root {
  --bg: #020713;
  --bg-soft: #071123;
  --card: rgba(13, 28, 53, .72);
  --card-strong: rgba(15, 34, 68, .9);
  --line: rgba(117, 167, 255, .18);
  --line-strong: rgba(44, 139, 255, .62);
  --text: #f7fbff;
  --muted: #9baecb;
  --muted-2: #6f83a2;
  --blue: #0b7cff;
  --blue-2: #0fd2ff;
  --teal: #20e0b2;
  --green: #42e69d;
  --purple: #a66cff;
  --orange: #ffb24a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, .5);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(11, 124, 255, .22), transparent 35%),
    radial-gradient(circle at 88% 8%, rgba(32, 224, 178, .12), transparent 24%),
    radial-gradient(circle at 88% 75%, rgba(11, 124, 255, .18), transparent 28%),
    linear-gradient(180deg, #020713 0%, #061329 42%, #020713 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 7, 19, .76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { width: 205px; min-width: 160px; }
.brand img { width: 205px; height: auto; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(11, 124, 255, .32)); }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a {
  position: relative;
  color: #e6efff;
  font-weight: 700;
  font-size: 14px;
  opacity: .88;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--text); border-radius: 999px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #076bff, #0b7cff 45%, #0fd2ff);
  box-shadow: 0 15px 35px rgba(11, 124, 255, .35), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--line-strong); box-shadow: 0 12px 30px rgba(11, 124, 255, .2); }
.btn-white { background: #fff; color: #0b55d8; box-shadow: 0 16px 36px rgba(255,255,255,.18); }
.btn.full { width: 100%; }

.hero {
  position: relative;
  padding: 72px 0 46px;
  border-bottom: 1px solid rgba(117, 167, 255, .12);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(90, 153, 255, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  opacity: .25;
  pointer-events: none;
}
.section-glow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1000px, 80vw);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #0b7cff, #0fd2ff, transparent);
  box-shadow: 0 0 35px rgba(11, 124, 255, .9);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 70px;
  align-items: center;
}
.hero-logo-card { width: 280px; margin-bottom: 20px; }
.hero-logo-card img { filter: drop-shadow(0 18px 40px rgba(11, 124, 255, .36)); }
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
}
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -0.06em;
}
.hero h1 span { color: #167cff; text-shadow: 0 0 30px rgba(11, 124, 255, .5); }
.hero-text {
  width: min(100%, 610px);
  margin: 24px 0 28px;
  color: #c2d1e8;
  line-height: 1.75;
  font-size: 17px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.hero-stats strong { display: block; font-size: 24px; }
.hero-stats small { color: var(--muted); font-weight: 700; }

.dashboard-shell { perspective: 1200px; }
.dashboard-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 430px;
  border: 1px solid rgba(75, 156, 255, .8);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(9, 24, 49, .96), rgba(8, 15, 31, .93));
  box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 0 60px rgba(11,124,255,.38), var(--shadow);
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(1.5deg);
}
.dash-sidebar {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: rgba(4, 12, 25, .52);
}
.dash-sidebar img { width: 115px; margin-bottom: 24px; }
.dash-sidebar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dash-sidebar li {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.dash-sidebar li.current { background: rgba(11,124,255,.25); color: #fff; }
.dash-main { padding: 24px; min-width: 0; }
.dash-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 18px; }
.dash-top h3 { margin: 0 0 4px; font-size: 18px; }
.dash-top p { margin: 0; color: var(--muted); font-size: 12px; }
.dash-top button,
.card-head button {
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
}
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.metric-grid article,
.chart-card,
.top-modules {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 14px;
}
.metric-grid article { padding: 16px; }
.metric-grid span { display: block; color: var(--muted); font-size: 12px; }
.metric-grid strong { display: block; margin: 8px 0; font-size: 26px; letter-spacing: -0.04em; }
.metric-grid small { color: var(--green); font-weight: 800; font-size: 11px; }
.dash-lower { display: grid; grid-template-columns: 1fr 210px; gap: 14px; }
.chart-card { padding: 16px; min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; color: #dfeaff; font-weight: 900; font-size: 13px; margin-bottom: 10px; }
.chart-card svg { width: 100%; height: 200px; }
.grid-lines path { fill: none; stroke: rgba(117,167,255,.1); stroke-width: 1; }
.area { fill: url(#chartFill); }
.line { fill: none; stroke: #1c8dff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(11,124,255,.85)); }
.top-modules { padding: 16px; }
.top-modules ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 12px; }
.top-modules li { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.top-modules b { color: #fff; }
.top-modules a { color: var(--blue-2); font-size: 12px; font-weight: 900; }

.section { padding: 74px 0; position: relative; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.08; letter-spacing: -0.04em; }
.section-heading p:not(.eyebrow) { color: var(--muted); line-height: 1.7; margin: 14px auto 0; }
.modules-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.module-card,
.benefit-card,
.price-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 38, 72, .78), rgba(9, 18, 37, .78));
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  overflow: hidden;
}
.module-card::before,
.benefit-card::before,
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(11,124,255,.18), transparent 45%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.module-card:hover::before,
.benefit-card:hover::before,
.price-card:hover::before { opacity: 1; }
.module-card { min-height: 150px; padding: 24px 18px; text-align: center; }
.module-card:hover,
.benefit-card:hover,
.price-card:hover { border-color: rgba(73, 159, 255, .52); transform: translateY(-3px); transition: transform .25s ease, border-color .25s ease; }
.module-icon,
.benefit-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 17px;
  background: rgba(255,255,255,.05);
}
.module-icon svg,
.benefit-icon svg,
.price-title svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.module-icon.blue { color: #48a1ff; }
.module-icon.cyan { color: var(--blue-2); }
.module-icon.green { color: var(--green); }
.module-icon.orange { color: var(--orange); }
.module-icon.purple { color: var(--purple); }
.module-card h3 { margin: 0 0 8px; font-size: 18px; }
.module-card p { margin: 0; color: #afbdd4; font-size: 13px; line-height: 1.45; }

.benefits-section::before,
.pricing-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background-image: radial-gradient(rgba(11,124,255,.26) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: .35;
  filter: blur(.1px);
  pointer-events: none;
}
.benefits-section::before { left: -230px; bottom: -150px; }
.pricing-section::before { right: -250px; top: 120px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit-card { display: flex; align-items: center; gap: 18px; padding: 22px; }
.benefit-icon { flex: 0 0 58px; margin: 0; color: var(--blue-2); }
.benefit-card h3 { margin: 0 0 6px; font-size: 18px; }
.benefit-card p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.price-card { padding: 28px; }
.price-card.popular { border-color: rgba(11,124,255,.9); box-shadow: 0 0 50px rgba(11,124,255,.22); }
.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #2f65ff;
  color: #fff;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .08em;
  font-weight: 900;
}
.price-title { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.price-title svg { flex: 0 0 36px; width: 36px; height: 36px; color: var(--blue-2); }
.price-card:nth-child(1) .price-title svg { color: #dbe9ff; }
.price-card:nth-child(3) .price-title svg { color: var(--orange); }
.price-title h3 { margin: 0 0 4px; font-size: 20px; }
.price-title p { margin: 0; color: var(--muted); font-size: 13px; }
.price { font-size: 54px; font-weight: 900; letter-spacing: -0.06em; margin-bottom: 20px; }
.price span { font-size: 20px; vertical-align: 22px; margin-right: 4px; color: #dce8ff; }
.price small { font-size: 15px; letter-spacing: 0; color: var(--muted); font-weight: 700; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.price-card li { color: #d6e4f7; font-size: 14px; }
.price-card li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 10px; }

.cta-section { padding: 20px 0 72px; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 54px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #075dff 0%, #0b7cff 48%, #20e0b2 100%);
  box-shadow: 0 24px 70px rgba(11, 124, 255, .32);
  overflow: hidden;
  position: relative;
}
.cta-card::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -120px;
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,.14);
  border-radius: 50%;
}
.cta-card h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.04em; }
.cta-card p { margin: 0; color: rgba(255,255,255,.88); font-size: 17px; }
.cta-card .btn { position: relative; z-index: 1; }

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 7, 19, .78);
  padding: 52px 0 22px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .8fr .8fr 1.4fr; gap: 38px; align-items: start; }
.footer-brand img { width: 210px; margin-bottom: 14px; }
.footer-brand p,
.newsletter p { color: var(--muted); line-height: 1.65; margin: 0 0 18px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px; color: #c8d8ee;
}
.site-footer h4 { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.site-footer a { display: block; color: var(--muted); margin-bottom: 12px; font-size: 14px; }
.site-footer a:hover { color: var(--blue-2); }
.newsletter form { display: flex; gap: 8px; padding: 8px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.newsletter input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); padding: 10px; }
.newsletter button { width: 42px; height: 42px; border-radius: 12px; border: 0; color: #fff; background: var(--blue); cursor: pointer; }
.copyright { margin: 36px auto 0; padding-top: 20px; border-top: 1px solid rgba(117,167,255,.1); color: var(--muted-2); text-align: center; font-size: 13px; width: min(var(--container), calc(100% - 40px)); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }

@media (max-width: 1140px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .dashboard-card { transform: none; }
  .modules-grid { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand, .newsletter { grid-column: span 3; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 28px, var(--container)); }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 86px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(3, 9, 23, .96);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 15px; border-radius: 14px; }
  .site-nav a:hover { background: rgba(11,124,255,.16); }
  .site-nav a::after { display: none; }
  .hero { padding-top: 42px; }
  .brand { width: 170px; min-width: 140px; }
  .brand img { width: 170px; }
  .hero-logo-card { width: 240px; }
  .hero-text { font-size: 15.5px; }
  .dashboard-card { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-lower { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 30px; }
}

@media (max-width: 560px) {
  .hero-actions { display: grid; }
  .hero-stats { grid-template-columns: 1fr; }
  .dash-main { padding: 16px; }
  .dash-top { flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr; }
  .modules-grid, .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .newsletter { grid-column: auto; }
  .price { font-size: 46px; }
}
