:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --bg: #0f0f14;
    --bg-card: #1a1a24;
    --bg-card-hover: #22223a;
    --text: #e4e4eb;
    --text-muted: #9494a8;
    --accent: #22d3ee;
    --gradient: linear-gradient(135deg, #6366f1, #22d3ee);
}

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

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

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

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

.hero::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 100px;
    font-size: 14px;
    color: var(--primary-light);
    margin-bottom: 24px;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(99,102,241,0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99,102,241,0.4);
}

.cta-btn svg { width: 24px; height: 24px; }

.cta-btn-secondary {
    background: rgba(255,255,255,0.1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.15);
}
.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

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

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

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: none;
    -webkit-text-fill-color: var(--text);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 48px;
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 32px;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99,102,241,0.2);
}

.feature-icon {
    width: 48px; height: 48px;
    background: rgba(99,102,241,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Tariffs */
.tariffs { padding: 60px 0 80px; }

.tariff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.tariff-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.tariff-card.featured {
    border-color: rgba(99,102,241,0.4);
    box-shadow: 0 0 30px rgba(99,102,241,0.1);
}

.tariff-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-light);
}

.tariff-price {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.tariff-period {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.tariff-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.tariff-features li {
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.tariff-features li::before {
    content: '✓ ';
    color: var(--accent);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.step {
    text-align: center;
}

.step-number {
    width: 56px; height: 56px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* Support */
.support {
    padding: 60px 0;
    text-align: center;
}

.support-card {
    background: var(--bg-card);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 20px;
    padding: 48px;
    max-width: 600px;
    margin: 0 auto;
}

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.support-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.support-hours {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.support-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 12px;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.support-btn:hover {
    background: rgba(99,102,241,0.2);
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

.support-btn-icon {
    font-size: 1.2rem;
}

.support-links a {
    color: var(--primary-light);
    text-decoration: none;
}

.support-links a:hover {
    text-decoration: underline;
}

/* Documents section */
.documents { padding: 40px 0 60px; }

.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
}

footer a { color: var(--primary-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.legal-info {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.04);
    font-size: 0.8rem;
}

/* Doc page styles */
.doc-header {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.doc-header a {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.doc-header a:hover { text-decoration: underline; }

.doc-header h1 {
    font-size: 1.4rem;
    margin-top: 12px;
    background: none;
    -webkit-text-fill-color: var(--text);
}

.doc-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    line-height: 1.8;
}

.doc-content h1, .doc-content h2, .doc-content h3 {
    background: none;
    -webkit-text-fill-color: var(--text);
    margin-top: 32px;
    margin-bottom: 16px;
}

.doc-content h1 { font-size: 1.6rem; }
.doc-content h2 { font-size: 1.3rem; }
.doc-content h3 { font-size: 1.1rem; }

.doc-content p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.doc-content ul, .doc-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
    color: var(--text-muted);
}

.doc-content li {
    margin-bottom: 8px;
}

.doc-content a {
    color: var(--primary-light);
}

@media (max-width: 600px) {
    .hero { padding: 60px 0 48px; }
    .features-grid, .tariff-grid, .doc-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
}

/* 404 Error Page */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
}
.error-code {
    font-size: 8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}
.error-page h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.error-page p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gradient);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }

/* Language switcher */
.top-nav {
    padding: 12px 0;
    text-align: right;
}
.lang-switch {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 14px;
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 8px;
    transition: all 0.2s;
}
.lang-switch:hover {
    background: rgba(99,102,241,0.15);
    border-color: var(--primary-light);
}
.doc-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
