/* Typography & Theme */
:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --electric-blue: #00d1ff;
  --magenta: #ff3fd4;
  --gradient: linear-gradient(90deg, var(--magenta), var(--electric-blue));
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--white);
  background: radial-gradient(1200px 800px at 20% -10%, rgba(0,209,255,0.12), transparent),
              radial-gradient(800px 600px at 120% 20%, rgba(255,63,212,0.1), transparent),
              var(--slate-900);
}

.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 80px 0; }
.section-title { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.section-sub { color: #cbd5e1; margin-top: 8px; }

/* Glassmorphism & Neumorphism */
.glass {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  border-radius: var(--radius);
}
.neu {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-radius: var(--radius);
  box-shadow: 10px 10px 26px rgba(0,0,0,0.35), -10px -10px 26px rgba(255,255,255,0.02);
}

/* Navbar */
.navbar { position: sticky; top: 0; z-index: 50; margin: 16px auto; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand .logo { height: 36px; width: auto; }
.brand-text { font-size: 20px; letter-spacing: -0.02em; }
.accent { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-badge { font-weight: 800; color: var(--magenta); }
.nav-links a { color: #e2e8f0; text-decoration: none; margin: 0 10px; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; gap: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border-radius: 24px; text-decoration: none; font-weight: 600; transition: transform .15s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { color: var(--black); background: var(--gradient); box-shadow: 0 8px 18px rgba(0,209,255,0.25); }
.btn.secondary { color: var(--white); border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }
.btn.ghost { color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,0.16); }

/* Hero */
.hero { padding: 120px 0 60px; text-align: center; position: relative; }
.hero-title { font-size: clamp(36px, 6vw, 64px); font-weight: 900; letter-spacing: -0.04em; margin: 0; }
.hero-sub { color: #cbd5e1; max-width: 800px; margin: 18px auto 24px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; }
.gradient-line { height: 2px; width: 240px; margin: 36px auto; background: var(--gradient); border-radius: 999px; }
.brain-illustration { width: 420px; margin: 0 auto; opacity: 0.9; filter: drop-shadow(0 20px 40px rgba(0,209,255,0.2)); }

/* Workflow */
.workflow { display: grid; grid-template-columns: 1fr 64px 1fr 64px 1fr 64px 1fr; align-items: center; gap: 12px; margin-top: 24px; }
.node { padding: 22px; text-align: left; }
.node h3 { margin: 6px 0 6px; }
.node p { color: #cbd5e1; margin: 0; }
.connector span { display: block; height: 2px; background: var(--gradient); border-radius: 999px; }
.icon, .card-icon { width: 36px; height: 36px; border-radius: 12px; background: var(--gradient); box-shadow: 0 10px 20px rgba(0,209,255,0.25); }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.card { padding: 22px; }
.card h3 { margin: 8px 0 6px; }
.card p { color: #cbd5e1; }

/* Metrics */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric { padding: 24px; text-align: center; }
.metric .value { font-size: 42px; font-weight: 800; }
.metric .label { color: #cbd5e1; }

/* Testimonials */
.carousel { position: relative; overflow: hidden; padding: 28px; }
.carousel .slide { opacity: 0; transition: opacity .4s ease; position: absolute; inset: 0; padding: 28px; }
.carousel .slide.active { opacity: 1; position: relative; }
.carousel .author { margin-top: 12px; color: #cbd5e1; }
.dots { display: flex; gap: 8px; margin-top: 18px; justify-content: center; }
.dots::before, .dots::after { content: ""; }
.logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.logo-chip { padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); color: #e2e8f0; }

/* About */
.about { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-card { padding: 24px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr; }
.contact-card { padding: 24px; }
.locations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 10px 0 16px; }

/* Footer */
.footer { padding: 26px 0 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; color: #cbd5e1; }
.brand.small { font-weight: 700; }
.foot-links a { color: #cbd5e1; text-decoration: none; margin: 0 8px; }

/* Responsive */
@media (max-width: 1024px) { .grid, .metrics, .about { grid-template-columns: repeat(2, 1fr); } .workflow { grid-template-columns: 1fr; } .connector { display: none; } }
@media (max-width: 640px) { .grid, .metrics, .about { grid-template-columns: 1fr; } .nav-links { display: none; } .hero { padding-top: 100px; } }

/* Floating shapes */
.float-shape { position: fixed; border-radius: 50%; filter: blur(6px); z-index: -1; }
.shape1 { width: 280px; height: 280px; left: -60px; top: 120px; background: radial-gradient(circle at 30% 30%, rgba(255,63,212,0.55), transparent 60%); animation: float1 12s ease-in-out infinite; }
.shape2 { width: 320px; height: 320px; right: -80px; top: 220px; background: radial-gradient(circle at 60% 60%, rgba(0,209,255,0.45), transparent 60%); animation: float2 18s ease-in-out infinite; }
.shape3 { width: 220px; height: 220px; left: 40%; bottom: -80px; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08), transparent 70%); animation: float3 22s ease-in-out infinite; }
@keyframes float1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(20px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }