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

:root {
  --bg: #0a0a0f;
  --bg2: #0f0f18;
  --surface: #13131f;
  --border: rgba(255,255,255,0.08);
  --text: #e8e8f0;
  --muted: #7070a0;
  --accent: #7c5cfc;
  --accent2: #a78bfa;
  --gradient: linear-gradient(135deg, #7c5cfc, #a78bfa, #38bdf8);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* LAYOUT */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-dark { background: var(--bg2); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-weight: 800; font-size: 1.1rem; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.logo span { color: var(--accent2); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
  color: var(--text) !important;
  background: var(--accent);
  padding: 8px 18px; border-radius: 8px;
  transition: opacity 0.2s !important;
}
.btn-nav:hover { opacity: 0.85; }
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 64px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero-glow {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,92,252,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.03em; margin: 12px 0 20px;
}
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* TYPOGRAPHY */
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent2); margin-bottom: 12px;
}
.eyebrow.center { text-align: center; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 48px; }
.section-title.center { text-align: center; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--accent); color: #fff;
  padding: 13px 28px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  border: 1px solid var(--border); color: var(--text);
  padding: 13px 28px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.btn-ghost:hover { border-color: var(--accent2); transform: translateY(-1px); }

/* CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(124,92,252,0.4); transform: translateY(-3px); }
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* PRODUCT */
.product-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 48px;
}
.product-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent2);
  background: rgba(124,92,252,0.12); border: 1px solid rgba(124,92,252,0.3);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.product-text h3 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.product-text p { color: var(--muted); margin-bottom: 24px; line-height: 1.7; }
.product-visual { display: flex; justify-content: center; align-items: center; }
.product-mockup {
  width: 200px; height: 200px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(124,92,252,0.2), rgba(56,189,248,0.1));
  border: 1px solid rgba(124,92,252,0.3);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 28px; gap: 12px;
}
.mockup-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--gradient); }
.mockup-line { width: 100%; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.12); }
.mockup-line.short { width: 60%; }
.mockup-pill { width: 80px; height: 28px; border-radius: 999px; background: rgba(124,92,252,0.4); }

/* FEATURES */
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
}
.feature-icon { font-size: 1.5rem; flex-shrink: 0; }
.feature h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* CONTACT */
.contact-container { text-align: center; }
.contact-sub { color: var(--muted); max-width: 480px; margin: 0 auto 36px; }
.contact-cta { display: flex; justify-content: center; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer p { font-size: 0.82rem; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); padding: 24px; border-bottom: 1px solid var(--border); gap: 20px; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; padding: 28px; }
  .product-visual { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .footer-inner { justify-content: center; text-align: center; }
}
