:root {
  --bg-dark: #07111f;
  --bg-dark-2: #0c1628;
  --surface: rgba(255,255,255,0.08);
  --surface-2: rgba(255,255,255,0.06);
  --line: rgba(255,255,255,0.12);
  --text: #f4f7fb;
  --muted: #aeb9ca;
  --light-bg: #f7f9fc;
  --light-card: #ffffff;
  --light-line: #dde5f0;
  --text-dark: #0f1726;
  --muted-dark: #5e6a7d;
  --primary: #7c5cff;
  --secondary: #23c8ff;
  --accent: #97f5cf;
  --shadow: 0 20px 70px rgba(7, 17, 31, 0.18);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg-dark);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  z-index: 2;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.14) 0.6px, transparent 0.7px);
  background-size: 18px 18px;
}

.container { width: var(--container); margin: 0 auto; position: relative; z-index: 3; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 16px 0;
  transition: .35s ease;
}
.site-header.scrolled {
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 0 24px rgba(124,92,255,.7);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a { color: rgba(255,255,255,.85); font-size: 0.96rem; }
.nav a:hover { color: #fff; }
.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}
.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}
.section-dark {
  background:
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.16), transparent 30%),
    radial-gradient(circle at left center, rgba(35, 200, 255, 0.14), transparent 26%),
    linear-gradient(180deg, var(--bg-dark), var(--bg-dark-2));
}
.hero-bg-gradient,
.cta-gradient {
  position: absolute;
  inset: -10%;
  background: conic-gradient(from 120deg, rgba(124,92,255,.24), rgba(35,200,255,.14), rgba(151,245,207,.12), rgba(124,92,255,.24));
  filter: blur(80px);
  opacity: .7;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 40%, #000 35%, transparent 75%);
  opacity: 0.35;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: .7;
}
.orb-1 {
  width: 220px; height: 220px;
  right: 8%; top: 22%;
  background: radial-gradient(circle, rgba(124,92,255,.5), transparent 70%);
}
.orb-2 {
  width: 180px; height: 180px;
  left: 10%; bottom: 8%;
  background: radial-gradient(circle, rgba(35,200,255,.45), transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 48px;
}
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--accent);
  font-weight: 700;
}
.eyebrow.dark { color: var(--primary); }
.hero h1,
.section-heading h2,
.cta-box h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.hero h1 { font-size: clamp(3rem, 7vw, 6.2rem); max-width: 720px; }
.hero-text,
.section-heading p,
.preview-copy p,
.cta-box p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}
.hero-text { max-width: 620px; margin: 24px 0 0; }
.hero-actions {
  display: flex;
  gap: 14px;
  margin: 32px 0 34px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), #5f83ff);
  box-shadow: 0 12px 34px rgba(124, 92, 255, 0.35);
}
.btn-secondary {
  color: white;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}
.full { width: 100%; }
.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-stats div {
  min-width: 130px;
}
.hero-stats strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 5px;
}
.hero-stats span { color: var(--muted); font-size: .95rem; }

.hero-visual {
  position: relative;
  min-height: 560px;
}
.floating-card {
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  box-shadow: 0 30px 60px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}
.card-main {
  right: 0;
  top: 40px;
  width: min(100%, 520px);
  border-radius: 28px;
  padding: 20px;
}
.window-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.window-bar span,
.browser-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.dashboard-top p,
.side-card p,
.mini-panel p { color: var(--muted); margin: 0 0 8px; font-size: .88rem; }
.dashboard-top h3,
.side-card strong,
.mini-panel strong { margin: 0; font-size: 2rem; font-family: "Space Grotesk", sans-serif; }
.badge {
  background: rgba(151,245,207,.14);
  color: var(--accent);
  border: 1px solid rgba(151,245,207,.2);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: .88rem;
}
.chart-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 26px 0;
  align-items: end;
  height: 180px;
}
.chart-bars span {
  display: block;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, rgba(35,200,255,.85), rgba(124,92,255,.85));
}
.chart-bars span:nth-child(1){ height: 42%; }
.chart-bars span:nth-child(2){ height: 68%; }
.chart-bars span:nth-child(3){ height: 52%; }
.chart-bars span:nth-child(4){ height: 88%; }
.chart-bars span:nth-child(5){ height: 74%; }
.chart-bars span:nth-child(6){ height: 95%; }
.dashboard-panels {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
}
.mini-panel {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.side-card {
  width: 220px;
  border-radius: 22px;
  padding: 18px;
}
.side-card span { color: var(--muted); display: block; margin-top: 8px; font-size: .88rem; line-height: 1.55; }
.side-card-left { left: 0; bottom: 54px; }
.side-card-right { right: 16px; bottom: -6px; }

.logo-strip {
  background: #0b1627;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section-label {
  text-align: center;
  color: var(--muted);
  margin: 0 0 20px;
}
.logo-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.logo-row span {
  display: grid;
  place-items: center;
  min-height: 68px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.82);
  letter-spacing: .2em;
  font-size: .86rem;
}

.section-light {
  background: var(--light-bg);
  color: var(--text-dark);
  padding: 110px 0;
  position: relative;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}
.section-heading.center { text-align: center; margin-inline: auto; margin-bottom: 54px; }
.section-heading h2 { font-size: clamp(2.2rem, 4vw, 4.2rem); }
.section-heading p,
.preview-copy p,
.faq-list p { color: var(--muted-dark); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.feature-card,
.testimonial-card,
.price-card,
.faq-list details,
.browser-mock,
.step-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(201, 212, 227, 0.72);
  box-shadow: var(--shadow);
}
.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 80px rgba(7, 17, 31, 0.18);
}
.icon-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124,92,255,.14), rgba(35,200,255,.14));
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.feature-card h3,
.step-card h3,
.preview-copy h2,
.price-card h3 { margin: 0 0 12px; font-family: "Space Grotesk", sans-serif; }
.feature-card p,
.step-card p,
.testimonial-card span,
.price-card li,
.faq-list p,
.preview-list li { color: var(--muted-dark); line-height: 1.7; }

.preview-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
}
.preview-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}
.preview-list li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
}
.preview-list li::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: absolute; left: 0; top: 10px;
}
.browser-mock {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfdff, #eef4fa);
}
.browser-top {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  background: #eef4fa;
  border-bottom: 1px solid #dde5f0;
}
.browser-top span { background: #bfccda; }
.browser-body {
  display: grid;
  grid-template-columns: 94px 1fr;
  min-height: 460px;
}
.app-sidebar {
  border-right: 1px solid #dde5f0;
  background: linear-gradient(180deg, #f7fafe, #eff3f8);
  padding: 18px 14px;
}
.sidebar-block,
.metric-card,
.big-chart,
.panel-sm {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124,92,255,.11), rgba(35,200,255,.1));
  border: 1px solid rgba(184, 196, 216, 0.6);
}
.sidebar-block { height: 48px; margin-bottom: 14px; }
.sidebar-block.active { background: linear-gradient(135deg, rgba(124,92,255,.22), rgba(35,200,255,.16)); }
.app-main { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.top-cards,
.lower-panels { display: grid; gap: 16px; }
.top-cards { grid-template-columns: repeat(3,1fr); }
.lower-panels { grid-template-columns: repeat(2,1fr); }
.metric-card { min-height: 108px; }
.big-chart { min-height: 210px; }
.panel-sm { min-height: 130px; }

.workflow { padding: 120px 0; }
.workflow .section-heading p { color: var(--muted); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.step-card {
  background: rgba(255,255,255,.08);
  color: white;
  border-color: rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -50% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,.25), transparent 68%);
}
.step-no {
  display: inline-flex;
  margin-bottom: 16px;
  font-size: 2.3rem;
  font-family: "Space Grotesk", sans-serif;
  color: white;
}
.step-card p { color: var(--muted); }

.testimonial-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.testimonial-card,
.price-card {
  border-radius: 24px;
  padding: 28px;
}
.testimonial-card p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-dark);
}
.testimonial-card h4 { margin: 20px 0 4px; font-family: "Space Grotesk", sans-serif; }
.price-card { position: relative; }
.plan {
  margin: 0 0 10px;
  color: var(--muted-dark);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
}
.price-card h3 {
  font-size: 3rem;
  margin-bottom: 14px;
}
.price-card ul {
  padding: 0;
  list-style: none;
  margin: 0 0 24px;
}
.price-card li { margin-bottom: 12px; padding-left: 20px; position: relative; }
.price-card li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.featured {
  border-color: rgba(124,92,255,.24);
  transform: translateY(-10px);
  background: linear-gradient(180deg, #ffffff, #f6f1ff);
}
.tag {
  position: absolute;
  top: 18px; right: 18px;
  font-size: .78rem;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(124,92,255,.12);
  color: var(--primary);
  border: 1px solid rgba(124,92,255,.18);
}

.faq-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
  align-items: start;
}
.faq-list { display: grid; gap: 16px; }
.faq-list details {
  border-radius: 20px;
  padding: 22px 24px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { margin-bottom: 0; }

.cta {
  position: relative;
  padding: 110px 0 130px;
  overflow: hidden;
}
.cta-box {
  text-align: center;
  max-width: 860px;
  padding: 48px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.05));
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(0,0,0,.26);
}
.cta-box h2 { font-size: clamp(2.3rem, 5vw, 4.8rem); }
.cta-box p { color: var(--muted); max-width: 620px; margin-inline: auto; }
.pulse-btn { animation: pulseGlow 2.4s infinite; }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 12px 34px rgba(124, 92, 255, 0.35); }
  50% { box-shadow: 0 16px 46px rgba(35, 200, 255, 0.35); }
}

.reveal-mask { opacity: 0; transform: translateY(60px) scale(.96); }

@media (max-width: 1024px) {
  .hero-inner,
  .preview-wrap,
  .faq-wrap,
  .features-grid,
  .steps-grid,
  .testimonial-grid,
  .pricing-grid,
  .logo-row { grid-template-columns: 1fr 1fr; }
  .hero-inner,
  .preview-wrap,
  .faq-wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .hero h1 { max-width: 100%; }
  .faq-wrap .section-heading { margin-bottom: 8px; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    width: min(320px, calc(100vw - 40px));
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(7, 17, 31, .92);
    backdrop-filter: blur(18px);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .hero { padding-top: 120px; }
  .hero-inner,
  .features-grid,
  .steps-grid,
  .testimonial-grid,
  .pricing-grid,
  .logo-row,
  .top-cards,
  .lower-panels,
  .dashboard-panels { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
  .card-main { width: 100%; }
  .side-card { width: 180px; }
  .side-card-left { left: 0; bottom: 30px; }
  .side-card-right { right: 0; bottom: -6px; }
  .browser-body { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .section-light, .workflow, .cta { padding: 92px 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1180px); }
  .site-header { padding: 12px 0; }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .hero-text, .section-heading p, .preview-copy p, .cta-box p { font-size: .98rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-stats { gap: 16px; }
  .hero-visual { min-height: 430px; }
  .card-main { padding: 16px; }
  .side-card { display: none; }
  .section-heading h2,
  .cta-box h2 { line-height: 1.02; }
  .price-card h3 { font-size: 2.5rem; }
  .cta-box { padding: 38px 20px; }
}
