/* ===== CSS Variables ===== */
:root {
    --primary-color: #6a4c93;        /* Mystical purple */
    --secondary-color: #8b5cf6;      /* Lighter purple */
    --accent-color: #f59e0b;         /* Gold/amber */
    --dark-bg: #1a1a2e;              /* Dark navy */
    --light-bg: #f8f9fa;             /* Light gray */
    --text-dark: #2d3748;            /* Dark gray */
    --text-light: #ffffff;           /* White */
    --success-color: #10b981;        /* Green */
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light-bg);
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

/* ===== Header & Navigation ===== */
header {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.logo a {
    color: var(--text-light);
}

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

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: background 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--primary-color);
}

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

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-icon {
    font-size: 2rem;
    margin-right: 0.75rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--dark-bg);
    color: var(--text-light);
}

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

.coming-soon {
    margin-top: 1rem;
    font-style: italic;
    opacity: 0.8;
}

/* ===== Features Section ===== */
.features {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features h2 {
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

/* ===== Tiers Section ===== */
.tiers {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
    padding: 5rem 2rem;
    text-align: center;
}

.tiers h2 {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.tier-showcase {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.tier {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tier h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.tier p {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* ===== CTA Section ===== */
.cta {
    padding: 5rem 2rem;
    text-align: center;
    background: var(--light-bg);
}

.cta h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ===== Content Pages (Support, Privacy) ===== */
.content-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: white;
    min-height: 60vh;
}

.container {
    line-height: 1.8;
}

.content-page h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: #6b7280;
    margin-bottom: 2rem;
}

.support-section,
.policy-section {
    margin: 2.5rem 0;
}

.support-section h2,
.policy-section h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.support-section h3,
.policy-section h3 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.faq-item {
    background: var(--light-bg);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.content-page ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page ul li {
    margin: 0.5rem 0;
}

.content-page a {
    color: var(--primary-color);
    text-decoration: underline;
}

.content-page a:hover {
    color: var(--secondary-color);
}

/* ===== Footer ===== */
footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 2rem 1rem;
}

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

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

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

    .logo {
        font-size: 1.25rem;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .features,
    .tiers,
    .cta {
        padding: 3rem 1.5rem;
    }
}
