/* --- Landing Page — Aurora Premium Design --- */
.landing-page, .landing-page * {
    box-sizing: border-box;
}

.landing-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #0d1b2a 25%, #1b0a2e 50%, #0d1b2a 75%, #0a0a1a 100%);
    display: flex;
    flex-direction: column;
    font-family: 'Inter', 'Roboto', sans-serif;
    color: #e8e8f0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

/* Aurora animated overlay */
.landing-page::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 200%; height: 200%;
    background: linear-gradient(
        45deg,
        rgba(0, 102, 255, 0.15) 0%,
        rgba(139, 92, 246, 0.12) 20%,
        rgba(236, 72, 153, 0.10) 40%,
        rgba(6, 182, 212, 0.14) 60%,
        rgba(0, 102, 255, 0.15) 80%,
        rgba(139, 92, 246, 0.12) 100%
    );
    animation: auroraShift 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes auroraShift {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-15%, -10%) rotate(3deg); }
    66% { transform: translate(-5%, -15%) rotate(-2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Dark mode override */
body.dark-mode .landing-page {
    background: linear-gradient(135deg, #050510 0%, #0a0a20 30%, #10051a 60%, #050510 100%);
    color: #e8e8f0;
}

body.dark-mode .landing-page::before {
    background: linear-gradient(
        45deg,
        rgba(88, 28, 135, 0.12) 0%,
        rgba(157, 23, 77, 0.1) 20%,
        rgba(180, 83, 9, 0.08) 40%,
        rgba(14, 116, 144, 0.1) 60%,
        rgba(88, 28, 135, 0.12) 80%,
        rgba(157, 23, 77, 0.1) 100%
    );
}

/* ─── Nav ─── */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 10, 26, 0.75);
    border-bottom: 1px solid rgba(0, 102, 255, 0.15);
}

body.dark-mode .landing-nav {
    background: rgba(5, 5, 16, 0.85);
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.3px;
    color: #ffffff;
}

body.dark-mode .nav-logo {
    color: #fff;
}

.nav-logo img {
    height: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    background: linear-gradient(135deg, #0066FF, #06B6D4) !important;
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: badgeFloat 4s ease-in-out infinite, badgeGlowNeon 3s ease-in-out infinite alternate;
}

body.dark-mode .nav-links a {
    background: linear-gradient(135deg, #0066FF, #06B6D4) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: badgeShimmer 3s infinite;
}

.nav-links a:hover {
    transform: translateY(-3px);
}

@keyframes badgeGlowNeon {
    0% { box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2); }
    100% { box-shadow: 0 4px 25px rgba(6, 182, 212, 0.5), 0 0 40px rgba(0, 102, 255, 0.2); }
}

/* ─── Hero Section ─── */
.landing-hero-wrapper {
    position: relative;
    padding: 150px 30px 80px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(0,102,255,0.2), rgba(139,92,246,0.2)) !important;
    border: 1px solid rgba(0,102,255,0.3);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #06B6D4 !important;
    animation: badgeFloat 4s ease-in-out infinite, badgeGlowNeon 3s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

.hero-badge .gradient-text {
    color: #06B6D4 !important;
    letter-spacing: 0.5px;
}

/* Subtle Shimmer Effect using pseudo-element */
.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: badgeShimmer 3s infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes badgeGlow {
    0% { box-shadow: 0 4px 15px rgba(0,0,0,0.06); }
    100% { box-shadow: 0 4px 20px rgba(179, 136, 255, 0.4); }
}

@keyframes badgeShimmer {
    0% { left: -150%; }
    100% { left: 150%; }
}

body.dark-mode .hero-badge {
    background: linear-gradient(135deg, rgba(0,102,255,0.15), rgba(139,92,246,0.15));
    border-color: rgba(0,102,255,0.25);
    color: #06B6D4;
}

.landing-title {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: #ffffff;
}

/* Animated gradient text for hero title */
.landing-title.animated-gradient {
    background: linear-gradient(90deg, #0066FF, #8B5CF6, #EC4899, #06B6D4, #0066FF);
    background-size: 300% 100%;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: gradientTextFlow 4s ease-in-out infinite;
}

@keyframes gradientTextFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body.dark-mode .landing-title {
    color: #fff;
}

body.dark-mode .landing-title.animated-gradient {
    background: linear-gradient(90deg, #3B82F6, #A78BFA, #F472B6, #22D3EE, #3B82F6);
    background-size: 300% 100%;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Override gradient-text for clean solid colors */
.landing-page .gradient-text {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    color: inherit;
}

.landing-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #94a3b8;
    font-weight: 400;
    margin-bottom: 36px;
    max-width: 460px;
}

body.dark-mode .landing-subtitle {
    color: #64748b;
}

/* ─── CTA Buttons ─── */
.landing-cta-box {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.landing-cta-btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    cursor: pointer;
}

.custom-glow-btn {
    background: linear-gradient(135deg, #0066FF, #8B5CF6);
    color: #fff !important;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 102, 255, 0.3);
}

.custom-glow-btn .gradient-text {
    color: #fff !important;
}

.custom-glow-btn:nth-child(2) {
    background: rgba(255, 255, 255, 0.06);
    color: #e8e8f0 !important;
    border: 1px solid rgba(0, 102, 255, 0.25);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.custom-glow-btn:nth-child(2) .gradient-text {
    color: #e8e8f0 !important;
}

body.dark-mode .custom-glow-btn {
    background: linear-gradient(135deg, #0066FF, #8B5CF6);
    color: #fff !important;
}

body.dark-mode .custom-glow-btn .gradient-text {
    color: #fff !important;
}

body.dark-mode .custom-glow-btn:nth-child(2) {
    background: rgba(255, 255, 255, 0.05);
    color: #e8e8f0 !important;
    border-color: rgba(0, 102, 255, 0.2);
}

body.dark-mode .custom-glow-btn:nth-child(2) .gradient-text {
    color: #fff !important;
}

.custom-glow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
}

.custom-glow-btn:nth-child(2):hover {
    background: rgba(0, 102, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.2);
}

/* ─── QR Code Direct Box ─── */
.hero-qr-direct {
    background: rgba(0, 102, 255, 0.08) !important;
    border: 1px solid rgba(0, 102, 255, 0.2) !important;
    backdrop-filter: blur(12px) !important;
    border-radius: 16px !important;
}

.hero-qr-direct img {
    border-color: rgba(0, 102, 255, 0.3) !important;
}

.hero-qr-direct .gradient-text {
    color: #06B6D4 !important;
}

.hero-qr-direct span:last-child {
    color: #94a3b8 !important;
}

body.dark-mode .hero-qr-direct {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .hero-qr-direct .gradient-text {
    color: #fff !important;
}

body.dark-mode .hero-qr-direct span:last-child {
    color: #999 !important;
}

/* ─── Showcase / Phone Mockup Area ─── */
.hero-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-showcase-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.08));
    transition: transform 0.4s ease;
}

body.dark-mode .hero-showcase-img {
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
}

.hero-showcase-img:hover {
    transform: scale(1.03);
}

/* ─── Blobs: Soft subtle version ─── */
.hero-blobs {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: blobFloat 20s ease-in-out infinite alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    top: 30%;
    left: -80px;
    animation-duration: 25s;
}

body.dark-mode .blob-1 {
    background: radial-gradient(circle, rgba(94, 53, 177, 0.2) 0%, transparent 70%);
}
body.dark-mode .blob-2 {
    background: radial-gradient(circle, rgba(233, 30, 99, 0.12) 0%, transparent 70%);
}
body.dark-mode .blob-3 {
    background: radial-gradient(circle, rgba(3, 169, 244, 0.12) 0%, transparent 70%);
}

@keyframes blobFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 30px); }
}

/* ─── Sections ─── */
.landing-section {
    padding: 100px 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.bg-alt {
    max-width: 100%;
    background: rgba(0, 102, 255, 0.04);
    backdrop-filter: blur(10px);
}

body.dark-mode .bg-alt {
    background: rgba(255, 255, 255, 0.02);
}

.section-heading {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.8px;
    color: #ffffff;
}

body.dark-mode .section-heading {
    color: #fff;
}

/* ─── Feature Cards ─── */
.landing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 36px 28px;
    border-radius: 20px;
    border: 1px solid rgba(0, 102, 255, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Gradient border glow on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, #0066FF, #8B5CF6, #EC4899, #06B6D4);
    background-size: 300% 300%;
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGlow 4s ease infinite;
}

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

/* Inner bg to mask the gradient border */
.feature-card::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    background: rgba(10, 10, 26, 0.92);
    border-radius: 18px;
    z-index: -1;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body.dark-mode .feature-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 102, 255, 0.1);
}

body.dark-mode .feature-card::after {
    background: rgba(5, 5, 16, 0.95);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
    border-color: transparent;
}

body.dark-mode .feature-card:hover {
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.25);
}

.card-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Soft distinct colors for each icon */
.icon-speed {
    background: linear-gradient(135deg, #0066FF, #3B82F6);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.35);
}

.icon-colors {
    background: linear-gradient(135deg, #EC4899, #F472B6);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.35);
}

.icon-order {
    background: linear-gradient(135deg, #10B981, #34D399);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.icon-scan {
    background: linear-gradient(135deg, #06B6D4, #22D3EE);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.35);
}

.icon-video {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.35);
}

.icon-resize {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.icon-labels {
    background: linear-gradient(135deg, #10B981, #06B6D4);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.feature-card:hover .card-icon-box {
    transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

body.dark-mode .feature-card h3 {
    color: #f0f0f0;
}

.feature-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #94a3b8;
    /* Override old gradient text */
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
}

body.dark-mode .feature-card p {
    color: #6a6a7c;
}

/* Label List Styles */
.label-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.label-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.feature-card:hover .label-list li {
    color: #ffffff;
}

.label-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #fff;
    flex-shrink: 0;
}

.label-gluten { background: #F59E0B; }
.label-vegan { background: #10B981; }
.label-child { background: #3B82F6; }
.label-calorie { background: #EF4444; }
.label-time { background: #6366F1; }

/* ─── Steps ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.step-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0066FF, #06B6D4);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 5px;
    box-shadow: 0 6px 15px rgba(0, 102, 255, 0.4);
    letter-spacing: 0;
    position: relative;
    animation: neonPulse 3s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 102, 255, 0.3), 0 0 20px rgba(0, 102, 255, 0.1); }
    50% { box-shadow: 0 0 20px rgba(0, 102, 255, 0.5), 0 0 40px rgba(6, 182, 212, 0.3), 0 0 60px rgba(0, 102, 255, 0.1); }
}

.step-item:nth-child(2) .step-num {
    animation-delay: 0.5s;
}
.step-item:nth-child(3) .step-num {
    animation-delay: 1s;
}

body.dark-mode .step-num {
    background: linear-gradient(135deg, #0066FF, #06B6D4);
    color: #fff;
    box-shadow: 0 6px 15px rgba(0, 102, 255, 0.5);
    animation-name: neonPulseDark;
}

@keyframes neonPulseDark {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 102, 255, 0.4), 0 0 30px rgba(0, 102, 255, 0.15); }
    50% { box-shadow: 0 0 25px rgba(0, 102, 255, 0.6), 0 0 50px rgba(6, 182, 212, 0.3), 0 0 80px rgba(0, 102, 255, 0.15); }
}

.step-text h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

body.dark-mode .step-text h4 {
    color: #f0f0f0;
}

.step-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #94a3b8;
    /* Override old gradient */
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
}

body.dark-mode .step-text p {
    color: #6a6a7c;
}

/* ─── Footer ─── */
.landing-footer {
    padding: 50px 30px;
    border-top: 1px solid rgba(0, 102, 255, 0.12);
    background: rgba(0, 0, 0, 0.3);
}

body.dark-mode .landing-footer {
    border-top-color: rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #6a6a7c;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a.gradient-text {
    text-decoration: none;
    font-size: 0.9rem;
    color: #4a4a5e !important;
    transition: color 0.2s;
}

.footer-links a.gradient-text:hover {
    color: #1a1a2e !important;
    filter: none;
}

body.dark-mode .footer-links a.gradient-text {
    color: #999 !important;
}

body.dark-mode .footer-links a.gradient-text:hover {
    color: #fff !important;
}

/* ─── Responsive ─── */
@media (max-width: 1000px) {
    .landing-hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 130px;
        gap: 40px;
    }

    .landing-title {
        font-size: 3rem;
    }

    .landing-subtitle {
        margin: 0 auto 30px;
    }

    .landing-cta-box {
        justify-content: center;
    }

    .landing-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        align-items: center;
        text-align: center;
    }

    .feature-card .card-icon-box {
        align-self: center;
    }

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

    .step-item {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .landing-title {
        font-size: 2.2rem;
    }

    .landing-cta-box {
        flex-direction: column;
    }

    .landing-cta-btn {
        justify-content: center;
    }

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

/* ─── Typography Override ─── */
.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4,
.landing-page h5,
.landing-page h6,
.landing-page .landing-title,
.landing-page .section-heading,
.landing-page .hero-badge,
.landing-page .step-num {
    font-family: 'Montserrat', 'Inter', sans-serif;
}

/* Remove old unused animation keyframes */
@keyframes badgePulse { 0%, 100% { transform: none; } }
@keyframes shimmer { 0%, 100% { left: -100%; } }
@keyframes flash { 0%, 100% { transform: none; } }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes ringShake { 0%, 100% { transform: none; } }
@keyframes scanFloat { 0%, 100% { transform: none; } }

/* ─── Z-Index: all content above aurora ─── */
.landing-nav,
.landing-hero-wrapper,
.landing-section,
.landing-footer {
    position: relative;
    z-index: 1;
}

/* ─── Floating Decorative Shapes ─── */
.floating-shapes {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    animation: floatShape 18s ease-in-out infinite;
}

.floating-shape.shape-1 {
    width: 80px; height: 80px;
    border: 3px solid #0066FF;
    top: 15%; right: 8%;
    animation-duration: 14s;
}

.floating-shape.shape-2 {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, #8B5CF6, transparent);
    top: 45%; left: 5%;
    animation-duration: 20s;
    animation-delay: -3s;
}

.floating-shape.shape-3 {
    width: 35px; height: 35px;
    border: 2px solid #EC4899;
    border-radius: 8px;
    bottom: 20%; right: 15%;
    animation-duration: 16s;
    animation-delay: -7s;
    transform: rotate(45deg);
}

.floating-shape.shape-4 {
    width: 60px; height: 60px;
    border: 2px solid #06B6D4;
    top: 65%; left: 12%;
    animation-duration: 22s;
    animation-delay: -5s;
}

.floating-shape.shape-5 {
    width: 25px; height: 25px;
    background: rgba(0, 102, 255, 0.3);
    top: 30%; left: 45%;
    animation-duration: 15s;
    animation-delay: -9s;
}

body.dark-mode .floating-shape {
    opacity: 0.08;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(25px, -30px) rotate(90deg); }
    50% { transform: translate(-15px, 20px) rotate(180deg); }
    75% { transform: translate(20px, 15px) rotate(270deg); }
}

/* ─── Sparkle / Particle Effect ─── */
.sparkle-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.sparkle {
    position: absolute;
    width: 4px; height: 4px;
    background: radial-gradient(circle, rgba(255,255,255,0.9), transparent);
    border-radius: 50%;
    animation: sparkleFloat 8s ease-in-out infinite;
    opacity: 0;
}

.sparkle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.sparkle:nth-child(2) { left: 25%; top: 40%; animation-delay: 1.5s; animation-duration: 9s; }
.sparkle:nth-child(3) { left: 55%; top: 15%; animation-delay: 3s; animation-duration: 6s; }
.sparkle:nth-child(4) { left: 70%; top: 55%; animation-delay: 2s; animation-duration: 8s; }
.sparkle:nth-child(5) { left: 85%; top: 30%; animation-delay: 4s; animation-duration: 10s; }
.sparkle:nth-child(6) { left: 40%; top: 65%; animation-delay: 5s; animation-duration: 7s; }
.sparkle:nth-child(7) { left: 15%; top: 70%; animation-delay: 0.5s; animation-duration: 11s; }
.sparkle:nth-child(8) { left: 90%; top: 10%; animation-delay: 3.5s; animation-duration: 9s; }

body.dark-mode .sparkle {
    background: radial-gradient(circle, rgba(0, 102, 255, 0.9), transparent);
    width: 5px; height: 5px;
}

@keyframes sparkleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 0.8; transform: translateY(-20px) scale(1); }
    40% { opacity: 0.4; transform: translateY(-40px) scale(0.6); }
    60% { opacity: 0.9; transform: translateY(-60px) scale(1.2); }
    80% { opacity: 0.3; transform: translateY(-80px) scale(0.5); }
    100% { opacity: 0; transform: translateY(-100px) scale(0); }
}

/* ─── Section Heading Animated Underline ─── */
.section-heading {
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #0066FF, #8B5CF6, #06B6D4);
    background-size: 200% 100%;
    animation: underlineGlow 3s ease-in-out infinite;
}

@keyframes underlineGlow {
    0% { background-position: 0% 50%; width: 80px; }
    50% { background-position: 100% 50%; width: 120px; }
    100% { background-position: 0% 50%; width: 80px; }
}

/* ─── Hero Content Entrance Animation ─── */
.hero-content {
    animation: heroSlideIn 1s ease-out;
}

.hero-showcase {
    animation: heroSlideIn 1s ease-out 0.2s both;
}

@keyframes heroSlideIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Feature Cards Stagger Animation ─── */
.feature-card {
    animation: cardReveal 0.6s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }

@keyframes cardReveal {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

