/* ============================================
   Spy2 - Premium Landing Page Styles
   Elegant Dark Mode Radial Gradient Layout
   ============================================ */

:root {
    --primary: #818cf8;
    --primary-light: #c084fc;
    --primary-dark: #4F46E5;
    --secondary: #34d399;
    --dark: #f8fafc;
    --darker: #020617;
    --light: #0f172a;
    --white: rgba(30, 41, 59, 0.4);
    --text-main: #cbd5e1;
    --text-muted: #94a3b8;
    
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-strong: 0 15px 45px rgba(129, 140, 248, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Global Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
}
.lead {
    color: var(--text-main) !important;
}
.text-muted {
    color: var(--text-muted) !important;
}
.text-secondary {
    color: var(--text-muted) !important;
}
.text-dark {
    color: var(--dark) !important;
}
.text-body {
    color: var(--text-main) !important;
}

/* Glass Navbar */
.navbar-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}
.navbar-brand {
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
}
.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-link:hover, .nav-link:focus {
    color: var(--dark) !important;
}

.navbar-toggler {
    border: 1px solid var(--glass-border);
    padding: 0.25rem 0.5rem;
}
.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.95);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        padding: 1.5rem;
        margin-top: 1rem;
        box-shadow: var(--shadow-soft);
    }
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}
.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-strong);
    transition: all 0.3s ease;
}
.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 45px rgba(99, 102, 241, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: transparent;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.2);
    filter: blur(150px);
    opacity: 0.3;
    border-radius: 50%;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(192, 132, 252, 0.15);
    filter: blur(150px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}
.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}
.hero-image {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}
.hero-image img {
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--shadow-strong) !important;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Features */
.features-section {
    position: relative;
    padding: 100px 0;
    z-index: 2;
    background: transparent;
}
.section-title {
    text-align: center;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
}
.feature-card {
    background: var(--white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
}
.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(129, 140, 248, 0.4);
    box-shadow: var(--shadow-strong);
    background: rgba(30, 41, 59, 0.6);
}
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.15), rgba(192, 132, 252, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--primary);
}
.feature-card h4 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}
.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* How It Works */
.steps-section {
    padding: 100px 0;
    background: transparent;
}
.step-item {
    text-align: center;
    position: relative;
}
.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(129, 140, 248, 0.3);
}
.step-item h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}
.step-item p {
    color: var(--text-muted);
}
@media (min-width: 992px) {
    .step-item::after {
        content: '';
        position: absolute;
        top: 35px;
        left: 50%;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, rgba(129, 140, 248, 0.2), rgba(129, 140, 248, 0.01));
        z-index: 1;
    }
    .step-item:last-child::after {
        display: none;
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 2;
    background: transparent;
}
.cta-box {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.08), rgba(192, 132, 252, 0.08));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 2rem;
    box-shadow: var(--shadow-soft);
}
.cta-box h2 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* Footer */
.footer {
    background: var(--darker);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    color: var(--text-muted);
}
.footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}
.footer-links h5 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.75rem;
    }
    .hero {
        padding-top: 130px;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-image {
        margin-top: 3rem;
    }
    .d-flex.flex-wrap {
        justify-content: center;
    }
    .mt-5.d-flex.align-items-center {
        justify-content: center;
    }
}
