/* ===== CSS Variables ===== */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #4ecca3;
    --accent-secondary: #e94560;
    --text-color: #eaeaea;
    --text-muted: #a0a0a0;
    --card-bg: #252542;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #6fe8bc;
}

ul {
    list-style-position: inside;
}

/* ===== Header & Navigation ===== */
header {
    background-color: var(--secondary-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

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

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* ===== Hero Section ===== */
.hero {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    width: 180px;
    height: 180px;
    border-radius: 32px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px rgba(78, 204, 163, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), #6fe8bc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
}

/* ===== Buttons ===== */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: #6fe8bc;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(78, 204, 163, 0.4);
}

.btn-secondary {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--accent-color);
}

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

/* ===== Features Section ===== */
.features {
    padding: 4rem 2rem;
    background-color: var(--secondary-color);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

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

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

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

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

/* ===== Download Section ===== */
.download {
    padding: 4rem 2rem;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.download > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.store-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.store-badge img {
    height: 50px;
    transition: var(--transition);
}

.store-badge:hover img {
    transform: scale(1.05);
}

/* ===== Footer ===== */
footer {
    background-color: var(--secondary-color);
    padding: 2rem;
    margin-top: auto;
}

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

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

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

.contact {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ===== Legal Pages ===== */
.legal-page {
    flex: 1;
    padding: 2rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.last-updated {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
    color: var(--accent-color);
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

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

/* ===== Support Page ===== */
.support-page {
    flex: 1;
    padding: 2rem;
}

.support-content {
    max-width: 800px;
    margin: 0 auto;
}

.support-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.support-intro {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.faq-section,
.contact-section,
.feedback-section {
    margin-bottom: 3rem;
}

.faq-section h2,
.contact-section h2,
.feedback-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.faq-item {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.faq-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.faq-item ul,
.faq-item ol {
    color: var(--text-muted);
    padding-left: 1.5rem;
}

.faq-item li {
    margin-bottom: 0.25rem;
}

.contact-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 1.5rem 0;
}

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

.contact-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-note {
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.feedback-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

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

    .hero-logo {
        width: 140px;
        height: 140px;
    }

    .tagline {
        font-size: 1.2rem;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

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

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

    .legal-content h1,
    .support-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem;
    }

    .logo span {
        font-size: 1.2rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

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

    .features,
    .download {
        padding: 2rem 1rem;
    }
}
