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

:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --primary-soft: #2d1b3d;
    --accent: #a855f7;
    --text: #f3f4f6;
    --text-muted: #d1d5db;
    --text-light: #9ca3af;
    --bg: #1a0b1f;
    --bg-alt: #2d1b3d;
    --border: rgba(139, 92, 246, 0.2);
    --radius: 16px;
    --radius-lg: 20px;
    --spacing: 1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 11, 31, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: 'Lora', serif;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

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

.cta-button {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 160px 0 120px;
    text-align: center;
    background: linear-gradient(135deg, #1a0b1f 0%, #2d1b3d 50%, #1a0b1f 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-text {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.hero-title {
    font-family: 'Lora', serif;
    font-size: 3.75rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.1em;
    overflow: visible;
}

.hero-subtitle {
    font-size: 1.3125rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.8;
    font-weight: 300;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(45, 27, 61, 0.6);
    color: var(--text);
    border: 2px solid var(--primary);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-alt) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(45, 27, 61, 0.5);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}

.feature-card:hover {
    border-color: var(--primary);
    background: rgba(45, 27, 61, 0.7);
}

.feature-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* Download Section */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a0b1f 0%, #2d1b3d 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.download::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-title {
    font-family: 'Lora', serif;
    font-size: 2.75rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.download-subtitle {
    font-size: 1.1875rem;
    opacity: 0.95;
    margin-bottom: 56px;
    font-weight: 300;
    line-height: 1.7;
    font-style: italic;
}

.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--bg);
    padding: 18px 36px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
    background: white;
}

.download-btn svg {
    flex-shrink: 0;
}

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

.download-label {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
}

.download-platform {
    font-size: 1.125rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a0b1f 0%, #2d1b3d 100%);
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: white;
    -webkit-text-fill-color: white;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: white;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

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

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

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

    .features {
        padding: 60px 0;
    }

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

    .feature-card {
        padding: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .nav-links {
        gap: 20px;
    }

    .nav-links a:not(.cta-button) {
        display: none;
    }
}

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

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

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

    .footer-links {
        grid-template-columns: 1fr;
    }
}
