:root {
    --color-bg: #0F0F1A;
    --color-bg-alt: #161625;
    --color-text: #F3F4F6;
    --color-text-muted: #9CA3AF;
    --color-primary: #6B21A8;
    --color-secondary: #2563EB;
    --color-accent: #06B6D4;
    --gradient-main: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-glow: linear-gradient(135deg, rgba(107, 33, 168, 0.5), rgba(37, 99, 235, 0.5));
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.glass-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.4);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-main);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(107, 33, 168, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.6);
    transform: scale(1.02);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Browser Mockup */
.browser-window {
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background: #1e1e2e;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-header {
    background: #2a2a3c;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.dot-red { background-color: #EF4444; }
.dot-yellow { background-color: #F59E0B; }
.dot-green { background-color: #10B981; }

.url-bar {
    background: #161625;
    border-radius: 0.375rem;
    padding: 0.25rem 0.75rem;
    flex-grow: 1;
    margin-left: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #9CA3AF;
    display: flex;
    align-items: center;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: var(--color-secondary);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

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

/* Pricing Glow */
.pricing-glow {
    position: relative;
}

.pricing-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1rem;
    background: linear-gradient(45deg, #6B21A8, #2563EB, #06B6D4);
    z-index: -1;
    filter: blur(10px);
    opacity: 0.7;
    animation: glow-pulse 3s infinite alternate;
}

@keyframes glow-pulse {
    0% { opacity: 0.5; filter: blur(10px); }
    100% { opacity: 0.8; filter: blur(15px); }
}

/* FAQ Accordion */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Mobile Nav */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Neon Glows */
.neon-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107, 33, 168, 0.2) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* Enhance Section - Before/After */
.comparison-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
}

.comparison-before,
.comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.comparison-after {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%); /* Default split */
    transition: clip-path 0.1s ease;
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: white;
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-50%);
}

.comparison-handle::after {
    content: '< >';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-secondary);
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Play Button */
.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.play-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.play-icon {
    width: 0; 
    height: 0; 
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid white;
    margin-left: 5px;
}
