:root {
  color-scheme: dark;
  font-family: Inter, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --bg: #020814;
  --bg-2: #050d1b;
  --panel: rgba(6, 18, 35, 0.78);
  --panel-2: rgba(9, 25, 48, 0.9);
  --line: rgba(64, 131, 255, 0.34);
  --line-strong: rgba(75, 139, 255, 0.76);
  --text: #f8fbff;
  --muted: #a8b6cb;
  --blue: #0878ff;
  --blue-2: #00a3ff;
  --orange: #ff7a1a;
  --purple: #a43cff;
  --green: #15d980;
  --radius: 10px;
  --shadow-blue: 0 0 34px rgba(8, 120, 255, 0.42);
  --shadow-soft: 0 24px 90px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 6%, rgba(11, 115, 255, 0.16), transparent 30%),
    radial-gradient(circle at 28% 36%, rgba(164, 60, 255, 0.09), transparent 28%),
    linear-gradient(180deg, #010713 0%, #020814 58%, #040612 100%);
  color: var(--text);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.site-glow {
  position: fixed;
  inset: auto 0 0;
  height: 190px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0, 98, 255, 0.35), transparent 58%),
    linear-gradient(176deg, transparent 0 40%, rgba(0, 89, 255, 0.55) 41% 42%, transparent 43%),
    linear-gradient(183deg, transparent 0 52%, rgba(255, 116, 24, 0.68) 53% 54%, transparent 55%),
    linear-gradient(188deg, transparent 0 62%, rgba(96, 54, 255, 0.62) 63% 64%, transparent 65%);
  filter: drop-shadow(0 0 15px rgba(0, 118, 255, 0.8));
  opacity: 0.95;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  max-width: 1320px;
  min-height: 112px;
  margin: 0 auto;
  padding: 26px 44px 18px;
  background: rgba(2, 8, 20, 0.78);
  backdrop-filter: blur(18px);
}
.brand, .site-nav, .header-actions, .hero-actions, .check-item, .feature-row, .stat-strip { display: flex; align-items: center; }
.brand { gap: 13px; min-width: max-content; font-weight: 850; font-size: 29px; letter-spacing: -0.03em; }
.brand-word span { color: var(--blue); }
.brand-mark { position: relative; width: 40px; height: 56px; filter: drop-shadow(0 0 10px rgba(0, 133, 255, 0.75)); }
.brand-mark::before, .brand-mark::after, .brand-mark span {
  content: "";
  position: absolute;
  left: 3px;
  width: 28px;
  height: 22px;
  border: 2px solid transparent;
  border-left-color: var(--blue);
  border-top-color: var(--blue);
  border-radius: 50%;
  transform: rotate(-28deg);
}
.brand-mark::before { top: 5px; }
.brand-mark span:nth-child(1) { top: 18px; border-left-color: var(--orange); border-top-color: var(--orange); }
.brand-mark span:nth-child(2) { top: 31px; }
.brand-mark::after { top: 44px; width: 22px; }
.brand-mark span:nth-child(3) {
  width: 4px; height: 4px; border: 0; border-radius: 50%; background: var(--blue); left: 32px; top: 3px;
  box-shadow: 0 8px 0 var(--blue), 0 16px 0 var(--blue), -28px 36px 0 var(--blue), -28px 44px 0 var(--blue);
}
.site-nav { justify-content: center; gap: clamp(26px, 4vw, 48px); font-size: 15px; color: #f2f5fb; }
.site-nav a { position: relative; padding: 12px 0; }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 14px var(--blue);
}
.chev { color: var(--muted); margin-left: 5px; }
.header-actions { justify-content: flex-end; gap: 18px; }
.login-link, .primary-link, .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 8px; font-weight: 800;
}
.login-link, .btn.ghost { border: 1px solid rgba(95, 126, 181, 0.42); color: #fff; background: rgba(4, 12, 28, 0.58); }
.primary-link, .btn.primary { background: linear-gradient(135deg, #0a84ff, #0869f1); color: white; box-shadow: 0 14px 34px rgba(0, 104, 255, 0.36); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: rgba(6,18,35,.9); color: white; }
.nav-toggle span { display:block; width:20px; height:2px; margin:4px auto; background:currentColor; }
.page { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: 24px 44px 98px; }
.hero {
  display: grid;
  grid-template-columns: minmax(330px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 830px;
}
.hero-copy { padding-top: 10px; }
.hero h1 { margin: 0; font-size: clamp(58px, 7.1vw, 88px); line-height: 1.05; letter-spacing: -0.055em; }
.hero h1 .blue { color: var(--blue); display: block; }
.hero h1 .orange { color: var(--orange); }
.hero-copy > p { max-width: 430px; margin: 28px 0 0; color: #eef3f9; font-size: 18px; line-height: 1.7; }
.hero-actions { gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.btn svg { width: 18px; height: 18px; margin-right: 9px; }
.checks { display: grid; gap: 32px; margin-top: 58px; }
.check-item { gap: 20px; }
.check-dot {
  display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px;
  border: 3px solid currentColor; border-radius: 50%; font-weight: 900;
  box-shadow: 0 0 15px currentColor;
}
.check-item:nth-child(1) .check-dot { color: var(--blue-2); }
.check-item:nth-child(2) .check-dot { color: var(--orange); }
.check-item:nth-child(3) .check-dot { color: var(--green); }
.check-item strong { display: block; font-size: 18px; }
.check-item span { display: block; margin-top: 7px; color: var(--muted); }
.dashboard-mock {
  position: relative;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  width: 100%;
  max-width: 900px;
  justify-self: end;
  height: 920px;
  border: 1px solid rgba(87, 126, 255, 0.88);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(4, 14, 30, 0.95), rgba(3, 11, 24, 0.98));
  box-shadow: var(--shadow-blue), inset 0 0 0 1px rgba(255,255,255,.03);
  overflow: hidden;
}
.dashboard-mock::before {
  content:""; position:absolute; inset:-2px; border-radius:24px; pointer-events:none;
  background: linear-gradient(135deg, rgba(168,73,255,.55), transparent 18%, transparent 72%, rgba(0,119,255,.75));
  opacity:.38;
}
.mock-sidebar { position:relative; z-index:1; display:grid; grid-template-rows:auto 1fr auto auto; gap:24px; padding:28px 16px; border-right:1px solid rgba(60,104,159,.24); background:rgba(3,12,26,.64); }
.mini-brand { font-size:20px; font-weight:850; }
.mini-brand span { color: var(--blue); }
.mock-nav { display:grid; gap:10px; }
.mock-nav a {
  display:flex; align-items:center; gap:12px; min-height:48px; padding:0 14px; border-radius:10px;
  color:#fff; font-size:13px;
}
.mock-nav a.active { background:linear-gradient(135deg, rgba(8,120,255,.82), rgba(8,86,190,.72)); box-shadow:inset 0 0 0 1px rgba(93,167,255,.45); }
.ico { width:18px; height:18px; display:inline-grid; place-items:center; color:inherit; }
.sync { color:var(--green); font-size:13px; line-height:1.6; padding:0 12px; }
.sync span { display:block; color:var(--muted); font-size:12px; }
.user-mini { display:flex; align-items:center; gap:12px; padding:18px 12px; border-top:1px solid rgba(87,126,180,.18); font-size:13px; }
.avatar { width:34px; height:34px; border-radius:50%; background:linear-gradient(145deg,#f2a879,#5436a7); box-shadow:0 0 0 3px rgba(8,120,255,.22); }
.mock-main { position:relative; z-index:1; padding:24px; min-width:0; overflow:hidden; }
.mock-top { display:grid; grid-template-columns:1fr auto auto; gap:18px; align-items:center; }
.search { height:45px; border:1px solid rgba(84,126,180,.38); border-radius:10px; background:rgba(9,28,54,.74); color:#8d9bb1; padding:0 16px; }
.bell { width:24px; height:24px; border:2px solid #ccd7e9; border-radius:50% 50% 45% 45%; position:relative; }
.bell::after { content:""; position:absolute; right:-3px; top:-4px; width:7px; height:7px; background:#ff3333; border-radius:50%; }
.mock-main h2 { margin:40px 0 18px; font-size:25px; letter-spacing:-.03em; }
.stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.glass-card {
  border:1px solid rgba(66,111,169,.37); border-radius:12px;
  background:linear-gradient(145deg, rgba(8,22,43,.8), rgba(3,12,25,.74));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.metric { min-height:122px; padding:20px 16px; }
.metric small { display:block; color:#fff; font-size:12px; }
.metric strong { display:block; margin-top:10px; font-size:28px; }
.metric span { color:var(--muted); font-size:12px; }
.dash-grid { display:grid; grid-template-columns:1.05fr 1.2fr; gap:14px; margin-top:16px; }
.panel { padding:18px 16px; min-height:314px; }
.panel h3 { margin:0 0 22px; font-size:16px; }
.progress-list { display:grid; gap:18px; }
.progress-row { display:grid; grid-template-columns:1fr auto; gap:12px; align-items:center; font-size:12px; }
.bar { grid-column:1/-1; height:5px; border-radius:999px; background:rgba(55,91,139,.35); overflow:hidden; }
.bar span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#0878ff,#11a6ff); }
.bar.orange span { background:linear-gradient(90deg,#0878ff 0 78%, var(--orange) 78% 100%); }
.donut-wrap { display:grid; grid-template-columns:172px 1fr; gap:20px; align-items:center; }
.donut {
  width:150px; aspect-ratio:1; border-radius:50%;
  background:conic-gradient(var(--purple) 0 12.5%, #266cff 12.5% 34.4%, var(--orange) 34.4% 48.5%, var(--green) 48.5% 100%);
  position:relative; box-shadow:0 0 30px rgba(8,120,255,.22);
}
.donut::after { content:""; position:absolute; inset:34px; border-radius:50%; background:#061326; }
.legend { display:grid; gap:15px; color:#eaf1fb; font-size:12px; }
.legend span::before { content:""; display:inline-block; width:9px; height:9px; border-radius:50%; margin-right:12px; background:var(--c); }
.mini-grid { display:grid; grid-template-columns:1fr 1fr .95fr; gap:14px; margin-top:16px; }
.list-card { padding:16px; min-height:260px; }
.list-card header { display:flex; justify-content:space-between; gap:12px; margin-bottom:18px; }
.list-card h3 { margin:0; font-size:15px; }
.list-card a { color:var(--blue-2); font-size:11px; }
.feed { display:grid; gap:15px; font-size:12px; }
.feed li { display:grid; grid-template-columns:22px 1fr auto; gap:10px; align-items:start; list-style:none; }
.feed ul, .feed { margin:0; padding:0; }
.feed b { display:block; }
.feed span, .feed time { color:var(--muted); font-size:11px; }
.features { border-top:1px solid rgba(87,126,180,.28); margin-top:46px; padding-top:28px; display:grid; grid-template-columns:repeat(4,1fr); }
.feature { min-height:170px; text-align:center; padding:0 44px; border-right:1px solid rgba(87,126,180,.28); }
.feature:last-child { border-right:0; }
.feature-icon {
  display:grid; place-items:center; width:72px; height:72px; margin:0 auto 18px;
  border:1px solid currentColor; border-radius:16px; color:var(--c); background:rgba(8,120,255,.08); box-shadow:0 0 20px color-mix(in srgb, currentColor 35%, transparent);
}
.feature h3 { margin:0 0 10px; font-size:18px; }
.feature p { margin:0; color:var(--muted); line-height:1.55; }
.stat-strip {
  justify-content:space-around; gap:20px; min-height:150px; margin:18px 48px 0;
  border:1px solid rgba(62,119,255,.54); border-radius:16px; background:rgba(5,17,36,.72);
}
.stat-strip strong { display:block; color:#b53cff; font-size:38px; }
.stat-strip span { display:block; margin-top:8px; font-size:18px; }
.inner-page { padding-top:34px; }
.page-hero { display:grid; grid-template-columns:1fr .9fr; gap:34px; align-items:center; min-height:450px; }
.eyebrow { color:var(--blue-2); font-weight:850; letter-spacing:.08em; text-transform:uppercase; font-size:12px; }
.page-hero h1 { margin:10px 0 18px; font-size:clamp(42px,5vw,72px); line-height:1.02; letter-spacing:-.05em; }
.page-hero p, .section-copy { color:var(--muted); font-size:18px; line-height:1.7; }
.card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:30px; }
.content-card { padding:24px; min-height:210px; }
.content-card h3 { margin:12px 0 10px; font-size:20px; }
.content-card p, .content-card li { color:var(--muted); line-height:1.55; }
.price { font-size:44px; color:#fff; font-weight:900; }
.pricing-page { text-align:center; }
.pricing-page > h1 { margin:10px 0 34px; font-size:clamp(46px, 6vw, 72px); line-height:1.02; letter-spacing:-.05em; }
.price-grid { grid-template-columns:repeat(4,1fr); text-align:left; }
.price-grid .content-card { min-height:360px; display:flex; flex-direction:column; }
.price-grid .featured { border-color:rgba(8,120,255,.85); box-shadow:0 0 32px rgba(8,120,255,.3), inset 0 1px 0 rgba(255,255,255,.05); }
.price small { color:var(--muted); font-size:16px; }
.price-grid ul { margin:16px 0 24px; padding-left:18px; color:var(--muted); line-height:1.9; }
.price-grid .btn { margin-top:auto; }
.company-page .page-hero { grid-template-columns:.85fr 1fr; }
.hero-photo {
  min-height:460px;
  border-radius:12px;
  background:
    linear-gradient(180deg, rgba(3,12,25,.05), rgba(3,12,25,.55)),
    radial-gradient(circle at 52% 24%, rgba(170, 215, 255, .52), transparent 11%),
    linear-gradient(105deg, rgba(10,43,74,.95), rgba(10,22,38,.9) 46%, rgba(16,72,86,.75)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(8,120,255,.18) 35px 36px);
  position:relative;
  overflow:hidden;
}
.hero-photo::before {
  content:"";
  position:absolute;
  left:36%;
  top:13%;
  width:30%;
  height:72%;
  border-radius:999px 999px 26px 26px;
  background:linear-gradient(180deg, #95b8cf 0 14%, #263c4b 15% 28%, #e59a35 29% 100%);
  filter:drop-shadow(0 20px 40px rgba(0,0,0,.48));
}
.hero-photo::after {
  content:"";
  position:absolute;
  left:58%;
  top:43%;
  width:22%;
  height:13%;
  border-radius:8px;
  background:linear-gradient(135deg, #0b2138, #112f54);
  border:1px solid rgba(163,210,255,.35);
  transform:rotate(-12deg);
}
.auth-page {
  min-height:calc(100vh - 120px);
  display:grid;
  grid-template-columns:.9fr 1fr;
  gap:44px;
  align-items:center;
}
.auth-brand { justify-self:center; text-align:center; }
.auth-brand .brand-mark { width:120px; height:168px; margin:0 auto 18px; transform:scale(2.1); transform-origin:center bottom; }
.auth-brand h1 { margin:58px 0 10px; font-size:40px; letter-spacing:-.04em; }
.auth-brand h1 span { color:var(--blue); }
.auth-brand p { color:#d4e3f8; letter-spacing:.22em; font-size:11px; }
.form-panel h2 { margin:0 0 8px; }
.form-panel p { margin:0 0 18px; color:var(--muted); }
.form-panel > span { display:block; margin-top:16px; color:var(--muted); text-align:center; font-size:12px; }
.form-panel a { color:var(--blue-2); }
.terms { grid-template-columns:18px 1fr auto; align-items:center; color:var(--muted) !important; font-weight:500 !important; }
.terms input { min-height:auto; width:14px; accent-color:var(--blue); }
.form-panel { max-width:470px; margin:28px auto 80px; padding:26px; }
.form-panel label { display:grid; gap:8px; margin-bottom:16px; color:#dbe7f6; font-weight:750; }
.form-panel input, .form-panel select {
  min-height:46px; border:1px solid var(--line); border-radius:8px; background:rgba(5,16,32,.85); color:#fff; padding:0 13px;
}
.form-panel button { width:100%; margin-top:8px; border:0; }
@media (max-width: 1120px) {
  .site-header { grid-template-columns:auto auto; }
  .nav-toggle { display:block; justify-self:end; }
  .site-nav, .header-actions { display:none; }
  .site-header.nav-open .site-nav, .site-header.nav-open .header-actions { display:grid; grid-column:1/-1; justify-content:stretch; gap:10px; }
  .hero, .page-hero { grid-template-columns:1fr; }
  .dashboard-mock { height:auto; min-height:760px; }
  .features, .card-grid, .price-grid, .company-page .page-hero, .auth-page { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 760px) {
  .site-header, .page { padding-left:18px; padding-right:18px; }
  .site-header { min-height:78px; }
  .brand { font-size:23px; }
  .hero { min-height:auto; }
  .dashboard-mock { grid-template-columns:1fr; }
  .mock-sidebar { display:none; }
  .mock-top, .stat-grid, .dash-grid, .mini-grid, .donut-wrap, .features, .card-grid, .price-grid, .company-page .page-hero, .auth-page { grid-template-columns:1fr; }
  .hero-photo { min-height:320px; }
  .auth-brand .brand-mark { transform:scale(1.3); }
  .auth-brand h1 { margin-top:20px; }
  .feature { border-right:0; border-bottom:1px solid rgba(87,126,180,.28); padding:24px 10px; }
  .stat-strip { display:grid; margin:18px 0 0; padding:24px; text-align:center; }
}
