/* Recallify Landing Page Stylesheet */

/* --- Custom Variables for Landing Page --- */
:root {
    --landing-primary: #10b981;
    --landing-primary-hover: #059669;
    --landing-dark: #0f172a; /* Deep slate for rich headers/footers */
    --landing-accent: #3b82f6; /* Premium blue accent */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(226, 232, 240, 0.8);
    --mesh-gradient: radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
                    radial-gradient(at 50% 0%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
                    radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
}

/* --- Global Elements & Resets --- */
@keyframes meshFlow {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.landing-body {
    background-color: #f8fafc;
    background-image: var(--mesh-gradient);
    background-size: 200% 200%;
    animation: meshFlow 20s ease infinite;
    background-attachment: fixed;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* --- Typography --- */
.landing-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.text-gradient-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Header / Navigation --- */
.landing-navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a !important;
    text-decoration: none;
}

.navbar-brand-custom .brand-icon {
    width: 32px;
    height: 32px;
    background-color: var(--landing-primary);
    border-radius: 50%;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.nav-link-custom {
    color: #475569 !important;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px !important;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link-custom:hover {
    color: var(--landing-primary) !important;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--landing-primary);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link-custom:hover::after {
    transform: scaleX(1);
}

.btn-header-cta {
    background-color: var(--landing-primary);
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
}

.btn-header-cta:hover {
    background-color: var(--landing-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.25);
}

.btn-header-outline {
    border: 1px solid var(--landing-primary);
    color: var(--landing-primary) !important;
    background: transparent;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.btn-header-outline:hover {
    background-color: rgba(16, 185, 129, 0.05);
    transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero-section {
    padding: 140px 0 80px 0;
    position: relative;
}

.hero-tag {
    background: rgba(16, 185, 129, 0.1);
    color: var(--landing-primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-title {
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0f172a;
}

.hero-subtitle {
    font-size: 18px;
    color: #475569;
    margin-bottom: 35px;
    line-height: 1.6;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-primary-hover) 50%, var(--landing-primary) 100%);
    background-size: 200% auto;
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
    display: inline-block;
    text-decoration: none;
}

.btn-hero-primary:hover {
    background-position: right center;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-hero-primary:active {
    transform: translateY(1px) scale(0.98);
}

.btn-hero-secondary {
    border: 1px solid #cbd5e1;
    color: #334155 !important;
    background: white;
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    margin-left: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    display: inline-block;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    border-color: #94a3b8;
    background-color: #f8fafc;
    transform: translateY(-2px);
}

/* --- Hero Visuals (Card Stack & Video) --- */
.hero-visual-container {
    position: relative;
    padding-top: 40px;
}

/* Glass Card Stack */
.card-stack {
    position: relative;
    height: 280px;
    width: 100%;
}

.stack-card {
    position: absolute;
    width: 90%;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stack-card-1 {
    background: rgba(255, 255, 255, 0.95);
    z-index: 3;
    top: 0;
    left: 5%;
}

.stack-card-2 {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
    top: 35px;
    left: 10%;
    transform: scale(0.96);
}

.stack-card-3 {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
    top: 70px;
    left: 15%;
    transform: scale(0.92);
}

/* Stack Hover Effects */
.card-stack:hover .stack-card-1 {
    transform: translateY(-15px) rotate(-1deg);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.08);
}

.card-stack:hover .stack-card-2 {
    transform: translateY(10px) rotate(1deg) scale(0.98);
}

.card-stack:hover .stack-card-3 {
    transform: translateY(35px) scale(0.95);
}

.stack-badge {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
}

.stack-badge-green { background: #d1fae5; color: #065f46; }
.stack-badge-orange { background: #fef3c7; color: #92400e; }
.stack-badge-blue { background: #dbeafe; color: #1e40af; }

/* Mock Video Element */
.video-preview-wrapper {
    position: relative;
    background: #0f172a;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-top: 40px;
}

.video-preview-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0.6;
    transition: all 0.5s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 10;
}

.play-button {
    width: 64px;
    height: 64px;
    background: white;
    color: var(--landing-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: pulsePlay 2s infinite;
}

.play-button i {
    margin-left: 4px; /* Align play arrow */
}

.video-preview-wrapper:hover .play-button {
    transform: scale(1.1);
    background: var(--landing-primary);
    color: white;
}

.video-preview-wrapper:hover .video-preview-image {
    transform: scale(1.05);
    opacity: 0.8;
}

@keyframes pulsePlay {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* --- Section Styling --- */
.landing-section {
    padding: 100px 0;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

/* --- About Section --- */
.about-section {
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.about-item {
    display: flex;
    margin-bottom: 30px;
}

.about-item-number {
    width: 44px;
    height: 44px;
    background-color: var(--landing-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.about-item-text h4 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.about-item-text p {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.6;
}

/* --- Features Grid --- */
.features-section {
    background: transparent;
}

.feature-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--landing-primary);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.02) 100%);
    color: var(--landing-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--landing-primary);
    color: white;
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
    transform: scale(1.05);
}

.feature-card h4 {
    font-weight: 700;
    color: #0f172a;
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Future Vision Roadmap --- */
.vision-section {
    background-color: #0f172a;
    color: white;
    position: relative;
    overflow: hidden;
}

.vision-section .section-title {
    color: white;
}

.vision-section .section-desc {
    color: #94a3b8;
}

.vision-grid {
    position: relative;
    z-index: 2;
}

.vision-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.vision-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-5px);
}

.vision-badge {
    background: rgba(16, 185, 129, 0.2);
    color: var(--landing-primary);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.vision-card h4 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 12px;
}

.vision-card p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

/* --- Call To Action (CTA) --- */
.cta-section {
    padding: 80px 0;
    background: transparent;
}

.cta-container {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 500px;
    margin: 0 auto 30px auto;
}

.btn-cta-green {
    background-color: var(--landing-primary);
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 14px 40px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-cta-green:hover {
    background-color: var(--landing-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* --- Footer --- */
.landing-footer {
    background-color: #0b0f19;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px 0;
    color: #94a3b8;
}

.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-brand .brand-icon {
    width: 30px;
    height: 30px;
    background-color: var(--landing-primary);
    border-radius: 50%;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.footer-text {
    line-height: 1.7;
    font-size: 14.5px;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icon-btn:hover {
    background-color: var(--landing-primary);
    color: white;
    border-color: var(--landing-primary);
    transform: translateY(-2px);
}

.footer-heading {
    color: white;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14.5px;
    transition: color 0.2s ease;
}

.footer-links-list a:hover {
    color: var(--landing-primary);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.05);
    margin: 50px 0 30px 0;
}

.footer-copyright {
    font-size: 13.5px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .hero-title {
        font-size: 40px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-visual-container {
        margin-top: 60px;
    }
    .section-title {
        font-size: 32px;
    }
    .cta-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .btn-hero-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
        width: max-content;
    }
    .btn-hero-primary {
        display: block;
        width: max-content;
    }
}

/* --- Dark Theme Landing Page Overrides --- */
:root[data-theme="dark"] {
    --mesh-gradient: radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.1) 0px, transparent 50%),
                    radial-gradient(at 50% 0%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
                    radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
}
[data-theme="dark"] .landing-body {
    background-color: #0b0f19;
    color: #94a3b8;
    background-image: var(--mesh-gradient);
}
:root[data-theme="dark"] .landing-navbar {
    background: rgba(11, 15, 25, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
:root[data-theme="dark"] .navbar-brand-custom {
    color: #ffffff !important;
}
:root[data-theme="dark"] .nav-link-custom {
    color: #cbd5e1 !important;
}
:root[data-theme="dark"] .nav-link-custom:hover {
    color: var(--landing-primary) !important;
}
:root[data-theme="dark"] .hero-title {
    color: #ffffff;
}
:root[data-theme="dark"] .hero-subtitle {
    color: #cbd5e1;
}
:root[data-theme="dark"] .btn-hero-secondary {
    background-color: #1e293b;
    border-color: #334155;
    color: #f8fafc !important;
}
:root[data-theme="dark"] .btn-hero-secondary:hover {
    background-color: #334155;
}
:root[data-theme="dark"] .stack-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.05);
}
:root[data-theme="dark"] .stack-card h5 {
    color: #ffffff !important;
}
:root[data-theme="dark"] .about-section {
    background-color: #0f172a;
    border-top-color: rgba(255, 255, 255, 0.03);
    border-bottom-color: rgba(255, 255, 255, 0.03);
}
:root[data-theme="dark"] .about-item-text h4 {
    color: #ffffff;
}
:root[data-theme="dark"] .about-item-text p {
    color: #cbd5e1 !important;
}
:root[data-theme="dark"] .feature-card {
    background-color: #1e293b;
    border-color: rgba(255, 255, 255, 0.05);
}
:root[data-theme="dark"] .feature-card h4 {
    color: #ffffff;
}
:root[data-theme="dark"] .feature-card p {
    color: #cbd5e1 !important;
}
:root[data-theme="dark"] .btn-header-outline {
    color: var(--landing-primary) !important;
}
:root[data-theme="dark"] .btn-header-outline:hover {
    background-color: rgba(16, 185, 129, 0.1);
}
:root[data-theme="dark"] .pricing-section .feature-card {
    background-color: #1e293b;
    border-color: rgba(255, 255, 255, 0.05);
}
:root[data-theme="dark"] .pricing-section .feature-card h2,
:root[data-theme="dark"] .pricing-section .feature-card h4 {
    color: #ffffff !important;
}
:root[data-theme="dark"] .pricing-section .border-success {
    border-color: var(--landing-primary) !important;
}
:root[data-theme="dark"] .section-title {
    color: #ffffff;
}
:root[data-theme="dark"] .social-icon-btn {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}
:root[data-theme="dark"] .social-icon-btn:hover {
    background-color: var(--landing-primary);
}
:root[data-theme="dark"] .modal-content {
    background-color: #1e293b;
    color: #ffffff;
}
:root[data-theme="dark"] #themeToggle {
    color: #ffffff !important;
}
:root[data-theme="dark"] .footer-description {
    color: #cbd5e1 !important;
}
:root[data-theme="dark"] .footer-links-list a {
    color: #cbd5e1 !important;
}
:root[data-theme="dark"] .footer-links-list a:hover {
    color: var(--landing-primary) !important;
}
:root[data-theme="dark"] .footer-copyright {
    color: #94a3b8 !important;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
======================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children animation for feature cards */
.reveal-on-scroll.revealed .feature-card,
.reveal-on-scroll.revealed .about-item,
.reveal-on-scroll.revealed .vision-card {
    opacity: 0;
    transform: translateY(30px);
    animation: stagger-in 0.6s ease forwards;
}
.reveal-on-scroll.revealed .feature-card:nth-child(1),
.reveal-on-scroll.revealed .about-item:nth-child(1),
.reveal-on-scroll.revealed .vision-card:nth-child(1) { animation-delay: 0.1s; }
.reveal-on-scroll.revealed .feature-card:nth-child(2),
.reveal-on-scroll.revealed .about-item:nth-child(2),
.reveal-on-scroll.revealed .vision-card:nth-child(2) { animation-delay: 0.2s; }
.reveal-on-scroll.revealed .feature-card:nth-child(3),
.reveal-on-scroll.revealed .about-item:nth-child(3),
.reveal-on-scroll.revealed .vision-card:nth-child(3) { animation-delay: 0.3s; }
.reveal-on-scroll.revealed .feature-card:nth-child(4) { animation-delay: 0.4s; }
.reveal-on-scroll.revealed .feature-card:nth-child(5) { animation-delay: 0.5s; }
.reveal-on-scroll.revealed .feature-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes stagger-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SCROLL GRADIENT BODY TRANSITION
======================================== */
.landing-body {
    transition: background 0.6s ease;
}
.landing-body.scroll-phase-1 {
    background-image: radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
                       radial-gradient(at 50% 0%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
                       radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
}
.landing-body.scroll-phase-2 {
    background-image: radial-gradient(at 20% 50%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
                       radial-gradient(at 80% 30%, rgba(16, 185, 129, 0.1) 0px, transparent 50%),
                       radial-gradient(at 50% 80%, rgba(139, 92, 246, 0.06) 0px, transparent 50%);
}
.landing-body.scroll-phase-3 {
    background-image: radial-gradient(at 70% 60%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
                       radial-gradient(at 20% 80%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
                       radial-gradient(at 90% 20%, rgba(244, 63, 94, 0.06) 0px, transparent 50%);
}
.landing-body.scroll-phase-4 {
    background-image: radial-gradient(at 50% 100%, rgba(16, 185, 129, 0.12) 0px, transparent 50%),
                       radial-gradient(at 0% 50%, rgba(59, 130, 246, 0.06) 0px, transparent 50%),
                       radial-gradient(at 100% 50%, rgba(139, 92, 246, 0.08) 0px, transparent 50%);
}

/* ========================================
   BUTTON MICRO-ANIMATIONS
======================================== */
.btn-hero-primary,
.btn-hero-secondary,
.btn-header-cta,
.btn-header-outline,
.btn-cta-green,
.btn-outline-success,
.btn-success {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.btn-hero-primary:hover,
.btn-header-cta:hover,
.btn-cta-green:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}
.btn-hero-secondary:hover,
.btn-header-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn-hero-primary:active,
.btn-header-cta:active,
.btn-cta-green:active {
    transform: translateY(0) scale(0.98);
}

/* Feature card hover micro-animation */
.feature-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease !important;
}
.feature-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Nav link active state indicator */
.nav-link-custom.active-link {
    color: var(--landing-primary) !important;
}
.nav-link-custom.active-link::after {
    transform: scaleX(1);
}

/* ========================================
   NAVBAR SCROLL EFFECTS
======================================== */
.landing-navbar.scrolled {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ========================================
   DEMO PLAYER ANIMATIONS
======================================== */
.demo-slide {
    animation: fadeSlideIn 0.5s ease forwards;
}
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scan {
    0%   { top: 0; opacity: 1; }
    50%  { opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}
.animate-pulse {
    animation: pulse-glow 1.8s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

/* ========================================
   SMOOTH SCROLL BEHAVIOR
======================================== */
html {
    scroll-behavior: smooth;
}
