:root {
  --bg: #0b0f23;
  --bg-2: #0e122a;
  --text: #e8ecff;
  --muted: #adb6d8;
  --accent-1: #7c4dff;
  --accent-2: #00e5ff;
  --card: #121735;
  --card-2: #0f1330;
  --border: #283056;
  --shadow: 0 8px 24px rgba(0,0,0,0.35);
}

[data-theme="light"] {

  --bg: #bfc8e3;
  --bg-2: #d5dbf0;
  --text: #0a1024;
  --muted: #2d3550;
  --accent-1: #5b3df5;
  --accent-2: #00c4d6;
  --card: #eef2ff;
  --card-2: #e3e8ff;
  --border: #b9c2e3;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 1200px at 80% -10%, #1a2247 0%, var(--bg) 50%, #090d1e 100%) fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[data-theme="light"] body {

  background: radial-gradient(1200px 1200px at 75% -10%, #d7dcf3 0%, var(--bg) 52%, #9aa8ce 100%) fixed;
}

.bg-gradient {
  position: fixed; inset: -20% -20% -20% -20%;
  z-index: -1;
  background: conic-gradient(from 200deg at 70% 30%, rgba(124,77,255,.25), rgba(0,229,255,.2), rgba(124,77,255,.25));
  filter: blur(60px) saturate(120%);
  animation: swirl 28s linear infinite;
}
[data-theme="light"] .bg-gradient {
  background: conic-gradient(from 200deg at 70% 30%, rgba(124,77,255,.18), rgba(0,229,255,.14), rgba(124,77,255,.18));
  filter: blur(70px) saturate(110%);
  opacity: .7;
}

@keyframes swirl { to { transform: rotate(360deg); } }

.container { width: min(1120px, 92%); margin-inline: auto; }


.site-header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 700; letter-spacing: .2px; }
.brand .logo { display: block; }
.brand-text { font-size: 1.125rem; }

.logo .logo-stroke { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.2s ease forwards, flow 8s linear infinite 1.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -520; } }


.brand:hover .logo { filter: drop-shadow(0 0 10px rgba(124,77,255,.25)); }


.logo-small .logo-stroke { animation: draw 1.2s ease forwards, flow 12s linear infinite 2s; }

@media (prefers-reduced-motion: reduce) {
  .logo .logo-stroke, .logo-small .logo-stroke { animation: draw 0.01s linear forwards; }
}


.theme-toggle { position: relative; width: 56px; height: 28px; padding: 0; border: none; background: transparent; border-radius: 999px; cursor: pointer; }
.theme-toggle .track { position: absolute; inset: 0; border-radius: inherit; background: rgba(255,255,255,.08); border: 1px solid var(--border); box-shadow: var(--shadow); }
[data-theme="light"] .theme-toggle .track { background: rgba(0,0,0,.08); }
.theme-toggle .thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #0b0f23; background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); transition: transform .25s ease; box-shadow: 0 4px 10px rgba(0,0,0,.35); }
[data-theme="light"] .theme-toggle .thumb { transform: translateX(28px); }
.theme-toggle .sun { display: none; font-size: 13px; }
.theme-toggle .moon { display: inline; font-size: 13px; }
[data-theme="light"] .theme-toggle .sun { display: inline; }
[data-theme="light"] .theme-toggle .moon { display: none; }

@media (min-width: 880px) { .nav { display: flex; } }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 56px 0 16px; align-items: center; text-align: center; min-height: 60vh; }
.hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.5vw, 3rem); line-height: 1.1; margin: 8px 0 12px; }
.title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.2rem); }
.lead { color: var(--muted); font-size: 1.05rem; }
.hero .hero-content { max-width: 820px; margin-inline: auto; }
[data-theme="light"] .hero .hero-content {

  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.25));
  border: 1px solid rgba(185,194,227,.8);
  border-radius: 18px;
  backdrop-filter: blur(6px) saturate(130%);
  padding: 18px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
[data-theme="light"] .title, [data-theme="light"] .lead { text-shadow: 0 1px 6px rgba(0,0,0,.18); }
[data-theme="light"] .hero-badges span { background: rgba(255,255,255,.75); color: #0a1024; border-color: rgba(185,194,227,.9); }
.actions { display: flex; gap: 12px; margin-top: 18px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-badges span { border: 1px solid var(--border); background: linear-gradient(180deg, var(--card), var(--card-2)); color: var(--muted); padding: 6px 10px; border-radius: 999px; font-size: .9rem; }

.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 12px 16px; border-radius: 12px; border: 1px solid transparent; transition: transform .08s ease, background .3s ease, border-color .3s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); color: #0b0f23; font-weight: 700; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }


.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0 40px; color: var(--muted); }
.site-footer .footer-left { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }


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


@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
}


