*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0d0f14;
  --bg-card:   #13161e;
  --bg-card2:  #1a1d27;
  --border:    #ffffff12;
  --accent:    #6c63ff;
  --accent2:   #00d4ff;
  --text:      #e8eaf0;
  --muted:     #8890a4;
  --radius:    12px;
  --font:      'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,15,20,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.3px;
}

.brand-icon { font-size: 1.5rem; color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: .95rem;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: var(--border); }
.nav-link.nav-cta {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.nav-link.nav-cta:hover { background: #5952e0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  text-align: center;
}

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: var(--bg-card2);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,.18) 0%, transparent 70%);
  pointer-events: none;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(108,99,255,.35);
}
.btn-primary:hover {
  background: #5952e0;
  box-shadow: 0 6px 32px rgba(108,99,255,.5);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }

.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* ── SECTIONS ── */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
}

/* ── FEATURES ── */
.features {
  padding: 100px 0;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  text-align: left;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-body { color: var(--muted); font-size: .95rem; }

/* ── ABOUT ── */
.about {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 1rem;
}
.about-text .btn { margin-top: 8px; }

/* ── TERMINAL MOCK ── */
.terminal-mock {
  background: #0a0c10;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: 'Courier New', monospace;
  font-size: .85rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #13161e;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green  { background: #28c840; }

.terminal-title {
  margin-left: auto;
  color: var(--muted);
  font-size: .8rem;
  font-family: var(--font);
}

.terminal-body {
  padding: 20px;
  min-height: 220px;
  color: #c8d3f5;
  line-height: 1.8;
}

.term-line { opacity: 0; white-space: pre; }
.term-line.visible { opacity: 1; }
.term-prompt { color: #6c63ff; }
.term-cmd    { color: #c8d3f5; }
.term-out    { color: #8890a4; }
.term-ok     { color: #28c840; }
.term-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--accent);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* ── CTA ── */
.cta-section { padding: 100px 0; text-align: center; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.cta-inner p  { color: var(--muted); font-size: 1.1rem; margin-bottom: 36px; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .9rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(13,15,20,.97);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-link { padding: 12px 16px; width: 100%; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .hero { padding: 80px 0 60px; }
}
