* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

:root {
    --bg-primary: #001F2C;
    --bg-secondary: #002d3f;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --accent: #F9E054;
    --accent-hover: #cfbe5f;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.06);
    --nav-bg: rgba(0, 31, 44, 0.75);
    --footer-bg: rgba(0, 0, 0, 0.7);
    --font-sans: 'Outfit', 'DM Sans', sans-serif;
    --font-arabic: 'Amiri', serif;
    --gold-gradient: linear-gradient(135deg, #F9E054 0%, #D4AF37 100%);
    --glow-color: rgba(249, 224, 84, 0.12);
}

body {
    margin: 0;
    padding: 0;
    background: url('../assets/mosque.png') center calc(100% + 220px) no-repeat fixed,
        url('../assets/islamic_pattern_bg4.png') center center fixed;
    background-size: 100%, 25%;
    background-color: var(--bg-primary);
    font-family: var(--font-sans);
    color: var(--text-primary);
    font-size: 16px;
    position: relative;
    background-attachment: fixed;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.loading-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.container {
    max-width: 1280px;
    width: 90%;
    margin: 0 auto;
}

.loading-section .container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 40px;
}

.app-title {
    font-size: 44px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.app-slogan {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    opacity: 0.9;
    margin-bottom: 30px !important;
}

.app-logo {
    width: 120px;
    height: 120px;
    display: block;
    margin: 20px auto;
}

/* Loader */
.loader {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    mask: radial-gradient(farthest-side, transparent calc(100% - 10px), black 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), black 0);
    background: conic-gradient(#F9E054 0deg, rgba(217, 217, 217, 0) 360deg);
    animation: spin 2s linear infinite;
    margin: 30px auto 40px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Zikr Texts */
.zikr-ar {
    font-size: 20px;
    font-weight: 600;
    margin-top: 70px;
    color: #fff;
}

.zikr-en {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    margin-top: 10px;
}

/* Bottom Mosque Image */
/* .mosque-img-wrapper {
    display: block;
    position: absolute;
    inset: auto 0 -4%;
    width: 100%;
    margin: 0 auto;
    max-height: 90vh;
    overflow: hidden;
}
.mosque-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 50%;
} */
/* Responsive */
@media(max-width:768px) {
    body {
        background-position: center 100%, center center;
        background-size: 100%, 50%;
    }

    .loading-section {
        padding: 80px 0;
    }

    .app-title {
        font-size: 30px;
    }

    .app-slogan {
        font-size: 16px;
    }

    .loader {
        width: 100px;
        height: 100px;
        margin: 20px auto 30px;
    }

    .zikr-ar,
    .zikr-en {
        font-size: 16px;
    }

    .mosque-img-wrapper {
        max-height: 30vh;
    }
}

@media(max-width:520px) {
    body {
        background-position: center 100%, center center;
        background-size: 100%, 75%;
    }
}

/* Footer */
.footer {
    width: 100%;
    background: #001F2C;
    color: var(--text-secondary);
    text-align: center;
    padding: 20px 10px;
    font-size: 14px;
    border-top: 1px solid var(--card-border);
    margin-top: auto;
}

.footer p {
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.footer-bottom-row {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

.footer-logo {
    height: 13px;
    object-fit: contain;
    vertical-align: middle;
    opacity: 0.85;
}

.footer-divider {
    opacity: 0.4;
}

.footer-bottom-row a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-bottom-row a:hover {
    color: #ffffff;
}

/* Responsive footer */
@media(max-width:768px) {
    .footer {
        font-size: 12px;
        padding: 10px;
    }
}

@media(max-width:480px) {
    .footer {
        font-size: 11px;
        padding: 8px;
    }
}

.navbar-nav,
.navbar-nav .dropdown-menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Sticky header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #001F2C !important;
    border-bottom: 1px solid var(--card-border);
}



body {
    padding-top: 70px;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* centers content vertically */
    min-height: calc(100vh - 70px - 70px);
    /* adjust 70px to actual header/footer height */
    padding: 0 10px;
    /* optional horizontal padding */
}

.navbar {
    padding: 0.5rem 1rem;
}

.navbar-brand img {
    margin-right: 8px;
    border-radius: 4px;
}

.navbar-nav .nav-item {
    margin-left: 1rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-primary) !important;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #F9E054 !important;
}

.dropdown-menu {
    background-color: var(--bg-primary);
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: var(--text-primary);
    font-size: 14px;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: #cfbe5f;
    color: #FEFEFE;
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .navbar-nav .nav-item {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
}

.highlight {
    color: var(--accent) !important;
}


/* --- Modern Landing Page Styles --- */

/* Navbar Upgrades */
.navbar {
    backdrop-filter: blur(15px);
    background-color: var(--nav-bg) !important;
    border-bottom: 1px solid var(--card-border);
}

.brand-logo-nav {
    height: 42px;
    filter: drop-shadow(0 2px 8px rgba(249, 224, 84, 0.25));
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar-brand:hover .brand-logo-nav {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 12px rgba(249, 224, 84, 0.45));
}

.brand-text-nav {
    font-size: 1.3rem;
    letter-spacing: -0.3px;
    color: var(--text-primary) !important;
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-content-col {
    z-index: 10;
}

.hero-badge {
    display: inline-block;
}

.badge-pill {
    background: rgba(249, 224, 84, 0.08);
    border: 1px solid rgba(249, 224, 84, 0.2);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 35px !important;
    opacity: 0.85;
    font-weight: 300;
}

.hero-cta {
    margin-top: 40px !important;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

.hero-trust-badges {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.trust-label {
    opacity: 0.7;
    font-weight: 400;
}

.trust-icon-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.trust-icon-link:hover {
    color: var(--accent);
}

.trust-icon-link i {
    font-size: 1.1rem;
    vertical-align: middle;
    margin-right: 4px;
}

/* Hero Mockup Column */
.hero-mockup-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--glow-color) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.mockup-container {
    position: relative;
    z-index: 2;
    max-width: 290px;
    width: 100%;
    margin: 0 auto;
}

.app-mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    display: block;
}

.phone-showcase-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 290px;
    width: 100%;
    z-index: 10;
}

.phone-showcase-container:hover .phone-mockup-wrapper {
    transform: scale(1.03) rotate(-1.5deg);
}

/* Hero Carousel Caption Styling */
.hero-carousel-caption {
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    width: 100%;
    max-width: 320px; /* Snug width matching or slightly wider than phone chassis */
    margin: 15px auto 0; /* Positioned snugger below mockup */
    text-align: center;
    box-shadow: none;
    min-height: 80px; /* Prevent height jumping */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 10;
}

#hero-carousel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
    transition: opacity 0.2s ease-in-out;
}

#hero-carousel-desc {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.45;
    font-weight: 400;
    transition: opacity 0.2s ease-in-out;
}

/* Hero Feature Highlights 2x2 Grid */
.hero-highlights-grid {
    width: 100%;
}

.hero-highlight-pill {
    background: rgba(0, 31, 44, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%; /* Equal height inside grid */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.hero-highlight-pill:hover {
    transform: translateX(6px);
    background: rgba(0, 31, 44, 0.65);
    border-color: rgba(249, 224, 84, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.hero-highlight-pill .pill-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #001F2C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(249, 224, 84, 0.2);
}

.hero-highlight-pill .pill-content {
    flex: 1;
}

.hero-highlight-pill .pill-content h5 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.hero-highlight-pill .pill-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
    font-weight: 300;
}



/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(0, 31, 44, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    z-index: 10;
    pointer-events: auto;
}

.badge-scholars {
    bottom: 40px;
    left: -70px;
    animation: float-left 6s ease-in-out infinite;
}

.badge-chapters {
    top: 50px;
    right: -70px;
    animation: float-right 6s ease-in-out infinite 1.5s;
}

.badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #001F2C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 12px;
}

.play-pulse {
    background: var(--accent);
    position: relative;
}

.play-pulse::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: pulse 1.8s infinite;
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.badge-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Avatar Stack */
.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack.justify-content-center .avatar-mini:first-child {
    margin-left: 0;
}

.avatar-mini {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #001f2c;
    overflow: hidden;
    margin-left: -8px;
}

.avatar-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Keyframe Animations */
@keyframes float-left {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(-5px); }
}

@keyframes float-right {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(10px) translateX(5px); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.btn-primary-custom {
    background: var(--gold-gradient);
    color: #001F2C !important;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    color: #001F2C !important;
}

.btn-outline-custom {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-outline-custom:hover {
    background: rgba(249, 224, 84, 0.08);
    transform: translateY(-2px);
    color: var(--accent);
}

/* Features Section */
.features-section {
    padding: 100px 0 60px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(249, 224, 84, 0.03), transparent 60%);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(249, 224, 84, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(249, 224, 84, 0.05);
}

.feature-icon {
    font-size: 2.8rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(249, 224, 84, 0.2));
}

.feature-card h3 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.feature-card p {
    font-weight: 300;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
}

/* Download Section */
.download-section {
    padding: 60px 0 100px;
}

.download-hub {
    background: linear-gradient(135deg, rgba(249, 224, 84, 0.08) 0%, rgba(0, 45, 63, 0.4) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 32px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.download-hub::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 224, 84, 0.08) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
}

.download-hub:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 224, 84, 0.25);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.download-hub h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.store-btn {
    transition: transform 0.3s ease;
}

.store-btn:hover {
    transform: scale(1.05);
}

.store-btn img {
    height: 50px;
}

/* --- Minimalist Adhkar Display --- */
/* --- Interactive Zikr Player --- */
.adhkar-section {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.zikr-player-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(249, 224, 84, 0.06) 0%, rgba(0,0,0,0) 75%);
    z-index: 1;
    pointer-events: none;
}

.zikr-player-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: all 0.4s ease;
}

.zikr-player-card:hover {
    border-color: rgba(249, 224, 84, 0.2);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 25px 60px rgba(0, 0, 0, 0.4);
}

.zikr-player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.zikr-player-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.zikr-player-counter {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.adhkar-pattern {
    position: absolute;
    inset: 0;
    background: url('../assets/islamic_pattern_bg4.png') center center;
    background-size: 15%;
    opacity: 0.02;
    pointer-events: none;
}

.adhkar-display {
    max-width: 800px;
    margin: 0 auto 35px;
    position: relative;
    z-index: 2;
    transition: opacity 0.45s ease-in-out, transform 0.45s ease-in-out;
}

.zikr-ar-calligraphy {
    font-family: var(--font-arabic);
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.5;
    text-shadow: 0 4px 20px rgba(249, 224, 84, 0.15);
    text-align: center;
}

.adhkar-divider {
    width: 40px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 20px auto;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(249, 224, 84, 0.3);
}

.zikr-en {
    font-size: clamp(0.95rem, 3vw, 1.2rem);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    line-height: 1.6;
    text-align: center;
}

.zikr-player-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.zikr-controls {
    display: flex;
    gap: 10px;
}

.btn-zikr-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-zikr-control:hover {
    background: var(--accent);
    color: #001F2C;
    border-color: var(--accent);
    transform: scale(1.08);
    box-shadow: 0 5px 15px rgba(249, 224, 84, 0.25);
}

.btn-zikr-control:active {
    transform: scale(0.95);
}

.zikr-progress-track {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.zikr-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gold-gradient);
    border-radius: 10px;
    transition: width 30ms linear;
}

/* Utility */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

/* Responsiveness */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* Impact (Stats) Section */
.impact-card {
    padding: 50px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.impact-card:hover {
    border-color: rgba(249, 224, 84, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.stat-card {
    padding: 20px;
    border-radius: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .stat-card {
        padding: 15px 5px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Scholar Spotlight */
.scholar-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.scholar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(249, 224, 84, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.scholar-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.scholar-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.scholar-card:hover .scholar-img-wrapper img {
    transform: scale(1.08);
}

.scholar-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold-gradient);
    color: #001F2C;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scholar-info {
    padding: 30px;
}

.scholar-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.scholar-meta {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 15px;
}

.scholar-meta i {
    color: var(--accent);
    margin-right: 5px;
}

/* Column and responsive layout adjustments */
@media (max-width: 992px) {
    .hero-content-col {
        text-align: center !important;
        margin-bottom: 50px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-trust-badges {
        justify-content: center;
    }
    
    .badge-scholars {
        left: -30px;
    }
    
    .badge-chapters {
        right: -30px;
    }
}

@media (max-width: 576px) {
    .mockup-container {
        max-width: 250px;
    }
    
    .badge-scholars {
        left: -10px;
        bottom: 10px;
    }
    
    .badge-chapters {
        right: -10px;
        top: 10px;
    }
    
    .floating-badge {
        padding: 8px 12px;
    }
    
    .badge-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        margin-right: 8px;
    }
    
    .badge-number {
        font-size: 0.8rem;
    }
    
    .badge-text {
        font-size: 0.65rem;
    }
    
    .avatar-mini {
        width: 18px;
        height: 18px;
    }
    
    /* Hero CTA Stack */
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-cta a {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Zikr Player Mobile Layout */
    .zikr-player-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .zikr-player-header {
        margin-bottom: 25px;
    }
    
    .adhkar-display {
        margin-bottom: 25px;
    }
    
    .zikr-player-footer {
        flex-direction: column;
        gap: 15px;
        padding-top: 20px;
    }
    
    .zikr-controls {
        justify-content: center;
        width: 100%;
    }
    
    .zikr-progress-track {
        width: 100%;
    }
}

/* Verification Section Style */
.verification-badge-container {
    background: rgba(249, 224, 84, 0.05);
    border: 2px dashed var(--accent);
    border-radius: 50%;
    width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    transition: all 0.5s ease;
}

.verification-badge-container:hover {
    transform: rotate(5deg) scale(1.05);
    background: rgba(249, 224, 84, 0.1);
}

.text-accent {
    color: var(--accent) !important;
}

.tracking-widest {
    letter-spacing: 0.2em;
}

/* --- Scroll Animations --- */
.reveal {
    position: relative;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Animation Variants */
.fade-up {
    transform: translateY(30px);
}

.fade-down {
    transform: translateY(-30px);
}

.fade-left {
    transform: translateX(-30px);
}

.fade-right {
    transform: translateX(30px);
}

.zoom-in {
    transform: scale(0.8);
}

/* Duration & Delay Helpers */
.reveal.duration-1000 {
    transition-duration: 1000ms;
}

.reveal.duration-1200 {
    transition-duration: 1200ms;
}

/* Mobile Optimizations - gentler animations */
@media (max-width: 768px) {
    .reveal {
        transition-duration: 0.6s;
    }

    .fade-up {
        transform: translateY(15px);
    }

    .fade-left {
        transform: translateX(-15px);
    }

    .fade-right {
        transform: translateX(15px);
    }
}

/* --- App Showcase Carousel --- */
.showcase-section {
    padding: 80px 0;
    position: relative;
}

.app-carousel {
    max-width: 700px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 60px 40px 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.carousel-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.carousel-image-wrapper {
    max-width: 260px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.app-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    display: block;
}

/* --- Realistic Phone Mockup System --- */
.phone-mockup-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 4px; /* Space for physical volume/power buttons on the sides */
    box-sizing: border-box;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Volume Buttons (Left Side) */
.phone-mockup-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 80px;
    width: 4px;
    height: 70px;
    /* Two buttons combined via gradient */
    background: linear-gradient(
        to bottom,
        #334155 0px, #334155 28px,
        transparent 28px, transparent 42px,
        #334155 42px, #334155 70px
    );
    border-radius: 3px 0 0 3px;
    z-index: 1;
}

/* Power Button (Right Side) */
.phone-mockup-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 110px;
    width: 4px;
    height: 45px;
    background: #334155;
    border-radius: 0 3px 3px 0;
    z-index: 1;
}

/* Outer chassis with deep bezel */
.phone-mockup-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 19.5; /* iPhone / Modern Android aspect ratio */
    background: #090d16; /* Deep matte black chassis */
    border: 11px solid #1e293b; /* Inner chassis bezel */
    border-top-width: 13px; /* Slightly thicker top bezel */
    border-bottom-width: 13px; /* Slightly thicker bottom bezel */
    border-radius: 40px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.8), 
        0 0 0 2px rgba(255, 255, 255, 0.05), /* Outer metallic highlight */
        inset 0 0 8px rgba(0, 0, 0, 0.9);
    overflow: hidden;
    z-index: 2;
}

/* Glass screen container */
.phone-mockup-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: #000;
}

/* Modern Dynamic Island / Camera Pill Notch */
.phone-mockup-screen::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 15px;
    background: #000;
    border-radius: 10px;
    z-index: 100;
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Screen reflection glare overlay */
.phone-mockup-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 25%,
        transparent 50%
    );
    transform: translateX(-35%);
    pointer-events: none;
    z-index: 90;
}

/* Home Indicator Bar at the bottom of the screen */
.phone-home-indicator {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    z-index: 100;
}

.carousel-caption-custom {
    color: var(--text-primary);
    max-width: 500px;
    margin: 0 auto;
}

.carousel-caption-custom h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.carousel-caption-custom p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    opacity: 0.85;
    font-weight: 300;
    line-height: 1.6;
}

.app-carousel .carousel-indicators {
    bottom: -10px;
}

.app-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    margin: 0 6px;
}

.app-carousel .carousel-indicators .active {
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.app-carousel .carousel-control-prev,
.app-carousel .carousel-control-next {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.app-carousel .carousel-control-prev {
    left: -22px;
}

.app-carousel .carousel-control-next {
    right: -22px;
}

.app-carousel .carousel-control-prev:hover,
.app-carousel .carousel-control-next:hover {
    background: var(--accent) !important;
    color: #001F2C !important;
    border-color: var(--accent) !important;
    opacity: 1;
}

.app-carousel .carousel-control-prev-icon,
.app-carousel .carousel-control-next-icon {
    filter: invert(1) grayscale(100) brightness(200);
}

.app-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.app-carousel .carousel-control-next:hover .carousel-control-next-icon {
    filter: invert(0) grayscale(0) brightness(0);
}

@media (max-width: 768px) {
    .app-carousel {
        padding: 40px 20px 30px;
        margin: 0 10px;
    }
    
    .carousel-caption-custom h3 {
        font-size: 1.3rem;
    }
    
    .app-carousel .carousel-control-prev {
        left: 5px;
    }
    
    .app-carousel .carousel-control-next {
        right: 5px;
    }
}

/* ==========================================
   Light Theme Custom Styling & Rules
   ========================================== */
body.light-theme {
    --bg-primary: #F4F7F5; /* Calm, bright off-white background with a soft sage tint */
    --bg-secondary: #E5ECE8; /* Slightly darker sage-tint for transitions */
    --text-primary: #0F2A1E; /* Deep forest green-slate for high contrast */
    --text-secondary: #2C4D3F; /* Deep sage-slate for descriptions */
    --accent: #9A7B1C; /* Rich metallic olive-gold */
    --accent-hover: #7D6315;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(15, 42, 30, 0.08);
    --nav-bg: rgba(244, 247, 245, 0.85); /* Translucent navbar matching bright canvas */
    --footer-bg: #001F2C;
    --gold-gradient: linear-gradient(135deg, #9A7B1C 0%, #7D6315 100%);
    --glow-color: rgba(154, 123, 28, 0.02);
}

body.light-theme {
    /* Bright canvas blending seamless light geometric pattern and bottom mosque silhouette with very soft contrast */
    background: 
        linear-gradient(rgba(244, 247, 245, 0.94), rgba(244, 247, 245, 0.94)),
        url('../assets/mosque.png') center calc(100% + 220px) no-repeat fixed,
        url('../assets/islamic_pattern_light.png') center center fixed;
    background-size: cover, 100% auto, 25% auto;
    background-color: #F4F7F5;
}

/* Light Theme Card overrides */
body.light-theme .zikr-player-card,
body.light-theme .feature-card,
body.light-theme .about-card,
body.light-theme .impact-card,
body.light-theme .stat-card,
body.light-theme .verification-badge-container,
body.light-theme .contact-info-card,
body.light-theme .contact-form-card {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(15, 42, 30, 0.08) !important;
    box-shadow: 0 15px 40px rgba(15, 42, 30, 0.06) !important;
}

/* Contrast Fixes for Hero text elements */
body.light-theme .hero-description {
    color: #2C4D3F !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

body.light-theme .app-slogan {
    color: #0F2A1E !important;
    opacity: 1 !important;
}

/* Logo and navigation links contrast on hover */
body.light-theme .brand-logo-nav {
    filter: brightness(0.75) contrast(1.2) drop-shadow(0 2px 6px rgba(15, 42, 30, 0.15)) !important;
}

body.light-theme .navbar-brand:hover .brand-logo-nav {
    filter: brightness(0.65) contrast(1.3) drop-shadow(0 2px 8px rgba(15, 42, 30, 0.25)) !important;
}

body.light-theme .navbar-nav .nav-link:hover,
body.light-theme .navbar-nav .nav-link:focus {
    color: #9A7B1C !important;
}

/* Custom button states overrides */
body.light-theme .btn-primary-custom {
    color: #ffffff !important;
    background: var(--gold-gradient) !important;
    box-shadow: 0 4px 15px rgba(154, 123, 28, 0.25) !important;
}
body.light-theme .btn-primary-custom:hover {
    color: #ffffff !important;
    background: var(--accent-hover) !important;
}
body.light-theme .btn-primary-custom i {
    color: #ffffff !important;
}
body.light-theme .btn-primary-custom:hover i {
    color: #ffffff !important;
}

body.light-theme .btn-outline-custom {
    color: #9A7B1C !important;
    border-color: #9A7B1C !important;
    background: transparent !important;
}
body.light-theme .btn-outline-custom:hover {
    background: rgba(154, 123, 28, 0.08) !important;
    color: #7D6315 !important;
    border-color: #7D6315 !important;
}

body.light-theme #theme-toggle:hover {
    color: #9A7B1C !important;
}

/* Custom cards content contrast */
body.light-theme .feature-card h3,
body.light-theme .about-card h3 {
    color: #0F2A1E !important;
}

body.light-theme .feature-card p,
body.light-theme .about-card p {
    color: #2C4D3F !important;
    opacity: 1 !important;
}

/* Light Theme Zikr Player tweaks */
body.light-theme .zikr-ar-calligraphy {
    color: #0F2A1E !important;
    text-shadow: none !important;
}

body.light-theme .zikr-player-tag {
    background: rgba(154, 123, 28, 0.08) !important;
    border: 1px solid rgba(154, 123, 28, 0.2) !important;
    color: #9A7B1C !important;
}

body.light-theme .zikr-player-counter {
    color: #2C4D3F !important;
}

body.light-theme .zikr-en {
    color: #0F2A1E !important;
}

body.light-theme .btn-zikr-control {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}

body.light-theme .btn-zikr-control:hover {
    background: var(--accent);
    color: #ffffff;
}

body.light-theme .zikr-progress-track {
    background: rgba(0, 0, 0, 0.05);
}

/* Light Theme Hero Captions */
body.light-theme #hero-carousel-desc {
    color: #2C4D3F !important;
    font-weight: 500 !important;
}

/* Light Theme Toggle Icons visibility */
body.light-theme #theme-toggle-light-icon {
    display: none !important;
}
body:not(.light-theme) #theme-toggle-dark-icon {
    display: none !important;
}
body.light-theme #theme-toggle-dark-icon {
    display: inline-block !important;
}
body:not(.light-theme) #theme-toggle-light-icon {
    display: inline-block !important;
}

/* Soften glows in Light Theme */
body.light-theme .mockup-glow,
body.light-theme .zikr-player-glow {
    opacity: 0.25;
}

/* Form input placeholder overrides for Light Theme */
body.light-theme .form-control::placeholder {
    color: rgba(15, 42, 30, 0.4) !important;
}

/* Timeline & contact text opacity fixes */
body.light-theme .timeline-item p,
body.light-theme .contact-text p {
    opacity: 1 !important;
    color: #2C4D3F !important;
}

/* Cache logo light theme blending adjustments if needed */
body.light-theme .cache-logo-nav,
body.light-theme .cache-logo-hero {
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.05));
}

/* Light Theme Navigation Hamburger and Footer overrides */
body.light-theme .navbar-toggler-icon {
    filter: invert(1) grayscale(100) brightness(0) !important;
}

body.light-theme .footer {
    background: #E5ECE8 !important; /* Soft, slightly darker sage-tint matching footer boundaries */
    color: #2C4D3F !important;
    border-top: 1px solid rgba(15, 42, 30, 0.08) !important;
}

body.light-theme .footer p {
    color: #2C4D3F !important;
}

body.light-theme .footer-bottom-row {
    color: rgba(44, 77, 63, 0.7) !important;
}

body.light-theme .footer-divider {
    color: rgba(44, 77, 63, 0.4) !important;
}

body.light-theme .footer-bottom-row a {
    color: #0F2A1E !important;
}

body.light-theme .footer-bottom-row a:hover {
    color: #9A7B1C !important; /* Rich metallic olive-gold hover */
}

body.light-theme .footer-logo {
    filter: brightness(0.2) contrast(1.5); /* Make the cache cloud logo dark under light theme */
    opacity: 0.8;
}

/* ==========================================
   Responsive Overrides for Laptop Screens & Heights
   ========================================== */
@media (max-width: 1400px), (max-height: 900px) {
    .hero-section {
        padding: 70px 0 35px; /* Thinner padding to fit within laptop viewport */
    }
    
    .hero-section .row {
        --bs-gutter-x: 2rem !important; /* Bring columns closer together */
    }
    
    .phone-showcase-container {
        max-width: 230px !important; /* Scales down the mockup width to fit the screen */
        margin-top: 30px !important; /* Push down to avoid touching the navbar */
    }
    
    /* Left column size reductions */
    .app-title {
        font-size: 38px;
        margin-bottom: 8px;
    }
    
    .app-slogan {
        font-size: 18px;
        margin-bottom: 25px !important;
    }
    
    .hero-description {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 32px !important;
    }
    
    .hero-cta {
        margin-top: 35px !important;
    }
    
    .hero-trust-badges {
        margin-top: 25px !important;
    }
}

/* Extra Height constraint media query for smaller viewports (e.g. 768px laptop screen height) */
@media (max-height: 780px) {
    .hero-section {
        padding: 25px 0;
    }
    
    .app-title {
        font-size: 32px !important;
        margin-bottom: 6px !important;
    }
    
    .app-slogan {
        font-size: 16px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-description {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
        margin-bottom: 26px !important;
    }
    
    .hero-cta {
        margin-top: 30px !important;
    }
    
    /* Remembrance Player compact overrides on short viewports */
    .hero-player-col .zikr-player-card {
        padding: 18px 22px !important;
        border-radius: 16px !important;
    }
    
    .hero-player-col .zikr-player-header {
        margin-bottom: 12px !important;
        padding-bottom: 8px !important;
    }
    
    .hero-player-col .adhkar-display {
        margin-bottom: 12px !important;
    }
    
    .hero-player-col .zikr-ar-calligraphy {
        font-size: 1.7rem !important;
        margin-bottom: 6px !important;
    }
    
    .hero-player-col .adhkar-divider {
        margin: 8px auto !important;
        height: 1px !important;
        width: 30px !important;
    }
    
    .hero-player-col .zikr-en {
        font-size: 0.88rem !important;
        line-height: 1.4 !important;
    }
    
    .hero-player-col .zikr-player-footer {
        padding-top: 12px !important;
        gap: 12px !important;
    }
    
    .hero-player-col .btn-zikr-control {
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0 30px;
        min-height: auto;
        display: block;
    }
    
    .phone-showcase-container {
        max-width: 235px !important; /* Scales down mockup on tablets/mobile screens */
        margin-top: 0 !important; /* Reset margin on mobile stack */
    }
}

/* Compact Zikr Player Card styling inside the Hero Column */
.hero-player-col .zikr-player-card {
    padding: 30px 35px !important;
    max-width: 480px;
    width: 100%;
    margin: 0 auto !important;
    border-radius: 24px !important;
    text-align: center;
}

.hero-player-col .zikr-player-header {
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
}

.hero-player-col .adhkar-display {
    margin-bottom: 20px !important;
}

.hero-player-col .zikr-ar-calligraphy {
    font-size: 2.2rem !important; /* Elegant display font size */
    margin-bottom: 12px !important;
    line-height: 1.4;
}

.hero-player-col .adhkar-divider {
    margin: 12px auto !important;
    height: 2px !important;
    width: 40px !important;
}

.hero-player-col .zikr-en {
    font-size: 1.05rem !important;
    line-height: 1.5;
}

.hero-player-col .zikr-player-footer {
    padding-top: 20px !important;
    gap: 15px !important;
}

.hero-player-col .btn-zikr-control {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.1rem !important;
}

/* ==========================================
   Interactive Features Tour Layout & Cards
   ========================================== */
.feature-tour-stack {
    max-width: 680px;
    margin: 0 auto;
}

.feature-tour-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.feature-tour-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: background-color 0.3s ease;
}

.feature-tour-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.06) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-tour-card.active {
    background: linear-gradient(135deg, rgba(249, 224, 84, 0.04) 0%, rgba(249, 224, 84, 0.07) 100%);
    border-color: rgba(249, 224, 84, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 25px rgba(249, 224, 84, 0.05);
}

.feature-tour-card.active::before {
    background: var(--gold-gradient);
}

.feature-tour-body {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-tour-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-tour-card.active .feature-tour-icon-wrap {
    background: var(--accent);
    color: #001F2C;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(249, 224, 84, 0.25);
}

.feature-tour-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.feature-tour-card.active .feature-tour-content h3 {
    color: var(--accent);
}

.feature-tour-content p {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    opacity: 0.85;
}

.feature-tour-card.active .feature-tour-content p {
    opacity: 1;
}

/* Light Theme overrides for features tour card */
body.light-theme .feature-tour-card {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(15, 42, 30, 0.05) !important;
    box-shadow: 0 5px 15px rgba(15, 42, 30, 0.01) !important;
}

body.light-theme .feature-tour-card:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(15, 42, 30, 0.12) !important;
    box-shadow: 0 10px 25px rgba(15, 42, 30, 0.03) !important;
}

body.light-theme .feature-tour-card.active {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(154, 123, 28, 0.4) !important;
    box-shadow: 0 15px 35px rgba(15, 42, 30, 0.06) !important;
}

body.light-theme .feature-tour-card.active .feature-tour-content h3 {
    color: #846513 !important; /* Premium darker gold for readability on light BG */
}

body.light-theme .feature-tour-icon-wrap {
    background: rgba(15, 42, 30, 0.03) !important;
    border: 1px solid rgba(15, 42, 30, 0.06) !important;
    color: #0F2A1E !important;
}

body.light-theme .feature-tour-card.active .feature-tour-icon-wrap {
    background: var(--gold-gradient) !important;
    color: #ffffff !important;
    border-color: #9A7B1C !important;
    box-shadow: 0 0 15px rgba(154, 123, 28, 0.2) !important;
}

body.light-theme .feature-tour-content p {
    color: #2C4D3F !important;
}

