:root {
    --primary-dark: #0a0c12;
    --primary: #0f1117;
    --secondary: #1a1c24;
    --accent: #9f7aea;
    --accent-dark: #6b46c1;
    --accent-light: #b794f4;
    --gradient-1: linear-gradient(135deg, #6b46c1, #9f7aea);
    --gradient-2: linear-gradient(135deg, #0f1117, #1a1c24);
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --bg-dark: #0a0c12;
    --bg-card: rgba(18, 20, 28, 0.95);
    --border-color: rgba(159, 122, 234, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Навигация */
.navbar {
    background: rgba(10, 12, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(159, 122, 234, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary) !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-light) !important;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-gradient {
    background: linear-gradient(135deg, #6b46c1, #9f7aea);
    color: white;
}

.btn-glow {
    background: linear-gradient(135deg, #6b46c1, #9f7aea);
    color: white;
    box-shadow: 0 4px 20px rgba(107, 70, 193, 0.3);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(107, 70, 193, 0.5);
    color: white;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline-light:hover {
    border-color: var(--accent);
    background: rgba(107, 70, 193, 0.1);
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.hero .row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    margin-bottom: 24px;
}

.badge {
    background: rgba(107, 70, 193, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    color: white;
    font-size: 0.9rem;
    border: 1px solid rgba(159, 122, 234, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 3px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #9f7aea, #6b46c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.floating-card {
    position: absolute;
    background: rgba(18, 20, 28, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 24px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(159, 122, 234, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
    font-weight: 600;
}

.floating-card i {
    color: var(--accent);
}

.card-1 { top: 10%; left: -5%; }
.card-2 { top: 50%; right: -5%; }
.card-3 { bottom: 10%; left: 0; }

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(159,122,234,0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: rgba(107,70,193,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Почему мы */
.why-us-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    background: rgba(107,70,193,0.2);
    padding: 6px 20px;
    border-radius: 100px;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(159,122,234,0.3);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 24px;
    height: 100%;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6b46c1, #9f7aea);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Тарифы */
.tariffs-section {
    padding: 80px 0;
    background: var(--primary);
}

.tariff-categories {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 12px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(159,122,234,0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.category-btn.active {
    background: linear-gradient(135deg, #6b46c1, #9f7aea);
    color: white;
    border-color: transparent;
}

.tariff-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tariff-header {
    text-align: center;
    margin-bottom: 24px;
}

.tariff-icon {
    width: 64px;
    height: 64px;
    background: rgba(107,70,193,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin: 0 auto 16px;
}

.tariff-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.tariff-features {
    flex: 1;
    margin-bottom: 24px;
}

.tariff-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tariff-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
}

.tariff-features li i {
    color: var(--accent);
    width: 20px;
}

.btn-tariff {
    width: 100%;
    background: rgba(107,70,193,0.2);
    border: 1px solid var(--accent);
    color: white;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s;
}

.btn-tariff:hover {
    background: linear-gradient(135deg, #6b46c1, #9f7aea);
    border-color: transparent;
    color: white;
}

/* DDoS Section */
.ddos-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.ddos-features {
    margin-top: 24px;
}

.ddos-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.ddos-feature i {
    color: #48bb78;
    font-size: 1.25rem;
}

.ddos-feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.ddos-feature p {
    color: var(--text-muted);
    margin: 0;
}

.ddos-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ddos-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
}

.ddos-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.ddos-stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Отзывы */
.reviews-section {
    padding: 80px 0;
    background: var(--primary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 24px;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 16px;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: rgba(107,70,193,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
}

.review-author h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.review-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1c24, #2d1b4e);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Футер */
.footer {
    background: #0a0c12;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(159,122,234,0.1);
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--accent);
    color: white;
}

.footer h5 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links, .footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contacts li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contacts li {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contacts i {
    color: var(--accent);
    width: 16px;
}

.company-info {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom-link {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 24px;
}

.footer-bottom-link:hover {
    color: var(--accent);
}

/* Flash messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.alert {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .hero .row { flex-direction: column; }
    .hero-content { text-align: center; }
    .hero-description { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .ddos-stats { grid-template-columns: 1fr; }
    .tariff-categories { flex-direction: column; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .footer-bottom-link { margin: 0 12px; }
}