/* ===== ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #050816;
  --surface: #0d1324;
  --surface2: #111827;
  --border: rgba(99,102,241,0.2);
  --cyan: #06b6d4;
  --violet: #6c63ff;
  --violet2: #a78bfa;
  --pink: #ec4899;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --radius: 16px;
  --radius-lg: 24px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--violet2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #fff; padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: none; cursor: pointer; transition: all 0.3s;
  box-shadow: 0 0 30px rgba(108,99,255,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(108,99,255,0.6); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text); padding: 14px 28px;
  border-radius: 50px; font-weight: 500; font-size: 15px;
  text-decoration: none; border: 1px solid var(--border);
  cursor: pointer; transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--violet); color: var(--violet2); background: rgba(108,99,255,0.1); }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
  border: 1px solid rgba(6,182,212,0.3); padding: 4px 14px;
  border-radius: 50px; background: rgba(6,182,212,0.08);
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px,4vw,52px); font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.section-desc { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: all 0.4s;
}
.navbar.scrolled {
  background: rgba(5,8,22,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 40px;
}
.nav-logo { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 800; text-decoration: none; }
.logo-ex { color: #fff; }
.logo-ai { background: linear-gradient(135deg, var(--cyan), var(--violet)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; list-style: none; gap: 32px; margin-left: auto; }
.nav-link { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-link:hover { color: #fff; }
.nav-cta { padding: 10px 24px; font-size: 14px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); justify-content: center; align-items: center; gap: 40px; z-index: 999; }
  .nav-links.open .nav-link { font-size: 24px; color: var(--text); }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
#particle-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img {
  position: absolute; inset: 0;
  background: url('hero_bg.png') center/cover no-repeat;
  opacity: 0.18; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center top, rgba(108,99,255,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at center bottom, rgba(6,182,212,0.08) 0%, transparent 60%),
              linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 24px 80px; max-width: 860px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(6,182,212,0.4); background: rgba(6,182,212,0.07);
  padding: 6px 16px; border-radius: 50px; font-size: 13px;
  color: var(--cyan); margin-bottom: 28px; animation: fadeUp 0.8s ease both;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }
.hero-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(48px,7vw,96px); font-weight: 800; line-height: 1.05; margin-bottom: 24px; animation: fadeUp 0.9s 0.1s ease both; }
.hero-title .line { display: block; }
.hero-subtitle { font-size: clamp(16px,2vw,20px); color: var(--muted); max-width: 600px; margin: 0 auto 40px; animation: fadeUp 0.9s 0.2s ease both; line-height: 1.7; }
.hero-subtitle em { color: var(--violet2); font-style: normal; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.9s 0.3s ease both; margin-bottom: 60px; }
.hero-scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.5; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; animation: fadeUp 0.9s 0.5s ease both; }
.scroll-indicator { width: 1px; height: 60px; background: linear-gradient(to bottom, transparent, var(--cyan)); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100%{transform:scaleY(1);opacity:0.5} 50%{transform:scaleY(1.2);opacity:1} }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.hero-floating-cards {
  position: absolute; z-index: 2; inset: 0; pointer-events: none;
}
.float-card {
  position: absolute; background: rgba(13,19,36,0.85);
  backdrop-filter: blur(16px); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: floatCard 6s ease-in-out infinite;
}
.float-card.card-1 { bottom: 28%; left: 5%; animation-delay: 0s; }
.float-card.card-2 { top: 30%; right: 4%; animation-delay: 2s; }
.float-card.card-3 { bottom: 20%; right: 8%; animation-delay: 4s; }
@media (max-width: 900px) { .hero-floating-cards { display: none; } }
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.fc-icon { font-size: 22px; }
.fc-label { font-size: 11px; color: var(--muted); }
.fc-val { font-size: 20px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: var(--cyan); }

/* ===== MARQUEE ===== */
.marquee-section { overflow: hidden; background: rgba(108,99,255,0.06); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; }
.marquee-track { display: flex; width: 100%; }
.marquee-inner {
  display: flex; gap: 32px; align-items: center; white-space: nowrap;
  font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); animation: marquee 28s linear infinite;
}
.marquee-inner .sep { color: var(--violet); font-size: 10px; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== PRODUCTS ===== */
.products-section { background: var(--bg); }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .products-grid { grid-template-columns: 1fr; } }
.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 36px;
  position: relative; overflow: hidden; transition: all 0.4s;
  display: flex; flex-direction: column; gap: 14px;
}
.product-card:hover { border-color: rgba(108,99,255,0.5); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.featured-card { grid-column: span 2; background: linear-gradient(135deg, rgba(108,99,255,0.12), rgba(6,182,212,0.06)); border-color: rgba(108,99,255,0.4); }
@media (max-width: 900px) { .featured-card { grid-column: span 1; } }
.product-glow { position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(108,99,255,0.25) 0%, transparent 70%); pointer-events: none; }
.product-tag { position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); background: rgba(6,182,212,0.12); border: 1px solid rgba(6,182,212,0.3); padding: 4px 12px; border-radius: 50px; }
.product-icon-wrap { width: 56px; height: 56px; border-radius: 14px; background: rgba(108,99,255,0.15); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.product-icon { font-size: 26px; }
.product-name { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; }
.product-tagline { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--cyan); }
.product-desc { color: var(--muted); font-size: 15px; line-height: 1.7; }
.product-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.product-features li { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.feat-check { color: var(--cyan); font-size: 13px; flex-shrink: 0; }
.product-btn { margin-top: auto; align-self: flex-start; }

/* ===== ABOUT ===== */
.about-section { background: var(--surface); }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .about-container { grid-template-columns: 1fr; } }
.about-visual { display: flex; justify-content: center; align-items: center; min-height: 360px; }
.about-orb-wrap { position: relative; width: 280px; height: 280px; display: flex; align-items: center; justify-content: center; }
.about-orb { width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, var(--violet), var(--cyan)); filter: blur(2px); box-shadow: 0 0 60px rgba(108,99,255,0.6); animation: orbPulse 4s ease-in-out infinite; }
@keyframes orbPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }
.about-orb-ring { position: absolute; border-radius: 50%; border: 1px solid; }
.ring-1 { width: 170px; height: 170px; border-color: rgba(108,99,255,0.4); animation: spin 12s linear infinite; }
.ring-2 { width: 230px; height: 230px; border-color: rgba(6,182,212,0.25); animation: spin 20s linear infinite reverse; }
.ring-3 { width: 290px; height: 290px; border-color: rgba(167,139,250,0.15); animation: spin 30s linear infinite; }
@keyframes spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.about-orb-nodes { position: absolute; inset: 0; }
.orb-node { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.n1{top:10%;left:50%;} .n2{top:30%;right:5%;} .n3{bottom:20%;right:12%;} .n4{bottom:5%;left:45%;} .n5{bottom:25%;left:5%;} .n6{top:35%;left:8%;}
.about-body { color: var(--muted); font-size: 16px; margin-bottom: 16px; line-height: 1.8; }
.about-body strong { color: var(--text); }
.about-pillars { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 32px; }
.pillar { display: flex; align-items: center; gap: 16px; background: rgba(108,99,255,0.06); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; }
.pillar-icon { font-size: 22px; }
.pillar-text { display: flex; flex-direction: column; gap: 2px; }
.pillar-text strong { font-size: 15px; }
.pillar-text span { font-size: 13px; color: var(--muted); }

/* ===== STATS ===== */
.stats-section { background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 28px; text-align: center; transition: all 0.3s; }
.stat-card:hover { border-color: var(--violet); transform: translateY(-4px); }
.stat-number { font-family: 'Space Grotesk', sans-serif; font-size: 56px; font-weight: 800; background: linear-gradient(135deg, var(--cyan), var(--violet)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline; }
.stat-suffix { font-size: 32px; font-weight: 700; color: var(--violet2); display: inline; }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 8px; font-weight: 500; }
.stat-bar { height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; margin-top: 20px; overflow: hidden; }
.stat-bar-fill { height: 100%; background: linear-gradient(to right, var(--violet), var(--cyan)); border-radius: 2px; width: 0; transition: width 1.5s ease; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--surface); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testi-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; position: relative; transition: all 0.3s; }
.testi-card:hover { border-color: rgba(108,99,255,0.45); transform: translateY(-4px); }
.testi-quote { font-size: 72px; line-height: 0.6; color: var(--violet); opacity: 0.4; font-family: serif; margin-bottom: 16px; }
.testi-body { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0; }
.testi-author strong { display: block; font-size: 14px; }
.testi-author span { font-size: 12px; color: var(--muted); }
.testi-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }

/* ===== CTA ===== */
.cta-section { background: var(--bg); padding: 100px 0; position: relative; overflow: hidden; }
.cta-glow-left { position: absolute; left: -100px; top: 50%; transform: translateY(-50%); width: 400px; height: 400px; background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 70%); pointer-events: none; }
.cta-glow-right { position: absolute; right: -100px; top: 50%; transform: translateY(-50%); width: 400px; height: 400px; background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%); pointer-events: none; }
.cta-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; position: relative; z-index: 1; }
@media (max-width: 900px) { .cta-container { grid-template-columns: 1fr; gap: 48px; } }
.cta-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px,4vw,48px); font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.cta-desc { color: var(--muted); font-size: 16px; line-height: 1.7; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); border-radius: 10px; padding: 12px 16px;
  font-family: 'Inter', sans-serif; font-size: 15px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; resize: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(108,99,255,0.15); }
.form-group select option { background: var(--surface2); }
.form-submit { font-size: 16px; padding: 15px 36px; border: none; width: 100%; justify-content: center; }
.form-success { text-align: center; color: #4ade80; font-size: 15px; background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.25); border-radius: 10px; padding: 14px; }

/* ===== FOOTER ===== */
.footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 64px 24px 40px; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-logo { font-size: 28px; margin-bottom: 16px; display: inline-block; }
.footer-tagline { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-link { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--muted); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.2s; }
.social-link:hover { border-color: var(--violet); color: var(--violet2); background: rgba(108,99,255,0.1); }
.footer-links-group h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text); margin-bottom: 18px; }
.footer-links-group ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-group a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links-group a:hover { color: var(--violet2); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 24px; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--violet2); }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
