/* -------------------------------
   1. Global Styles - Modern Startup Design
-------------------------------- */

:root {
    /* Brand Color Palette - Teal Focus */
    --primary-color: #00A19C;
    --primary-dark: #008B87;
    --primary-light: #E6F7F6;
    --secondary-color: #10B981;
    --accent-color: #F59E0B;
    
    /* Neutral Colors */
    --text-color: #1F2937;
    --text-light: #6B7280;
    --text-lighter: #9CA3AF;
    --background-light: #F9FAFB;
    --background-dark: #111827;
    --white: #FFFFFF;
    
    /* Modern Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Key Benefit Card Specific Colors */
    --key-benefit-card-bg: #FFFFFF;
    --key-benefit-card-border: rgba(0, 161, 156, 0.1);
    --key-benefit-card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --key-benefit-icon-bg: linear-gradient(135deg, var(--primary-light), rgba(0, 161, 156, 0.1));
    --key-benefit-icon-color: var(--primary-color);
    --key-benefit-title-color: var(--text-color);
    --key-benefit-text-color: var(--text-light);
    --key-benefit-hover-transform: translateY(-8px);
    --key-benefit-hover-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
    --key-benefit-hover-border-color: var(--primary-color);
    --key-benefit-hover-icon-transform: scale(1.1);
    --key-benefit-hover-icon-shadow: 0 8px 20px rgba(0, 161, 156, 0.25);
}

/* Accessibility - Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .floating-element {
        animation: none !important;
    }

    .center-circle {
        animation: none !important;
    }
}

/* Performance optimizations */
.hero-illustration,
.hero-visual,
.product-card,
.floating-element {
    contain: layout style paint;
}

/* Advanced focus management */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* Mobile stabilization */
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
}

/* Modern Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    /* Hardware acceleration for smooth animations */
    will-change: transform;
}

.navbar.scrolled {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0a4a47 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar.hidden {
    transform: translateY(-100%);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.nav-logo:hover .nav-logo-img {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.nav-logo-img {
    height: 32px;
    width: 32px;
    margin-right: 0.75rem;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-logo-text {
    display: inline;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0.8));
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.nav-button {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.nav-button::after {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-toggle:hover .hamburger-line {
    background: rgba(255, 255, 255, 0.8);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Modern Hero Section */
.hero {
    padding: 6rem 2rem 3rem;
    background: linear-gradient(135deg,
        rgba(0, 161, 156, 0.02) 0%,
        rgba(16, 185, 129, 0.015) 50%,
        rgba(245, 158, 11, 0.015) 100%);
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    margin-top: 80px; /* Account for fixed navbar */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 161, 156, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 161, 156, 0.1));
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 161, 156, 0.2);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.4s both;
    letter-spacing: -0.025em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
    font-weight: 400;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 161, 156, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 161, 156, 0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
}



.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.cta-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
}

.cta-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-light);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.cta-secondary:hover {
    background: var(--text-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Advanced Focus States for Accessibility */
.cta-primary:focus,
.cta-secondary:focus,
.hero-feature:focus,
.product-card:focus,
.floating-element:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(0, 161, 156, 0.2);
}

.nav-links a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: var(--radius);
    z-index: 1000;
    transition: var(--transition);
}

.skip-link:focus {
    top: 6px;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 161, 156, 0.15);
}

.hero-feature i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.hero-feature span {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
}

.stars {
    color: var(--accent-color);
}

.app-rating span {
    color: var(--text-color);
    font-weight: 500;
    opacity: 0.8;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Visual Styles */
.hero-visual {
    position: relative;
    width: 100%;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    contain: layout style paint;
}

/* App Video Container Styles - Simple & Working */
.app-video-container {
    position: relative;
    width: 350px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 60px;
    padding: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.05);
    border: none;
    transform: none;
    transition: none;
    overflow: hidden;
    z-index: 1;
    contain: layout style paint;
}

.app-video-container::before {
    display: none;
}

.app-video-container:hover {
    transform: none;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.05);
}

.app-demo-video {
    padding: 10px;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.1);
    transition: none;
    object-fit: cover;
    border: none;
    background: transparent;
    position: relative;
    z-index: 1;
}

.app-video-container:hover .app-demo-video {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
    transform: scale(1.01);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 6px 12px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}

.hero-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    animation: slideInRight 1s ease-out;
}

.illustration-content {
    position: relative;
    width: 100%;
    height: 100%;
}



/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 6rem 2rem;
    background: var(--background-light);
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    /* Hardware acceleration for smooth animations */
    will-change: transform;
    transform: translateZ(0);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 161, 156, 0.15);
    background: rgba(255, 255, 255, 0.98);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 161, 156, 0.1));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: var(--transition);
}

.product-card:hover .product-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.product-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.product-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.product-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.product-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.product-links a {
    transition: var(--transition);
    border-radius: var(--radius);
}

.product-links a:hover {
    transform: translateY(-2px);
}

.product-showcase {
    margin-bottom: 6rem;
    position: relative;
    z-index: 1;
}

.product-showcase:last-child {
    margin-bottom: 0;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.product-showcase.reverse .product-content {
    grid-template-columns: 1fr 1fr;
}

.product-info {
    padding: 2rem;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 161, 156, 0.1));
    padding: 1rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-header:hover .product-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.product-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0;
    letter-spacing: -0.025em;
}

.product-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.product-features li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.product-features li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.product-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-width: 140px;
    justify-content: center;
}

.product-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.product-button:hover::before {
    left: 100%;
}

.product-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: 
        0 25px 50px rgba(0, 161, 156, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    transform: none;
}

.product-screenshot:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 161, 156, 0.25),
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}



.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -1rem;
    left: -1rem;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info strong {
    display: block;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Features Overview Section */
.features-overview {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.features-overview .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.features-overview .feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 161, 156, 0.1);
}

.features-overview .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.features-overview .feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.features-overview .feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.features-overview .feature-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.features-overview .section-header h2 {
    color: var(--white);
}

.features-overview .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--white);
}

.how-it-works .steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Getting Started Section */
.getting-started {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0, 161, 156, 0.1) 100%);
}

.getting-started-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.getting-started-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 161, 156, 0.1);
}

.getting-started-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.getting-started-step .step-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.getting-started-step .step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.getting-started-step .step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Pro Features Section */
.pro-features {
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.pro-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.03"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.03"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.pro-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), #fbbf24);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.pro-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pro-header p {
    font-size: 1.25rem;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pro-features-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.pro-feature-card {
    background: var(--white);
    border: 1px solid rgba(0, 161, 156, 0.1);
    border-radius: var(--radius-2xl);
    padding: 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.pro-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

.pro-feature-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

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

.pro-feature-card.featured {
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 161, 156, 0.05));
    border-color: var(--primary-color);
}

.pro-feature-card.featured::before {
    opacity: 1;
}

.pro-feature-card .feature-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pro-feature-card .visual-element {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.pro-feature-card .visual-element i {
    font-size: 3rem;
    color: var(--white);
    z-index: 2;
    position: relative;
}

.pro-feature-card .feature-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pro-badge-small {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.pro-feature-card .feature-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.pro-feature-card .feature-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.pro-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.benefit-item i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.pro-cta {
    background: linear-gradient(135deg, rgba(0, 161, 156, 0.1), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(0, 161, 156, 0.2);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pro-cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.pro-cta-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.pro-cta-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 161, 156, 0.3);
}

.pro-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 161, 156, 0.4);
}

.pro-cta-secondary {
    background: var(--white);
    color: #000000 !important;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.pro-cta-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Key Benefits Section */
.key-benefits {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0a4a47 100%);
    position: relative;
    overflow: hidden;
}

.key-benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="benefits-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.04"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.04"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23benefits-pattern)"/></svg>');
    pointer-events: none;
}

.benefits-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.key-benefits .benefits-header h2 {
    color: var(--white);
    background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.key-benefits .benefits-header p {
    color: rgba(255, 255, 255, 0.9);
}

.benefits-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.benefits-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.benefits-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-category {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(0, 161, 156, 0.1);
}

.benefit-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
}

.category-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 161, 156, 0.3);
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.benefit-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(0, 161, 156, 0.05);
    transform: translateX(5px);
}

.benefit-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 161, 156, 0.2);
}

.benefit-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.benefits-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 161, 156, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
}

/* Enhanced section styling for visual interest */
.features:nth-child(even) {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0, 161, 156, 0.05) 100%);
    position: relative;
}

.features:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 161, 156, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
    z-index: 0;
}

.features:nth-child(3n) {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, var(--primary-light) 100%);
    position: relative;
}

.features:nth-child(3n)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, 50%);
    z-index: 0;
}

.features .section-container {
    position: relative;
    z-index: 1;
}

/* Enhanced card styling for better visibility */
.faq-item,
.testimonial-card {
    background: var(--white) !important;
    color: var(--text-color) !important;
    border: 1px solid rgba(0, 161, 156, 0.1) !important;
    box-shadow: var(--shadow) !important;
}

.faq-item h3,
.faq-item p,
.testimonial-card h4,
.testimonial-card p {
    color: var(--text-color) !important;
}

.faq-toggle {
    color: var(--primary-color) !important;
}

.testimonial-rating i {
    color: var(--accent-color) !important;
}

/* Ensure proper contrast in teal theme */
.site-teal-theme .faq-item,
.site-teal-theme .testimonial-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.site-teal-theme .faq-item h3,
.site-teal-theme .faq-item p,
.site-teal-theme .testimonial-card h4,
.site-teal-theme .testimonial-card p {
    color: var(--text-color) !important;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Enhanced Features Showcase */
.features-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    border-radius: var(--radius-2xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}

.feature-highlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-highlight.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.feature-highlight.reverse .feature-content {
    direction: ltr;
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-element {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.feature-highlight:hover .visual-element {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.chart-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.calendar-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.analytics-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Quran Experience Visual Elements */
.mushaf-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.font-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.audio-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.bookmark-bg {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Mushaf Pages Animation */
.mushaf-pages {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    perspective: 1000px;
}

.page {
    position: absolute;
    width: 45%;
    height: 70%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    transform-style: preserve-3d;
    animation: pageFlip 4s ease-in-out infinite;
}

.page-1 {
    left: 10%;
    top: 15%;
    animation-delay: 0s;
}

.page-2 {
    right: 10%;
    top: 15%;
    animation-delay: 2s;
}

@keyframes pageFlip {
    0%, 100% { transform: rotateY(0deg) rotateX(0deg); }
    25% { transform: rotateY(-90deg) rotateX(5deg); }
    50% { transform: rotateY(-180deg) rotateX(0deg); }
    75% { transform: rotateY(-270deg) rotateX(-5deg); }
}

/* Arabic Text Animation */
.arabic-text {
    position: absolute;
    width: 80%;
    height: 60%;
    top: 20%;
    left: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.arabic-letter {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    animation: letterGlow 2s ease-in-out infinite;
}

.arabic-letter:nth-child(1) { animation-delay: 0s; }
.arabic-letter:nth-child(2) { animation-delay: 0.2s; }
.arabic-letter:nth-child(3) { animation-delay: 0.4s; }
.arabic-letter:nth-child(4) { animation-delay: 0.6s; }
.arabic-letter:nth-child(5) { animation-delay: 0.8s; }
.arabic-letter:nth-child(6) { animation-delay: 1s; }

@keyframes letterGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Bookmark Ribbon Animation */
.bookmark-ribbon {
    position: absolute;
    top: 20%;
    right: 15%;
    width: 20px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 0 10px 10px;
    transform: rotate(15deg);
    animation: ribbonWave 3s ease-in-out infinite;
}

@keyframes ribbonWave {
    0%, 100% { transform: rotate(15deg) scale(1); }
    50% { transform: rotate(25deg) scale(1.05); }
}

/* Search Engine Visual Elements */
.search-bg {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.search-results {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--white);
    text-align: center;
}

.database-bg {
    background: linear-gradient(135deg, var(--secondary-color), #059669);
}

.database-layers {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.layer {
    width: 40px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.layer-1 { width: 30px; }
.layer-2 { width: 35px; }
.layer-3 { width: 40px; }

.quran-ref-bg {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.reference-lines {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ref-line {
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
}

.ref-1 { width: 80%; }
.ref-2 { width: 60%; }
.ref-3 { width: 70%; }

/* Pro Features Visual Elements */
.ai-bg {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatParticle 3s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    right: 30%;
    animation-delay: 1s;
}

.particle-3 {
    bottom: 30%;
    left: 60%;
    animation-delay: 2s;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.6; }
    50% { transform: translateY(-10px) scale(1.2); opacity: 1; }
}

.calendar-bg {
    background: linear-gradient(135deg, var(--secondary-color), #059669);
}

.calendar-days {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.day {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.day-1 { background: rgba(255, 255, 255, 0.8); }
.day-2 { background: rgba(255, 255, 255, 0.6); }
.day-3 { background: rgba(255, 255, 255, 0.4); }
.day-4 { background: rgba(255, 255, 255, 0.2); }

.analytics-bg {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.chart-bars {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: end;
    gap: 6px;
}

.bar {
    width: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px 2px 0 0;
    animation: growBar 2s ease-in-out infinite;
}

.bar-1 { height: 20px; animation-delay: 0s; }
.bar-2 { height: 35px; animation-delay: 0.5s; }
.bar-3 { height: 25px; animation-delay: 1s; }
.bar-4 { height: 40px; animation-delay: 1.5s; }

@keyframes growBar {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

/* Prayer Times Visual */
.prayer-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.prayer-times {
    position: absolute;
    width: 80%;
    height: 70%;
    top: 15%;
    left: 10%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.prayer-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: prayerPulse 2s ease-in-out infinite;
}

.prayer-time.fajr { animation-delay: 0s; }
.prayer-time.dhuhr { animation-delay: 0.4s; }
.prayer-time.asr { animation-delay: 0.8s; }
.prayer-time.maghrib { animation-delay: 1.2s; }
.prayer-time.isha { animation-delay: 1.6s; }

@keyframes prayerPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Notification Bubbles */
.notification-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.notification-bubbles {
    position: absolute;
    width: 80%;
    height: 60%;
    top: 20%;
    left: 10%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.bubble {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    animation: bubbleFloat 3s ease-in-out infinite;
}

.bubble-1 { animation-delay: 0s; }
.bubble-2 { animation-delay: 0.5s; }
.bubble-3 { animation-delay: 1s; }

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

/* Qibla Compass */
.qibla-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.compass-needle {
    position: absolute;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: compassRotate 4s linear infinite;
}

.compass-needle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 40%;
    background: rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -100%) rotate(45deg);
    transform-origin: bottom center;
}

.qibla-direction {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

@keyframes compassRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Duas Categories */
.duas-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.duas-categories {
    position: absolute;
    width: 80%;
    height: 60%;
    top: 20%;
    left: 10%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.category {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: categoryPulse 2.5s ease-in-out infinite;
}

.category.morning { animation-delay: 0s; }
.category.evening { animation-delay: 0.5s; }
.category.prayer { animation-delay: 1s; }

@keyframes categoryPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Hisnul Muslim Book */
.hisnul-bg {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.book-spine {
    position: absolute;
    left: 10%;
    top: 20%;
    width: 15px;
    height: 60%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 8px 8px 0;
    transform: perspective(200px) rotateY(-15deg);
}

.book-title {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Animated Chart Lines */
.chart-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.line {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    animation: chartLine 3s ease-in-out infinite;
}

.line-1 {
    width: 60px;
    height: 3px;
    bottom: 40%;
    left: 20%;
    animation-delay: 0s;
}

.line-2 {
    width: 80px;
    height: 3px;
    bottom: 30%;
    left: 15%;
    animation-delay: 0.5s;
}

.line-3 {
    width: 70px;
    height: 3px;
    bottom: 20%;
    left: 25%;
    animation-delay: 1s;
}

@keyframes chartLine {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 0.7; transform: scaleX(1); }
}

/* Calendar Grid */
.calendar-grid {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4px;
}

.calendar-day {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: var(--transition);
}

.calendar-day.active {
    background: rgba(255, 255, 255, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.calendar-day.completed {
    background: rgba(76, 175, 80, 0.7);
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Analytics Bars */
.analytics-bars {
    position: absolute;
    width: 80%;
    height: 60%;
    bottom: 20%;
    left: 10%;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
}

.bar {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px 4px 0 0;
    animation: barGrow 2s ease-in-out infinite;
}

.bar-1 { width: 20px; height: 40%; animation-delay: 0s; }
.bar-2 { width: 20px; height: 70%; animation-delay: 0.3s; }
.bar-3 { width: 20px; height: 55%; animation-delay: 0.6s; }
.bar-4 { width: 20px; height: 85%; animation-delay: 0.9s; }

@keyframes barGrow {
    0%, 100% { transform: scaleY(0.8); }
    50% { transform: scaleY(1); }
}

.feature-content {
    padding: 2rem;
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.feature-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 161, 156, 0.1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-item .feature-icon {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 161, 156, 0.1));
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

.feature-item h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.feature-item p {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    line-height: 1.7;
}

/* FAQ Section Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 161, 156, 0.1);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 161, 156, 0.05), rgba(16, 185, 129, 0.05));
    transition: var(--transition);
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(0, 161, 156, 0.1), rgba(16, 185, 129, 0.1));
}

.faq-question h3 {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.25rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    font-weight: bold;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem 2rem;
    background: var(--white);
    border-top: 1px solid rgba(0, 161, 156, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 2rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

/* Testimonials Section Styling */
#testimonials {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0a4a47 100%);
    position: relative;
    overflow: hidden;
}

#testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="testimonials-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.04"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.04"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23testimonials-pattern)"/></svg>');
    pointer-events: none;
}

#testimonials .section-header h2 {
    color: var(--white);
    background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#testimonials .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 161, 156, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: rgba(0, 161, 156, 0.2);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.testimonial-info h4 {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-location {
    margin: 0.25rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.testimonial-rating i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

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

.testimonial-content p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
    font-size: 1rem;
}

/* Download Section Styling */
.download-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.download-header {
    text-align: center;
    margin-bottom: 4rem;
}

.download-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-badge i {
    font-size: 0.875rem;
}

.download-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.download-showcase {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Teal theme download section - glass morphism design */
.site-teal-theme .download-showcase {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Stats Grid */
.download-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 161, 156, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}


/* Download Buttons */
.download-buttons-container {
    display: flex;
    justify-content: center;
}

.download-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 600px;
    width: 100%;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.download-btn-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.download-btn-icon i {
    font-size: 1.5rem;
}

.download-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    position: relative;
    z-index: 1;
}

.download-btn-platform {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.download-btn-text {
    font-size: 1rem;
    font-weight: 600;
}

.download-btn-arrow {
    position: relative;
    z-index: 1;
    opacity: 0.7;
    transition: var(--transition);
}

.download-btn:hover .download-btn-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.ios-btn {
    background: linear-gradient(135deg, #000000, #333333);
    color: var(--white);
}

.ios-btn:hover {
    background: linear-gradient(135deg, #1a1a1a, #4a4a4a);
    border-color: rgba(255, 255, 255, 0.2);
}

.android-btn {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: var(--white);
}

.android-btn:hover {
    background: linear-gradient(135deg, #388E3C, #2E7D32);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Trust Indicators */
.download-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--secondary-color);
    font-size: 1rem;
}



/* Teal theme download section styling - keep colorful cards */
.site-teal-theme .stat-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
}

.site-teal-theme .stat-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.8), rgba(245, 87, 108, 0.8));
}

.site-teal-theme .stat-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.8), rgba(0, 242, 254, 0.8));
}

.site-teal-theme .stat-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.8), rgba(56, 249, 215, 0.8));
}

.site-teal-theme .stat-card {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Removed conflicting white text rule for download stats */

.site-teal-theme .ios-btn {
    background: linear-gradient(135deg, rgba(0, 161, 156, 0.9), rgba(0, 139, 135, 0.9));
    border-color: rgba(255, 255, 255, 0.2);
}

.site-teal-theme .ios-btn:hover {
    background: linear-gradient(135deg, rgba(0, 139, 135, 0.95), rgba(0, 112, 107, 0.95));
}

.site-teal-theme .android-btn {
    background: rgba(76, 175, 80, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.site-teal-theme .android-btn:hover {
    background: rgba(76, 175, 80, 0.9);
}

.site-teal-theme .btn-platform,
.site-teal-theme .btn-text {
    color: #FFFFFF !important;
}

/* Enhanced hover effects for teal theme glass morphism */
.site-teal-theme .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.site-teal-theme .stat-card:nth-child(1):hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
}

.site-teal-theme .stat-card:nth-child(2):hover {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.9), rgba(245, 87, 108, 0.9));
}

.site-teal-theme .stat-card:nth-child(3):hover {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.9), rgba(0, 242, 254, 0.9));
}

.site-teal-theme .stat-card:nth-child(4):hover {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.9), rgba(56, 249, 215, 0.9));
}

/* Download section responsive styles */
@media (max-width: 768px) {
    .download-section {
        padding: 4rem 1rem;
    }

    .download-header h2 {
        font-size: 2.5rem;
    }

    .download-header p {
        font-size: 1.125rem;
    }

    .download-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 1rem;
    }

    .stat-icon i {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .download-buttons-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .download-btn {
        padding: 1.25rem 1.5rem;
    }

    .download-trust {
        gap: 1rem;
    }

    .trust-item {
        font-size: 0.8rem;
    }

    /* Maintain colorful cards on mobile */
    .stat-card:nth-child(1) {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .stat-card:nth-child(2) {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }

    .stat-card:nth-child(3) {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }

    .stat-card:nth-child(4) {
        background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    }
}

    .download-buttons-row {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .download-btn {
        min-width: auto;
        width: 100%;
        max-width: 350px;
    }

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 161, 156, 0.1));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}



/* Hero CTA Buttons */
.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}


.app-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.app-card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 161, 156, 0.1));
    padding: 1.25rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.download-app-card:hover .app-card-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.app-card-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0;
    letter-spacing: -0.025em;
}

.app-card-header p {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

.app-store-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.app-store-button,
.google-play-button {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.05);
}

.app-store-button img,
.google-play-button img {
    height: 65px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px;
    filter: brightness(1) contrast(1.05);
}

.app-store-button:hover,
.google-play-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1);
}

.app-store-button:hover img,
.google-play-button:hover img {
    filter: brightness(1.1) contrast(1.1);
}

.app-info {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.app-info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s ease;
}

.app-info-item:hover {
    color: var(--primary-color);
}

.app-info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.app-info-item:hover i {
    transform: scale(1.2);
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--background-light);
    position: relative;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.mission-statement {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mission-statement:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
}

.mission-statement h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.mission-statement p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Scroll Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}


/* Advanced Tooltip System */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1000;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--text-color);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1000;
}

.tooltip:hover::after,
.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Modern Footer */
.footer {
    padding: 3rem 2rem 2rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.04) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.12) 50%, rgba(0,0,0,0) 100%);
}

.footer .footer-container {
    max-width: 1200px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer .footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.footer .footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.footer .footer-links a:hover {
    color: var(--text-color);
}

.footer .footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    color: var(--text-lighter);
    font-size: 0.9rem;
}

/* Teal theme footer adjustments */
.site-teal-theme .footer {
    background: rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.site-teal-theme .footer::before {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
}

.site-teal-theme .footer .footer-links a {
    color: #E6FFFA;
}

.site-teal-theme .footer .footer-links a:hover {
    color: #FFFFFF;
}

.site-teal-theme .footer-bottom {
    color: #CFFAFE;
}

/* -------------------------------
   8. Modern Support Page Styles
-------------------------------- */

.support-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    min-height: 90vh;
}

.support-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 161, 156, 0.1);
}

.support-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.support-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.support-card {
    background: var(--white);
    border: 1px solid rgba(0, 161, 156, 0.1);
    padding: 3rem 2rem;
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.support-card:hover::before {
    transform: scaleX(1);
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

.support-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: inline-block;
}

.support-card:hover i {
    transform: scale(1.05);
    color: var(--secondary-color);
}

.support-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.support-card:hover h3 {
    color: var(--primary-color);
}

.support-card p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.support-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.support-card a:hover {
    color: var(--primary-dark);
}

.support-card .telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 161, 156, 0.3);
    border: 1px solid rgba(0, 161, 156, 0.2);
}

.support-card .telegram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 161, 156, 0.4);
    background: var(--primary-dark);
    color: var(--white);
}

/* -------------------------------
   9. Modern Legal Pages Styles
-------------------------------- */

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    min-height: 90vh;
}

.legal-header {
    margin-bottom: 4rem;
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 161, 156, 0.1);
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.legal-header p {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

.legal-section {
    margin-bottom: 2.5rem;
    background: var(--white);
    border: 1px solid rgba(0, 161, 156, 0.1);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.legal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.legal-section:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 1.5rem 0 0.75rem;
    letter-spacing: -0.025em;
}

.legal-section p, .legal-section ul {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legal-section ul {
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.legal-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.legal-section strong {
    font-weight: 600;
}

.site-teal-theme .legal-section strong {
    color: #FFFFFF;
    font-weight: 600;
}
    color: var(--text-color);
    font-weight: 600;
}

/* -------------------------------
   10. Component Consistency
-------------------------------- */

/* Consistent button styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Consistent card styles */
.card {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Consistent section spacing */
.section-padding {
    padding: 4rem 0;
}

.section-padding-lg {
    padding: 6rem 0;
}

/* Consistent text styles */
.text-gradient {
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -------------------------------
   11. Utility Classes
-------------------------------- */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

/* -------------------------------
   12. Responsive Design
-------------------------------- */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .section-container {
        max-width: 1400px;
    }
    
    .hero-container {
        max-width: 1400px;
    }
    
    .support-container {
        max-width: 1400px;
    }
    
    .legal-container {
        max-width: 1000px;
    }
}

/* Medium screens (1024px and down) */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero {
        margin-top: 100px; /* Account for tablet navbar */
    }

    .hero-container {
        gap: 2rem;
        padding-top: 1.5rem;
    }

    /* Tablet responsive styles */
    .pro-features-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .benefits-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .features-overview .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .download-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .download-buttons-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
}

@media (max-width: 768px) {
    /* Mobile stabilization */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    
    * {
        box-sizing: border-box;
    }
    
    .nav-container {
        flex-direction: row;
        padding: 1rem;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 1000;
        width: 100%;
        max-width: 100vw;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-dark) 0%, #0a4a47 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 80px 2rem 2rem;
        gap: 1rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        /* Mobile stabilization */
        max-width: 280px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 8px;
        background: transparent;
        color: var(--white);
        transition: var(--transition);
        border: none;
        text-decoration: none;
        text-align: left;
        font-weight: 500;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9);
        transform: translateX(4px);
    }

    .nav-link {
        color: var(--white);
        background: transparent;
        border: none;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9);
    }

    .nav-button {
        background: rgba(255, 255, 255, 0.15);
        color: var(--white);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 8px;
        text-decoration: none;
        transition: var(--transition);
        font-weight: 600;
        margin-top: 1rem;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav-button:hover {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateX(4px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    .nav-logo-img {
        height: 28px;
        width: 28px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.1);
        padding: 3px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-logo-text {
        display: inline;
    }

    /* Mobile menu overlay */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        z-index: -1;
    }

    .nav-links.active::before {
        opacity: 1;
        visibility: visible;
    }

    /* Pro Features Mobile */
    .pro-header h2 {
        font-size: 2rem;
    }

    .pro-header p {
        font-size: 1rem;
    }

    .pro-features-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pro-feature-card .feature-visual {
        height: 150px;
    }

    .pro-feature-card .visual-element i {
        font-size: 2.5rem;
    }

    .pro-feature-card .feature-content {
        padding: 1.5rem;
    }

    .pro-cta {
        padding: 2rem 1.5rem;
    }

    .pro-cta-content h3 {
        font-size: 1.5rem;
    }

    .pro-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pro-cta-primary,
    .pro-cta-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Key Benefits responsive styles */
    .benefits-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .benefit-category {
        padding: 1.5rem;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .category-icon {
        margin: 0 auto;
    }

    .category-header h3 {
        font-size: 1.3rem;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .benefit-item:hover {
        transform: translateY(-2px);
    }

    .benefits-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem 1rem;
        gap: 1rem;
    }

    /* Features Overview responsive styles */
    .features-overview .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .feature-item {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1.5rem;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-item h3 {
        font-size: 1.1rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    .pro-cta {
        padding: 2rem 1.5rem;
    }

    .pro-cta-content h3 {
        font-size: 1.5rem;
    }

    .pro-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pro-cta-primary,
    .pro-cta-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Key Benefits Mobile */
    .benefits-header h2 {
        font-size: 2rem;
    }

    .benefits-header p {
        font-size: 1rem;
    }

    .benefits-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .benefit-category {
        padding: 1.5rem;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .category-icon {
        margin: 0 auto;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .benefit-item:hover {
        transform: translateY(-2px);
    }

    .benefits-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem 1rem;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .nav-button {
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        font-size: 0.875rem;
        font-weight: 600;
        transition: none;
    }

    .nav-button:hover {
        background: var(--primary-hover);
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 161, 156, 0.3);
    }

    .nav-logo {
        font-size: 1.5rem;
    }

    .nav-logo-img {
        height: 28px;
        width: 28px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.1);
        padding: 3px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    /* Products section mobile styles */
    .products {
        padding: 6rem 1rem;
    }

    .products h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .product-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .product-showcase.reverse .product-content {
        grid-template-columns: 1fr;
    }

    .product-info {
        padding: 1rem;
        order: 2;
    }

    .product-image {
        order: 1;
    }

    .product-header {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .product-header h3 {
        font-size: 1.75rem;
    }

    .product-buttons {
        justify-content: center;
    }

    .product-button {
        flex: 1;
        min-width: 120px;
    }

    .product-screenshot {
        max-width: 80%;
        transform: none;
    }

    /* Download section mobile styles */
    .download-apps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .download-app-card {
        padding: 2rem;
    }

    .app-card-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .app-card-header h3 {
        font-size: 1.5rem;
    }

    .app-store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        align-items: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    /* Dual App Showcase responsive styles */
    .dual-app-showcase {
        max-width: 500px;
        gap: 1.5rem;
    }

    .phone-frame {
        width: 160px;
        border-radius: 30px;
        box-shadow: 
            0 20px 40px rgba(0, 161, 156, 0.2),
            0 10px 25px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    .tasleem-search .phone-frame {
        transform: none;
    }

    .muslim-daily .phone-frame {
        transform: none;
    }

    .app-phone-container:hover .phone-frame {
        transform: rotateY(0deg) rotateX(0deg) scale(1.03);
        box-shadow: 
            0 25px 50px rgba(0, 161, 156, 0.25),
            0 15px 30px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }

    .app-screenshot {
        border-radius: 25px;
    }

    .app-label {
        padding: 0.4rem 0.8rem;
        border-radius: 15px;
    }

    .app-label span {
        font-size: 0.8rem;
    }

    /* Carousel responsive styles (Legacy) */
    .app-carousel {
        max-width: 250px;
    }

    .carousel-container {
        height: auto;
        min-height: 500px;
        max-height: 600px;
        border-radius: 30px;
        aspect-ratio: 9/19.5;
        box-shadow: 
            0 20px 40px rgba(0, 161, 156, 0.2),
            0 10px 25px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    .carousel-container:hover {
        box-shadow: 
            0 25px 50px rgba(0, 161, 156, 0.25),
            0 15px 30px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }

    .carousel-dots {
        padding: 0.8rem;
        margin-top: 1.5rem;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    /* Video container responsive styles */
    .app-video-container {
        width: 320px;
        height: 550px;
        padding: 18px;
        border-radius: 50px;
        border-width: 2px;
    }

    .app-video-container::before {
        display: none;
    }

    .app-demo-video {
        border-radius: 35px;
        border-width: 1px;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-info {
        flex-direction: column;
        gap: 1rem;
    }

    .download-buttons {
        justify-content: center;
        width: 100%;
    }

    .download-buttons .cta-button {
        flex: 1;
        min-width: 140px;
        text-align: center;
        justify-content: center;
    }

    .app-store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .app-store-button img,
    .google-play-button img {
        height: 50px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    /* Additional mobile stabilization for small screens */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    
    .section-container {
        width: 100%;
        max-width: 100vw;
        padding: 0 1rem;
        overflow-x: hidden;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .hero {
        margin-top: 150px; /* Account for taller mobile navbar */
        padding-top: 2rem; /* Additional padding to prevent overlap */
    }

    .hero-container {
        padding: 1rem;
        gap: 1.5rem;
        padding-top: 2rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .hero-features {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        flex-wrap: wrap;
    }

    .hero-feature {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 0.875rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        text-align: center;
        justify-content: center;
    }

    .features h2,
    .download h2,
    .about h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-logo-img {
        height: 24px;
        width: 24px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.1);
        padding: 2px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .nav-logo-text {
        display: inline;
    }

    .mobile-menu-toggle {
        width: 26px;
        height: 26px;
    }

    .hamburger-line {
        height: 2px;
    }

    .nav-links {
        width: 260px;
        padding: 70px 1.5rem 1.5rem;
    }

    .nav-links a {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    /* Products section small mobile styles */
    .products {
        padding: 4rem 1rem;
    }

    .products h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .product-showcase {
        margin-bottom: 4rem;
    }

    .product-info {
        padding: 0.5rem;
    }

    .product-header h3 {
        font-size: 1.5rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .product-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .product-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-width: 100px;
    }

    .product-screenshot {
        max-width: 70%;
        transform: none;
    }

    /* Download section small mobile styles */
    .download-app-card {
        padding: 1.5rem;
    }

    .app-card-header h3 {
        font-size: 1.3rem;
    }

    .app-card-icon {
        font-size: 2.5rem;
        padding: 1rem;
    }

    /* Dual App Showcase mobile styles */
    .dual-app-showcase {
        max-width: 400px;
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .phone-frame {
        width: 140px;
        border-radius: 25px;
        box-shadow: 
            0 15px 30px rgba(0, 161, 156, 0.15),
            0 8px 20px rgba(0, 0, 0, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    .tasleem-search .phone-frame {
        transform: none;
    }

    .muslim-daily .phone-frame {
        transform: none;
    }

    .app-phone-container:hover .phone-frame {
        transform: rotateY(0deg) rotateX(0deg) scale(1.02);
        box-shadow: 
            0 20px 40px rgba(0, 161, 156, 0.2),
            0 12px 25px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }

    .app-screenshot {
        border-radius: 20px;
    }

    .app-label {
        padding: 0.3rem 0.6rem;
        border-radius: 12px;
    }

    .app-label span {
        font-size: 0.75rem;
    }


    /* Carousel mobile styles (Legacy) */
    .app-carousel {
        max-width: 200px;
    }

    .carousel-container {
        height: auto;
        min-height: 400px;
        max-height: 500px;
        border-radius: 25px;
        aspect-ratio: 9/19.5;
        box-shadow: 
            0 15px 30px rgba(0, 161, 156, 0.15),
            0 8px 20px rgba(0, 0, 0, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
        transform: none;
    }

    .carousel-container:hover {
        box-shadow: 
            0 20px 40px rgba(0, 161, 156, 0.2),
            0 12px 25px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }

    .carousel-dots {
        padding: 0.6rem;
        margin-top: 1rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    /* Video container mobile styles */
    .app-video-container {
        width: 280px;
        height: 500px;
        padding: 15px;
        border-radius: 40px;
        border-width: 2px;
    }

    .app-video-container::before {
        display: none;
    }

    .app-demo-video {
        border-radius: 30px;
        border-width: 1px;
    }

    /* Mobile Footer Improvements */
    .footer-links {
        flex-direction: row;
        gap: 1.5rem;
        text-align: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-links a {
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.1);
        transition: none;
    }

    .footer-links a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
    }

    .footer-bottom {
        text-align: center;
        padding: 1.5rem 1rem;
        font-size: 0.875rem;
    }

    /* Mobile Section Improvements */
    .section-container {
        padding: 2rem 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
    }

    @keyframes float {
        0%, 100% { transform: rotateY(-3deg) rotateX(1deg) translateY(0px); }
        50% { transform: rotateY(-3deg) rotateX(1deg) translateY(0px); }
    }

    .download-buttons .cta-button {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }

    .app-store-button img,
    .google-play-button img {
        height: 45px;
        border-radius: 8px;
    }

    /* Small mobile responsive styles */
    .features-overview .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 1.5rem;
    }

    .feature-icon i {
        font-size: 1.25rem;
    }

    .feature-item h3 {
        font-size: 1rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }

    .pro-features-showcase {
        gap: 1rem;
    }

    .pro-feature-card .feature-content {
        padding: 1rem;
    }

    .pro-feature-card .feature-visual {
        height: 120px;
    }

    .pro-feature-card .visual-element i {
        font-size: 2rem;
    }

    .pro-badge-small {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .pro-feature-card .feature-content h3 {
        font-size: 1.2rem;
    }

    .pro-feature-card .feature-content p {
        font-size: 0.9rem;
    }

    .benefit-item {
        padding: 0.75rem;
    }

    .benefit-icon {
        width: 2rem;
        height: 2rem;
        margin: 0 auto;
    }

    .benefit-icon i {
        font-size: 0.875rem;
    }

    .benefit-content h4 {
        font-size: 1rem;
    }

    .benefit-content p {
        font-size: 0.8rem;
    }

    .benefits-stats {
        grid-template-columns: 1fr;
        padding: 1.5rem 0.5rem;
        gap: 0.75rem;
    }

    .stat-item {
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .download-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 1rem;
    }

    .stat-icon i {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .download-trust {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .trust-item {
        font-size: 0.8rem;
    }

    /* Testimonials responsive styles */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1rem;
    }

    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .testimonial-info h4 {
        font-size: 1rem;
    }

    .testimonial-location {
        font-size: 0.8rem;
    }

    .testimonial-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* FAQ responsive styles */
    .faq-item {
        margin-bottom: 1rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .faq-item.active .faq-answer {
        max-height: 800px;
    }

    /* Islamic Search Engine responsive styles */
    .features-showcase {
        gap: 1rem;
    }

    .feature-highlight {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }

    .feature-highlight.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .feature-visual {
        height: 120px;
    }

    .visual-element i {
        font-size: 2rem;
    }

    .feature-content h3 {
        font-size: 1.2rem;
    }

    .feature-content p {
        font-size: 0.9rem;
    }

    /* New sections responsive styles */
    .hero-features {
        gap: 1rem;
        justify-content: center;
    }

    .hero-feature {
        padding: 0.5rem 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary, .cta-secondary {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        justify-content: center;
    }

    .hero-visual {
        height: 600px;
        padding-top: 1rem;
    }

    .floating-element {
        width: 50px;
        height: 50px;
    }

    .floating-element i {
        font-size: 1.25rem;
    }

    .center-circle {
        width: 80px;
        height: 80px;
    }

    .center-circle i {
        font-size: 2rem;
    }

    .testimonials {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-info h4 {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-card {
        padding: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-highlight {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
        text-align: center;
    }

    .feature-highlight.reverse {
        grid-template-columns: 1fr;
    }

    .visual-element {
        width: 150px;
        height: 150px;
        font-size: 2.5rem;
    }

    .feature-content {
        padding: 1rem;
    }

    .feature-content h3 {
        font-size: 1.3rem;
    }



    /* Support page responsive styles */
    .support-container {
        padding: 6rem 1rem 3rem;
    }

    .support-header h1 {
        font-size: 2rem;
    }

    .support-header p {
        font-size: 1.1rem;
    }

    .support-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .support-card {
        padding: 2rem;
    }

    .support-card i {
        font-size: 2.5rem;
    }

    .support-card h3 {
        font-size: 1.3rem;
    }

    /* Legal pages responsive styles */
    .legal-container {
        padding: 6rem 1rem 3rem;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }
}

/* -------------------------------
   0. Global Background Theme
-------------------------------- */
body.site-teal-theme {
    background: linear-gradient(180deg,
        #0a3b40 0%,      /* deep teal */
        #0c5358 28%,     /* darker ocean teal */
        #0d6a72 56%,     /* logo-like teal */
        #0b5d66 72%,
        #093f45 100%);
    background-attachment: fixed;
    color: var(--white);
}

/* Glass container utility to place sections on teal bg */
.glass-surface {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-2xl);
}

/* Navbar on teal background */
/* Teal theme navbar styles are now default */

/* Hero on teal theme */
.site-teal-theme .hero {
    background: transparent;
    min-height: 88vh;
}
.site-teal-theme .hero .hero-content {
    color: #ECFDF5;
}
.site-teal-theme .hero .hero-description { color: #D1FAE5; }
.site-teal-theme .hero .hero-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #CFFAFE;
    border-color: rgba(255, 255, 255, 0.22);
}
.site-teal-theme .hero h1 {
    -webkit-text-fill-color: inherit;
    background: none;
    color: #FFFFFF;
}
.site-teal-theme .cta-secondary { color: #ECFDF5; border-color: rgba(236, 253, 245, 0.35); }
.site-teal-theme .cta-secondary:hover { background: rgba(255,255,255,0.12); }

/* Cards sit on glass surfaces over teal */
.site-teal-theme .products .section-container,
.site-teal-theme .features .section-container,
.site-teal-theme .about .section-container {
    padding: 2rem;
    border-radius: var(--radius-2xl);
}

.site-teal-theme .products,
.site-teal-theme .features,
.site-teal-theme .about {
    background: transparent;
}

.site-teal-theme #testimonials {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0a4a47 100%);
}

.site-teal-theme .pro-features {
    background: transparent;
}

.site-teal-theme .key-benefits {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0a4a47 100%);
}

.site-teal-theme .product-card,
.site-teal-theme .feature-item,
.site-teal-theme .mission-statement {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.site-teal-theme .pro-feature-card {
    background: var(--white);
    border: 1px solid rgba(0, 161, 156, 0.1);
    box-shadow: var(--shadow-lg);
}

.site-teal-theme .pro-feature-card:hover {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.site-teal-theme .pro-feature-card.featured {
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 161, 156, 0.05));
    border-color: var(--primary-color);
}

.site-teal-theme .pro-badge-small {
    background: var(--primary-light);
    color: var(--primary-color);
}

.site-teal-theme .benefit-category,
.site-teal-theme .benefits-stats {
    background: var(--white);
    border: 1px solid rgba(0, 161, 156, 0.1);
}

.site-teal-theme .key-benefit-card {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-2xl);
    box-shadow: 0 12px 30px rgba(6, 123, 116, 0.25);
    padding: 2.5rem; /* Adjust padding if needed */
    transition: var(--transition);
}

.site-teal-theme .key-benefit-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(6, 123, 116, 0.32);
    border-color: rgba(255, 255, 255, 0.25);
}

.site-teal-theme .key-benefit-card .feature-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: #CFFAFE; /* Light teal for icons */
}

.site-teal-theme .key-benefit-card:hover .feature-icon {
    transform: scale(1.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.site-teal-theme .key-benefit-card h3 {
    color: #FFFFFF;
}

.site-teal-theme .key-benefit-card p {
    color: #E6FFFA;
}

/* Teal theme features showcase */
.site-teal-theme .feature-highlight {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 25px rgba(6, 123, 116, 0.2);
}

.site-teal-theme .feature-highlight:hover {
    box-shadow: 0 18px 40px rgba(6, 123, 116, 0.28);
    border-color: rgba(255, 255, 255, 0.3);
}

.site-teal-theme .feature-content h3,
.site-teal-theme .feature-content p {
    color: #FFFFFF !important;
}

.site-teal-theme .visual-element {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.site-teal-theme .chart-bg {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
}

.site-teal-theme .calendar-bg {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.8), rgba(245, 87, 108, 0.8));
}

.site-teal-theme .analytics-bg {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.8), rgba(0, 242, 254, 0.8));
}

.site-teal-theme .mushaf-bg {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
}

.site-teal-theme .font-bg {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.8), rgba(245, 87, 108, 0.8));
}

.site-teal-theme .audio-bg {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.8), rgba(0, 242, 254, 0.8));
}

.site-teal-theme .bookmark-bg {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.8), rgba(56, 249, 215, 0.8));
}

.site-teal-theme .prayer-bg {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
}

.site-teal-theme .notification-bg {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.8), rgba(245, 87, 108, 0.8));
}

.site-teal-theme .qibla-bg {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.8), rgba(0, 242, 254, 0.8));
}

.site-teal-theme .duas-bg {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
}

.site-teal-theme .hisnul-bg {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.8), rgba(56, 249, 215, 0.8));
}

/* Footer on teal */
.site-teal-theme .footer {
    background: rgba(255, 255, 255, 0.06);
    color: #ECFDF5;
}
.site-teal-theme .footer a { color: #ECFDF5; }

/* Teal Theme: High-contrast text and background support */
.site-teal-theme a {
    color: #FFFFFF;
    text-decoration-color: rgba(255, 255, 255, 0.55);
}
.site-teal-theme a:hover {
    color: #FFFFFF;
    text-decoration-color: rgba(255, 255, 255, 0.8);
}

.site-teal-theme h1,
.site-teal-theme h2,
.site-teal-theme h3,
.site-teal-theme h4 { color: #FFFFFF; }

.site-teal-theme p,
.site-teal-theme li,
.site-teal-theme .section-header p { color: #E6FFFA; }

/* Section headers on teal */
.site-teal-theme .section-header h2 {
    background: none;
    -webkit-text-fill-color: inherit;
    color: #FFFFFF;
}
.site-teal-theme .section-header p { color: #D1FAE5; }

/* Hero feature chips */
.site-teal-theme .hero-features .hero-feature {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
}
.site-teal-theme .hero-features .hero-feature span { color: #ECFDF5; }
.site-teal-theme .hero-features .hero-feature i { color: #CFFAFE; }

/* Cards and feature items */
.site-teal-theme .product-card h3,
.site-teal-theme .feature-item h3,
.site-teal-theme .mission-statement h3 { color: #FFFFFF; }

.site-teal-theme .product-card p,
.site-teal-theme .feature-item p,
.site-teal-theme .mission-statement p { color: #E6FFFA; }

.site-teal-theme .product-icon i,
.site-teal-theme .feature-icon i,
.site-teal-theme .stat-icon { color: #CFFAFE; }

/* Floating elements and illustration center on teal */
.site-teal-theme .floating-element {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}
.site-teal-theme .center-circle {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Tooltips on teal */
.site-teal-theme .tooltip::after {
    background: rgba(0, 0, 0, 0.85);
    color: #FFFFFF;
}
.site-teal-theme .tooltip::before { border-top-color: rgba(0, 0, 0, 0.85); }

/* Footer links */
.site-teal-theme .footer a:hover { color: #FFFFFF; }

/* Teal theme: legal/support containers */
.site-teal-theme .legal-container,
.site-teal-theme .support-container {
    max-width: 1000px;
    margin: 7rem auto 4rem;
    padding: 2rem;
    border-radius: var(--radius-2xl);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    color: #ECFDF5;
}

.site-teal-theme .legal-header h1,
.site-teal-theme .support-header h1 { color: #FFFFFF; }

.site-teal-theme .legal-section h2,
.site-teal-theme .legal-section h3,
.site-teal-theme .support-card h3 { 
    color: #FFFFFF; 
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.site-teal-theme .legal-section p,
.site-teal-theme .legal-section li,
.site-teal-theme .support-header p,
.site-teal-theme .support-card p { 
    color: #F0FDFA; 
    font-weight: 400;
}

.site-teal-theme .support-card,
.site-teal-theme .support-options .support-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.site-teal-theme .support a,
.site-teal-theme .legal-container a,
.site-teal-theme .legal-section a { 
    color: #CFFAFE; 
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.site-teal-theme .support a:hover,
.site-teal-theme .legal-container a:hover,
.site-teal-theme .legal-section a:hover { 
    color: #FFFFFF; 
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* Teal theme: blend legal/support cards with background */
.site-teal-theme .legal-container,
.site-teal-theme .support-container {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Section blocks as glass cards */
.site-teal-theme .legal-section,
.site-teal-theme .support-card {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.12) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-2xl);
    box-shadow: 0 12px 30px rgba(6, 123, 116, 0.35);
    padding: 1.5rem;
    transition: var(--transition);
}

/* Header card for legal pages */
.site-teal-theme .legal-header {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.14) 100%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-2xl);
    box-shadow: 0 14px 34px rgba(6, 123, 116, 0.35);
    padding: 2rem;
}

/* Hover states for subtle depth */
.site-teal-theme .legal-section:hover,
.site-teal-theme .support-card:hover {
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(6, 123, 116, 0.40);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Dividers and lists readable on teal */
.site-teal-theme .legal-section hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    margin: 1.25rem 0;
}

.site-teal-theme .legal-section ul li,
.site-teal-theme .legal-section ol li {
    color: #F0FDFA;
    font-weight: 400;
}

/* Support icons and links */
.site-teal-theme .support-card i { color: #CFFAFE; }
.site-teal-theme .support-card a { color: #FFFFFF; }
.site-teal-theme .support-card a.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.8), rgba(0, 102, 170, 0.8));
    border: 1px solid rgba(0, 136, 204, 0.3);
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    color: #FFFFFF !important;
}
.site-teal-theme .support-card a.telegram-link:hover {
    background: linear-gradient(135deg, rgba(0, 102, 170, 0.9), rgba(0, 68, 136, 0.9));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.4);
}

/* Teal theme: ensure logo is readable on teal background */
.site-teal-theme .nav-logo { color: #ECFDF5; }
.site-teal-theme .nav-logo-img {
    filter: brightness(1.1) contrast(1.1) saturate(1.1);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}
.site-teal-theme .nav-logo:hover .nav-logo-img {
    filter: brightness(1.2) contrast(1.2) saturate(1.2);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

/* Product title with logo */
.product-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 0.75rem;
}
.product-title h3 { margin: 0; }
.product-logo {
    width: 28px;
    height: 28px;
    display: inline-block;
}
.site-teal-theme .product-logo {
    filter: brightness(0) invert(1) saturate(1.2);
}

/* Product icon image as logo */
.product-icon-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: none;
}

/* Ensure visibility on teal theme */
.site-teal-theme .product-icon-img[src$="tasleemai.png"] {
    filter: brightness(0) invert(1) saturate(1.2) contrast(1.05);
}
.site-teal-theme .product-icon-img[src$="muslimdaily.png"] {
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
}

/* Blend Tasleem PNG nicely on teal */
.product-icon-img[src$="muslimdaily.png"] {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Extra contrast in teal theme for Tasleem */
.site-teal-theme .product-icon-img[src$="muslimdaily.png"] {
    filter: brightness(1.08) contrast(1.1) saturate(1.15);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
}

/* Ensure CTAs remain highly visible on dark teal */
.site-teal-theme .cta-primary {
    background: linear-gradient(135deg, #34d399, #10b981);
    color: #052e2b;
}
.site-teal-theme .cta-primary:hover {
    background: linear-gradient(135deg, #10b981, #0ea371);
}

/* Teal theme: ensure text visibility */
.site-teal-theme .about h2,
.site-teal-theme .about .mission-statement h3 {
    color: var(--text-color);
    -webkit-text-fill-color: inherit;
    background: none;
}

.site-teal-theme .about .about-intro,
.site-teal-theme .about p,
.site-teal-theme .about li,
.site-teal-theme .about .mission-statement p { 
    color: var(--text-light);
}

/* Fix Pro Features text visibility */
.site-teal-theme .pro-feature-card .feature-content h3,
.site-teal-theme .pro-feature-card .feature-content p {
    color: var(--text-color) !important;
}

.site-teal-theme .pro-badge-small {
    background: var(--primary-light) !important;
    color: var(--primary-color) !important;
}

.site-teal-theme .pro-benefits .benefit-item {
    color: var(--text-color) !important;
}

.site-teal-theme .pro-benefits .benefit-item span {
    color: var(--text-color) !important;
}

.site-teal-theme .pro-benefits .benefit-item i {
    color: var(--secondary-color) !important;
}

.site-teal-theme .pro-header h2 {
    color: var(--text-color);
}

.site-teal-theme .pro-header p {
    color: var(--white);
}

.site-teal-theme .pro-cta-content h3,
.site-teal-theme .pro-cta-content p {
    color: var(--white) !important;
}

/* Fix Download section text visibility */
.site-teal-theme .download-header h2,
.site-teal-theme .download-header p {
    color: var(--white);
}

.site-teal-theme .download-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-teal-theme .stat-number,
.site-teal-theme .stat-label {
    color: var(--text-color) !important;
}

.site-teal-theme .trust-item {
    color: rgba(255, 255, 255, 0.9);
}

/* Fix Key Benefits text visibility */
.site-teal-theme .benefits-header h2,
.site-teal-theme .benefits-header p {
    color: var(--white);
}

.site-teal-theme .benefit-content h4,
.site-teal-theme .benefit-content p {
    color: var(--text-color);
}

.site-teal-theme .category-header h3 {
    color: var(--text-color);
}

.site-teal-theme .benefit-icon i {
    color: var(--white);
}

.site-teal-theme .category-icon i {
    color: var(--white);
}

/* Fix FAQ section text visibility */
.site-teal-theme .faq-question h3 {
    color: var(--text-color);
}

.site-teal-theme .faq-answer p {
    color: var(--text-light);
}

/* Fix Hero section text visibility */
.site-teal-theme .hero h1 {
    color: var(--white);
}

.site-teal-theme .hero-description {
    color: rgba(255, 255, 255, 0.9);
}

.site-teal-theme .hero-feature span {
    color: rgba(255, 255, 255, 0.9);
}

.site-teal-theme .app-rating span {
    color: rgba(255, 255, 255, 0.8);
}

.site-teal-theme .about a { color: #FFFFFF; }
.site-teal-theme .about a:hover { text-decoration: underline; }

/* Fix Features Overview section text visibility */
.site-teal-theme .features-overview .section-header h2 {
    color: var(--white);
}

.site-teal-theme .features-overview .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.site-teal-theme .features-overview .feature-item h3 {
    color: var(--white);
}

.site-teal-theme .features-overview .feature-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* Fix Feature sections text visibility */
.site-teal-theme .features .section-header h2 {
    color: var(--white);
}

.site-teal-theme .features .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.site-teal-theme .features .feature-content h3 {
    color: var(--text-color);
}

.site-teal-theme .features .feature-content p {
    color: var(--text-light);
}

.app-badge {
    height: 50px;
    transition: var(--transition);
}

.download-btn:hover .app-badge {
    transform: scale(1.05);
}

.site-teal-theme .hero-features .hero-feature span { color: #ECFDF5; }
.site-teal-theme .hero-features .hero-feature i { color: #CFFAFE; }

.site-teal-theme .app-rating span {
    color: #E6FFFA;
}

/* --- Blog (schedule articles) — glass-on-teal, same language as .product-card / .glass-surface --- */
.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 7rem 1.5rem 4rem;
    min-height: 70vh;
}

.blog-container--post {
    max-width: 800px;
    padding: 6.75rem 1.75rem 3rem;
}

.blog-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.blog-lead {
    font-size: 1.1rem;
    color: rgba(236, 253, 245, 0.88);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto;
}

.blog-section {
    margin-bottom: 3rem;
}

.blog-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.blog-card {
    display: block;
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

/* Match homepage product / feature glass cards */
.site-teal-theme .blog-container .blog-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    color: #FFFFFF;
}

.site-teal-theme .blog-container a.blog-card,
.site-teal-theme .blog-container a.blog-card:link,
.site-teal-theme .blog-container a.blog-card:visited {
    color: #FFFFFF;
    text-decoration: none;
    text-decoration-color: transparent;
}

.site-teal-theme .blog-container .blog-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.blog-card-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #99F6E4;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 0.75rem;
    line-height: 1.35;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #E6FFFA;
    line-height: 1.55;
    margin: 0;
}

.site-teal-theme .blog-container .blog-card-label {
    color: #99F6E4;
}

.site-teal-theme .blog-container .blog-card-title {
    color: #FFFFFF;
}

.site-teal-theme .blog-container .blog-card-excerpt {
    color: rgba(230, 255, 250, 0.92);
}

/* Index: no solid white shell — gradient shows through; cards carry the glass */
.site-teal-theme main.blog-container:not(.blog-container--post) {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 6.5rem 1.75rem 3rem;
    max-width: 920px;
}

/* Article: one frosted panel (readable, matches site) */
.site-teal-theme main.blog-container--post {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-2xl);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    padding: 6.5rem 2rem 2.75rem;
}

.site-teal-theme .blog-container--post .blog-breadcrumb {
    color: rgba(209, 250, 229, 0.85);
}

.site-teal-theme .blog-container--post .blog-breadcrumb a {
    color: #ECFDF5;
    text-decoration: none;
}

.site-teal-theme .blog-container--post .blog-breadcrumb a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.site-teal-theme .blog-container--post .blog-breadcrumb-current {
    color: rgba(255, 255, 255, 0.95);
}

.site-teal-theme .blog-container--post .blog-article-meta {
    color: #5EEAD4;
}

.site-teal-theme .blog-container--post .blog-article-header h1 {
    color: #FFFFFF;
}

.site-teal-theme .blog-container--post .prose-blog,
.site-teal-theme .blog-container--post .prose-blog p,
.site-teal-theme .blog-container--post .prose-blog li,
.site-teal-theme .blog-container--post .prose-blog td,
.site-teal-theme .blog-container--post .prose-blog th {
    color: #E6FFFA;
}

.site-teal-theme .blog-container--post .prose-blog h2,
.site-teal-theme .blog-container--post .prose-blog h3,
.site-teal-theme .blog-container--post .prose-blog h4 {
    color: #FFFFFF;
}

.site-teal-theme .blog-container--post .prose-blog strong {
    color: #FFFFFF;
}

.site-teal-theme .blog-container--post .prose-blog a {
    color: #A7F3D0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-teal-theme .blog-container--post .prose-blog a:hover {
    color: #ECFDF5;
}

.site-teal-theme .blog-container--post .prose-blog code {
    background: rgba(255, 255, 255, 0.14);
    color: #ECFDF5;
    padding: 0.15em 0.4em;
    border-radius: var(--radius-sm);
    font-size: 0.92em;
}

.site-teal-theme .blog-container--post .prose-blog pre {
    background: rgba(17, 24, 39, 0.85);
    color: #F3F4F6;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: 0 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-teal-theme .blog-container--post .prose-blog pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.site-teal-theme .blog-container--post .prose-blog blockquote {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem 0.75rem 1.1rem;
    border-left: 4px solid rgba(94, 234, 212, 0.85);
    background: rgba(255, 255, 255, 0.06);
    color: #E6FFFA;
}

.site-teal-theme .blog-container--post .blog-references {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-teal-theme .blog-container--post .blog-references h2,
.site-teal-theme .blog-container--post .blog-references li {
    color: #ECFDF5;
}

.site-teal-theme .blog-container--post .blog-references a {
    color: #A7F3D0;
}

.site-teal-theme .blog-container--post .blog-references a:hover {
    color: #FFFFFF;
}

.site-teal-theme .blog-container--post .blog-back a {
    color: #ECFDF5;
}

.site-teal-theme .blog-container--post .blog-back a:hover {
    color: #FFFFFF;
}

.blog-breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-breadcrumb-sep {
    opacity: 0.5;
    user-select: none;
}

.blog-breadcrumb-current {
    color: var(--text-color);
    font-weight: 500;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-article-header .blog-article-meta {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
}

.blog-article-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1.2;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.prose-blog {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-color);
}

.prose-blog p {
    margin: 0 0 1rem;
}

.prose-blog h2,
.prose-blog h3 {
    margin: 1.75rem 0 0.75rem;
    color: var(--text-color);
    font-weight: 700;
}

.prose-blog h2 {
    font-size: 1.35rem;
}

.prose-blog h3 {
    font-size: 1.15rem;
}

.prose-blog ul,
.prose-blog ol {
    margin: 0 0 1rem 1.25rem;
}

.prose-blog li {
    margin-bottom: 0.35rem;
}

.prose-blog strong {
    font-weight: 700;
    color: var(--primary-dark);
}

.prose-blog a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-references {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(0, 161, 156, 0.06);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 161, 156, 0.12);
}

.blog-references h2 {
    font-size: 1.1rem;
    margin: 0 0 1rem;
    color: var(--text-color);
}

.blog-references ul {
    margin: 0;
    padding-left: 1.25rem;
}

.blog-references li {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.blog-back {
    margin-top: 2rem;
}

.blog-back a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.blog-back a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .blog-breadcrumb-current {
        white-space: normal;
    }

    .blog-article-header h1 {
        font-size: 1.65rem;
    }

    .site-teal-theme main.blog-container--post {
        padding: 5.5rem 1.15rem 2rem;
        border-radius: var(--radius-xl);
    }

    .site-teal-theme main.blog-container:not(.blog-container--post) {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        padding: 5.5rem 1.15rem 2.5rem;
    }
}