@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #07070a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --accent: #22d3ee; 
    --accent-hover: #06b6d4;
    --accent-glow: rgba(34, 211, 238, 0.3);
    --accent-secondary: #8b5cf6; 
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --font: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Mouse Glow */
.mouse-glow {
    position: fixed;
    top: 0; left: 0;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
}

/* Base */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
a { text-decoration: none; color: inherit; }

/* Utilities */
.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.text-accent { color: var(--accent); }
.gradient-text {
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background effects */
.bg-glow {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 60%);
    opacity: 0.15;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}
.bg-glow-1 { top: -200px; left: -200px; }
.bg-glow-2 { top: 30%; right: -200px; background: radial-gradient(circle, var(--accent) 0%, transparent 60%); }
.bg-glow-3 { bottom: -200px; left: 20%; }

#particles-js {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.particle {
    position: absolute;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(1px);
}
@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { transform: translateY(-1000px) rotate(360deg); opacity: 0; }
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600; font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -10px var(--accent);
    position: relative; overflow: hidden; z-index: 1;
    cursor: pointer; border: none;
}
.btn::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent));
    opacity: 0; transition: opacity 0.3s ease; z-index: -1;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 15px 25px -10px var(--accent); }
.btn-small { padding: 10px 24px; font-size: 0.95rem; }
.btn-large { padding: 20px 40px; font-size: 1.2rem; border-radius: 16px; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    box-shadow: none;
}
.btn-outline::before { display: none; }
.btn-outline:hover { background: var(--bg-card); border-color: var(--accent); box-shadow: 0 0 15px rgba(34,211,238,0.2); }

.pulse-effect { animation: pulseBtn 2s infinite; }
@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

/* Header & Nav */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; padding: 20px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    padding: 12px 0;
    background: rgba(7, 7, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-container {
    display: flex; justify-content: space-between; align-items: center;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.5px; }
.logo-icon {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    border-radius: 8px;
    position: relative;
}
.logo-icon::after {
    content: ''; position: absolute; inset: 4px;
    background: var(--bg); border-radius: 4px;
}
.logo-icon::before {
    content: ''; position: absolute; inset: 10px;
    background: var(--accent); border-radius: 2px;
}
.nav { display: flex; gap: 30px; }
.nav a {
    color: var(--text-muted); font-size: 0.95rem; font-weight: 500;
    transition: color 0.3s ease; position: relative;
}
.nav a:hover { color: #fff; }
.nav a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -4px; left: 0; background: var(--accent);
    transition: width 0.3s ease;
}
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.mobile-menu-btn {
    display: none; flex-direction: column; gap: 6px;
    background: transparent; border: none; cursor: pointer; z-index: 1001;
}
.mobile-menu-btn span {
    display: block; width: 24px; height: 2px; background: #fff;
    transition: all 0.3s ease;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
    background: rgba(7, 7, 10, 0.95); backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    z-index: 999; padding: 100px 30px;
    display: flex; flex-direction: column; gap: 24px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-menu.active { right: 0; }
.mobile-menu a { font-size: 1.2rem; font-weight: 600; color: var(--text-muted); }
.mobile-menu a:hover { color: #fff; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 160px 0 80px; position: relative;
}
.badge {
    display: inline-block; padding: 8px 16px;
    background: rgba(34, 211, 238, 0.1); border: 1px solid var(--accent);
    color: var(--accent); border-radius: 30px; font-size: 0.85rem;
    font-weight: 600; margin-bottom: 30px; letter-spacing: 0.5px;
}
.hero h1 { font-size: 4.5rem; margin-bottom: 24px; }
.hero p.subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; }
.hero-features {
    display: flex; justify-content: center; gap: 30px;
    margin-top: 30px; flex-wrap: wrap; font-size: 1rem; color: var(--text-muted); font-weight: 500;
}
.hero-features span { display: flex; align-items: center; gap: 10px; }
.icon-check {
    width: 24px; height: 24px; background: rgba(34, 211, 238, 0.1);
    color: var(--accent); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 12px;
}

/* App Preview */
.hero-app-preview {
    margin-top: 60px;
    max-width: 600px; margin-left: auto; margin-right: auto;
    border-radius: 16px; overflow: hidden;
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(34, 211, 238, 0.1);
    backdrop-filter: blur(20px); transform: perspective(1000px) rotateX(2deg);
}
.app-header {
    background: rgba(255,255,255,0.05); padding: 12px 20px;
    display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.window-controls { display: flex; gap: 8px; }
.window-controls span { width: 12px; height: 12px; border-radius: 50%; background: #4a4a5a; }
.window-controls span:nth-child(1) { background: #ff5f56; }
.window-controls span:nth-child(2) { background: #ffbd2e; }
.window-controls span:nth-child(3) { background: #27c93f; }
.window-title { flex-grow: 1; text-align: center; color: var(--text-muted); font-size: 0.85rem; font-weight: 500; }
.app-body { padding: 40px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.connection-status { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 600; font-size: 1.1rem; }
.status-indicator { width: 12px; height: 12px; background: #27c93f; border-radius: 50%; position: relative; }
.status-indicator .pulse {
    position: absolute; top: -6px; left: -6px; right: -6px; bottom: -6px;
    border: 2px solid #27c93f; border-radius: 50%;
    animation: statusPulse 2s infinite; opacity: 0;
}
@keyframes statusPulse { 0% { transform: scale(0.5); opacity: 0; } 50% { opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0; } }
.toggle-btn-wrapper { background: rgba(0,0,0,0.3); padding: 20px; border-radius: 50%; box-shadow: inset 0 2px 10px rgba(0,0,0,0.5); }
.toggle-btn {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s;
}
.toggle-btn:hover { transform: scale(1.05); }
.toggle-circle { width: 30px; height: 30px; border: 3px solid #fff; border-top-color: transparent; border-radius: 50%; }
.server-info { display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,0.03); padding: 15px 25px; border-radius: 12px; border: 1px solid var(--border); width: 100%; justify-content: center; }
.server-info .flag { font-size: 1.5rem; }
.server-text { display: flex; flex-direction: column; text-align: left; }
.server-text strong { font-size: 0.95rem; }
.server-text span { font-size: 0.8rem; color: var(--text-muted); }
.protocol-badge { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(139, 92, 246, 0.3); }

/* Sections Common */
.section-padding { padding: 100px 0; position: relative; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; }

/* Grid Cards */
.advantages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.adv-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 20px; padding: 40px;
    backdrop-filter: blur(10px); transition: all 0.4s ease;
    transform-style: preserve-3d;
}
.adv-card:hover { border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.adv-icon { font-size: 2.5rem; margin-bottom: 20px; text-shadow: 0 0 20px rgba(255,255,255,0.2); }
.adv-card h3 { font-size: 1.5rem; margin-bottom: 16px; color: #fff; }
.adv-card p { color: var(--text-muted); }

/* Instructions */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 30px; position: relative; transition: all 0.3s; }
.step-card:hover { transform: translateY(-5px); border-color: var(--accent-secondary); }
.step-number {
    position: absolute; top: -20px; left: 30px; width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem; box-shadow: 0 5px 15px rgba(34, 211, 238, 0.3);
}
.step-card h3 { margin-top: 10px; margin-bottom: 12px; font-size: 1.25rem; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Secondary CTA */
.cta-box {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 24px;
    padding: 80px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-glow {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 80%; height: 100%; background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.15) 0%, transparent 70%); pointer-events: none;
}
.cta-box h2 { font-size: 2.5rem; margin-bottom: 20px; }
.cta-box p { color: var(--text-muted); max-width: 600px; margin: 0 auto 30px; font-size: 1.1rem; }

/* Tariffs */
.tariffs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; }
.tariff-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
    padding: 40px; text-align: center; transition: all 0.4s ease; position: relative;
}
.tariff-card:hover { transform: translateY(-10px); border-color: rgba(255,255,255,0.2); }
.tariff-card.popular {
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.1), rgba(0, 0, 0, 0));
    border-color: var(--accent-secondary); transform: scale(1.05); box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.tariff-card.popular:hover { transform: scale(1.05) translateY(-5px); }
.badge-popular {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #f43f5e, #ec4899); color: #fff; padding: 6px 16px;
    border-radius: 20px; font-size: 0.85rem; font-weight: 700; box-shadow: 0 5px 15px rgba(244, 63, 94, 0.4);
}
.tariff-title { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.tariff-price { font-size: 3rem; font-weight: 800; margin-bottom: 10px; }
.tariff-price span { font-size: 1rem; color: var(--text-muted); }
.tariff-subtitle { color: var(--accent); font-weight: 600; margin-bottom: 30px; min-height: 24px; }
.tariff-features { list-style: none; margin-bottom: 40px; text-align: left; }
.tariff-features li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.tariff-features li::before { content: "✓"; color: var(--accent); font-weight: bold; background: rgba(34,211,238,0.1); width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 10px; }
.tariff-card .btn { width: 100%; }
.tariff-footer { text-align: center; margin-top: 40px; }
.link-accent { color: var(--accent); font-weight: 600; text-decoration: none; border-bottom: 1px dashed var(--accent); transition: all 0.3s; padding-bottom: 2px; }
.link-accent:hover { color: #fff; border-color: #fff; }

/* Platforms */
.platforms-text { text-align: center; max-width: 600px; margin: 0 auto 40px; color: var(--text-muted); }
.platforms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    padding: 30px 20px; text-align: center; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.platform-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 60%); opacity: 0; transition: 0.3s; }
.platform-card:hover::before { opacity: 1; }
.platform-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.platform-icon { font-size: 3rem; margin-bottom: 20px; position: relative; z-index: 1; }
.platform-card h3 { margin-bottom: 20px; position: relative; z-index: 1; }
.platform-btn {
    display: inline-block; padding: 10px 20px; border: 1px solid var(--border); color: var(--text-main);
    border-radius: 8px; font-weight: 600; font-size: 0.9rem; transition: all 0.3s ease; position: relative; z-index: 1;
}
.platform-card:hover .platform-btn { background: rgba(34, 211, 238, 0.1); border-color: var(--accent); color: var(--accent); }
.primary-btn { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.highlight-card { border-color: rgba(34, 211, 238, 0.3); background: rgba(34, 211, 238, 0.02); }

/* Reviews */
.reviews-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.review-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    padding: 30px; width: calc(33.333% - 16px); display: flex; flex-direction: column;
    transition: all 0.3s;
}
.review-card:hover { border-color: var(--accent-secondary); background: rgba(255,255,255,0.05); }
.review-stars { color: #fbbf24; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { color: var(--text-muted); font-style: italic; margin-bottom: 20px; flex-grow: 1; line-height: 1.7; }
.review-author { font-weight: 600; display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #fff; font-size: 14px; }

/* Guarantees */
.guarantees-wrapper {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05), rgba(0,0,0,0)); border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 24px; padding: 60px 40px; text-align: center; max-width: 800px; margin: 0 auto; position: relative; overflow: hidden;
}
.guarantees-wrapper::before { content:''; position: absolute; inset:0; background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>'); opacity: 0.5; }
.guarantees-wrapper .adv-icon { font-size: 4rem; color: var(--accent); margin-bottom: 20px; position:relative; z-index:1; }
.guarantees-wrapper p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 20px; position:relative; z-index:1; }
.guarantee-badge {
    display: inline-block; padding: 10px 24px; background: rgba(34, 211, 238, 0.1);
    color: var(--accent); border: 1px solid var(--accent); border-radius: 30px;
    font-weight: 600; margin-top: 20px; position:relative; z-index:1;
}

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; background: rgba(0,0,0,0.5); }
.footer-content { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.9rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.faq-item:hover { border-color: rgba(34, 211, 238, 0.3); }
.faq-item.active { border-color: var(--accent); background: rgba(34, 211, 238, 0.05); }
.faq-question { padding: 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.faq-question h3 { font-size: 1.1rem; font-weight: 600; margin: 0; }
.faq-icon { font-size: 1.5rem; color: var(--accent); transition: transform 0.3s ease; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; padding: 0 24px; transition: all 0.4s ease; opacity: 0; }
.faq-item.active .faq-answer { padding: 0 24px 24px; max-height: 500px; opacity: 1; }
.faq-answer p { color: var(--text-muted); font-size: 1rem; }

/* Animations & States */
.animate-on-scroll { opacity: 0; transition: opacity 0.5s ease; }
.animate-on-scroll.visible { opacity: 1; }
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.visible, .animate-on-scroll.visible .fade-in-up { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Responsive */
@media (max-width: 992px) {
    .nav { display: none; }
    .header-btn { display: none; }
    .mobile-menu-btn { display: flex; }
    .advantages-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .tariffs-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .tariff-card.popular { transform: scale(1); }
    .tariff-card.popular:hover { transform: translateY(-5px); }
    .platforms-grid { grid-template-columns: repeat(2, 1fr); }
    .review-card { width: calc(50% - 12px); }
    .hero h1 { font-size: 3rem; }
    .footer-content { flex-direction: column; gap: 20px; }
}
@media (max-width: 576px) {
    .steps-grid { grid-template-columns: 1fr; }
    .platforms-grid { grid-template-columns: 1fr; }
    .review-card { width: 100%; }
    .hero h1 { font-size: 2.2rem; }
}
