/* Override btn-primary - PREMIUM GRADIENT */
.landing-page .btn-primary,
.landing-nav .btn-primary {
    background: var(--gradient-primary) !important;
    /* Mango Tango Gradient */
    color: white !important;
    border: none !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 1rem 2rem !important;
    border-radius: 50px !important;
    /* Pill shape for premium feel */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
    box-shadow: 0 10px 20px -10px rgba(255, 140, 66, 0.5);
}

.landing-page .btn-primary:hover,
.landing-nav .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(255, 140, 66, 0.6);
    background: linear-gradient(135deg, #ff9f63 0%, #FF8C42 100%) !important;
}

.landing-page .btn-outline {
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px);
    border-radius: 50px !important;
    transition: all 0.3s ease;
}

.landing-page .btn-outline:hover {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px);
}

/* Premium Landing Page - Million Dollar Aesthetic */

/* Global Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    /* Elegant ease */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* Landing Navigation - Light/Warm Glass */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.9);
    /* Frosted Light base */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.landing-nav.scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.98);
}

.landing-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.5px;
}

.nav-brand i {
    color: var(--primary);
    /* Brand Blue */
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background: var(--bg-primary);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background:
        linear-gradient(to top, var(--bg-primary) 0%, rgba(240, 238, 233, 0.9) 15%, rgba(240, 238, 233, 0.3) 50%, rgba(240, 238, 233, 0) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* Slight zoom for parallax feel */
    animation: slowZoom 30s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.15);
    }
}

.hero-container {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    /* Frosted */
    backdrop-filter: blur(12px);
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.hero-logo span {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 3rem;
    line-height: 1.1;
    letter-spacing: -2px;
    /* Removed custom gradient to use solid text color for readability on light bg */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--text-primary);
    background-clip: unset;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Premium Stats Cards */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-card-modern:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-light);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 140, 66, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-content {
    text-align: left;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Base sections for smooth scrolling context */
.features-section,
.cta-section-cool,
.landing-footer {
    position: relative;
    z-index: 4;
    background: var(--bg-primary);
    /* Solid background using Cloud Dancer */
}

/* Feature cards */
.feature-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-10px);
}

.icon-wrapper {
    background: rgba(167, 139, 250, 0.1);
    color: var(--secondary);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .icon-wrapper {
    background: var(--gradient-secondary);
    color: white;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 20px rgba(167, 139, 250, 0.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr 1fr;
        /* Keep 2 cols on mobile like image */
        gap: 0.75rem;
    }

    .stat-card-modern {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 0.5rem;
    }

    .stat-content {
        text-align: center;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .btn-get-started {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .bottom-nav {
        padding-bottom: 1.5rem;
        /* Space for home indicator on iOS */
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}