/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #060611;
  --bg-card: #0e0e1a;
  --border: rgba(255,255,255,0.07);
  --text: #f1f5f9;
  --text-muted: #64748b;
  --text-sub: #94a3b8;
  --accent: #6366f1;
  --accent-2: #8b5cf6;
  --accent-3: #06b6d4;
  --radius: 20px;
}

html { scroll-behavior: smooth; }

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

/* ─── Animated Background ────────────────────────────────────── */
.bg-grid {
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.orb {
  position: fixed; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(120px);
  animation: float 12s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: rgba(99,102,241,0.18); top: -200px; left: -200px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: rgba(139,92,246,0.14); top: 40%; right: -150px; animation-delay: -4s; }
.orb-3 { width: 400px; height: 400px; background: rgba(6,182,212,0.10); bottom: -100px; left: 30%; animation-delay: -8s; }

@keyframes float {
  0%,100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* ─── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  background: rgba(6,6,17,0.6);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px; color: #fff;
  box-shadow: 0 0 20px rgba(99,102,241,0.4);
}
.logo-text { font-weight: 800; font-size: 18px; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: var(--text-sub); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 10px; transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.btn-nav-admin {
  background: rgba(99,102,241,0.15) !important; color: var(--accent) !important;
  border: 1px solid rgba(99,102,241,0.3) !important;
  transition: all 0.2s !important;
}
.btn-nav-admin:hover { background: rgba(99,102,241,0.25) !important; }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.25);
  color: #a5b4fc; font-size: 13px; font-weight: 500; margin-bottom: 32px;
  animation: fadeInUp 0.6s ease both;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #6366f1;
  box-shadow: 0 0 8px #6366f1;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(0.8);} }

.hero-title {
  font-size: clamp(48px, 8vw, 96px); font-weight: 900; line-height: 1.05;
  letter-spacing: -2px; margin-bottom: 24px;
  animation: fadeInUp 0.6s 0.1s ease both;
}
.gradient-text {
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: 18px; color: var(--text-sub); max-width: 620px;
  margin: 0 auto 40px; line-height: 1.7;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 64px; animation: fadeInUp 0.6s 0.3s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 8px 32px rgba(99,102,241,0.35);
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(99,102,241,0.5); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 14px;
  background: rgba(255,255,255,0.05); color: var(--text-sub);
  border: 1px solid var(--border); font-weight: 600; font-size: 15px;
  text-decoration: none; transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--text); }

.hero-stats {
  display: flex; align-items: center; gap: 32px;
  animation: fadeInUp 0.6s 0.4s ease both;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 36px; font-weight: 900; color: var(--text); }
.stat-label { font-size: 13px; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

@keyframes fadeInUp { from{opacity:0;transform:translateY(24px);} to{opacity:1;transform:translateY(0);} }

/* ─── Section Common ─────────────────────────────────────────── */
.section-header {
  text-align: center; margin-bottom: 64px;
}
.section-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--text-sub); max-width: 520px; margin: 0 auto; }

/* ─── Products Grid ──────────────────────────────────────────── */
.products-section {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 80px 24px;
}
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  text-decoration: none; color: inherit; overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent);
}
.card-glow {
  position: absolute; inset: -1px; border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.product-card:hover .card-glow { opacity: 1; }

.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.product-icon-wrap {
  width: 56px; height: 56px; border-radius: 16px;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
}
.product-icon { font-size: 28px; }
.card-badges { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }
.badge-soon { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }
.badge-custom { border: 1px solid; }

.product-name { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.product-tagline { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.product-desc { font-size: 14px; color: var(--text-sub); line-height: 1.6; margin-bottom: 16px; }
.product-features { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.product-features li { font-size: 13px; color: var(--text-sub); display: flex; align-items: center; gap: 8px; }
.product-features .fa-check { font-size: 11px; }

.card-content { flex: 1; }
.card-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.card-link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600;
  border: 1px solid; transition: all 0.2s;
}
.product-card:hover .card-link-btn { gap: 12px; }

.empty-state {
  text-align: center; padding: 80px 24px;
  color: var(--text-muted);
}
.empty-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.3; }
.empty-state h3 { font-size: 22px; margin-bottom: 8px; color: var(--text-sub); }

/* ─── About Section ──────────────────────────────────────────── */
.about-section {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 100px 24px;
}
.about-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-body { font-size: 16px; color: var(--text-sub); margin-bottom: 16px; line-height: 1.75; }
.about-values { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.value-item { display: flex; align-items: flex-start; gap: 14px; }
.value-icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
  font-size: 16px;
}
.value-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.value-item p { font-size: 13px; color: var(--text-muted); }

.about-visual { display: flex; align-items: center; justify-content: center; }
.about-card-float {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 320px;
}
.float-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px; display: flex; flex-direction: column;
  align-items: center; gap: 10px; text-align: center;
  font-size: 13px; font-weight: 500; color: var(--text-sub);
  animation: float 10s ease-in-out infinite;
}
.float-card i { font-size: 28px; }
.fc-1 { animation-delay: 0s; } .fc-1 i { color: #6366f1; }
.fc-2 { animation-delay: -2.5s; } .fc-2 i { color: #8b5cf6; }
.fc-3 { animation-delay: -5s; } .fc-3 i { color: #06b6d4; }
.fc-4 { animation-delay: -7.5s; } .fc-4 i { color: #10b981; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo { opacity: 0.6; transition: opacity 0.2s; }
.footer-logo:hover { opacity: 1; }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links a { color: var(--text-muted); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .hero-stats { gap: 20px; }
  .hero-title { letter-spacing: -1px; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 28px; }
  .nav-links .btn-nav-admin span { display: none; }
}
