@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --primary: #9b00ff;
  --primary-dim: #8800e6;
  --primary-glow: rgba(155, 0, 255, 0.35);
  --primary-glow-soft: rgba(155, 0, 255, 0.06);
  --primary-border: rgba(155, 0, 255, 0.2);
  --accent: #000000;
  --accent-bright: #0c0c0c;
  --bg-dark: #000000;
  --bg-dark2: #050505;
  --surface: rgba(155, 0, 255, 0.015);
  --surface-hover: rgba(155, 0, 255, 0.04);
  --surface-border: rgba(155, 0, 255, 0.1);
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.4);
  --success: #00ff88;
  --warning: #ffaa00;
  --danger: #ff3366;
  --gradient-primary: linear-gradient(135deg, #9b00ff 0%, #e066ff 100%);
  --gradient-glow: linear-gradient(135deg, rgba(155,0,255,0.12) 0%, rgba(155,0,255,0.03) 100%);
  --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(155,0,255,0.18) 0%, rgba(0,0,0,0) 80%);
  --font-main: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-glow: 0 0 35px rgba(155,0,255,0.18), 0 0 70px rgba(155,0,255,0.08);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.95);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% -5%, rgba(155,0,255,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 80% 90%, rgba(155,0,255,0.02) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000000; }
::-webkit-scrollbar-thumb { background: #1a1a1a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
p { color: var(--text-muted); }
a { text-decoration: none; color: inherit; }

.gradient-text {
  background: linear-gradient(135deg, #ffffff, #d8b4fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-sm { padding: 60px 0; position: relative; z-index: 1; }

/* ── Glass Card ── */
.glass {
  background: rgba(15, 5, 25, 0.4);
  border: 1px solid rgba(155, 0, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.glass:hover {
  border-color: rgba(155,0,255,0.3);
  background: rgba(15, 5, 25, 0.6);
  box-shadow: 0 0 30px rgba(155,0,255,0.12);
  transform: translateY(-4px);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: var(--transition-fast);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(155,0,255,0.4);
  font-weight: 700;
}
.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(155,0,255,0.6);
  transform: translateY(-2px);
  background: #ab1aff;
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--surface-border);
}
.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: rgba(255,255,255,0.18);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-primary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #dddddd;
}
.badge-success {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: var(--success);
}

/* ── Section Headers ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.section-label::before {
  content: '::';
  color: rgba(255,255,255,0.3);
  font-weight: 800;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 540px; margin: 0 auto; font-size: 1.05rem; }

/* ── Divider ── */
.divider {
  position: relative;
  height: 1px;
  margin: 0;
  overflow: visible;
}
.divider::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(155,0,255,0.12) 15%, transparent 50%);
}
.divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(155,0,255,0.2) 15%,
    rgba(155,0,255,0.7) 45%,
    rgba(155,0,255,1) 50%,
    rgba(155,0,255,0.7) 55%,
    rgba(155,0,255,0.2) 85%,
    transparent 100%
  );
  box-shadow:
    0 0 8px 1px rgba(155,0,255,0.6),
    0 0 20px 2px rgba(155,0,255,0.3),
    0 0 45px 4px rgba(155,0,255,0.1);
  border-radius: 1px;
}

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

/* ── Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,255,255,0.1); }
  50% { box-shadow: 0 0 50px rgba(255,255,255,0.25), 0 0 80px rgba(255,255,255,0.1); }
}
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes reveal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scan-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
@keyframes dash {
  to { stroke-dashoffset: 0; }
}
@keyframes count-up {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(80px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}
@keyframes type-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Custom Cursor ── */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ── Pricing Card ── */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
}
.pricing-card.popular {
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 0 40px rgba(255,255,255,0.06);
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 40px rgba(255,255,255,0.06);
}
.pricing-card .popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}
.price-amount { font-size: 2.8rem; font-weight: 800; color: #fff; font-family: var(--font-display); }
.price-period { font-size: 0.9rem; color: var(--text-muted); }
.price-features { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.price-features li .feat-icon { color: var(--success); flex-shrink: 0; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--surface-border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-chevron { transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* ── Stats ── */
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-display);
  background: linear-gradient(135deg, #fff, #888888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero Orb ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}
.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.02);
  bottom: -80px;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

/* ── Glow line ── */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  box-shadow: 0 0 12px rgba(255,255,255,0.3);
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  color: var(--text-primary);
  font-size: 0.9rem;
  z-index: 10000;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateX(0); }
.toast.success { border-color: rgba(0,255,136,0.35); border-left: 3px solid #00ff88; }
.toast.error { border-color: rgba(255,51,102,0.35); border-left: 3px solid #ff3366; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

/* ── Table ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th {
  text-align: left;
  padding: 14px 20px;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--surface-border);
}
.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-muted);
}
.data-table tr:hover td { background: var(--surface-hover); }
.data-table td:first-child { color: var(--text-primary); font-weight: 500; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .btn-lg { padding: 13px 28px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}
