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

:root {
    --hot-pink: #FF2E93;
    --deep-purple: #7C4DFF;
    --cyan: #00BCD4;
    --dark-bg: #1a1a2e;
    --bg-elevated: #ffffff;
    --bg-muted: #F6F7FB;
    --text-dark: #1F2330;
    --text-light: #667085;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo-small {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.5rem;
    color: var(--hot-pink);
    text-decoration: none;
}

.language-selector {
    padding: 0.5rem 1rem;
    border: 2px solid var(--hot-pink);
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    background: white;
    transition: all 0.3s;
}

.language-selector:hover {
    background: var(--hot-pink);
    color: white;
}

.language-selector:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.2);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    background: linear-gradient(135deg, var(--hot-pink) 0%, var(--deep-purple) 50%, var(--cyan) 100%);
    color: white;
}

.curved-logo {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.logo-badge {
    display: grid;
    place-items: center;
    width: clamp(72px, 12vw, 112px);
    height: clamp(72px, 12vw, 112px);
    border-radius: 50%;
    background: var(--hot-pink);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-logo-icon {
    width: 60%;
    height: 60%;
    color: #ffffff;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}

#logo-canvas {
    max-width: min(520px, 80vw);
    height: auto;
    opacity: 0.98;
}

.tagline {
    font-size: clamp(1.25rem, 3.2vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.download-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 1rem;
    min-height: 48px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-ios {
    background: black;
    color: white;
}

.btn-ios:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-android {
    background: #3DDC84;
    color: white;
}

.btn-android:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(61, 220, 132, 0.4);
}

/* Features Section */
.features {
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    background: transparent;
}

.features h2 {
    text-align: center;
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--hot-pink), var(--deep-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: var(--bg-elevated);
    padding: 1.5rem;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    border: 1px solid rgba(2, 6, 23, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.10);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--deep-purple);
}

.feature-card p {
    color: var(--text-light);
}

/* Social Section */
.social-section {
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    background: rgba(248, 249, 250, 0.6);
    backdrop-filter: blur(10px);
}

.social-section h2 {
    text-align: center;
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--deep-purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    box-shadow: 0 4px 15px var(--shadow);
    min-width: 150px;
    width: 150px;
    flex-shrink: 0;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(124, 77, 255, 0.3);
}

.social-icon {
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

.social-name {
    font-weight: 600;
    font-size: 1rem;
}

.social-handle {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--cyan) 100%);
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 2rem 0;
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Legal Pages */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--hot-pink), var(--deep-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-page h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--hot-pink);
}

.legal-page p,
.legal-page ul {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.legal-page ul {
    padding-left: 2rem;
}

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

.legal-page a {
    color: var(--hot-pink);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background: var(--hot-pink);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
}

.back-link:hover {
    background: var(--deep-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 77, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-logo-icon {
        width: 60%;
        height: 60%;
    }

    .tagline {
        font-size: 1.4rem;
    }

    .features h2,
    .social-section h2,
    .cta h2 {
        font-size: 2rem;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

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

@media (max-width: 480px) {
    .logo-small {
        font-size: 1.2rem;
    }

    .language-selector {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .features h2,
    .social-section h2,
    .cta h2 {
        font-size: 1.5rem;
    }

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

    .social-link {
        min-width: 120px;
        padding: 1rem;
    }

    .social-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
}

/* RTL Support for Arabic and Hebrew */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .nav-content,
[dir="rtl"] .footer-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .download-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn {
    flex-direction: row-reverse;
}

/* Print Styles */
@media print {

    .navbar,
    .download-buttons,
    .social-section,
    .cta,
    footer {
        display: none;
    }

    body {
        background: white;
    }
}
