/* Reset and Base Styles */
html {
    background: var(--background);
    transition: background-color 0.3s ease;
}

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

:root {
    color-scheme: light dark;
    /* Light theme colors */
    --primary-color: #475a48;
    --primary-light: #5a6b5a;
    --primary-dark: #3a4a3a;
    --background-light: #e6e8e3;
    --background-light-secondary: #f5f6f3;
    --text-light: #2d3748;
    --text-light-secondary: #4a5568;
    --border-light: #d1d5db;
    --shadow-light: rgba(0, 0, 0, 0.1);
    
    /* Dark theme colors */
    --background-dark: #0f1419;
    --background-dark-secondary: #1a1f2e;
    --text-dark: #f8fafc;
    --text-dark-secondary: #cbd5e1;
    --border-dark: #334155;
    --shadow-dark: rgba(0, 0, 0, 0.4);
    
    /* Common colors */
    --secondary-color: #22c55e;
    --accent-color: #3b82f6;
    --text-primary: var(--text-light);
    --text-secondary: var(--text-light-secondary);
    --text-muted: #64748b;
    --background: var(--background-light);
    --background-secondary: var(--background-light-secondary);
    --border: var(--border-light);
    --shadow: var(--shadow-light);
    --card-bg: rgba(0, 0, 0, 0.05);
    --card-border: rgba(0, 0, 0, 0.1);
    
    /* Phone frame colors - Light theme (default) */
    --phone-frame-light: #f8f9fa;
    --phone-frame-dark: #e9ecef;
    --phone-border: rgba(0, 0, 0, 0.1);
    --phone-highlight: rgba(255, 255, 255, 0.8);
    
    /* Dark mode specific enhancements */
    --dark-card-bg: rgba(26, 31, 46, 0.8);
    --dark-card-hover: rgba(26, 31, 46, 0.95);
    --dark-section-bg: rgba(15, 20, 25, 0.6);
    --dark-accent: #4ade80;
    --dark-primary-light: #6b7c6b;
    
    /* Dark mode text colors for better visibility */
    --dark-text-primary: #ffffff;
    --dark-text-secondary: #e2e8f0;
    --dark-text-accent: #ffffff;
    --dark-text-muted: #94a3b8;
    
    /* Gradient colors */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #16a34a 100%);
    --gradient-enhanced: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    --shadow-primary: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.4);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

/* Theme-specific overrides */
[data-theme="light"] {
    --background: var(--background-light);
    --background-secondary: var(--background-light-secondary);
    --text-primary: var(--text-light);
    --text-secondary: var(--text-light-secondary);
    --border: var(--border-light);
    --shadow: var(--shadow-light);
    --card-bg: rgba(0, 0, 0, 0.05);
    --card-border: rgba(0, 0, 0, 0.1);
    
    /* Phone frame colors - Light theme */
    --phone-frame-light: #f8f9fa;
    --phone-frame-dark: #e9ecef;
    --phone-border: rgba(0, 0, 0, 0.1);
    --phone-highlight: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] {
    --background: var(--background-dark);
    --background-secondary: var(--background-dark-secondary);
    --text-primary: var(--dark-text-primary);
    --text-secondary: var(--dark-text-secondary);
    --border: var(--border-dark);
    --shadow: var(--shadow-dark);
    --card-bg: var(--dark-card-bg);
    --card-border: var(--dark-card-border);
    --secondary-color: #00BFA6;
    --primary-light: #00BFA6;
    --gradient-secondary: linear-gradient(135deg, #00BFA6 0%, #00A896 100%);
    --primary-color: #00BFA6;
    --gradient-primary: linear-gradient(135deg, #00BFA6 0%, #00A896 100%);
    
    /* Phone frame colors - Dark theme */
    --phone-frame-light: #2a2a2a;
    --phone-frame-dark: #1a1a1a;
    --phone-border: rgba(255, 255, 255, 0.1);
    --phone-highlight: rgba(255, 255, 255, 0.2);
}

/* Global theme transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    padding-top: 80px; /* Space for fixed navbar */
    /* Prevent horizontal scroll */
    width: 100%;
    max-width: 100vw;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-attachment: fixed;
    background-size: cover;
}

/* Dark mode body enhancements */
[data-theme="dark"] body {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-dark-secondary) 100%);
    background-attachment: fixed;
    background-size: cover;
}

/* Dark mode card and section enhancements */
[data-theme="dark"] .app-showcase-section,
[data-theme="dark"] .discord-card,
[data-theme="dark"] .app-store-card,
[data-theme="dark"] .status-card,
[data-theme="dark"] .goal-item,
[data-theme="dark"] .about-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .faq-item {
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-card-border);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .app-showcase-section:hover,
[data-theme="dark"] .discord-card:hover,
[data-theme="dark"] .app-store-card:hover,
[data-theme="dark"] .status-card:hover,
[data-theme="dark"] .goal-item:hover,
[data-theme="dark"] .about-card:hover,
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .testimonial-card:hover,
[data-theme="dark"] .faq-item:hover {
    background: var(--dark-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Dark mode button enhancements */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .hero-button.primary,
[data-theme="dark"] .app-cta-button.primary,
[data-theme="dark"] .status-badge {
    background: linear-gradient(135deg, #00BFA6 0%, #00A896 100%);
    border: 1px solid #00BFA6;
    box-shadow: 0 4px 15px rgba(0, 191, 166, 0.4);
    color: white;
}

[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .hero-button.primary:hover,
[data-theme="dark"] .app-cta-button.primary:hover,
[data-theme="dark"] .status-badge:hover {
    background: linear-gradient(135deg, #00A896 0%, #00BFA6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 191, 166, 0.6);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--background);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    /* Prevent any layout shifts */
    transform: translateZ(0);
    will-change: transform;
}

/* Dark mode navbar enhancements */
[data-theme="dark"] .navbar {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    background: var(--background);
    box-shadow: 0 10px 30px var(--shadow);
    border-bottom: 1px solid var(--primary-color);
}

.nav-container {
    width: 100%;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Prevent layout shifts */
    height: 70px;
    gap: 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    /* Prevent layout shifts */
    flex-shrink: 0;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    filter: drop-shadow(0 0 10px rgba(71, 90, 72, 0.4));
    transition: var(--transition);
    /* Prevent layout shifts */
    flex-shrink: 0;
}

.nav-brand:hover .nav-logo {
    filter: drop-shadow(0 0 15px rgba(71, 90, 72, 0.6));
}

.nav-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    /* Prevent layout shifts */
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
    /* Prevent layout shifts */
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    /* Prevent layout shifts */
    flex-shrink: 0;
    border: 1px solid transparent;
    margin-right: 0;
}

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

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.nav-link i {
    font-size: 1rem;
    transition: var(--transition);
    /* Prevent layout shifts */
    flex-shrink: 0;
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link span {
    transition: var(--transition);
    /* Prevent layout shifts */
    flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    max-width: 45px;
    max-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.8rem;
    box-shadow: 0 4px 12px rgba(71, 90, 72, 0.3);
    flex-shrink: 0;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(71, 90, 72, 0.4);
    background: var(--primary-light);
}

.theme-toggle i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(15deg);
}

.mobile-theme-toggle {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
    /* Prevent layout shifts */
    flex-shrink: 0;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
    /* Prevent layout shifts */
    flex-shrink: 0;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Enhanced Background Pattern */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.6;
}

/* Hero Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.floating-islamic-patterns {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pattern-element {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.8) 0%, rgba(59, 130, 246, 0.6) 100%);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

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

.pattern-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1.5s;
}

.pattern-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

.pattern-4 {
    top: 60%;
    right: 25%;
    animation-delay: 4.5s;
}

.pattern-5 {
    bottom: 30%;
    right: 10%;
    animation-delay: 6s;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.3) 0%, transparent 70%);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    bottom: 20%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* Container */
.container {
    width: 100%;
    margin: 0;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(71, 90, 72, 0.4);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.section-variations {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0.5rem auto 0;
    line-height: 1.5;
    opacity: 0.9;
    font-style: italic;
    font-weight: 400;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

/* Enhanced Hero Section - Styles moved to index.html to avoid conflicts */

.hero-content {
    max-width: 900px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.hero-title-variations {
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.variation-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.3rem 2.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.hero-button.primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.hero-button.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.6);
}

.hero-button.secondary {
    background: transparent;
    color: #ffffff;
    border-color: #eab308;
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.2);
}

.hero-button.secondary:hover {
    background: rgba(234, 179, 8, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(234, 179, 8, 0.4);
}

/* Enhanced Logo Container */
.logo-container {
    position: relative;
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.logo {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    animation: logoFloat 6s ease-in-out infinite;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(71, 90, 72, 0.4));
    border-radius: 20px;
    transition: all 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(71, 90, 72, 0.6));
}

/* Enhanced Logo Border Animation */
.logo-border-animation {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px solid transparent;
    border-radius: 25px;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        rgba(90, 107, 90, 0.8), 
        rgba(58, 74, 58, 0.9), 
        var(--primary-color));
    background-size: 300% 300%;
    animation: borderGradient 3s ease infinite;
    z-index: -1;
}

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

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(
        circle,
        rgba(71, 90, 72, 0.4) 0%,
        rgba(90, 107, 90, 0.3) 30%,
        rgba(58, 74, 58, 0.2) 60%,
        transparent 80%
    );
    border-radius: 30px;
    z-index: -2;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

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

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

@media (max-width: 768px) {
    /* Hero section styles moved to index.html to avoid conflicts */
    
    .logo-container {
        margin-top: 1rem; /* Reduced margin for mobile */
    }
    
    /* Make all text smaller on mobile across the entire website */
    .section-title {
        font-size: 2rem !important; /* Smaller section titles on mobile */
    }
    
    .section-subtitle {
        font-size: 1rem !important; /* Smaller section subtitles on mobile */
    }
    
    .section-variations {
        font-size: 0.8rem !important; /* Smaller variation text on mobile */
    }
    
    /* Card content smaller on mobile */
    .about-card h3,
    .feature-card h3,
    .tech-card h3 {
        font-size: 1.3rem !important;
    }
    
    .about-card p,
    .feature-card p,
    .tech-card p {
        font-size: 0.95rem !important;
    }
    
    /* Button text smaller on mobile */
    .btn-primary,
    .btn-secondary,
    .hero-button {
        font-size: 0.9rem !important;
    }
    
    /* Navigation smaller on mobile */
    .nav-link {
        font-size: 0.9rem !important;
    }
    
    /* Reduce card padding and margins on mobile */
    .about-card,
    .feature-card,
    .tech-card,
    .discord-card,
    .app-store-card,
    .status-card {
        padding: 1rem 0.5rem !important; /* Much smaller padding on mobile */
        margin: 0.5rem 0.25rem !important; /* Much smaller margins on mobile */
    }
    
    /* Reduce section padding on mobile */
    .about-section,
    .features-section,
    .technology-section,
    .discord-section,
    .app-store-section,
    .status-section {
        padding: 2rem 0.5rem !important; /* Much smaller section padding on mobile */
    }
    
    /* Reduce grid gaps on mobile */
    .about-grid,
    .features-grid,
    .tech-grid,
    .goals-grid {
        gap: 1rem !important; /* Much smaller grid gaps on mobile */
    }
    
    /* Fix vision-content spacing on mobile */
    .vision-content {
        max-width: 100%; /* Full width on mobile */
        padding: 0 0.5rem; /* Minimal padding on mobile */
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .logo {
        width: 200px;
        height: 200px;
    }
    
    .container {
        padding: 0.5rem; /* Reduced padding on mobile */
    }
}

@media (max-width: 480px) {
    /* Hero section styles moved to index.html to avoid conflicts */
    
    .logo-container {
        margin-top: 0.5rem; /* Minimal margin for small mobile */
    }
    
    /* Make all text even smaller on small mobile across the entire website */
    .section-title {
        font-size: 1.8rem !important; /* Even smaller section titles on small mobile */
    }
    
    .section-subtitle {
        font-size: 0.9rem !important; /* Even smaller section subtitles on small mobile */
    }
    
    .section-variations {
        font-size: 0.7rem !important; /* Even smaller variation text on small mobile */
    }
    
    /* Card content even smaller on small mobile */
    .about-card h3,
    .feature-card h3,
    .tech-card h3 {
        font-size: 1.1rem !important;
    }
    
    .about-card p,
    .feature-card p,
    .tech-card p {
        font-size: 0.85rem !important;
    }
    
    /* Button text even smaller on small mobile */
    .btn-primary,
    .btn-secondary,
    .hero-button {
        font-size: 0.8rem !important;
    }
    
    /* Navigation even smaller on small mobile */
    .nav-link {
        font-size: 0.8rem !important;
    }
    
    /* Reduce card padding and margins even more on small mobile */
    .about-card,
    .feature-card,
    .tech-card,
    .discord-card,
    .app-store-card,
    .status-card {
        padding: 0.75rem 0.25rem !important; /* Even smaller padding on small mobile */
        margin: 0.25rem 0.125rem !important; /* Even smaller margins on small mobile */
    }
    
    /* Reduce section padding even more on small mobile */
    .about-section,
    .features-section,
    .technology-section,
    .discord-section,
    .app-store-section,
    .status-section {
        padding: 1.5rem 0.25rem !important; /* Even smaller section padding on small mobile */
    }
    
    /* Reduce grid gaps even more on small mobile */
    .about-grid,
    .features-grid,
    .tech-grid,
    .goals-grid {
        gap: 0.5rem !important; /* Even smaller grid gaps on small mobile */
    }
    
    /* Fix vision-content spacing on small mobile */
    .vision-content {
        max-width: 100%; /* Full width on small mobile */
        padding: 0 0.25rem; /* Minimal padding on small mobile */
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .logo {
        width: 160px;
        height: 160px;
    }
    
    .container {
        padding: 0.25rem; /* Even smaller padding on small mobile */
    }
}

/* Simplified Islamic Geometric Patterns */
.islamic-patterns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.pattern-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    background: radial-gradient(circle, rgba(71, 90, 72, 0.8) 0%, rgba(90, 107, 90, 0.6) 100%);
    border-radius: 50%;
    opacity: 0.7;
    /* Removed animation for better performance */
}

.pattern-dot-1 { top: 12%; left: 12%; }
.pattern-dot-2 { top: 12%; right: 12%; }
.pattern-dot-3 { bottom: 12%; left: 12%; }
.pattern-dot-4 { bottom: 12%; right: 12%; }
.pattern-dot-5 { top: 50%; left: 5%; }
.pattern-dot-6 { top: 50%; right: 5%; }
.pattern-dot-7 { left: 50%; top: 5%; }
.pattern-dot-8 { left: 50%; bottom: 5%; }

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(
        circle,
        rgba(234, 179, 8, 0.2) 0%,
        rgba(34, 197, 94, 0.1) 30%,
        transparent 70%
    );
    border-radius: 25px;
    z-index: 1;
    pointer-events: none;
    /* Removed animation for better performance */
}

/* Simplified Sound Waves */
.sound-waves {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wave {
    position: absolute;
    height: 40px;
    width: 4px;
    background: linear-gradient(to bottom, #22c55e, #eab308);
    border-radius: 2px;
    /* Removed animation for better performance */
}

.left-wave {
    left: -80px;
}

.left-wave::before,
.left-wave::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
}

.left-wave::before {
    left: -8px;
}

.left-wave::after {
    left: -16px;
}

.right-wave {
    right: -80px;
}

.right-wave::before,
.right-wave::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
}

.right-wave::before {
    right: -8px;
}

.right-wave::after {
    right: -16px;
}

/* About Section */
.about-section {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(10, 14, 39, 0.8) 0%, 
        rgba(26, 31, 58, 0.8) 50%, 
        rgba(15, 20, 41, 0.8) 100%);
    border-radius: var(--border-radius);
    z-index: -1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.about-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.about-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    padding: 2rem 0;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(234, 179, 8, 0.1) 0%, transparent 50%);
    z-index: -1;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    animation: iconPulse 2s ease-in-out infinite;
}

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

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

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Technology Section */
.technology-section {
    padding: 2rem 0;
}

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

.tech-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    /* Removed backdrop-filter for better performance */
}

.tech-card:hover {
    border-color: var(--accent-color);
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    /* Removed animation for better performance */
}

.tech-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tech-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Goals Section */
.goals-section {
    padding: 1rem 0;
}

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

.goal-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    /* Removed backdrop-filter for better performance */
}

.goal-item:hover {
    border-color: var(--primary-color);
}

.goal-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.goal-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* Discord Section */
.discord-section {
    padding: 1.5rem 0;
    position: relative;
}

.discord-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(88, 101, 242, 0.1) 0%, 
        rgba(34, 197, 94, 0.1) 100%);
    border-radius: var(--border-radius);
    z-index: -1;
}

.discord-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(88, 101, 242, 0.3);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-primary);
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.discord-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    z-index: -1;
}

.discord-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.discord-icon {
    font-size: 4rem;
    color: #5865f2;
    margin-bottom: 2rem;
    animation: discordPulse 2s ease-in-out infinite;
}

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

.discord-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.discord-description {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1.2rem;
}

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

.discord-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.discord-feature:hover {
    background: rgba(88, 101, 242, 0.1);
    transform: translateX(5px);
}

.discord-feature i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: white;
    text-decoration: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(88, 101, 242, 0.4);
    position: relative;
    overflow: hidden;
}

.discord-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: left 0.5s;
}

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

.discord-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(88, 101, 242, 0.6);
}

/* App Store Section */
.app-store-section {
    padding: 1.5rem 0;
    position: relative;
}

.app-store-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(234, 179, 8, 0.1) 0%, 
        rgba(34, 197, 94, 0.1) 100%);
    border-radius: var(--border-radius);
    z-index: -1;
}

.app-store-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(234, 179, 8, 0.3);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-primary);
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.app-store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    z-index: -1;
}

.app-store-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.app-store-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: appStoreFloat 3s ease-in-out infinite;
}

@keyframes appStoreFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.app-store-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.app-store-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.2rem;
}

.store-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem 2.5rem;
    text-decoration: none;
    transition: all 0.4s ease;
    min-width: 280px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

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

.store-button:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.google-play:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
}

.app-store:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
}

.store-icon {
    font-size: 3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.store-button:hover .store-icon {
    transform: scale(1.1);
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.store-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0.3rem;
}

/* Status Section */
.status-section {
    padding: 1rem 0;
}

.status-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
    /* Removed backdrop-filter for better performance */
}

.status-card:hover {
    border-color: var(--accent-color);
}

.status-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    /* Removed animation for better performance */
}

.status-card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.status-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.dynamic-download {
    cursor: pointer;
    transition: all 0.3s ease;
}

.dynamic-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(71, 90, 72, 0.4);
}

/* Social Section */
.social-section {
    padding: 1.5rem 0;
}

.social-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--card-border);
}

.social-icon:hover {
    background: rgba(234, 179, 8, 0.2);
    color: var(--primary-color);
}

/* Brand-specific hover colors for social icons */
.social-icon[aria-label="Twitter"]:hover {
    background: rgba(29, 161, 242, 0.2);
    color: #1da1f2;
}

.social-icon[aria-label="Facebook"]:hover {
    background: rgba(66, 103, 178, 0.2);
    color: #4267b2;
}

.social-icon[aria-label="Instagram"]:hover {
    background: rgba(225, 48, 108, 0.2);
    color: #e1306c;
}

.social-icon[aria-label="YouTube"]:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
}

.social-icon[aria-label="LinkedIn"]:hover {
    background: rgba(0, 119, 181, 0.2);
    color: #0077b5;
}

.social-icon[aria-label="TikTok"]:hover {
    background: rgba(238, 29, 82, 0.2);
    color: #ee1d52;
}

.social-icon[aria-label="Email"]:hover {
    background: rgba(234, 179, 8, 0.2);
    color: var(--primary-color);
}

/* Footer */
.footer {
    padding: 2rem 0 2rem;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 2rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.footer-variations {
    color: var(--text-muted) !important;
    font-size: 0.9rem !important;
    margin-top: 0.5rem;
    opacity: 0.8;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    color: var(--text-muted);
}

/* Simplified Floating Elements - reduced to minimum */
.floating-crescent {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    /* Removed animation for better performance */
}

.top-left {
    top: 10%;
    left: 10%;
}

.bottom-right {
    bottom: 10%;
    right: 10%;
}

.floating-beads {
    position: fixed;
    top: 20%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(71, 90, 72, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
    /* Removed animation for better performance */
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem 0.5rem;
        gap: 4rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .about-grid,
    .features-grid,
    .tech-grid,
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .discord-features {
        grid-template-columns: 1fr;
    }
    
    .discord-card,
    .app-store-card,
    .status-card {
        padding: 2rem 1.5rem;
    }
    
    .discord-title,
    .app-store-title {
        font-size: 2rem;
    }
    
    .store-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-button {
        min-width: 250px;
        justify-content: center;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .logo {
        width: 200px;
        height: 200px;
    }
    
    /* Enhanced mobile animations */
    .hero-background {
        opacity: 0.7;
    }
    
    .gradient-orb {
        filter: blur(20px);
    }
    
    .orb-1 {
        width: 200px;
        height: 200px;
    }
    
    .orb-2 {
        width: 150px;
        height: 150px;
    }
    
    .orb-3 {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .discord-card,
    .app-store-card,
    .status-card {
        padding: 1.5rem 1rem;
    }
    
    .discord-title,
    .app-store-title {
        font-size: 1.8rem;
    }
    
    .store-button {
        min-width: 200px;
        padding: 1rem 1.5rem;
    }
    
    .store-icon {
        font-size: 2rem;
    }
    
    .store-name {
        font-size: 1rem;
    }
    
    .logo {
        width: 160px;
        height: 160px;
    }
    
    .hero-buttons {
        gap: 1rem;
    }
    
    .hero-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Enhanced Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed navbar */
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Enhanced Loading Animations */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Enhanced App Showcase Section */
.app-showcase-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, 
        rgba(71, 90, 72, 0.15) 0%, 
        rgba(34, 197, 94, 0.1) 25%, 
        rgba(234, 179, 8, 0.08) 50%, 
        rgba(59, 130, 246, 0.1) 75%, 
        rgba(71, 90, 72, 0.15) 100%);
    border-radius: var(--border-radius);
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(71, 90, 72, 0.2);
    box-shadow: 
        0 0 60px rgba(71, 90, 72, 0.15),
        inset 0 0 100px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.app-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(234, 179, 8, 0.04) 0%, transparent 70%),
        radial-gradient(circle at 70% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.app-showcase-section .section-header {
    position: relative;
    z-index: 1;
}

.app-showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.app-showcase-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-left: 6px;
}

.app-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-left: 6px;
}

.app-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    padding-left: 2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.app-feature-item:hover {
    border-color: var(--primary-color);
    background: rgba(234, 179, 8, 0.1);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.app-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    animation: iconPulse 2s ease-in-out infinite;
}

.app-feature-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.app-feature-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.app-showcase-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.phone-mockup {
    position: relative;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.6s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.05);
}

.phone-mockup.secondary {
    transform: perspective(1000px) rotateY(15deg) rotateX(-5deg);
    margin-left: 2rem;
}

.phone-mockup.secondary:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(-2deg) scale(1.05);
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, var(--phone-frame-dark), var(--phone-frame-light));
    border-radius: 40px;
    padding: 8px;
    box-shadow: 
        0 20px 40px var(--shadow),
        0 0 0 2px var(--phone-border),
        inset 0 2px 4px var(--phone-highlight),
        0 0 30px rgba(34, 197, 94, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--phone-highlight);
    border-radius: 2px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.app-screenshot:hover {
    transform: scale(1.02);
}

/* Theme-based screenshot switching */
.light-screenshot {
    opacity: 1;
}

.dark-screenshot {
    opacity: 0;
}

[data-theme="dark"] .light-screenshot {
    opacity: 0;
}

[data-theme="dark"] .dark-screenshot {
    opacity: 1;
}

.app-showcase-cta {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.app-showcase-cta h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(71, 90, 72, 0.3);
}

.app-showcase-cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.app-showcase-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.app-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.app-cta-button.primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.app-cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.4);
}

.app-cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.app-cta-button.secondary:hover {
    background: rgba(234, 179, 8, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(234, 179, 8, 0.3);
}

/* Enhanced Floating Elements */
.floating-crescent {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

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

.bottom-right {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

.floating-beads {
    position: fixed;
    top: 20%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(71, 90, 72, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

/* Enhanced Social Section */
.social-section {
    padding: 3rem 0;
    position: relative;
}

.social-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(234, 179, 8, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.social-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.8rem;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-icon::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;
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Brand-specific hover colors for social icons */
.social-icon[aria-label="Twitter"]:hover {
    background: rgba(29, 161, 242, 0.2);
    color: #1da1f2;
    border-color: #1da1f2;
}

.social-icon[aria-label="Facebook"]:hover {
    background: rgba(66, 103, 178, 0.2);
    color: #4267b2;
    border-color: #4267b2;
}

.social-icon[aria-label="Instagram"]:hover {
    background: rgba(225, 48, 108, 0.2);
    color: #e1306c;
    border-color: #e1306c;
}

.social-icon[aria-label="YouTube"]:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
    border-color: #ff0000;
}

.social-icon[aria-label="LinkedIn"]:hover {
    background: rgba(0, 119, 181, 0.2);
    color: #0077b5;
    border-color: #0077b5;
}

.social-icon[aria-label="TikTok"]:hover {
    background: rgba(238, 29, 82, 0.2);
    color: #ee1d52;
    border-color: #ee1d52;
}

.social-icon[aria-label="Email"]:hover {
    background: rgba(234, 179, 8, 0.2);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.social-icon[aria-label="WhatsApp"]:hover {
    background: rgba(37, 211, 102, 0.2);
    color: #25d366;
    border-color: #25d366;
}

/* Enhanced Islamic Footer */
.footer {
    position: relative;
    padding: 0;
    margin: 0 -2rem;
    width: calc(100% + 4rem);
    background: linear-gradient(135deg, 
        rgba(15, 20, 25, 0.95) 0%, 
        rgba(26, 31, 46, 0.95) 50%, 
        rgba(15, 20, 25, 0.95) 100%);
    border-top: 3px solid var(--primary-color);
    overflow: hidden;
}

/* Islamic Pattern Background */
.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.islamic-geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(71, 90, 72, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(234, 179, 8, 0.06) 0%, transparent 70%);
    opacity: 0.6;
}

.floating-crescents {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.crescent {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
    animation: crescentFloat 8s ease-in-out infinite;
}

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

.crescent-2 {
    top: 25%;
    right: 15%;
    animation-delay: 2.5s;
}

.crescent-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 5s;
}

@keyframes crescentFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Main Footer Content */
.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding: 4rem 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
}

.footer-logo {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(71, 90, 72, 0.4));
    border-radius: 18px;
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(71, 90, 72, 0.6));
}

.logo-glow {
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    background: radial-gradient(
        circle,
        rgba(71, 90, 72, 0.3) 0%,
        rgba(34, 197, 94, 0.2) 30%,
        transparent 70%
    );
    border-radius: 30px;
    z-index: -1;
    animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.footer-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    text-shadow: 0 0 30px rgba(71, 90, 72, 0.4);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    font-style: italic;
    opacity: 0.9;
}

.footer-variations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.variation {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.variation:hover {
    background: rgba(71, 90, 72, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-section-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    text-shadow: 0 0 20px rgba(71, 90, 72, 0.3);
}

.footer-section-title i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

.footer-links a:hover::before {
    left: 100%;
}

.footer-links a:hover {
    color: var(--primary-color);
    background: rgba(71, 90, 72, 0.1);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a i {
    color: var(--secondary-color);
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

/* Download Section */
.footer-download {
    align-items: center;
}

.footer-copyright-social {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.footer-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

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

.footer-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.footer-download-btn i {
    font-size: 2rem;
    color: var(--primary-color);
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-store {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 700;
}

/* Islamic Quote Section */
.footer-quote {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, 
        rgba(71, 90, 72, 0.15) 0%, 
        rgba(34, 197, 94, 0.1) 100%);
    border-top: 2px solid rgba(71, 90, 72, 0.3);
    border-bottom: 2px solid rgba(71, 90, 72, 0.3);
    padding: 3rem 2rem;
    text-align: center;
    margin: 0 2rem;
    border-radius: 20px 20px 0 0;
    backdrop-filter: blur(15px);
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.7;
    animation: quotePulse 3s ease-in-out infinite;
}

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

.quote-text {
    font-size: 1.4rem;
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 500;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.quote-reference {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
}

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

.copyright {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.copyright p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.islamic-blessing {
    color: var(--secondary-color);
    font-size: 1rem;
    font-style: italic;
    font-weight: 700;
    margin: 0;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: all 0.3s ease;
}

.islamic-blessing:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateY(-1px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(71, 90, 72, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(71, 90, 72, 0.3);
}

/* Brand-specific hover colors for social links */
.social-link[aria-label="Twitter"]:hover {
    background: rgba(29, 161, 242, 0.2);
    border-color: #1da1f2;
    color: #1da1f2;
}

.social-link[aria-label="Facebook"]:hover {
    background: rgba(66, 103, 178, 0.2);
    border-color: #4267b2;
    color: #4267b2;
}

.social-link[aria-label="Instagram"]:hover {
    background: rgba(225, 48, 108, 0.2);
    border-color: #e1306c;
    color: #e1306c;
}

.social-link[aria-label="YouTube"]:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    color: #ff0000;
}

.social-link[aria-label="Discord"]:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: #5865f2;
    color: #5865f2;
}

/* Responsive Design for App Showcase */
@media (max-width: 1024px) {
    .app-showcase-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .app-showcase-visual {
        order: -1;
    }
    
    .phone-mockup,
    .phone-mockup.secondary {
        transform: none;
        margin-left: 0;
    }
    
    .phone-mockup:hover,
    .phone-mockup.secondary:hover {
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .app-showcase-section {
        padding: 3rem 0;
        margin: 1rem 0;
    }
    
    .app-showcase-cta h3 {
        font-size: 2rem;
    }
    
    .app-showcase-cta p {
        font-size: 1.1rem;
    }
    
    .app-showcase-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .app-cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
    }
    
    .app-feature-item {
        padding: 1.2rem;
    }
    
    .app-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .app-feature-text h4 {
        font-size: 1.1rem;
    }
    
    .app-feature-text p {
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .app-showcase-cta h3 {
        font-size: 1.8rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
    }
    
    .app-feature-item {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .app-feature-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Vision & Impact Section */
.vision-impact-section {
    position: relative;
    padding: 3rem 0;
    margin: 2rem 0;
    background: linear-gradient(135deg, 
        rgba(10, 14, 39, 0.95) 0%, 
        rgba(26, 31, 58, 0.95) 50%, 
        rgba(15, 20, 41, 0.95) 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 2px solid rgba(34, 197, 94, 0.3);
    box-shadow: 
        0 0 100px rgba(34, 197, 94, 0.2),
        inset 0 0 50px rgba(234, 179, 8, 0.1);
}

.vision-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.islamic-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 80% 70%, rgba(234, 179, 8, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    opacity: 0.8;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: twinkle 3s ease-in-out infinite;
}

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

.star-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.star-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.floating-crescent-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 4s ease-in-out infinite;
}

.crescent-1 {
    top: 30%;
    right: 25%;
    animation-delay: 0.5s;
}

.crescent-2 {
    bottom: 30%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.vision-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.vision-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.vision-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.vision-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Name Variations Section */
.name-variations-section {
    margin-bottom: 4rem;
}

.variations-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.variations-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-enhanced);
}

.variations-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.variations-card > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

.variation-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.variation-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.2);
}

.variation-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.variation-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.variation-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.variations-note {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 500;
    font-style: italic;
}

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

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(234, 179, 8, 0.5);
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.vision-message {
    margin-bottom: 4rem;
}

.message-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.message-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(234, 179, 8, 0.1) 100%);
    z-index: -1;
}

.message-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.message-card h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.message-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

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

.impact-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.impact-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.impact-item:hover::after {
    transform: scaleX(1);
}

.impact-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.impact-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.impact-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.impact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.call-to-action {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.call-to-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(234, 179, 8, 0.1) 100%);
    z-index: -1;
}

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

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.cta-feature i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cta-button.primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.cta-button.secondary:hover {
    background: rgba(234, 179, 8, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(234, 179, 8, 0.3);
}

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

.testimonial-header h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.testimonial-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: left;
    transition: var(--transition);
    position: relative;
}

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

.testimonial-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-info h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

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

/* Responsive Design for Vision Section */
@media (max-width: 768px) {
    .vision-impact-section {
        padding: 4rem 0;
        margin: 2rem 0;
    }
    
    .vision-title {
        font-size: 2.5rem;
    }
    
    .vision-subtitle {
        font-size: 1.2rem;
    }
    
    .vision-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .message-card {
        padding: 2rem;
    }
    
    .message-card h3 {
        font-size: 1.8rem;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .call-to-action {
        padding: 2rem;
    }
    
    .cta-content h3 {
        font-size: 2rem;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-header h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .vision-title {
        font-size: 2rem;
    }
    
    .vision-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .message-card h3 {
        font-size: 1.5rem;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
    
    .testimonial-header h3 {
        font-size: 1.8rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 1.5rem 0;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(234, 179, 8, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

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

.faq-question i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.5rem;
    }
}

/* Responsive Design for Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--background);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
        padding: 2rem 0;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 90%;
        max-width: 300px;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 15px;
    }
    
    .nav-link span {
        font-size: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-brand-text {
        font-size: 1.3rem;
    }
    
    .nav-logo {
        width: 35px;
        height: 35px;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        max-height: 40px;
        margin-left: 0.5rem;
        flex-shrink: 0;
    }
    
    .theme-toggle i {
        font-size: 1rem;
    }
    
    .mobile-theme-toggle {
        display: flex;
        margin-left: 0.5rem;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.8rem;
    }
    
    .nav-brand-text {
        font-size: 1.1rem;
    }
    
    .nav-logo {
        width: 30px;
        height: 30px;
    }
    
    .nav-link {
        width: 95%;
        padding: 1.2rem 1.5rem;
        font-size: 1.2rem;
    }
    
    .nav-link span {
        font-size: 1.1rem;
    }
    
    .theme-toggle {
        width: 35px;
        height: 35px;
        min-width: 35px;
        min-height: 35px;
        max-width: 35px;
        max-height: 35px;
        margin-left: 0.3rem;
        flex-shrink: 0;
    }
    
    .theme-toggle i {
        font-size: 0.9rem;
    }
    
    .mobile-theme-toggle {
        width: 35px;
        height: 35px;
        min-width: 35px;
        min-height: 35px;
        max-width: 35px;
        max-height: 35px;
        margin-left: 0.3rem;
        flex-shrink: 0;
    }
} 

/* Video Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.modal.open {
    display: block;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 92vw;
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(234, 179, 8, 0.3);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.modal-title {
    margin: 0;
    padding: 1rem 3.5rem 1rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(234, 179, 8, 0.2);
    transform: translateY(-2px);
}

.modal-body {
    padding: 0;
}

.modal-body video,
.modal-body iframe {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    border-radius: 14px;
    background: transparent;
}

/* Video stage with blurred background fill */
.video-stage {
    position: relative;
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.video-stage .video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(24px) brightness(0.8);
    transform: scale(1.08);
}

.video-stage .video-foreground {
    position: relative;
    z-index: 1;
    object-fit: contain;
    background: transparent;
}

/* Optional: Hero video button variant */
.hero-button.video {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.hero-button.video:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.35);
}

/* Custom Video Controls */
.video-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem 1rem 1rem;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.12) 0%, rgba(34, 197, 94, 0.12) 50%, rgba(59, 130, 246, 0.12) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex-wrap: nowrap;
}

.vc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    flex: 0 0 38px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    line-height: 0;
}

.vc-btn:hover {
    transform: translateY(-2px);
    background: rgba(234, 179, 8, 0.18);
}

.vc-btn i {
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
}

.vc-time {
    font-variant-numeric: tabular-nums;
    color: var(--text-secondary);
    font-size: 0.95rem;
    white-space: nowrap;
}

.vc-spacer {
    flex: 1 1 auto;
}

.vc-range {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    outline: none;
    width: 100%;
}

.vc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.25);
    cursor: pointer;
    border: none;
}

.vc-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.25);
    cursor: pointer;
    border: none;
}

.vc-range.progress {
    background: linear-gradient(90deg, var(--secondary-color) var(--_progress, 0%), rgba(255, 255, 255, 0.2) var(--_progress, 0%));
}

.vc-volume {
    width: 90px;
}

.vc-seek {
    flex: 1 1 auto;
    min-width: 0;
}

.vc-group {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

@media (max-width: 520px) {
    .video-controls {
        flex-wrap: wrap;
    }
    .vc-volume {
        width: 70px;
    }
}

/* Footer Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-download {
        grid-column: 1 / -1;
        align-items: center;
    }
    
    .footer-copyright-social {
        padding: 1.5rem 1rem;
        gap: 1.2rem;
    }
    
    .footer-download-buttons {
        flex-direction: row;
        justify-content: center;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .footer {
        margin: 0 -1rem;
        width: calc(100% + 2rem);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 1rem 2rem;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-logo {
        margin: 0 auto;
        width: 80px;
        height: 80px;
    }
    
    .footer-title {
        font-size: 2.2rem;
    }
    
    .footer-tagline {
        font-size: 1.2rem;
    }
    
    .footer-variations {
        justify-content: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section-title {
        justify-content: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-links a {
        justify-content: center;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-download-buttons {
        flex-direction: column;
        align-items: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-copyright-social {
        padding: 1.2rem 1rem;
        gap: 1rem;
    }
    
    .footer-download-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer-quote {
        margin: 0 1rem;
        padding: 2rem 1rem;
    }
    
    .quote-text {
        font-size: 1.2rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .copyright {
        gap: 0.8rem;
    }
    
    .copyright p {
        font-size: 0.9rem;
    }
    
    .islamic-blessing {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 2.5rem 1rem 1.5rem;
        gap: 2rem;
    }
    
    .footer-title {
        font-size: 2rem;
    }
    
    .footer-tagline {
        font-size: 1.1rem;
    }
    
    .footer-logo {
        width: 70px;
        height: 70px;
    }
    
    .footer-section-title {
        font-size: 1.1rem;
    }
    
    .footer-links a {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .footer-download-btn {
        padding: 0.8rem 1rem;
    }
    
    .footer-download-btn i {
        font-size: 1.5rem;
    }
    
    .download-label {
        font-size: 0.7rem;
    }
    
    .download-store {
        font-size: 1rem;
    }
    
    .footer-quote {
        padding: 1.5rem 1rem;
    }
    
    .quote-icon {
        font-size: 2.5rem;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
    
    .quote-reference {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding: 1rem;
    }
    
    .copyright {
        gap: 0.7rem;
    }
    
    .copyright p {
        font-size: 0.85rem;
    }
    
    .islamic-blessing {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Dark mode footer enhancements */
[data-theme="dark"] .footer {
    background: linear-gradient(135deg, 
        rgba(15, 20, 25, 0.98) 0%, 
        rgba(26, 31, 46, 0.98) 50%, 
        rgba(15, 20, 25, 0.98) 100%);
    border-top: 3px solid var(--primary-color);
    backdrop-filter: blur(25px);
}

[data-theme="dark"] .footer-quote {
    background: linear-gradient(135deg, 
        rgba(0, 191, 166, 0.15) 0%, 
        rgba(0, 168, 150, 0.1) 100%);
    border-top: 2px solid rgba(0, 191, 166, 0.3);
    border-bottom: 2px solid rgba(0, 191, 166, 0.3);
}

[data-theme="dark"] .footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(0, 191, 166, 0.2);
}

[data-theme="dark"] .footer-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 191, 166, 0.4);
}

[data-theme="dark"] .footer-section-title {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 191, 166, 0.3);
}

[data-theme="dark"] .footer-section-title i {
    color: var(--secondary-color);
}

[data-theme="dark"] .footer-links a:hover {
    background: rgba(0, 191, 166, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .footer-download-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 191, 166, 0.3);
}

[data-theme="dark"] .social-link:hover {
    background: rgba(0, 191, 166, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 191, 166, 0.3);
}

[data-theme="dark"] .copyright p {
    color: var(--dark-text-secondary);
}

[data-theme="dark"] .islamic-blessing {
    background: rgba(0, 191, 166, 0.15);
    border: 1px solid rgba(0, 191, 166, 0.3);
    color: var(--secondary-color);
}

[data-theme="dark"] .islamic-blessing:hover {
    background: rgba(0, 191, 166, 0.2);
    border-color: rgba(0, 191, 166, 0.4);
}

/* Dark mode text and icon enhancements */
[data-theme="dark"] .section-title,
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-subtitle {
    color: var(--dark-text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .fas,
[data-theme="dark"] .fab,
[data-theme="dark"] .far {
    color: var(--dark-text-accent);
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.4));
}

[data-theme="dark"] .app-feature-item i,
[data-theme="dark"] .goal-item i,
[data-theme="dark"] .about-card i,
[data-theme="dark"] .feature-card i {
    color: var(--dark-text-accent);
    filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.3));
}

/* Dark mode app showcase section enhancements */
[data-theme="dark"] .app-showcase-section {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(226, 232, 240, 0.1) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(226, 232, 240, 0.08) 75%, 
        rgba(255, 255, 255, 0.15) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 0 60px rgba(255, 255, 255, 0.2),
        inset 0 0 100px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .app-showcase-section::before {
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 70% 20%, rgba(226, 232, 240, 0.06) 0%, transparent 50%);
}

[data-theme="dark"] .app-feature-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
}

[data-theme="dark"] .app-feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Dark mode theme toggle enhancements */
[data-theme="dark"] .theme-toggle {
    background: linear-gradient(135deg, #00bfa6 0%, #00a896 100%);
    border: 2px solid #00bfa6;
    box-shadow: 0 0 20px rgba(0, 191, 166, 0.4);
}

[data-theme="dark"] .theme-toggle:hover {
    background: linear-gradient(135deg, #00a896 0%, #00bfa6 100%);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 191, 166, 0.6);
}

[data-theme="dark"] .theme-toggle i {
    color: #ffffff;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

/* Light mode modal enhancements */
[data-theme="light"] .modal-content {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-color);
    box-shadow: 0 30px 80px rgba(71, 90, 72, 0.3);
    backdrop-filter: blur(20px);
}

[data-theme="light"] .modal-title {
    color: var(--primary-color);
    background: rgba(71, 90, 72, 0.05);
    border-bottom: 1px solid rgba(71, 90, 72, 0.1);
}

[data-theme="light"] .modal-close {
    background: rgba(71, 90, 72, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(71, 90, 72, 0.2);
}

[data-theme="light"] .modal-close:hover {
    background: rgba(71, 90, 72, 0.2);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(71, 90, 72, 0.3);
}

/* Dark mode modal enhancements */
[data-theme="dark"] .modal-content {
    background: rgba(15, 20, 25, 0.95);
    border: 2px solid var(--primary-color);
    box-shadow: 0 30px 80px rgba(0, 191, 166, 0.4);
    backdrop-filter: blur(20px);
}

[data-theme="dark"] .modal-title {
    color: #ffffff;
    background: rgba(0, 191, 166, 0.1);
    border-bottom: 1px solid rgba(0, 191, 166, 0.2);
}

[data-theme="dark"] .modal-close {
    background: rgba(0, 191, 166, 0.15);
    color: #ffffff;
    border: 1px solid rgba(0, 191, 166, 0.3);
}

[data-theme="dark"] .modal-close:hover {
    background: rgba(0, 191, 166, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 191, 166, 0.4);
}

/* Light mode video controls enhancements */
[data-theme="light"] .video-controls {
    background: linear-gradient(135deg, rgba(71, 90, 72, 0.08) 0%, rgba(0, 191, 166, 0.08) 50%, rgba(71, 90, 72, 0.06) 100%);
    border-top: 1px solid rgba(71, 90, 72, 0.15);
}

[data-theme="light"] .vc-btn {
    background: rgba(71, 90, 72, 0.1);
    border: 1px solid rgba(71, 90, 72, 0.2);
    color: var(--primary-color);
}

[data-theme="light"] .vc-btn:hover {
    background: rgba(71, 90, 72, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(71, 90, 72, 0.3);
}

[data-theme="light"] .vc-range {
    background: rgba(71, 90, 72, 0.2);
}

[data-theme="light"] .vc-range::-webkit-slider-thumb {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(71, 90, 72, 0.25);
}

[data-theme="light"] .vc-range::-moz-range-thumb {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(71, 90, 72, 0.25);
}

/* Dark mode video controls enhancements */
[data-theme="dark"] .video-controls {
    background: linear-gradient(135deg, rgba(0, 191, 166, 0.12) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(0, 191, 166, 0.08) 100%);
    border-top: 1px solid rgba(0, 191, 166, 0.2);
}

[data-theme="dark"] .vc-btn {
    background: rgba(0, 191, 166, 0.15);
    border: 1px solid rgba(0, 191, 166, 0.3);
    color: #ffffff;
}

[data-theme="dark"] .vc-btn:hover {
    background: rgba(0, 191, 166, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 191, 166, 0.4);
}

[data-theme="dark"] .vc-range {
    background: rgba(0, 191, 166, 0.2);
}

[data-theme="dark"] .vc-range::-webkit-slider-thumb {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 191, 166, 0.4);
}

[data-theme="dark"] .vc-range::-moz-range-thumb {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 191, 166, 0.4);
}