/* ========================================
   LANDING PAGES - Shared Styles
   ======================================== */

/* Body class for landing pages */
body.landing-page {
    background: var(--landing-gradient-hero);
}

/* Navbar transparency for landing pages */
body.landing-page > div.container.pt-4,
body.landing-page > .container.pt-4 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    padding: 1rem 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}

body.landing-page > div.container.pt-4.scrolled,
body.landing-page > .container.pt-4.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
}

body.landing-page .navbar-main,
body.landing-page nav.navbar-main {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.landing-page .navbar-main .nav-link,
body.landing-page .navbar-main .navbar-brand {
    color: rgba(255, 255, 255, 0.95) !important;
}

body.landing-page .navbar-main .nav-link:hover {
    color: #fff !important;
}

/* ========================================
   HERO SECTION
   ======================================== */

.landing-hero {
    min-height: 100vh;
    background: var(--landing-gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

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

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--landing-primary-light);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.landing-badge i {
    font-size: 0.75rem;
}

.landing-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.landing-title .highlight {
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.landing-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Visual / Mockup */
.landing-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-phone-landing {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1e1e1e, #2d2d2d);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 30px 60px -30px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.mockup-phone-landing::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
}

.mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header-new {
    margin-bottom: 4rem;
}

.section-badge-new {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--landing-primary-light, #a5b4fc);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.section-title-new {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-description-new {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.landing-features {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--landing-dark) 0%, var(--landing-dark-light) 100%);
    position: relative;
}

.landing-features .row.g-4 {
    margin-top: 1rem;
}

.landing-features .row.g-4 > [class*="col-"] {
    margin-bottom: 1.5rem;
}

.landing-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.landing-feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.feature-icon.gradient-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.feature-icon.gradient-2 { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.feature-icon.gradient-3 { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.feature-icon.gradient-4 { background: linear-gradient(135deg, #10b981, #059669); }
.feature-icon.gradient-5 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.feature-icon.gradient-6 { background: linear-gradient(135deg, #8b5cf6, #a855f7); }

.landing-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.landing-feature-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   BLOCKS SHOWCASE
   ======================================== */

.landing-showcase {
    padding: 6rem 0;
    background: var(--landing-dark);
}

.blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.block-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.block-item:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-3px);
}

.block-item i {
    font-size: 1.5rem;
    color: var(--landing-primary-light);
}

.block-item span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-align: center;
}

/* ========================================
   USE CASES
   ======================================== */

.landing-usecases {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--landing-dark-light) 0%, var(--landing-dark) 100%);
}

.landing-usecases .row.g-4 {
    margin-top: 1rem;
}

.landing-usecases .row.g-4 > [class*="col-"] {
    margin-bottom: 1.5rem;
}

.usecase-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease;
}

.usecase-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.usecase-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usecase-icon i {
    font-size: 2rem;
    color: #fff;
}

.usecase-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.usecase-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */

.landing-cta-section {
    padding: 6rem 0;
    background: var(--landing-dark);
}

.cta-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ========================================
   BUTTONS (inherited from landing-v3)
   ======================================== */

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-secondary));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: #fff;
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
    .landing-hero {
        padding-top: 100px;
        padding-bottom: 3rem;
    }

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

    .landing-visual {
        margin-top: 3rem;
    }

    .mockup-phone-landing {
        width: 240px;
        height: 500px;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .landing-cta {
        flex-direction: column;
    }

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

    .blocks-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
    }

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

/* ========================================
   GLOW EFFECTS (reuse from landing-v3)
   ======================================== */

.landing-hero .hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    pointer-events: none;
}

.landing-hero .hero-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--landing-primary);
    top: -200px;
    right: -200px;
    opacity: 0.3;
}

.landing-hero .hero-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--landing-secondary);
    bottom: -100px;
    left: -100px;
    opacity: 0.2;
}

/* ========================================
   PAGE SPECIFIC COLORS
   ======================================== */

/* Bio Page - Purple/Pink */
.landing-bio-page .landing-badge {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

/* URL Shortener - Blue/Cyan */
.landing-url-shortener .landing-badge {
    background: rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.3);
    color: #67e8f9;
}
.landing-url-shortener .feature-icon.gradient-1 { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }

/* QR Codes - Green/Teal */
.landing-qr-codes .landing-badge {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}
.landing-qr-codes .feature-icon.gradient-1 { background: linear-gradient(135deg, #10b981, #059669); }

/* File Sharing - Orange/Yellow */
.landing-file-sharing .landing-badge {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fcd34d;
}
.landing-file-sharing .feature-icon.gradient-1 { background: linear-gradient(135deg, #f59e0b, #f97316); }

/* vCard - Red/Pink */
.landing-vcard .landing-badge {
    background: rgba(244, 63, 94, 0.2);
    border-color: rgba(244, 63, 94, 0.3);
    color: #fda4af;
}
.landing-vcard .feature-icon.gradient-1 { background: linear-gradient(135deg, #f43f5e, #ec4899); }

/* Analytics - Indigo/Blue */
.landing-analytics .landing-badge {
    background: rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.3);
    color: #a5b4fc;
}
.landing-analytics .feature-icon.gradient-1 { background: linear-gradient(135deg, #4f46e5, #6366f1); }
