:root {
    --color-primary: #409eff;
    --color-primary-light: #66b3ff;
    --color-text: #ffffff;
    --color-text-muted: #b3b3b3;
    --color-surface: rgba(26, 26, 46, 0.85);
    --color-surface-strong: rgba(10, 10, 10, 0.95);
    --color-warning: #ffc107;
    --color-danger: #dc3545;
    --shadow-strong: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lift: 0 15px 40px rgba(64, 158, 255, 0.2);
    --gradient-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--gradient-bg);
    min-height: 100vh;
}

a {
    color: inherit;
}

a:hover {
    color: inherit;
}

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

header {
    background: var(--color-surface-strong);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(64, 158, 255, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(64, 158, 255, 0.3);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
    text-shadow: 0 0 8px rgba(64, 158, 255, 0.4);
}

main {
    margin-top: 80px;
    padding: 4rem 0;
}

.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-light), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(64, 158, 255, 0.5);
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 720px;
    margin: 0 auto;
}

.section-card {
    background: var(--color-surface);
    border: 1px solid rgba(64, 158, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-strong);
}

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

.feature-card {    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Fallback for environments without CSS Modules support */
.feature-card {
    background: var(--color-surface);
    border: 1px solid rgba(64, 158, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-strong);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(64, 158, 255, 0.5);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    box-shadow: 0 4px 15px rgba(64, 158, 255, 0.3);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.premium-section {
    margin: 4rem auto;
    max-width: 1200px;
    padding: 3rem 2rem;
    background: rgba(10, 10, 10, 0.75);
    border: 1px solid rgba(64, 158, 255, 0.25);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
}

.premium-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.premium-section p.lead {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
}

.premium-card {
    background: rgba(26, 26, 46, 0.85);
    border-radius: 18px;
    border: 1px solid rgba(64, 158, 255, 0.2);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    padding: 1.8rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.premium-card:hover {
    transform: translateY(-6px);
    border-color: rgba(64, 158, 255, 0.5);
    box-shadow: 0 18px 36px rgba(64, 158, 255, 0.25);
}

.premium-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(64, 158, 255, 0.9), rgba(102, 179, 255, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 18px rgba(64, 158, 255, 0.25);
}

.premium-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.premium-card p {
    color: #a9a9a9;
    font-size: 0.95rem;
    line-height: 1.5;
}

.disclaimer {
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.35);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem auto;
    text-align: center;
    backdrop-filter: blur(10px);
    color: #ffffff;
}

.disclaimer h3,
.disclaimer h2,
.disclaimer strong {
    color: var(--color-warning);
}

.disclaimer p,
.disclaimer ul,
.disclaimer li {
    color: #ffffff;
}

.disclaimer p {
    font-weight: 500;
}

.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(64, 158, 255, 0.3);
    border-radius: 20px;
    margin: 3rem auto;
    max-width: 1200px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-strong);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    background: var(--gradient-accent);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(64, 158, 255, 0.3);
}

.download-btn:hover {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 158, 255, 0.4);
}

.faq-section {
    margin-top: 3rem;
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(26, 26, 46, 0.85);
    border: 1px solid rgba(64, 158, 255, 0.25);
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(10px);
}

.faq-item h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.faq-item p,
.faq-item ul {
    color: var(--color-text-muted);
}

.faq-item ul {
    margin-left: 1.2rem;
    list-style: disc;
}

.contact-card {
    margin-top: 1rem;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(64, 158, 255, 0.2);
    padding: 1.5rem;
    border-radius: 14px;
    box-shadow: var(--shadow-strong);
}

.content {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(64, 158, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-strong);
}

.content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--color-primary);
}

.content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
}

.content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.content p,
.content li {
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.highlight {
    background: rgba(64, 158, 255, 0.1);
    border-left: 4px solid var(--color-primary);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 10px 10px 0;
}

.meta-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact {
    background: rgba(64, 158, 255, 0.15);
    border: 1px solid rgba(64, 158, 255, 0.4);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.contact h2 {
    margin-top: 0;
}

.contact p {
    color: #ffffff;
}

.liability-limit {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.liability-limit strong,
.disclaimer strong,
.important {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 193, 7, 0.5);
}

.important {
    text-transform: uppercase;
    color: var(--color-warning);
    font-size: 1rem;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 1px;
    margin: 3rem 0;
    opacity: 0.5;
}

.back-link {
    margin-top: 3rem;
    text-align: center;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-accent);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(64, 158, 255, 0.3);
}

.back-link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(64, 158, 255, 0.4);
}

footer {
    background: var(--color-surface-strong);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(64, 158, 255, 0.2);
    padding: 2rem 0;
    margin-top: 4rem;
}

.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 {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 8px rgba(64, 158, 255, 0.4);
}

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

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

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

    .disclaimer,
    .cta-section,
    .premium-section,
    .content {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 2.5rem 1.5rem;
    }

    .meta-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}
