/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #4CAF50;
    --light-green: #81C784;
    --dark-green: #2E7D32;
    --very-light-green: #E8F5E9;
    --accent-green: #66BB6A;
    --white: #ffffff;
    --gray: #757575;
    --dark-gray: #424242;
    --light-gray: #f5f5f5;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    --gradient-hero: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 50%, #ffffff 100%);
}

[data-theme="dark"] {
    --primary-green: #66BB6A;
    --light-green: #81C784;
    --dark-green: #4CAF50;
    --very-light-green: #1B5E20;
    --accent-green: #A5D6A7;
    --white: #121212;
    --gray: #B0B0B0;
    --dark-gray: #E0E0E0;
    --light-gray: #1E1E1E;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #66BB6A 0%, #81C784 100%);
    --gradient-hero: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #121212 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: transparent;
    box-shadow: none;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-hover);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.brand-logo {
    width: 150px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.brand-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--dark-gray);
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-green);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--light-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--primary-green);
    transform: scale(1.1);
}

.theme-icon {
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg);
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.navbar:not(.scrolled) .bar {
    background-color: rgba(255, 255, 255, 0.92);
}

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

.hero-bg-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.78) contrast(1.03) saturate(1.15);
    transform: scale(1.02);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 18% 25%, rgba(76, 175, 80, 0.22) 0%, rgba(76, 175, 80, 0) 60%),
        radial-gradient(circle at 85% 40%, rgba(129, 199, 132, 0.34) 0%, rgba(129, 199, 132, 0) 62%),
        linear-gradient(135deg, rgba(46, 125, 50, 0.38) 0%, rgba(46, 125, 50, 0.14) 45%, rgba(46, 125, 50, 0.28) 100%);
    backdrop-filter: blur(1px);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 25%, rgba(76, 175, 80, 0.28) 0%, rgba(76, 175, 80, 0) 52%),
        radial-gradient(circle at 85% 35%, rgba(129, 199, 132, 0.26) 0%, rgba(129, 199, 132, 0) 55%),
        radial-gradient(circle at 55% 80%, rgba(46, 125, 50, 0.18) 0%, rgba(46, 125, 50, 0) 60%);
    filter: blur(14px);
    opacity: 0.4;
    z-index: 1;
    animation: heroBgFloat 14s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.18) 100%);
    mix-blend-mode: overlay;
    opacity: 0.25;
    z-index: 1;
}

.hero-ornaments {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-ornament {
    position: absolute;
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.65;
    transform: translate3d(0, 0, 0);
    animation: heroOrnamentFloat 12s ease-in-out infinite;
}

.hero-ornament.o1 {
    width: 220px;
    height: 220px;
    left: -60px;
    top: 140px;
    background: radial-gradient(circle at 30% 30%, rgba(76, 175, 80, 0.55) 0%, rgba(76, 175, 80, 0.0) 70%);
    animation-duration: 13s;
}

.hero-ornament.o2 {
    width: 160px;
    height: 160px;
    right: 6%;
    top: 110px;
    background: radial-gradient(circle at 30% 30%, rgba(129, 199, 132, 0.52) 0%, rgba(129, 199, 132, 0.0) 70%);
    animation-duration: 11s;
}

.hero-ornament.o3 {
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: 110px;
    background: radial-gradient(circle at 30% 30%, rgba(46, 125, 50, 0.45) 0%, rgba(46, 125, 50, 0.0) 72%);
    animation-duration: 15s;
}

.hero-ornament.o4 {
    width: 140px;
    height: 140px;
    left: 38%;
    bottom: 60px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.26) 0%, rgba(255, 215, 0, 0.0) 70%);
    animation-duration: 10s;
}

@keyframes heroOrnamentFloat {
    0% {
        transform: translate3d(-10px, -6px, 0) scale(1);
    }
    50% {
        transform: translate3d(10px, 8px, 0) scale(1.04);
    }
    100% {
        transform: translate3d(-6px, 10px, 0) scale(1.02);
    }
}

@keyframes heroBgFloat {
    0% {
        transform: translate3d(-1.5%, -1%, 0) scale(1);
    }
    100% {
        transform: translate3d(1.5%, 1%, 0) scale(1.05);
    }
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(129, 199, 132, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(102, 187, 106, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-pattern::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 8s ease-in-out infinite;
}

.hero-pattern::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(129, 199, 132, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 10s ease-in-out infinite reverse;
}

.floating-decoration {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    pointer-events: none;
    z-index: 2;
}

.decorative-shape {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

.shape-1 {
    top: 10%;
    right: 5%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.shape-2 {
    top: 60%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(129, 199, 132, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 5s ease-in-out infinite 1s;
}

.shape-3 {
    bottom: 15%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(102, 187, 106, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite 2s;
}

.shape-4 {
    top: 30%;
    left: 15%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.35) 0%, transparent 70%);
    border-radius: 30% 70% 70% 30%;
    animation: rotate 8s linear infinite;
}

.shape-5 {
    bottom: 30%;
    left: 20%;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(129, 199, 132, 0.3) 0%, transparent 70%);
    border-radius: 60% 40% 30% 70%;
    animation: rotate 10s linear infinite reverse;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.decoration-1 {
    top: 15%;
    left: 10%;
    animation: float1 6s ease-in-out infinite;
}

.decoration-2 {
    top: 25%;
    right: 15%;
    animation: float2 8s ease-in-out infinite;
}

.decoration-3 {
    bottom: 20%;
    left: 20%;
    animation: float3 7s ease-in-out infinite;
}

.decoration-4 {
    bottom: 30%;
    right: 10%;
    animation: float4 9s ease-in-out infinite;
}

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

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

@keyframes float3 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(15deg);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-35px) rotate(-15deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-text {
    animation: fadeInLeft 1s ease;
}

/* Hero Badges */
.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: slideDown 0.6s ease;
}

.badge-rating {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.badge-downloads {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(76, 175, 80, 0.2);
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    margin-top: 0.25rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
    position: relative;
    overflow: hidden;
}

.hero .btn-secondary {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(2px);
}

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

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.75);
}

/* Ripple Effect */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.hero-image {
    animation: fadeInRight 1s ease;
}

.phone-mockup {
    max-width: 520px;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

.phone-screen {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    border: 0;
}

#phoneScreenshot {
    filter:
        drop-shadow(0 22px 44px rgba(0, 0, 0, 0.28))
        drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
    border-radius: 18px;
}

.app-preview {
    padding: 1.5rem;
}

.preview-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.preview-time {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
}

.preview-date {
    font-size: 0.9rem;
    color: var(--gray);
}

.preview-prayer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prayer-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.prayer-item.active {
    background-color: var(--primary-green);
    color: var(--white);
}

.prayer-item:hover {
    transform: translateX(5px);
}

.prayer-name {
    font-weight: 600;
}

.prayer-time {
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--very-light-green);
    position: relative;
    overflow: hidden;
}

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

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--gray);
    line-height: 1.6;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: var(--white);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--light-green), transparent);
}

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

.stat-card {
    background: linear-gradient(135deg, var(--very-light-green) 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--very-light-green);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    font-size: 3rem;
    min-width: 60px;
}

.stat-info {
    flex: 1;
}

.stat-info .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
    line-height: 1.2;
}

.stat-info .stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

.stat-stars {
    margin-top: 0.5rem;
    color: #FFD700;
    font-size: 1rem;
}

.stat-stars .star {
    display: inline-block;
}

.stat-stars .star.half {
    opacity: 0.5;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

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

.testimonial-card {
    background: linear-gradient(135deg, var(--very-light-green) 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--very-light-green);
}

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

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

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

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1rem;
}

.testimonial-rating .star {
    display: inline-block;
}

.testimonial-rating .star.half {
    opacity: 0.5;
}

.testimonial-text {
    color: var(--gray);
    line-height: 1.6;
    font-style: italic;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: var(--very-light-green);
}

.gallery-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.gallery-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    padding: 1rem;
}

.gallery-item {
    flex: 0 0 auto;
    width: 280px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.screenshot-mockup {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    border: 8px solid var(--dark-gray);
    aspect-ratio: 9/16;
}

.screenshot-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.screenshot-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

.screenshot-body {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prayer-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 8px;
    font-size: 0.9rem;
}

.prayer-row.active {
    background: var(--primary-green);
    color: var(--white);
}

.compass-view {
    align-items: center;
    justify-content: center;
    height: 100%;
}

.compass-circle {
    width: 120px;
    height: 120px;
    border: 3px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: spin 10s linear infinite;
}

.compass-label {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-green);
}

.guide-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 8px;
    font-size: 0.9rem;
}

.guide-item span:first-child {
    font-size: 1.5rem;
}

.quran-verse {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 8px;
    font-size: 0.9rem;
    direction: rtl;
}

.verse-number {
    min-width: 24px;
    color: var(--primary-green);
    font-weight: 600;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav svg {
    width: 24px;
    height: 24px;
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-green);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--very-light-green) 0%, #ffffff 100%);
}

/* Video Demo Section */
.video-demo {
    padding: 80px 0;
    background-color: var(--white);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    background: var(--very-light-green);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.demo-video {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    object-fit: cover;
}

.video-placeholder {
    position: relative;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--very-light-green) 0%, var(--white) 100%);
}

.play-button {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: var(--shadow);
}

.play-button:hover {
    transform: scale(1.1);
    background: var(--dark-green);
}

.play-button svg {
    color: var(--white);
    margin-left: 5px;
}

.video-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
}

.app-preview-mini {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 6px solid var(--dark-gray);
    width: 200px;
    transform: rotate(-5deg);
}

.preview-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.preview-body {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prayer-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background: var(--light-gray);
    border-radius: 6px;
    font-size: 0.8rem;
}

.prayer-item.active {
    background: var(--primary-green);
    color: var(--white);
}

.video-caption {
    text-align: center;
    padding: 1.5rem;
    margin: 0;
    color: var(--gray);
    font-weight: 500;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--white);
}

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

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    transition: all 0.3s ease;
    text-align: left;
}

.faq-question:hover {
    background: var(--very-light-green);
}

.faq-question.active {
    background: var(--primary-green);
    color: var(--white);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--very-light-green);
}

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

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.feature-description {
    color: var(--gray);
    margin-bottom: 1rem;
}

.feature-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease;
}

.progress-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-green);
    min-width: 40px;
}

.about-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.highlight-icon {
    width: 24px;
    height: 24px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-visual {
    position: relative;
    width: 300px;
    height: 300px;
}

.visual-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s ease-in-out infinite;
}

.visual-circle::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    border: 2px solid var(--light-green);
    border-radius: 50%;
    opacity: 0.3;
    animation: spin 10s linear infinite;
}

.visual-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
}

/* Download Section */
.download {
    padding: 100px 0 80px;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

.download .section-title {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}

.download .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--white);
    color: var(--dark-gray);
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.play-store-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-green);
}

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

.download-btn-small {
    font-size: 0.7rem;
    font-weight: 500;
}

.download-btn-large {
    font-size: 1.2rem;
    font-weight: 700;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 1.5rem;
}

.info-text {
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 400px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--very-light-green) 0%, #ffffff 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--very-light-green);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.contact-icon {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}

.contact-details h4 {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.contact-details a,
.contact-details p {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    color: var(--gray);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.footer-brand .brand-icon {
    font-size: 2.5rem;
}

.footer-tagline {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-green);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(35px, 35px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Bottom Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
}

.mobile-nav-item.active {
    color: var(--primary-green);
}

.mobile-nav-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.mobile-nav-label {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

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

    .hero-badges {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .about-text .section-title {
        text-align: center;
    }

    .about-highlights {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .download-info {
        gap: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

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

    .footer-links {
        gap: 1rem;
    }

    .mobile-nav {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .phone-mockup {
        max-width: 250px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .download-btn {
        padding: 0.8rem 1.5rem;
        min-width: 180px;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-icon {
        font-size: 2.5rem;
    }

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