:root {
  color-scheme: dark;
  --bg: #080b12;
  --surface: #10141e;
  --surface-strong: #171d2a;
  --border: #293243;
  --text: #f4f6fb;
  --muted: #a8b0c2;
  --accent: #7564e8;
  --accent-bright: #9a8cf7;
  --accent-secondary: #49c7d9;
  --green: #52d69a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(117, 100, 232, 0.16), transparent 34rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
.site-glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(100px); opacity: 0.13; }
.site-glow-one { width: 28rem; height: 28rem; top: 28rem; left: -15rem; background: var(--accent); }
.site-glow-two { width: 24rem; height: 24rem; top: 55rem; right: -14rem; background: var(--accent-secondary); }

.site-header, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 84px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 1.1rem; font-weight: 800; letter-spacing: 0.08em; }
.brand img, .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
}
.brand-mark { display: grid; place-items: center; background: linear-gradient(135deg, var(--accent-bright), var(--accent)); color: #fff; box-shadow: 0 8px 28px rgba(117, 100, 232, 0.34); }
.site-header nav, footer nav { display: flex; align-items: center; gap: 1.7rem; color: var(--muted); font-size: 0.9rem; }
.site-header nav a:hover, footer nav a:hover { color: #fff; }
.nav-dashboard { padding: 0.55rem 0.9rem; border: 1px solid var(--border); border-radius: 10px; color: #fff; background: rgba(255, 255, 255, 0.035); }

.hero { display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; min-height: 680px; gap: 4rem; padding: 6rem 0; }
.eyebrow { display: inline-block; margin-bottom: 1rem; color: var(--accent-bright); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.hero h1 { max-width: 660px; margin: 0; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 0.98; letter-spacing: -0.055em; }
.hero h1 span { background: linear-gradient(110deg, #fff 0%, var(--accent-bright) 55%, var(--accent-secondary) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > p { max-width: 590px; margin: 1.5rem 0 2rem; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.7rem 1.2rem; border-radius: 11px; font-size: 0.9rem; font-weight: 750; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #8574f0, #6755d7); box-shadow: 0 12px 32px rgba(117, 100, 232, 0.28); color: #fff; }
.button-secondary { border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); }
.button-secondary:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.07); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.2rem; color: var(--muted); font-size: 0.82rem; }
.hero-proof strong { margin-right: 0.2rem; color: #fff; }

.hero-visual { perspective: 1200px; }
.visual-window { overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.11); border-radius: 18px; background: rgba(16, 20, 30, 0.9); box-shadow: 0 45px 90px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(117, 100, 232, 0.08); transform: rotateY(-4deg) rotateX(2deg); backdrop-filter: blur(16px); }
.visual-bar { display: flex; align-items: center; height: 44px; padding: 0 1rem; border-bottom: 1px solid var(--border); color: #777c8d; font-size: 0.68rem; }
.visual-dots { display: flex; gap: 0.35rem; margin-right: auto; }
.visual-dots i { width: 8px; height: 8px; border-radius: 50%; background: #353846; }
.visual-bar > span { margin-right: auto; }
.visual-body { display: grid; grid-template-columns: 62px 1fr; min-height: 405px; }
.visual-body aside { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; padding: 1rem 0; border-right: 1px solid var(--border); background: rgba(0, 0, 0, 0.16); }
.visual-logo { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 0.6rem; border-radius: 10px; background: var(--accent); font-size: 0.85rem; font-weight: 800; }
.visual-body aside i { width: 20px; height: 20px; border-radius: 7px; background: #262938; }
.visual-content { padding: 1.5rem; }
.visual-heading, .panel-title, .activity-row { display: flex; align-items: center; }
.visual-heading { justify-content: space-between; margin-bottom: 1.2rem; }
.visual-heading div { display: flex; flex-direction: column; }
.visual-heading small { color: var(--accent-bright); font-size: 0.55rem; font-weight: 800; letter-spacing: 0.13em; }
.visual-heading strong { font-size: 1.05rem; }
.status-chip { padding: 0.25rem 0.55rem; border-radius: 999px; background: rgba(87, 242, 135, 0.1); color: var(--green); font-size: 0.57rem; font-weight: 750; }
.visual-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.visual-stats div { padding: 0.8rem; border: 1px solid var(--border); border-radius: 10px; background: rgba(255, 255, 255, 0.025); }
.visual-stats small, .visual-stats strong { display: block; }
.visual-stats small { color: var(--muted); font-size: 0.55rem; }
.visual-stats strong { margin-top: 0.3rem; font-size: 0.7rem; }
.visual-panel { padding: 1rem; border: 1px solid var(--border); border-radius: 12px; background: rgba(0, 0, 0, 0.12); }
.panel-title { justify-content: space-between; margin-bottom: 0.3rem; font-size: 0.72rem; font-weight: 700; }
.panel-title small { color: var(--green); font-size: 0.52rem; text-transform: uppercase; }
.activity-row { gap: 0.65rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.055); }
.activity-row:last-child { border: 0; }
.activity-row i { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, rgba(117, 100, 232, 0.45), rgba(73, 199, 217, 0.2)); }
.activity-row p { display: flex; flex: 1; flex-direction: column; margin: 0; }
.activity-row strong { font-size: 0.62rem; }
.activity-row span, .activity-row time { color: var(--muted); font-size: 0.52rem; }

.feature-section { padding: 7rem 0; border-top: 1px solid var(--border); }
.section-heading { max-width: 660px; margin-bottom: 3rem; }
.section-heading h2, .why-section h2, .cta-section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.1; letter-spacing: -0.035em; }
.section-heading p, .cta-section > p { margin: 1rem 0 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-grid article { min-height: 230px; padding: 1.5rem; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); transition: transform 160ms ease, border-color 160ms ease; }
.feature-grid article:hover { transform: translateY(-4px); border-color: rgba(154, 140, 247, 0.4); }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 2rem; border: 1px solid var(--border); border-radius: 13px; background: rgba(117, 100, 232, 0.09); font-size: 1.25rem; }
.feature-grid h3 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.why-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 5rem; padding: 7rem 0; border-top: 1px solid var(--border); }
.why-section ol { margin: 0; padding: 0; list-style: none; }
.why-section li { display: flex; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--border); }
.why-section li > span { color: var(--accent-bright); font-size: 0.78rem; font-weight: 800; }
.why-section li strong { font-size: 1rem; }
.why-section li p { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.88rem; }

.cta-section { padding: 6rem 1.5rem; border: 1px solid var(--border); border-radius: 24px; background: radial-gradient(circle at 50% 0, rgba(117,100,232,.24), transparent 60%), var(--surface); text-align: center; }
.cta-section .hero-actions { justify-content: center; margin-top: 2rem; }
footer { display: flex; align-items: center; gap: 2rem; min-height: 150px; margin-top: 5rem; border-top: 1px solid var(--border); }
footer p { margin-right: auto; color: var(--muted); font-size: 0.8rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 4rem; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual { width: min(620px, 100%); margin-inline: auto; }
  .visual-window { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .why-section { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 72px; }
  .site-header nav a:not(.nav-dashboard) { display: none; }
  .nav-dashboard { font-size: 0.78rem; }
  .hero { min-height: auto; padding: 4rem 0; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-proof { gap: 0.8rem; }
  .visual-body { grid-template-columns: 42px 1fr; min-height: 330px; }
  .visual-body aside { gap: 0.8rem; }
  .visual-logo { width: 27px; height: 27px; }
  .visual-body aside i { width: 16px; height: 16px; }
  .visual-content { padding: 0.85rem; }
  .visual-stats { gap: 0.3rem; }
  .visual-stats div { padding: 0.55rem; }
  .visual-heading strong { font-size: 0.85rem; }
  .feature-section, .why-section { padding: 4.5rem 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 210px; }
  .cta-section { padding: 4rem 1rem; }
  footer { flex-wrap: wrap; gap: 1rem; padding: 2rem 0; }
  footer p { width: 100%; order: 3; }
  footer nav { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
