:root {
    --bg: #090b10;
    --bg-elevated: #0d1017;
    --card: #11151c;
    --card-hover: #151a23;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text: #ffffff;
    --text-secondary: #c8cdd5;
    --muted: #6b7280;
    --accent: #37b8ff;
    --accent-dim: rgba(55, 184, 255, 0.15);
    --accent-glow: rgba(55, 184, 255, 0.4);
    --success: #4fd98a;
    --success-dim: rgba(79, 217, 138, 0.15);
    --danger: #ff6b8a;
    --danger-dim: rgba(255, 107, 138, 0.15);
    --warning: #fbbf24;
    --warning-dim: rgba(251, 191, 36, 0.15);
    --purple: #c084fc;
    --purple-dim: rgba(192, 132, 252, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 16px;
    --rain-opacity: 1;
    --rain-speed: 1;
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: var(--rain-opacity);
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(55, 184, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

.navbar,
.hero,
.stats,
.features,
.marquee-section,
.loader-preview,
.testimonials,
.footer,
.store-hero,
.plans-grid,
.trust-row,
.faq-section,
.download-section,
.login-wrapper,
.dashboard-grid,
.settings-section {
    position: relative;
    z-index: 1;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--accent-dim), 0 0 40px rgba(55, 184, 255, 0.05); }
    50% { box-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(55, 184, 255, 0.1); }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.reveal-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.status-transition {
    transition: color 0.4s ease, opacity 0.4s ease;
}
