/* --------------------------------------
   CSS Variables & Theme Setup
--------------------------------------- */
:root {
    --bg-main: #050505;
    --bg-secondary: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    
    /* Neon Accents */
    --neon-blue: #00f0ff;
    --neon-violet: #8a2be2;
    --neon-glow: 0 0 15px rgba(0, 240, 255, 0.4), 0 0 30px rgba(138, 43, 226, 0.4);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--neon-blue), var(--neon-violet));
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 16px;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --tr-fast: 0.2s ease;
    --tr-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------
   Reset & Base Styles
--------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

/* --------------------------------------
   Background Effects & Particles
--------------------------------------- */
.particles-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

.glow-bg {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}
.top-glow {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, var(--neon-violet), transparent 70%);
}
.bottom-glow {
    bottom: -200px;
    left: -100px;
    background: radial-gradient(circle, var(--neon-blue), transparent 70%);
}

/* --------------------------------------
   Utility Classes (Glass & Glow)
--------------------------------------- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform var(--tr-fast), box-shadow var(--tr-fast), border-color var(--tr-fast);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.neon-border {
    position: relative;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.neon-border::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    z-index: -1;
    border-radius: inherit;
    background: var(--gradient-primary);
    opacity: 0.3;
    transition: opacity var(--tr-fast);
}

/* --------------------------------------
   Typography Utilities
--------------------------------------- */
.highlight-text {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 500;
}

.highlight-title {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

/* --------------------------------------
   Buttons
--------------------------------------- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: all var(--tr-fast);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}
.btn-primary:hover {
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 0.6rem 1.5rem;
    background: transparent;
}
.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.btn-large {
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
}

/* --------------------------------------
   Navbar
--------------------------------------- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    transition: background var(--tr-fast), backdrop-filter var(--tr-fast);
    padding: 1.5rem 0;
}
.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --------------------------------------
   Hero Section
--------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    border-top: none;
    border-left: none;
    border-right: none;
    text-align: center;
    padding-top: 5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-inline: auto;
}

.hero .subtitle {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --------------------------------------
   General Sections & Layouts
--------------------------------------- */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-desc {
    font-size: 1rem;
}

.service-list {
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.service-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--neon-blue);
}

.service-result {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
    color: #fff;
}
.service-result strong {
    color: var(--neon-violet);
}

/* How It Works */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.step {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    backdrop-filter: blur(10px);
}

.step-number {
    font-family: var(--font-heading);
    color: var(--neon-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* Results */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
}

.stat-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-text {
    margin-bottom: 0;
    font-weight: 500;
    color: #fff;
}

.stat-highlight {
    text-align: center;
    border-color: rgba(0, 240, 255, 0.3);
}
.stat-highlight p {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.quote {
    font-size: 1.25rem;
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 0;
}

/* Urgency */
.urgent-text {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 2rem;
}

/* CTA Final */
.cta-final .container {
    text-align: center;
    padding: 5rem 2rem;
}

.cta-final h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Footer */
.footer {
    padding: 0 0 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.footer-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* --------------------------------------
   Animations & Initial States
--------------------------------------- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--tr-smooth), transform var(--tr-smooth);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity var(--tr-smooth), transform var(--tr-smooth);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity var(--tr-smooth), transform var(--tr-smooth);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Interactive Hover state for service cards via JS (tilt effect framework prep) */
.tilt-effect {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* --------------------------------------
   Media Queries
--------------------------------------- */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    .section-padding { 
        padding: 4rem 0; 
    }
    .hero { 
        padding-top: 7rem; 
        padding-bottom: 4rem; 
        min-height: auto; 
    }
    .hero h1 { 
        font-size: 2.25rem; 
        line-height: 1.2;
    }
    .hero .subtitle {
        font-size: 1.1rem;
    }
    .stat-number { 
        font-size: 3rem; 
    }
    .navbar { 
        padding: 1rem 0; 
    }
    .logo {
        font-size: 1.25rem;
    }
    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .hero-ctas { 
        flex-direction: column; 
        width: 100%; 
    }
    .hero-ctas .btn { 
        width: 100%; 
    }
    
    .highlight-title { 
        font-size: 2rem; 
    }
    .cta-final h2 { 
        font-size: 2.25rem; 
    }
    .cta-final .container {
        padding: 3rem 1.5rem;
    }
    .cta-final p {
        font-size: 1.1rem;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    .step {
        padding: 1.5rem;
    }
    .urgent-text {
        font-size: 1.5rem;
    }
    .footer-content {
        padding: 2.5rem 1.5rem;
    }
    
    .services-grid, .stats-grid, .testimonials-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    .hero { 
        padding-top: 8.5rem; 
    }
    .hero h1 { 
        font-size: 2rem; 
    }
    .stat-number { 
        font-size: 2.5rem; 
    }
    .nav-btn {
        width: 100%;
        text-align: center;
    }
    .cta-final h2 { 
        font-size: 1.8rem; 
    }
    .service-icon {
        font-size: 2.5rem;
    }
}
