:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --bg-dark: #102216;
    --surface-dark: #1A2C22;
    --text-main: #ffffff;
    --text-sec: #93c8a5;
    --gold: #fbbf24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(180deg, var(--surface-dark) 0%, var(--bg-dark) 100%);
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.app-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.mosque-icon {
    font-size: 60px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.description {
    font-size: 16px;
    color: var(--text-sec);
    margin-bottom: 32px;
    line-height: 1.7;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn img {
    height: 50px;
    transition: transform 0.2s;
}

.store-btn:hover img {
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 60px 20px;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--surface-dark);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.footer-links {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-sec);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.divider {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.2);
}

.copyright {
    font-size: 13px;
    color: var(--text-sec);
    margin-bottom: 8px;
}

.made-with {
    font-size: 14px;
    color: var(--primary);
}

/* Legal Pages */
.legal-page {
    padding: 40px 20px 60px;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-header .last-updated {
    font-size: 14px;
    color: var(--text-sec);
}

.lang-toggle {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.lang-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    background: var(--surface-dark);
    color: var(--text-sec);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 28px;
}

.legal-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.legal-section p {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.8;
    white-space: pre-line;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
}

.back-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .features h2 {
        font-size: 24px;
    }

    .feature-card {
        padding: 20px;
    }
}