/* Reset & Core Variables */
:root {
    --bg-dark: #050508;
    --bg-darker: #020204;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    
    --primary: #8b5cf6; /* Neon Purple */
    --secondary: #3b82f6; /* Neon Blue */
    --accent: #f43f5e; /* Neon Pink/Orange */
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --font-sans: 'Outfit', sans-serif;
}

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

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

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.5rem; }
.text-center { text-align: center; }
.fw-bold { font-weight: 800; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-3 { margin-top: 1.5rem; }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.align-center { align-items: center; }
.bg-darker { background-color: var(--bg-darker); }
.section { padding: 6rem 0; }
.d-block { display: block; }
.p-2 { padding: 1.5rem; }
.p-4 { padding: 3rem; }
.rounded-lg { border-radius: 1rem; }

/* Background Orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}
.orb-1 {
    top: -10%; left: -10%;
    width: 50vw; height: 50vw;
    background: var(--primary);
}
.orb-2 {
    bottom: -10%; right: -10%;
    width: 40vw; height: 40vw;
    background: var(--secondary);
}

/* Glassmorphism */
.glass {
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 99px;
    font-weight: 600;
    font-family: var(--font-sans);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.glow-button {
    position: relative;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    z-index: 1;
}
.glow-button::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: -1;
    filter: blur(12px);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.glow-button:hover::before { opacity: 0.9; }

.btn-glass {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}
.btn-glass:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
}
.btn-outline {
    border: 1px solid var(--text-main);
    color: var(--text-main);
    background: transparent;
}
.btn-outline:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1rem 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(5, 5, 8, 0.8);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    letter-spacing: 2px;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.nav-highlight {
    color: var(--accent);
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* UI Mockup Window */
.mockup-window {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.2);
    border: 1px solid var(--border);
}
.mockup-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border);
    gap: 8px;
}
.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.mockup-body {
    position: relative;
    padding: 0;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}
.mockup-body video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    border-color: rgba(59, 130, 246, 0.3);
}
.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* Cards */
.card {
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(139, 92, 246, 0.2);
}
.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.05);
}
.neon-purple { color: var(--primary); box-shadow: 0 0 20px rgba(139, 92, 246, 0.2); }
.neon-blue { color: var(--secondary); box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); }
.neon-orange { color: var(--accent); box-shadow: 0 0 20px rgba(244, 63, 94, 0.2); }
.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.card p {
    color: var(--text-muted);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

/* Benefits List */
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.benefit-icon {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Floating Stats */
.floating-stat {
    position: absolute;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.stat-1 { top: -20px; left: -20px; }
.stat-2 { bottom: 20px; right: -20px; }

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: rgba(5,5,8,0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.4s ease-in-out;
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .mobile-toggle { display: flex; }
    
    .hero-title { font-size: 2.5rem; }
    .btn-group { justify-content: center; }
    .hero-content { text-align: center; }
    
    .floating-stat { position: relative; top: 0; left: 0; right: 0; bottom: 0; margin-bottom: 1rem; width: fit-content; }
}
