@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-bg: #0a0a1a;
    --dark-card: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Анимированный фон */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    animation: float 20s infinite;
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-duration: 15s; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-duration: 18s; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; top: 40%; animation-duration: 22s; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; top: 60%; animation-duration: 25s; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; top: 30%; animation-duration: 20s; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; top: 70%; animation-duration: 17s; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; top: 50%; animation-duration: 19s; animation-delay: 2s; }
.particle:nth-child(8) { left: 80%; top: 20%; animation-duration: 23s; animation-delay: 4s; }
.particle:nth-child(9) { left: 85%; top: 90%; animation-duration: 21s; animation-delay: 1s; }
.particle:nth-child(10) { left: 15%; top: 60%; animation-duration: 16s; animation-delay: 3s; }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(100px, -100px) scale(1.2);
    }
    50% {
        transform: translate(-50px, 50px) scale(0.8);
    }
    75% {
        transform: translate(75px, 100px) scale(1.1);
    }
}

/* Сетка на фоне */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Герой секция */
.hero {
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.badge-icon {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    gap: 48px;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Визуал героя - Network Visualization */
.hero-visual {
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.network-visualization {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.network-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
}

.network-node {
    animation: node-pulse 2s ease-in-out infinite;
}

.central-node {
    animation: central-pulse 3s ease-in-out infinite;
}

.pulse-circle {
    animation: pulse-expand 2s ease-out infinite;
}

@keyframes node-pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes central-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(102, 126, 234, 1));
    }
}

@keyframes pulse-expand {
    0% {
        r: 35;
        opacity: 0.8;
    }
    100% {
        r: 60;
        opacity: 0;
    }
}

.network-line {
    animation: line-glow 3s ease-in-out infinite;
}

@keyframes line-glow {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.8;
    }
}

.demo-container-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    min-height: 500px;
}

.demo-left-section {
    flex: 0 0 auto;
    width: 100%;
    max-width: 600px;
    animation: float-slow 6s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Demo Checker Section */
.demo-checker-section {
    margin-top: 40px;
}

.demo-container-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    min-height: 500px;
}

.demo-left-section {
    flex: 0 0 auto;
    width: 100%;
    max-width: 600px;
}

.demo-window {
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 100px rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(20px);
}

.demo-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red { background: #ff5f56; }
.control-dot.yellow { background: #ffbd2e; }
.control-dot.green { background: #27c93f; }

.window-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.demo-content-left {
    padding: 40px 30px;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.proxy-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.proxy-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.2);
}

.proxy-input::placeholder {
    color: rgba(160, 160, 184, 0.5);
}

.demo-connect-btn {
    position: relative;
    padding: 18px 40px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: visible;
}

.demo-connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.demo-connect-btn:active {
    transform: scale(0.98);
}

.demo-connect-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

.btn-text {
    position: relative;
    z-index: 2;
}

.energy-canvas-horizontal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.proxy-result-cards {
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    opacity: 0;
}

.proxy-result-cards.show {
    animation: cardsAppear 0.6s ease forwards;
}

@keyframes cardsAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 15, 35, 0.95) 100%);
    border: 2px solid rgba(67, 233, 123, 0.3);
    border-radius: 16px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    animation: cardSlideIn 0.6s ease backwards;
    box-shadow: 0 10px 40px rgba(67, 233, 123, 0.15);
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.result-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(67, 233, 123, 0.6);
    box-shadow: 0 15px 50px rgba(67, 233, 123, 0.25);
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.result-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #43e97b, #38f9d7, #43e97b);
    background-size: 200% 200%;
    border-radius: 16px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
    opacity: 0.4;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    stroke: #43e97b;
    filter: drop-shadow(0 0 10px rgba(67, 233, 123, 0.6));
}

.card-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
}

.card-value {
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    word-wrap: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.card-flag {
    width: 50px;
    height: 33px;
    border-radius: 6px;
    margin: 8px auto 0;
    display: block;
    object-fit: cover;
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

.ip-value {
    font-family: 'Courier New', monospace;
    color: #43e97b;
    font-size: 14px;
}

.proxy-type-badge {
    background: var(--primary-gradient);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    margin: 3px auto 0;
    white-space: nowrap;
}

@keyframes electricFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes electricPulse {
    0%, 100% { 
        box-shadow: 0 0 40px rgba(67, 233, 123, 0.3), inset 0 0 60px rgba(67, 233, 123, 0.05);
    }
    50% { 
        box-shadow: 0 0 60px rgba(67, 233, 123, 0.5), inset 0 0 80px rgba(67, 233, 123, 0.1);
    }
}

.electric-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(67, 233, 123, 0.15) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(67, 233, 123, 0.3);
    position: relative;
}

.result-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #43e97b, transparent);
    animation: scanLine 2s linear infinite;
}

@keyframes scanLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.status-indicator {
    position: relative;
    width: 16px;
    height: 16px;
    background: #43e97b;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(67, 233, 123, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.5);
    animation: pulse-green 1.5s ease-in-out infinite;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid #43e97b;
    border-radius: 50%;
    animation: ringExpand 2s ease-out infinite;
}

@keyframes ringExpand {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    100% {
        width: 300%;
        height: 300%;
        opacity: 0;
    }
}

@keyframes pulse-green {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 30px rgba(67, 233, 123, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.5);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
        box-shadow: 0 0 50px rgba(67, 233, 123, 1), inset 0 0 15px rgba(255, 255, 255, 0.8);
    }
}

.status-text {
    font-weight: 700;
    color: #43e97b;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(67, 233, 123, 0.6);
    animation: textFlicker 3s ease-in-out infinite;
}

@keyframes textFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.flag-section {
    margin-bottom: 25px;
}

.flag-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.6s ease;
}

.flag-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: flagGlowPulse 2s ease-in-out infinite;
}

@keyframes flagGlowPulse {
    0%, 100% { 
        width: 100%;
        height: 100%;
        opacity: 0.6;
    }
    50% { 
        width: 120%;
        height: 120%;
        opacity: 1;
    }
}

.flag-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    animation: flagSpin 20s linear infinite, flagFloat 3s ease-in-out infinite;
}

@keyframes flagSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes flagFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.flag-code {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 900;
    color: white;
    text-shadow: 
        0 0 10px rgba(102, 126, 234, 0.8),
        0 0 20px rgba(102, 126, 234, 0.6),
        0 0 30px rgba(102, 126, 234, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 3;
    letter-spacing: 4px;
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(102, 126, 234, 0.8),
            0 0 20px rgba(102, 126, 234, 0.6),
            0 0 30px rgba(102, 126, 234, 0.4),
            2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(102, 126, 234, 1),
            0 0 40px rgba(102, 126, 234, 0.8),
            0 0 60px rgba(102, 126, 234, 0.6),
            2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.geo-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(67, 233, 123, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(67, 233, 123, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.info-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: rgba(67, 233, 123, 0.6);
    transform: translateX(5px);
}

.info-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-value {
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.ip-value {
    font-family: 'Courier New', monospace;
    color: #43e97b;
    font-size: 15px;
}

.proxy-type {
    background: var(--primary-gradient);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.energy-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.pulse-node {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.orbit-node {
    animation: orbit 3s ease-in-out infinite;
}

@keyframes orbit {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.connection-line {
    animation: flow 2s ease-in-out infinite;
}

@keyframes flow {
    0%, 100% {
        stroke-dasharray: 100;
        stroke-dashoffset: 200;
    }
    50% {
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
    }
}

.orbit-ring {
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
        transform-origin: center;
    }
    to {
        transform: rotate(360deg);
        transform-origin: center;
    }
}

/* Секции */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Возможности */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Как это работает */
.how-it-works {
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.03) 100%);
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.step-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-item:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 32px;
    height: 32px;
    color: #667eea;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    position: relative;
}

.step-connector::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(102, 126, 234, 0.5);
    font-size: 20px;
}

/* Скриншоты */
.screenshots {
    background: var(--dark-card);
}

.screenshots-carousel {
    display: flex;
    justify-content: center;
}

.screenshot-placeholder {
    position: relative;
    max-width: 900px;
    width: 100%;
    animation: float-slow 6s ease-in-out infinite;
}

.screenshot-placeholder svg {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.screenshot-label {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Скачивание */
.download {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.03) 0%, transparent 100%);
}

.download-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.download-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.download-feature svg {
    width: 24px;
    height: 24px;
    color: #43e97b;
    flex-shrink: 0;
}

.download-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

.download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(102, 126, 234, 0.3));
}

.download-icon-container svg {
    animation: float-slow 4s ease-in-out infinite;
}

.pulse-circle {
    animation: pulse-slow 3s ease-in-out infinite;
}

.blink-dot {
    animation: blink 1.5s ease-in-out infinite;
}

.float-particle {
    animation: float-particle 4s ease-in-out infinite;
}

.pulse-line {
    animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}

@keyframes pulse-line {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* Контакт */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 90px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    animation: float-slow 4s ease-in-out infinite;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 30px rgba(42, 171, 238, 0.4));
}

.contact-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    filter: drop-shadow(0 10px 30px rgba(255, 107, 107, 0.5));
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.2s;
}

.contact-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Кому это полезно */
.use-cases {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.03) 0%, transparent 100%);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #43e97b 0%, #667eea 50%, #F093FB 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.use-case-card:hover::before {
    transform: scaleX(1);
}

.use-case-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 30px 90px rgba(102, 126, 234, 0.3);
}

.use-case-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    animation: float-slow 4s ease-in-out infinite;
}

.use-case-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 40px rgba(102, 126, 234, 0.5));
}

.use-case-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.use-case-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Партнеры - Карусель */
.partners {
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.03) 100%);
    padding: 100px 0;
}

.partners-carousel {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 40px;
    padding: 0 60px;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card-carousel {
    min-width: 100%;
    padding: 10px;
}

.partner-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.partner-card-inner {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 15, 35, 0.95) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    transition: all 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.partner-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.partner-card-inner:hover::before {
    opacity: 1;
}

.partner-card-inner:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.3);
}

.partner-logo-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.partner-logo-svg {
    width: 100%;
    max-width: 280px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(102, 126, 234, 0.4));
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.partner-card-inner:hover .partner-logo-svg {
    transform: scale(1.05);
}

.partner-badge-top {
    padding: 8px 16px;
    background: rgba(67, 233, 123, 0.15);
    border: 1px solid rgba(67, 233, 123, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #43e97b;
    white-space: nowrap;
}

.partner-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.partner-title {
    font-size: 32px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.partner-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.partner-tags .tag {
    padding: 6px 14px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
}

.partner-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--primary-gradient);
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.partner-link-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.partner-link-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.partner-link-btn:hover svg {
    transform: translateX(5px);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.2);
    border: 2px solid rgba(102, 126, 234, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    width: 30px;
    border-radius: 5px;
    background: var(--primary-gradient);
}

/* Старые стили партнеров - удалены */
.partners-grid {
    display: none;
}
}

.feature-tag {
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
}

.partner-cta {
    text-align: center;
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.partner-card:hover .partner-cta {
    color: #764ba2;
    transform: translateX(5px);
}

.partner-card:hover .partner-logo {
    animation: glow 2s ease-in-out infinite;
}

/* Футер */
.footer {
    background: var(--dark-card);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 40px;
}

.footer-brand-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-copyright p {
    margin: 5px 0;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step-connector {
        display: none;
    }
    
    .demo-container-horizontal {
        gap: 30px;
    }
    
    .demo-left-section {
        max-width: 500px;
    }
    
    .proxy-result-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .network-visualization {
        max-width: 100%;
        padding: 10px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .demo-content-left {
        padding: 30px 20px;
    }
    
    .demo-window {
        border-radius: 15px;
    }
    
    .proxy-result-cards {
        grid-template-columns: 1fr;
    }
    
    .partner-card-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .partner-logo-box {
        order: -1;
    }
    
    .partners-carousel {
        padding: 0 50px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .download-card {
        padding: 30px 20px;
    }
    
    .contact-card {
        padding: 40px 20px;
    }
    
    .demo-content {
        padding: 15px;
        min-height: auto;
    }
    
    .proxy-input {
        font-size: 14px;
    }
    
    .demo-connect-btn {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .partner-card {
        padding: 30px 20px;
    }
}

/* Дополнительные анимации */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    }
}

.feature-card:hover .feature-icon {
    animation: glow 2s ease-in-out infinite;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Селекция текста */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: white;
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c8df0 0%, #8a5bb0 100%);
}

/* ===========================
   Partners Page Styles
=========================== */
.partners-page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
    text-align: center;
}

.partners-page-header .section-subtitle {
    margin-top: 20px;
    font-size: 20px;
    color: var(--text-secondary);
}

.partners-grid-section {
    padding: 80px 0 100px;
    background: var(--dark-bg);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
}

.partner-card-full {
    background: var(--dark-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.partner-card-full:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

.all-partners-btn-container {
    text-align: center;
    margin-top: 50px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.cta-box p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-page-header {
        padding: 100px 0 50px;
    }
    
    .cta-box h2 {
        font-size: 32px;
    }
    
    .cta-box p {
        font-size: 18px;
    }
}
