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

:root {
  --bg: #0a0a14;
  --bg-dark: #060610;
  --card-bg: #12121f;
  --primary: #00d4ff;
  --primary-glow: rgba(0,212,255,0.15);
  --accent: #a855f7;
  --text: #e2e2f0;
  --text-muted: #7878a0;
  --border: #1e1e35;
  --font: 'Inter', sans-serif;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

.nav { position: sticky; top: 0; z-index: 100; background: rgba(10,10,20,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 16px 0; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 24px; position: relative; z-index: 200; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--text); position: absolute; left: 0; transition: all 0.3s; }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }
.menu-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.hero { position: relative; padding: 100px 0 60px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, var(--primary-glow), transparent 70%); }
.hero-content { position: relative; text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 30px; }
.badge { display: inline-block; background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2); padding: 6px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; color: var(--primary); }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

/* 3D Mockup */
.product-3d { perspective: 1000px; display: flex; justify-content: center; }
.mockup { transform: rotateX(8deg) rotateY(-5deg); transform-style: preserve-3d; animation: floatMockup 6s ease-in-out infinite; }
.mockup-screen { width: min(600px, 90vw); background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px var(--primary-glow); }
.mockup-header { padding: 10px 14px; display: flex; gap: 6px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.mockup-content { padding: 24px; }
.mock-bar { height: 10px; background: linear-gradient(90deg, rgba(0,212,255,0.3), rgba(168,85,247,0.3)); border-radius: 4px; margin-bottom: 14px; }
.mock-chart { margin-top: 20px; }
.mock-chart svg { width: 100%; }
@keyframes floatMockup { 0%, 100% { transform: rotateX(8deg) rotateY(-5deg) translateY(0); } 50% { transform: rotateX(5deg) rotateY(-2deg) translateY(-15px); } }

.btn { display: inline-flex; padding: 14px 28px; border-radius: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s; border: 2px solid transparent; font-family: var(--font); }
.btn-primary { background: var(--primary); color: #000; border-color: var(--primary); }
.btn-primary:hover { background: transparent; color: var(--primary); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-card { border: 1px solid var(--border); color: var(--text); padding: 12px 24px; border-radius: 10px; width: 100%; text-align: center; display: block; }
.btn-outline-card:hover { border-color: var(--primary); color: var(--primary); }

.section { padding: 100px 0; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 50px; }
.bg-dark { background: var(--bg-dark); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

.feature-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 35px; transition: border-color 0.3s, transform 0.3s; }
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); }

/* Stats */
.stats-row { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.counter { font-size: 3.5rem; font-weight: 800; color: var(--primary); display: block; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* Pricing Toggle */
.toggle-wrapper { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 10px; }
.toggle-label { font-size: 0.95rem; color: var(--text-muted); transition: color 0.3s; }
.toggle-label.active { color: var(--text); font-weight: 600; }
.toggle-switch { width: 50px; height: 28px; background: var(--border); border: none; border-radius: 100px; position: relative; cursor: pointer; transition: background 0.3s; }
.toggle-knob { width: 22px; height: 22px; background: var(--primary); border-radius: 50%; position: absolute; top: 3px; left: 3px; transition: left 0.3s; }
.toggle-switch.annual .toggle-knob { left: 25px; }
.toggle-switch.annual { background: rgba(0,212,255,0.2); }

.pricing-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 35px; text-align: center; position: relative; transition: transform 0.3s; }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 0 40px var(--primary-glow); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #000; padding: 4px 16px; border-radius: 100px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin: 15px 0; }
.pricing-card .price small { font-size: 1rem; color: var(--text-muted); }
.pricing-card ul { list-style: none; margin: 20px 0; line-height: 2.2; color: var(--text-muted); }

.footer { padding: 50px 0; text-align: center; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem; }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--bg); flex-direction: column; padding: 100px 40px 40px; gap: 20px; transition: right 0.4s; box-shadow: -5px 0 30px rgba(0,0,0,0.4); z-index: 150; }
  .nav-links.active { right: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-row { gap: 30px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; align-items: center; }
}
