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

:root {
    --color-bg: #0a0a0f;
    --color-surface: #12121a;
    --color-surface-2: #1a1a26;
    --color-border: #2a2a3a;
    --color-text: #e8e8f0;
    --color-text-muted: #8888a0;
    --color-primary: #6c5ce7;
    --color-primary-hover: #7c6ef7;
    --color-accent: #00cec9;
    --color-accent-glow: rgba(108, 92, 231, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

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

.lang-toggle {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 6px 14px;
    cursor: pointer;
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}

.lang-toggle:hover {
    background: var(--color-surface);
    border-color: var(--color-primary);
}

/* Hero */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    text-align: center;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-meta {
    display: flex;
    justify-content: center;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars svg {
    width: 18px;
    height: 18px;
    color: #fbbf24;
}

.stars .star-half {
    opacity: 0.4;
}

.rating-text {
    font-weight: 700;
    color: var(--color-text);
}

.rating-sep {
    opacity: 0.3;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

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

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.3);
}

.btn-secondary {
    background: var(--color-surface-2);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

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

/* Sections */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 56px;
}

/* Features */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.price-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
}

.price-card-featured {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(108, 92, 231, 0.15);
    transform: scale(1.03);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-card-header {
    text-align: center;
    margin-bottom: 28px;
}

.price-card-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
}

.price-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.price-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.6;
}

/* Download */
.download {
    padding: 100px 0;
    text-align: center;
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 40px 0;
}

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

.footer-copy {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .price-card-featured {
        transform: none;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

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

@media (max-width: 1024px) and (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
