/* Override sections to match brand */
#fh5co-featured,
#fh5co-about .fh5co-text {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Splash Hero Section - Full Width Brand Focus */
#splash-hero {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}

/* Brand Section - Centered, Full Focus */
#splash-brand {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    text-align: center;
}

#splash-icon {
    width: 140px;
    height: 140px;
    margin-bottom: 30px;
    /* Invert black to white, add slight cool blue tint for neon white */
    filter: invert(1) brightness(1.5) sepia(0.1) saturate(3) hue-rotate(180deg)
            drop-shadow(0 0 2px #fff)
            drop-shadow(0 0 5px rgba(200, 220, 255, 0.9))
            drop-shadow(0 0 10px rgba(150, 200, 255, 0.7))
            drop-shadow(0 0 20px rgba(100, 180, 255, 0.5))
            drop-shadow(0 0 40px rgba(100, 150, 255, 0.3));
    animation: neon-flicker 4s ease-in-out infinite;
}

@keyframes neon-flicker {
    0%, 100% {
        filter: invert(1) brightness(1.5) sepia(0.1) saturate(3) hue-rotate(180deg)
                drop-shadow(0 0 2px #fff)
                drop-shadow(0 0 5px rgba(200, 220, 255, 0.9))
                drop-shadow(0 0 10px rgba(150, 200, 255, 0.7))
                drop-shadow(0 0 20px rgba(100, 180, 255, 0.5))
                drop-shadow(0 0 40px rgba(100, 150, 255, 0.3));
    }
    4%, 6% {
        filter: invert(1) brightness(1) sepia(0.1) saturate(2) hue-rotate(180deg)
                drop-shadow(0 0 1px #fff)
                drop-shadow(0 0 3px rgba(150, 200, 255, 0.4))
                drop-shadow(0 0 10px rgba(100, 150, 255, 0.2));
    }
    50% {
        filter: invert(1) brightness(1.8) sepia(0.1) saturate(3) hue-rotate(180deg)
                drop-shadow(0 0 3px #fff)
                drop-shadow(0 0 8px rgba(220, 240, 255, 1))
                drop-shadow(0 0 15px rgba(180, 220, 255, 0.9))
                drop-shadow(0 0 30px rgba(120, 180, 255, 0.6))
                drop-shadow(0 0 50px rgba(100, 150, 255, 0.4));
    }
    52%, 54% {
        filter: invert(1) brightness(1.2) sepia(0.1) saturate(2) hue-rotate(180deg)
                drop-shadow(0 0 2px #fff)
                drop-shadow(0 0 5px rgba(180, 210, 255, 0.5))
                drop-shadow(0 0 15px rgba(120, 170, 255, 0.3));
    }
}

#splash-logo {
    font-family: "Playfair Display", serif;
    font-size: 56px;
    font-weight: 700;
    font-style: italic;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    margin-bottom: 15px;
    line-height: 1.1;
}

#splash-tagline {
    font-family: "Merriweather", serif;
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 35px;
    font-weight: 300;
}

#splash-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

#splash-cta .btn {
    padding: 14px 32px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#splash-cta .btn i {
    font-size: 18px;
}

#splash-cta .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.9);
}

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

/* App Store Links */
#app-store-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.app-store-badge {
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.app-store-badge:hover {
    transform: scale(1.05);
    opacity: 1;
}

.app-store-badge img {
    height: 50px;
    width: auto;
}

/* Tablet Layout */
@media screen and (max-width: 992px) {
    #splash-brand {
        padding: 50px 30px;
    }

    #splash-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 25px;
    }

    #splash-logo {
        font-size: 48px;
    }

    #splash-tagline {
        font-size: 18px;
        margin-bottom: 30px;
    }
}

/* Mobile Layout */
@media screen and (max-width: 768px) {
    #splash-brand {
        padding: 40px 20px;
    }

    #splash-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    #splash-logo {
        font-size: 36px;
        margin-bottom: 12px;
    }

    #splash-tagline {
        font-size: 16px;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    #splash-cta {
        margin-bottom: 30px;
    }

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

    #splash-cta .btn i {
        font-size: 16px;
    }

    #app-store-links {
        gap: 15px;
    }

    .app-store-badge img {
        height: 44px;
    }
}

/* Small Mobile Layout */
@media screen and (max-width: 480px) {
    #splash-brand {
        padding: 30px 15px;
        justify-content: center;
    }

    #splash-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    #splash-logo {
        font-size: 28px;
        margin-bottom: 10px;
    }

    #splash-tagline {
        font-size: 14px;
        margin-bottom: 20px;
    }

    #splash-cta {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 12px;
        margin-bottom: 25px;
    }

    #splash-cta .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
        justify-content: center;
    }

    #app-store-links {
        flex-direction: column;
        gap: 12px;
    }

    .app-store-badge img {
        height: 48px;
    }
}

/* ==================== */
/* Product Cards Section */
/* ==================== */

.product-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.product-card:nth-child(even) {
    flex-direction: row-reverse;
}

.product-image {
    flex: 0 0 45%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px;
}

.product-image img {
    max-width: 100%;
    max-height: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.product-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.product-tagline {
    font-family: "Merriweather", serif;
    font-size: 14px;
    color: #fb6e14;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px !important;
}

.product-info p {
    font-family: "Merriweather", serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.product-actions {
    margin-bottom: 15px;
}

.product-actions .btn {
    padding: 12px 28px;
    font-size: 14px;
}

.product-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-badges .app-badge {
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.product-badges .app-badge:hover {
    transform: scale(1.05);
    opacity: 1;
}

.product-badges .app-badge img {
    height: 40px;
    width: auto;
}

/* Featured section heading override */
#fh5co-featured .fh5co-heading .heading {
    color: #fff;
}

#fh5co-featured .fh5co-heading .sub-heading {
    color: rgba(255, 255, 255, 0.7);
}

/* Tablet Layout for Product Cards */
@media screen and (max-width: 768px) {
    .product-cards {
        gap: 30px;
        padding: 0 15px;
    }

    .product-card,
    .product-card:nth-child(even) {
        flex-direction: column;
    }

    .product-image {
        flex: none;
        min-height: 200px;
        padding: 25px;
    }

    .product-image img {
        max-height: 180px;
    }

    .product-info {
        padding: 25px;
    }

    .product-info h3 {
        font-size: 24px;
    }

    .product-tagline {
        font-size: 12px;
    }

    .product-info p {
        font-size: 14px;
    }

    .product-badges .app-badge img {
        height: 36px;
    }
}

/* Small Mobile Layout for Product Cards */
@media screen and (max-width: 480px) {
    .product-cards {
        gap: 25px;
        padding: 0 10px;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-image {
        min-height: 180px;
        padding: 20px;
    }

    .product-image img {
        max-height: 150px;
    }

    .product-info {
        padding: 20px;
    }

    .product-info h3 {
        font-size: 20px;
    }

    .product-tagline {
        font-size: 11px;
        margin-bottom: 12px !important;
    }

    .product-info p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .product-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .product-badges .app-badge img {
        height: 42px;
    }
}

/* Landscape mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    #splash-hero {
        min-height: 100vh;
    }

    #splash-brand {
        padding: 20px 40px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    #splash-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
    }

    #splash-logo {
        font-size: 32px;
        margin-bottom: 5px;
    }

    #splash-tagline {
        font-size: 14px;
        margin-bottom: 15px;
        width: 100%;
    }

    #splash-cta {
        margin-bottom: 15px;
    }

    #splash-cta .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .app-store-badge img {
        height: 40px;
    }
}
