/* styles.css — Shadows VPN "Black Ops" Edition v2.2 (FIXED) */

:root {
    --bg-black: #030303;
    --bg-darker: #050508;
    --accent: #7c5cff;
    --accent-glow: rgba(124, 92, 255, 0.4);
    --accent-ultra: #a274ff;
    --text-primary: #ffffff;
    --text-secondary: #8f91a6;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- World Map Section --- */

.map-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0.8;
}

.world-map {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

.land {
    fill: rgba(255, 255, 255, 0.05); /* Еле заметные континенты */
    transition: var(--transition);
}

.map-container:hover .land {
    fill: rgba(255, 255, 255, 0.08); /* Чуть светлее при наведении на карту */
}

/* Маркеры */
.map-marker {
    cursor: pointer;
    transition: var(--transition);
}

/* Активный сервер (Франция) */
.marker-active circle {
    fill: var(--accent);
    filter: drop-shadow(0 0 10px var(--accent));
}

.marker-active text {
    fill: #fff;
    font-size: 10px;
    font-weight: 700;
    text-shadow: 0 0 5px #000;
    opacity: 0.9;
}

/* Анимация пульсации (Ping) */
.ping {
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    transform-origin: center;
    opacity: 0.5;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Будущие серверы */
.marker-future circle {
    fill: #333;
    stroke: #555;
    stroke-width: 1;
}

.marker-future text {
    fill: #555;
    font-size: 8px;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0; /* Скрыты по умолчанию */
    transition: var(--transition);
}

.marker-future:hover circle {
    fill: #fff;
}

.marker-future:hover text {
    opacity: 1; /* Показываем "Soon" при наведении */
    transform: translateY(-5px);
}

/* Responsive Map */
@media (max-width: 768px) {
    .marker-active text { font-size: 14px; } /* Крупнее текст на мобилке */
}

/* Анимированный фон */
.bg-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 15% 15%, #110a24 0%, transparent 45%),
                radial-gradient(circle at 85% 85%, #051a2e 0%, transparent 45%);
}

.bg-canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

/* Header (Absolute Position) */
header {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
}

.nav-container {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), #4b33c7);
    border-radius: 8px;
    box-shadow: 0 0 15px var(--accent-glow);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Основные секции */
section {
    padding: 120px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- ИСПРАВЛЕНИЕ 1: Центровка заголовков --- */
.section-head {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-head h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-head p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 150px;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    padding: 0 20px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(124, 92, 255, 0.1);
    border: 1px solid rgba(124, 92, 255, 0.2);
    border-radius: 100px;
    color: var(--accent-ultra);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.8rem, 9vw, 5.5rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -2px;
    background: linear-gradient(to bottom, #fff 50%, rgba(255,255,255,0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 35px;
}

.t-purple {
    background: linear-gradient(135deg, var(--accent-ultra), #5035ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- ИСПРАВЛЕНИЕ 2: Зеленый текст в консоли --- */
.t-green {
    color: #28c840;
    text-shadow: 0 0 10px rgba(40, 200, 64, 0.5);
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Buttons */
.btn {
    padding: 18px 40px;
    border-radius: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 15px 35px rgba(124, 92, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px var(--accent-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Console */
.console-preview {
    margin: 80px auto 0;
    background: #000;
    border: 1px solid #1a1a1a;
    border-radius: 24px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    max-width: 750px;
}

.console-header { display: flex; gap: 10px; margin-bottom: 20px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.console-body { font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; color: #666; min-height: 120px; }
.console-line { margin-bottom: 8px; }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.price-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 50px 40px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.price-card.featured {
    border: 1px solid var(--accent);
    background: linear-gradient(180deg, rgba(124, 92, 255, 0.05) 0%, transparent 100%);
    box-shadow: 0 20px 60px rgba(124, 92, 255, 0.1);
}

.price-card h3 { font-size: 2rem; margin-bottom: 10px; letter-spacing: -1px; }
.price-value { font-size: 4rem; font-weight: 700; margin: 30px 0; line-height: 1; }
.price-value span { font-size: 1.2rem; color: var(--text-secondary); font-weight: 400; }

.feature-list { list-style: none; margin-bottom: 40px; flex-grow: 1; }
.feature-list li {
    margin-bottom: 18px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
}

.feature-list li strong { color: var(--text-primary); }
.feature-list li::before {
    content: "→";
    color: var(--accent-ultra);
    font-weight: bold;
}

/* FAQ */
.faq-item {
    cursor: pointer;
    margin-bottom: 20px;
    transition: var(--transition);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-answer {
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    header { top: 15px; }
    .nav-container { padding: 10px 20px; }
    .nav-links { display: none; }
    h1 { font-size: 3.2rem; }
    .price-value { font-size: 3rem; }
    section { padding: 80px 5%; }
}
