/* styles.css */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');


  :root {
            --primary-color: #6e44ff;
            --primary-dark: #5a36cc;
            --primary-light: #8c6bff;
            --accent-color: #ff6b6b;
            --accent-dark: #e05555;
            --dark-color: #121212;
            --darker-color: #0a0a0a;
            --light-color: #f8f9fa;
            --text-color: #e0e0e0;
            --text-muted: #a0a0a0;
            --border-color: #333;
            --card-bg: rgba(30, 30, 40, 0.7);
            --success-color: #4cd964;
            --gradient: linear-gradient(135deg, #6e44ff 0%, #ff6b6b 100%);
            --gradient-dark: linear-gradient(135deg, #5a36cc 0%, #e05555 100%);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            color: var(--text-color);
            line-height: 1.6;
            background-color: var(--darker-color);
            overflow-x: hidden;
            background: radial-gradient(ellipse at top, #1a1a2e, #0a0a0a);
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* Header Styles */
        header {
            background: rgba(18, 18, 24, 0.9);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(110, 68, 255, 0.2);
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
            font-size: 24px;
            font-weight: 700;
            color: white;
            text-decoration: none;
            position: relative;
        }
        
        .logo i {
            margin-right: 10px;
            font-size: 28px;
            color: var(--primary-color);
            text-shadow: 0 0 10px rgba(110, 68, 255, 0.5);
        }
        
        .logo::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient);
            transition: width 0.5s ease;
        }
        
        .logo:hover::after {
            width: 100%;
        }
        
        .nav-menu {
            display: flex;
            list-style: none;
        }
        
        .nav-menu li {
            margin-left: 25px;
            position: relative;
        }
        
        .nav-menu a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            transition: color 0.3s;
            padding: 5px 0;
            position: relative;
        }
        
        .nav-menu a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient);
            transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        .nav-menu a:hover::before {
            width: 100%;
        }
        
        .auth-buttons {
            display: flex;
            gap: 10px;
        }
        
        .btn {
            padding: 10px 20px;
            border-radius: 6px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            text-decoration: none;
            display: inline-block;
            text-align: center;
            border: none;
            position: relative;
            overflow: hidden;
        }
        
        .btn-outline {
            border: 1px solid var(--primary-color);
            color: var(--primary-color);
            background: transparent;
        }
        
        .btn-outline::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(110, 68, 255, 0.2), transparent);
            transition: left 0.7s;
        }
        
        .btn-outline:hover::before {
            left: 100%;
        }
        
        .btn-primary {
            background: var(--gradient);
            color: white;
            box-shadow: 0 4px 15px rgba(110, 68, 255, 0.4);
        }
        
        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(110, 68, 255, 0.6);
        }
        
        /* Hero Section - Уменьшенные отступы */
        .hero {
            padding: 30px 0 40px; /* Уменьшено в 2 раза */
            position: relative;
            overflow: hidden;
            min-height: 60vh; /* Уменьшена высота секции */
            display: flex;
            align-items: center;
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }
        
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 15px; /* Уменьшен отступ */
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            animation: textGlow 3s ease-in-out infinite alternate;
        }
        
        @keyframes textGlow {
            0% {
                text-shadow: 0 5px 15px rgba(110, 68, 255, 0.3);
            }
            100% {
                text-shadow: 0 5px 25px rgba(110, 68, 255, 0.6), 0 0 30px rgba(255, 107, 107, 0.4);
            }
        }
        
        .hero p {
            font-size: 1.3rem;
            margin-bottom: 20px; /* Уменьшен отступ */
            color: var(--text-muted);
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .hero-badges {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px; /* Уменьшен отступ */
            flex-wrap: wrap;
        }
        
        .badge {
            display: flex;
            align-items: center;
            background: rgba(30, 30, 40, 0.7);
            padding: 12px 20px;
            border-radius: 50px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(110, 68, 255, 0.2);
            backdrop-filter: blur(5px);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .badge:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }
        
        .badge i {
            color: var(--primary-color);
            margin-right: 10px;
            font-size: 1.2rem;
        }
        
        /* Canvas Background */
        #network-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
        
        /* Pricing Section - Уменьшенные отступы */
        .pricing {
            padding: 30px 0; /* Уменьшено в 2 раза */
            position: relative;
            z-index: 2;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 20px; /* Уменьшен отступ */
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            margin-bottom: 10px; /* Уменьшен отступ */
            color: white;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -8px; /* Уменьшен отступ */
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        }
        
        .section-title p {
            color: var(--text-muted);
            max-width: 600px;
            margin: 15px auto 0; /* Уменьшен отступ */
        }
        
        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            margin-bottom: 30px; /* Уменьшен отступ между рядами тарифов */
        }
        
        .pricing-card {
            background: var(--card-bg);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            display: flex;
            flex-direction: column;
            position: relative;
            border: 1px solid rgba(110, 68, 255, 0.2);
            backdrop-filter: blur(10px);
        }
        
        .pricing-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s ease;
        }
        
        .pricing-card:hover::before {
            transform: scaleX(1);
        }
        
        .pricing-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(110, 68, 255, 0.1);
        }
        
        .pricing-card.popular {
            border: 1px solid rgba(110, 68, 255, 0.5);
            transform: scale(1.05);
        }
        
        .pricing-card.popular::after {
            content: 'ПОПУЛЯРНЫЙ';
            position: absolute;
            top: 20px;
            right: -35px;
            background: var(--gradient);
            color: white;
            padding: 5px 40px;
            font-size: 0.8rem;
            font-weight: 600;
            transform: rotate(45deg);
            z-index: 2;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        


        .pricing-card.popular1 {
            border: 1px solid rgba(110, 68, 255, 0.5);
            transform: scale(1.05);
        }
        
        .pricing-card.popular1::after {
            content: 'РЕКОМЕНДУЕМ';
            position: absolute;
            top: 20px;
            right: -35px;
            background: var(--gradient);
            color: white;
            padding: 5px 40px;
            font-size: 0.8rem;
            font-weight: 600;
            transform: rotate(45deg);
            z-index: 2;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .pricing-header {
            padding: 25px 20px; /* Уменьшен padding */
            text-align: center;
            background: rgba(20, 20, 30, 0.7);
            color: white;
            position: relative;
        }
        
        .pricing-name {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 8px; /* Уменьшен отступ */
        }
        
        .pricing-description {
            font-size: 0.9rem;
            opacity: 0.8;
            margin-bottom: 12px; /* Уменьшен отступ */
        }
        
        .pricing-price {
            font-size: 2.5rem; /* Немного уменьшен размер */
            font-weight: 700;
            margin-bottom: 5px;
            display: flex;
            align-items: flex-start;
            justify-content: center;
        }
        
        .currency {
            font-size: 1.3rem; /* Немного уменьшен размер */
            margin-right: 5px;
            margin-top: 6px; /* Уменьшен отступ */
        }
        
        .pricing-period {
            font-size: 0.9rem;
            opacity: 0.8;
        }
        
        .pricing-features {
            padding: 30px 20px 20px; /* Уменьшен padding */
            flex-grow: 1;
        }
        
        .pricing-features ul {
            list-style: none;
        }
        
        .pricing-features li {
            padding: 10px 0; /* Уменьшен padding */
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            position: relative;
            transition: all 0.3s;
        }
        
        .pricing-features li:hover {
            padding-left: 8px; /* Уменьшен отступ */
            background: rgba(110, 68, 255, 0.05);
        }
        
        .pricing-features li:last-child {
            border-bottom: none;
        }
        
        .feature-icon {
            margin-right: 10px; /* Уменьшен отступ */
            color: var(--success-color);
            font-size: 1rem; /* Немного уменьшен размер */
        }
        
        .pricing-footer {
            padding: 0 20px 20px; /* Уменьшен padding */
            text-align: center;
        }
        
        .period-toggle {
            display: flex;
            background: rgba(30, 30, 40, 0.8);
            border-radius: 50px;
            padding: 5px;
            margin-bottom: 15px; /* Уменьшен отступ */
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(110, 68, 255, 0.2);
        }
        
        .period-toggle button {
            padding: 7px 12px; /* Уменьшен padding */
            border: none;
            background: transparent;
            border-radius: 50px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            flex: 1;
            font-size: 0.85rem; /* Немного уменьшен размер */
            color: var(--text-color);
        }
        
        .period-toggle button.active {
            background: var(--gradient);
            color: white;
            box-shadow: 0 2px 10px rgba(110, 68, 255, 0.3);
        }
        
        .btn-buy {
            background: var(--gradient);
            color: white;
            border: none;
            width: 100%;
            padding: 12px; /* Уменьшен padding */
            font-size: 0.95rem; /* Немного уменьшен размер */
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.4s;
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(110, 68, 255, 0.3);
        }
        
        .btn-buy::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: 0.5s;
        }
        
        .btn-buy:hover::before {
            left: 100%;
        }
        
        .btn-buy:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(110, 68, 255, 0.5);
        }
        
        /* Monthly-only pricing cards */
        .monthly-pricing .pricing-card .pricing-footer .period-toggle {
            display: none; /* Скрываем переключатель периодов */
        }
        
        .monthly-pricing .pricing-card .pricing-price .price-amount {
            /* Устанавливаем цену за месяц по умолчанию */
            content: attr(data-price-month);
        }
        
        .monthly-pricing .pricing-card .pricing-period {
            /* Устанавливаем период "в месяц" по умолчанию */
            content: attr(data-period-month);
        }
        
        /* Features Section */
        .features {
            padding: 60px 0; /* Уменьшен padding */
            position: relative;
            overflow: hidden;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px; /* Уменьшен gap */
            position: relative;
            z-index: 1;
        }
        
        .feature-card {
            text-align: center;
            padding: 30px 20px; /* Уменьшен padding */
            background: var(--card-bg);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border: 1px solid rgba(110, 68, 255, 0.2);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }
        
        .feature-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(110, 68, 255, 0.1) 0%, transparent 70%);
            transform: scale(0);
            transition: transform 0.5s ease;
        }
        
        .feature-card:hover::before {
            transform: scale(1);
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 40px rgba(110, 68, 255, 0.1);
        }
        
        .feature-icon-large {
            font-size: 2.5rem; /* Уменьшен размер */
            color: var(--primary-color);
            margin-bottom: 20px; /* Уменьшен отступ */
            display: inline-block;
            padding: 15px; /* Уменьшен padding */
            border-radius: 50%;
            background: rgba(110, 68, 255, 0.1);
            position: relative;
            z-index: 2;
        }
        
        .feature-card h3 {
            margin-bottom: 12px; /* Уменьшен отступ */
            font-size: 1.3rem; /* Немного уменьшен размер */
            color: white;
            position: relative;
            z-index: 2;
        }
        
        .feature-card p {
            color: var(--text-muted);
            position: relative;
            z-index: 2;
            font-size: 0.95rem; /* Немного уменьшен размер */
        }
        
        /* Footer */
        footer {
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
            color: white;
            padding: 60px 0 20px; /* Уменьшен padding */
            position: relative;
            border-top: 1px solid rgba(110, 68, 255, 0.2);
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px; /* Уменьшен gap */
            margin-bottom: 30px; /* Уменьшен отступ */
            position: relative;
            z-index: 1;
        }
        
        .footer-column h3 {
            margin-bottom: 20px; /* Уменьшен отступ */
            font-size: 1.2rem; /* Немного уменьшен размер */
            position: relative;
            display: inline-block;
        }
        
        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: -6px; /* Уменьшен отступ */
            left: 0;
            width: 35px; /* Уменьшена ширина */
            height: 3px;
            background: var(--gradient);
            border-radius: 2px;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px; /* Уменьшен отступ */
        }
        
        .footer-links a {
            color: var(--text-muted);
            text-decoration: none;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            font-size: 0.9rem; /* Немного уменьшен размер */
        }
        
        .footer-links a i {
            margin-right: 8px; /* Уменьшен отступ */
            font-size: 0.8rem; /* Немного уменьшен размер */
            transition: transform 0.3s;
        }
        
        .footer-links a:hover {
            color: white;
            transform: translateX(3px); /* Уменьшено смещение */
        }
        
        .footer-links a:hover i {
            transform: rotate(90deg);
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px; /* Уменьшен padding */
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-muted);
            font-size: 0.85rem; /* Немного уменьшен размер */
            position: relative;
            z-index: 1;
        }
        
        /* Floating particles */
        .floating-particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }
        
        .particle {
            position: absolute;
            background: rgba(110, 68, 255, 0.3);
            border-radius: 50%;
            animation: float 15s infinite linear;
        }
        
        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-1000px) rotate(720deg);
                opacity: 0;
            }
        }
        
        /* Responsive Styles */
        @media (max-width: 1200px) {
            .pricing-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .pricing-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .nav-menu {
                display: none;
            }
        }
        
        @media (max-width: 768px) {
            .pricing-grid {
                grid-template-columns: 1fr;
            }
            
            .features-grid {
                grid-template-columns: 1fr;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero-badges {
                flex-direction: column;
                align-items: center;
            }
        }
        
        @media (max-width: 576px) {
            .footer-grid {
                grid-template-columns: 1fr;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
        }
        
        /* Animation for cards */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .pricing-card, .feature-card {
            animation: fadeInUp 0.6s ease-out;
        }
        
        /* Stagger animation for cards */
        .pricing-card:nth-child(1) { animation-delay: 0.1s; }
        .pricing-card:nth-child(2) { animation-delay: 0.2s; }
        .pricing-card:nth-child(3) { animation-delay: 0.3s; }
        .pricing-card:nth-child(4) { animation-delay: 0.4s; }
        .pricing-card:nth-child(5) { animation-delay: 0.5s; }
        .pricing-card:nth-child(6) { animation-delay: 0.6s; }
        .pricing-card:nth-child(7) { animation-delay: 0.7s; }
        .pricing-card:nth-child(8) { animation-delay: 0.8s; }
        .pricing-card:nth-child(9) { animation-delay: 0.9s; }
        .pricing-card:nth-child(10) { animation-delay: 1.0s; }
        .pricing-card:nth-child(11) { animation-delay: 1.1s; }
        .pricing-card:nth-child(12) { animation-delay: 1.2s; }
        
        /* Scroll animation */
        .scroll-reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        .scroll-reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }