:root {
  --violet: #8b5cf6;
  --violet-deep: #7c3aed;
  --blue: #4f9cf9;
  --blue-deep: #3b82f6;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #4f9cf9 100%);
  --bg: #070a14;
  --bg-2: #0b1020;
  --surface: #111830;
  --surface-2: #151d38;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf9;
  --muted: #96a2c2;
  --radius: 18px;
  --shadow: 0 20px 60px -20px rgba(79, 156, 249, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1160px, 92%); margin: 0 auto; }

a { color: inherit; text-decoration: none; }

/* Background decoration */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(120px); opacity: 0.5; pointer-events: none;
}
.bg-glow-1 { width: 520px; height: 520px; background: #7c3aed; top: -160px; left: -120px; }
.bg-glow-2 { width: 480px; height: 480px; background: #3b82f6; top: 300px; right: -160px; opacity: 0.4; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 70px -18px rgba(124,58,237,.6); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* Navbar */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(7,10,20,.75); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-logo { width: 38px; height: 38px; object-fit: contain; }
.brand-name {
  font-size: 20px; letter-spacing: .5px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* Hero */
.hero { padding: clamp(60px, 12vw, 140px) 0 80px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--muted);
  background: rgba(255,255,255,.04); border: 1px solid var(--border); margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 12px #22c55e; }
.hero-title { font-size: clamp(38px, 7vw, 76px); line-height: 1.05; font-weight: 900; letter-spacing: -1.5px; }
.gradient-text { display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 640px; margin: 24px auto 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 72px; width: 100%; max-width: 820px;
}
.stat {
  padding: 22px 16px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border);
}
.stat-num { font-size: clamp(28px, 4vw, 42px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Sections */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(124,58,237,.04), transparent); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--violet); margin-bottom: 14px;
}
.section h2 { font-size: clamp(28px, 4.5vw, 46px); font-weight: 800; letter-spacing: -1px; line-height: 1.12; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 17px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--border); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,.5); box-shadow: var(--shadow); }
.card-icon {
  width: 58px; height: 58px; display: grid; place-items: center; font-size: 28px;
  border-radius: 14px; background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.25); margin-bottom: 20px;
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* Why */
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.why-text h2 { margin: 12px 0 16px; }
.why-text > p { color: var(--muted); font-size: 17px; }
.check-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; color: var(--text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff; background: var(--grad);
}
.why-visual { display: grid; place-items: center; }
.glass-card {
  position: relative; width: 280px; height: 280px; border-radius: 28px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(139,92,246,.18), rgba(79,156,249,.1));
  border: 1px solid var(--border); backdrop-filter: blur(10px); box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.glass-card img { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(124,58,237,.5)); }
.glass-lines { position: absolute; bottom: 28px; left: 28px; right: 28px; display: grid; gap: 8px; }
.glass-lines span { height: 8px; border-radius: 6px; background: rgba(255,255,255,.12); }
.glass-lines span:nth-child(1) { width: 80%; }
.glass-lines span:nth-child(2) { width: 55%; }
.glass-lines span:nth-child(3) { width: 68%; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about-grid h2 { margin: 12px 0 16px; }
.about-grid p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.feature-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini {
  padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.03); border: 1px solid var(--border);
}
.mini b { display: block; font-size: 17px; margin-bottom: 4px; }
.mini span { color: var(--muted); font-size: 14px; }

/* CTA */
.cta {
  text-align: center; padding: clamp(40px, 6vw, 70px) 30px; border-radius: 28px;
  background: linear-gradient(150deg, rgba(139,92,246,.16), rgba(79,156,249,.08));
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.cta h2 { font-size: clamp(26px, 4vw, 40px); }
.cta > p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.contact-methods { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.contact-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border); transition: transform .2s, border-color .2s; text-align: left;
}
.contact-item:hover { transform: translateY(-3px); border-color: rgba(139,92,246,.5); }
.ci-icon { font-size: 22px; }
.contact-item b { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 34px 0; margin-top: 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { color: var(--muted); font-size: 14px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { order: -1; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 4px;
    background: rgba(11,16,32,.98); border-bottom: 1px solid var(--border);
    padding: 18px 6%; transform: translateY(-140%); transition: transform .35s ease; align-items: stretch;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px 6px; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .feature-mini { grid-template-columns: 1fr; }
}
