/* ==========================================================================
   Atlas Lead - Landing Page (Midnight Luxury Theme)
   ========================================================================== */

:root {
    /* Midnight Luxury Palette (Synced with home.css) */
    --gold-primary: #D4AF37;
    --gold-light: #F5D061;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5D061 50%, #D4AF37 100%);
    --slate-deep: #14141F;
    /* Matches home.css --bg-secondary */
    --slate-darker: #0A0A0F;
    /* Matches home.css --bg-primary */
    --bg-card: #14141F;
    --glass-bg: rgba(20, 20, 31, 0.7);
    --glass-border: rgba(212, 175, 55, 0.25);
    --text-primary: #FAFAFA;
    --text-secondary: #B0B0B0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--slate-darker);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ==========================================================================
   Animated Background
   ========================================================================== */

.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(160deg, var(--slate-darker) 0%, var(--slate-deep) 100%);
}

.bg-animation::before,
.bg-animation::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: pulse 10s ease-in-out infinite alternate;
}

.bg-animation::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent 70%);
    top: -10%;
    left: -10%;
}

.bg-animation::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 208, 97, 0.2), transparent 70%);
    bottom: 0;
    right: -5%;
    animation-delay: -5s;
}

@keyframes pulse {
    from {
        transform: scale(1) translate(0, 0);
    }

    to {
        transform: scale(1.1) translate(5%, 5%);
    }
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.navbar-actions {
    display: flex;
    gap: 16px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: var(--gold-gradient);
    background-size: 200% auto;
    color: var(--slate-darker);
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1.5px solid var(--gold-primary);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 24px 100px;
    position: relative;
}

/* Gold Glow CTA Effect */
.hero-cta .btn-primary {
    position: relative;
    z-index: 1;
}

.hero-cta .btn-primary::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.35), transparent 70%);
    filter: blur(20px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
}

.hero-cta .btn-primary:hover::before {
    opacity: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-primary);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: 56px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-section {
    padding: 100px 24px 140px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

/* Gold Section Divider */
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header h2 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(212, 175, 55, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 14px;
    color: var(--gold-primary);
}

.feature-icon .material-symbols-outlined {
    font-size: 28px;
    font-variation-settings:
        'FILL' 0,
        'wght' 300,
        'GRAD' 0,
        'opsz' 28;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    text-align: center;
    padding: 48px 24px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.footer p {
    font-size: 14px;
}

.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--gold-primary);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .navbar {
        padding: 16px 24px;
    }

    .navbar-brand {
        font-size: 22px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}