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

:root {
    --telegram: #2AABEE;
    --telegram-dark: #229ED9;
    --telegram-glow: rgba(42, 171, 238, 0.4);
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --whatsapp-glow: rgba(37, 211, 102, 0.4);
    --coffee: #C6A87D;
    --coffee-dark: #8B6914;
    --coffee-deeper: #5D4409;
    --bg-dark: #050508;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-subtle: rgba(255, 255, 255, 0.35);
    --gradient-telegram: linear-gradient(135deg, #2AABEE 0%, #1E90D9 50%, #229ED9 100%);
    --gradient-whatsapp: linear-gradient(135deg, #25D366 0%, #20BD5A 50%, #128C7E 100%);
    --gradient-coffee: linear-gradient(135deg, #C6A87D 0%, #A68B5B 50%, #8B6914 100%);
    --gradient-premium: linear-gradient(135deg, #C6A87D 0%, #FFD700 25%, #C6A87D 50%, #8B6914 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated background */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(42, 171, 238, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(37, 211, 102, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 50%, rgba(198, 168, 125, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #050508 0%, #0a0a12 50%, #050508 100%);
}

.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.floating-particles::before {
    background: rgba(42, 171, 238, 0.1);
    top: 10%;
    left: 10%;
}

.floating-particles::after {
    background: rgba(37, 211, 102, 0.08);
    bottom: 20%;
    right: 10%;
    animation-delay: -10s;
    animation-direction: reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(20px, 50px) scale(0.9); }
    75% { transform: translate(-30px, 20px) scale(1.05); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo-dot {
    background: var(--gradient-coffee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--text);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-coffee);
    transition: width 0.3s;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    position: relative;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 10px 24px;
    border-radius: 12px;
    color: var(--text) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: var(--gradient-coffee);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.5s;
    filter: blur(20px);
}

.nav-cta:hover {
    border-color: var(--coffee);
    transform: translateY(-2px);
}

.nav-cta:hover .nav-cta-glow {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.3;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    box-shadow: 0 0 10px #22c55e;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #22c55e;
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: badge-shine 3s infinite;
}

@keyframes badge-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Hero title */
.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    color: var(--text);
}

.title-brands {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.brand-telegram {
    background: var(--gradient-telegram);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glow-telegram 3s ease-in-out infinite;
}

@keyframes glow-telegram {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(42, 171, 238, 0.3)); }
    50% { filter: drop-shadow(0 0 30px rgba(42, 171, 238, 0.5)); }
}

.brand-and {
    color: var(--coffee);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 0.8em;
    vertical-align: middle;
    margin: 0 8px;
}

.brand-whatsapp {
    background: var(--gradient-whatsapp);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow-whatsapp 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes glow-whatsapp {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(37, 211, 102, 0.3)); }
    50% { filter: drop-shadow(0 0 30px rgba(37, 211, 102, 0.5)); }
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 500px;
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    overflow: hidden;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--gradient-telegram);
    color: white;
    box-shadow:
        0 0 40px rgba(42, 171, 238, 0.3),
        0 10px 40px rgba(42, 171, 238, 0.2);
}

.btn-primary .btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 60px rgba(42, 171, 238, 0.4),
        0 20px 60px rgba(42, 171, 238, 0.3);
}

.btn-primary:hover .btn-bg {
    opacity: 1;
}

.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glow);
    transform: translateY(-3px);
}

.btn-large {
    padding: 22px 44px;
    font-size: 1.1rem;
    border-radius: 18px;
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.visual-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: orb-float 15s ease-in-out infinite;
}

.orb-telegram {
    width: 300px;
    height: 300px;
    background: var(--telegram);
    top: 0;
    left: 20%;
}

.orb-whatsapp {
    width: 250px;
    height: 250px;
    background: var(--whatsapp);
    bottom: 10%;
    right: 10%;
    animation-delay: -7s;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Hero cards */
.hero-cards {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}

.hero-card {
    position: relative;
    width: 340px;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card .card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.hero-card.telegram .card-glow {
    box-shadow: inset 0 0 60px rgba(42, 171, 238, 0.2);
}

.hero-card.whatsapp .card-glow {
    box-shadow: inset 0 0 60px rgba(37, 211, 102, 0.2);
}

.hero-card:hover .card-glow {
    opacity: 1;
}

.hero-card .card-content {
    position: relative;
    padding: 28px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    backdrop-filter: blur(20px);
}

.hero-card.telegram {
    transform: translateX(30px);
}

.hero-card.whatsapp {
    transform: translateX(-30px);
}

.hero-card:hover {
    transform: translateX(0) scale(1.02);
}

.hero-card.telegram:hover {
    box-shadow: 0 0 80px rgba(42, 171, 238, 0.3);
}

.hero-card.whatsapp:hover {
    box-shadow: 0 0 80px rgba(37, 211, 102, 0.3);
}

.hero-card.telegram .card-content {
    border-color: rgba(42, 171, 238, 0.2);
}

.hero-card.whatsapp .card-content {
    border-color: rgba(37, 211, 102, 0.2);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.telegram .card-icon {
    background: var(--gradient-telegram);
    box-shadow: 0 8px 32px rgba(42, 171, 238, 0.3);
}

.whatsapp .card-icon {
    background: var(--gradient-whatsapp);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.hero-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.hero-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.card-stats {
    display: flex;
    gap: 32px;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.telegram .stat-value {
    color: var(--telegram);
}

.whatsapp .stat-value {
    color: var(--whatsapp);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== PROXY DEMO CARD ===== */
.proxy-demo-card {
    position: relative;
    width: 380px;
    border-radius: 28px;
    overflow: hidden;
    z-index: 2;
}

.proxy-demo-card .card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
    box-shadow: inset 0 0 80px rgba(198, 168, 125, 0.15);
}

.proxy-demo-card:hover .card-glow {
    opacity: 1;
}

.proxy-demo-card .card-content {
    position: relative;
    padding: 32px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    backdrop-filter: blur(20px);
    min-height: 320px;
}

/* Иконки мессенджеров */
.demo-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
}

.demo-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s;
}

.demo-icon.telegram {
    background: var(--gradient-telegram);
    box-shadow: 0 8px 32px rgba(42, 171, 238, 0.3);
}

.demo-icon.whatsapp {
    background: var(--gradient-whatsapp);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}

.demo-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
    transition: all 0.3s;
}

/* Состояние "нет сети" */
.proxy-demo-card[data-state="offline"] .demo-icon {
    filter: grayscale(1) brightness(0.5);
    box-shadow: none;
}

.proxy-demo-card[data-state="offline"] .demo-icon svg {
    opacity: 0.5;
}

/* Состояние "подключение" */
.proxy-demo-card[data-state="connecting"] .demo-icon {
    filter: grayscale(0.5) brightness(0.7);
    animation: icon-pulse 1s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Состояние "подключено" */
.proxy-demo-card[data-state="connected"] .demo-icon {
    filter: none;
    animation: icon-glow 2s ease-in-out infinite;
}

@keyframes icon-glow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.proxy-demo-card[data-state="connected"] .demo-icon.telegram {
    box-shadow: 0 8px 40px rgba(42, 171, 238, 0.5);
}

.proxy-demo-card[data-state="connected"] .demo-icon.whatsapp {
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
}

/* Индикатор соединения */
.connection-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.signal-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.signal-bars .bar {
    width: 5px;
    border-radius: 2px;
    background: var(--text-subtle);
    transition: all 0.3s;
}

.bar-1 { height: 5px; }
.bar-2 { height: 9px; }
.bar-3 { height: 13px; }
.bar-4 { height: 18px; }

/* Состояние offline */
.proxy-demo-card[data-state="offline"] .signal-bars .bar {
    background: #ff4444;
    opacity: 0.4;
}

.proxy-demo-card[data-state="offline"] .signal-bars .bar-1 {
    animation: bar-blink 1.5s infinite;
}

@keyframes bar-blink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Состояние connecting */
.proxy-demo-card[data-state="connecting"] .signal-bars .bar {
    background: #ffaa00;
}

.proxy-demo-card[data-state="connecting"] .signal-bars .bar-1 { animation: bar-loading 1.2s infinite 0s; }
.proxy-demo-card[data-state="connecting"] .signal-bars .bar-2 { animation: bar-loading 1.2s infinite 0.15s; }
.proxy-demo-card[data-state="connecting"] .signal-bars .bar-3 { animation: bar-loading 1.2s infinite 0.3s; }
.proxy-demo-card[data-state="connecting"] .signal-bars .bar-4 { animation: bar-loading 1.2s infinite 0.45s; }

@keyframes bar-loading {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Состояние connected */
.proxy-demo-card[data-state="connected"] .signal-bars .bar {
    background: #22c55e;
    opacity: 1;
}

.status-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
}

.proxy-demo-card[data-state="offline"] .status-text {
    color: #ff4444;
}

.proxy-demo-card[data-state="connecting"] .status-text {
    color: #ffaa00;
}

.proxy-demo-card[data-state="connected"] .status-text {
    color: #22c55e;
}

/* Анимация потока данных */
.data-flow {
    position: relative;
    height: 40px;
    margin-bottom: 24px;
    overflow: hidden;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.02) 20%,
        rgba(255, 255, 255, 0.02) 80%,
        transparent
    );
    border-radius: 8px;
}

.data-packet {
    position: absolute;
    width: 30px;
    height: 4px;
    border-radius: 2px;
    top: 50%;
    transform: translateY(-50%);
    left: -40px;
    opacity: 0;
}

/* Offline - пакеты не летят */
.proxy-demo-card[data-state="offline"] .data-packet {
    display: none;
}

/* Connecting - медленные пакеты */
.proxy-demo-card[data-state="connecting"] .data-packet {
    background: linear-gradient(90deg, transparent, #ffaa00, transparent);
    animation: packet-slow 3s linear infinite;
}

.proxy-demo-card[data-state="connecting"] .data-packet:nth-child(1) { animation-delay: 0s; top: 30%; }
.proxy-demo-card[data-state="connecting"] .data-packet:nth-child(2) { animation-delay: 1s; top: 50%; }
.proxy-demo-card[data-state="connecting"] .data-packet:nth-child(3) { animation-delay: 2s; top: 70%; }

@keyframes packet-slow {
    0% { left: -40px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: calc(100% + 40px); opacity: 0; }
}

/* Connected - быстрые яркие пакеты */
.proxy-demo-card[data-state="connected"] .data-packet {
    width: 60px;
    height: 3px;
    animation: packet-fast 0.8s linear infinite;
}

.proxy-demo-card[data-state="connected"] .data-packet:nth-child(1) {
    background: linear-gradient(90deg, transparent, var(--telegram), transparent);
    animation-delay: 0s;
    top: 25%;
}

.proxy-demo-card[data-state="connected"] .data-packet:nth-child(2) {
    background: linear-gradient(90deg, transparent, var(--whatsapp), transparent);
    animation-delay: 0.25s;
    top: 50%;
}

.proxy-demo-card[data-state="connected"] .data-packet:nth-child(3) {
    background: linear-gradient(90deg, transparent, var(--coffee), transparent);
    animation-delay: 0.5s;
    top: 75%;
}

@keyframes packet-fast {
    0% { left: -80px; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { left: calc(100% + 80px); opacity: 0; }
}

/* Статистика скорости */
.speed-stats {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.speed-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    transition: all 0.3s;
}

.speed-item svg {
    width: 18px;
    height: 18px;
    margin-bottom: 8px;
    stroke: var(--text-subtle);
    transition: stroke 0.3s;
}

.speed-item:first-child svg {
    color: var(--telegram);
}

.speed-item:nth-child(2) svg {
    color: var(--whatsapp);
}

.speed-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    transition: all 0.3s;
}

.speed-unit {
    font-size: 0.75rem;
    color: var(--text-subtle);
    text-transform: uppercase;
}

.ping-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.ping-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    transition: all 0.3s;
}

.ping-label {
    font-size: 0.75rem;
    color: var(--text-subtle);
}

/* Состояния скорости */
.proxy-demo-card[data-state="offline"] .speed-value,
.proxy-demo-card[data-state="offline"] .ping-value {
    color: var(--text-subtle);
}

.proxy-demo-card[data-state="connecting"] .speed-item svg {
    stroke: #ffaa00;
}

.proxy-demo-card[data-state="connected"] .speed-item:first-child svg {
    stroke: var(--telegram);
}

.proxy-demo-card[data-state="connected"] .speed-item:nth-child(2) svg {
    stroke: var(--whatsapp);
}

.proxy-demo-card[data-state="connected"] .speed-value {
    color: #22c55e;
}

.proxy-demo-card[data-state="connected"] .ping-value {
    color: var(--telegram);
}

/* Свечение карточки при подключении */
.proxy-demo-card[data-state="connected"] {
    box-shadow:
        0 0 60px rgba(42, 171, 238, 0.15),
        0 0 60px rgba(37, 211, 102, 0.15);
}

.proxy-demo-card[data-state="connected"] .card-content {
    border-color: rgba(198, 168, 125, 0.3);
}

/* Coffee beans */
.coffee-beans {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.bean {
    position: absolute;
    opacity: 0.6;
    animation: bean-float 8s ease-in-out infinite;
}

.bean-1 {
    width: 35px;
    top: 5%;
    right: 15%;
    transform: rotate(-30deg);
}

.bean-2 {
    width: 28px;
    bottom: 15%;
    left: 5%;
    animation-delay: -3s;
    transform: rotate(45deg);
}

.bean-3 {
    width: 32px;
    top: 60%;
    right: 5%;
    animation-delay: -5s;
    transform: rotate(15deg);
}

@keyframes bean-float {
    0%, 100% { transform: translateY(0) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-15px) rotate(calc(var(--rotation, 0deg) + 10deg)); }
}

/* ===== FEATURES ===== */
.features {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--coffee);
    margin-bottom: 20px;
}

.label-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.label-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--coffee);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.title-highlight {
    background: var(--gradient-coffee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* Features showcase */
.features-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-item {
    position: relative;
    padding: 36px;
    background: linear-gradient(135deg, var(--bg-glass) 0%, transparent 100%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--coffee), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: rgba(198, 168, 125, 0.2);
    background: linear-gradient(135deg, rgba(198, 168, 125, 0.05) 0%, transparent 100%);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-visual {
    margin-bottom: 24px;
}

.feature-icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
}

.icon-glow {
    position: absolute;
    inset: -10px;
    background: var(--gradient-coffee);
    border-radius: 20px;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.5s;
}

.feature-item:hover .icon-glow {
    opacity: 0.3;
}

.icon-inner {
    position: relative;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(198, 168, 125, 0.15) 0%, rgba(198, 168, 125, 0.05) 100%);
    border: 1px solid rgba(198, 168, 125, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
}

.feature-item:hover .icon-inner {
    border-color: var(--coffee);
    background: linear-gradient(135deg, rgba(198, 168, 125, 0.2) 0%, rgba(198, 168, 125, 0.1) 100%);
}

.icon-inner svg {
    width: 28px;
    height: 28px;
    stroke: var(--coffee);
    transition: transform 0.5s;
}

.feature-item:hover .icon-inner svg {
    transform: scale(1.1);
}

.feature-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing {
    padding: 80px 0;
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(198, 168, 125, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.pricing-card.telegram .pricing-glow {
    box-shadow:
        inset 0 1px 0 rgba(42, 171, 238, 0.3),
        0 0 100px rgba(42, 171, 238, 0.2);
}

.pricing-card.whatsapp .pricing-glow {
    box-shadow:
        inset 0 1px 0 rgba(37, 211, 102, 0.3),
        0 0 100px rgba(37, 211, 102, 0.2);
}

.pricing-card:hover .pricing-glow {
    opacity: 1;
}

.pricing-content {
    position: relative;
    padding: 48px 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    backdrop-filter: blur(20px);
}

.pricing-card.telegram .pricing-content {
    border-top: 3px solid var(--telegram);
}

.pricing-card.whatsapp .pricing-content {
    border-top: 3px solid var(--whatsapp);
}

.pricing-card:hover {
    transform: translateY(-12px);
}

.pricing-card.telegram:hover .pricing-content {
    border-color: rgba(42, 171, 238, 0.3);
}

.pricing-card.whatsapp:hover .pricing-content {
    border-color: rgba(37, 211, 102, 0.3);
}

.pricing-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.pricing-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card.telegram .pricing-icon {
    background: var(--gradient-telegram);
    box-shadow: 0 8px 32px rgba(42, 171, 238, 0.3);
}

.pricing-card.whatsapp .pricing-icon {
    background: var(--gradient-whatsapp);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}

.pricing-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.pricing-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.pricing-header span {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

.pricing-price {
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.currency {
    font-size: 0.5em;
    opacity: 0.7;
}

.pricing-card.telegram .price {
    color: var(--telegram);
}

.pricing-card.whatsapp .price {
    color: var(--whatsapp);
}

.price-period {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 36px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-glass);
    font-size: 1rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.check-icon::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 6px;
    border-left: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(-45deg);
    margin-top: -2px;
}

.pricing-card.telegram .check-icon {
    background: rgba(42, 171, 238, 0.15);
}

.pricing-card.telegram .check-icon::before {
    border-color: var(--telegram);
}

.pricing-card.whatsapp .check-icon {
    background: rgba(37, 211, 102, 0.15);
}

.pricing-card.whatsapp .check-icon::before {
    border-color: var(--whatsapp);
}

.pricing-btn {
    position: relative;
    width: 100%;
    padding: 20px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
    text-decoration: none;
    display: block;
    color: white;
    overflow: hidden;
    transition: all 0.4s;
}

.pricing-card.telegram .pricing-btn {
    background: var(--gradient-telegram);
    box-shadow: 0 8px 32px rgba(42, 171, 238, 0.25);
}

.pricing-card.whatsapp .pricing-btn {
    background: var(--gradient-whatsapp);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.25);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.pricing-btn:hover .btn-shine {
    left: 100%;
}

.pricing-btn:hover {
    transform: scale(1.02);
}

.pricing-card.telegram .pricing-btn:hover {
    box-shadow: 0 12px 48px rgba(42, 171, 238, 0.35);
}

.pricing-card.whatsapp .pricing-btn:hover {
    box-shadow: 0 12px 48px rgba(37, 211, 102, 0.35);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 80px 0;
}

.steps-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg,
        var(--border-glass),
        var(--coffee),
        var(--telegram),
        var(--whatsapp),
        var(--border-glass)
    );
    opacity: 0.5;
}

.step {
    text-align: center;
    position: relative;
}

.step-marker {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
}

.step-number {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--bg-dark);
    border: 2px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--coffee);
    z-index: 2;
    transition: all 0.5s;
}

.step-pulse {
    position: absolute;
    inset: -4px;
    border: 2px solid var(--coffee);
    border-radius: 50%;
    opacity: 0;
    animation: step-pulse 2s infinite;
}

@keyframes step-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0; }
}

.step:hover .step-number {
    border-color: var(--coffee);
    box-shadow: 0 0 40px rgba(198, 168, 125, 0.3);
    transform: scale(1.1);
}

.step-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 180px;
    margin: 0 auto;
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.cta-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 50px;
    background: linear-gradient(135deg, var(--bg-glass) 0%, transparent 100%);
    border: 1px solid var(--border-glass);
    border-radius: 40px;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(198, 168, 125, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-coffee {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    animation: coffee-steam 3s ease-in-out infinite;
}

@keyframes coffee-steam {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.cta-coffee svg {
    width: 100%;
    height: 100%;
}

.cta h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-highlight {
    background: var(--gradient-coffee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ===== FOOTER ===== */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-glass);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.logo-icon-small {
    width: 24px;
    height: 24px;
    color: var(--coffee);
}

.logo-icon-small svg {
    width: 100%;
    height: 100%;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--coffee);
}

.footer-copy {
    color: var(--text-subtle);
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .title-brands {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        min-height: 400px;
    }

    .hero-cards {
        align-items: center;
    }

    .hero-card {
        width: 320px;
    }

    .hero-card.telegram,
    .hero-card.whatsapp {
        transform: translateX(0);
    }

    .features-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }

    .timeline-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .features-showcase {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .steps-timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta-content {
        padding: 60px 30px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero always animates on load */
.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-visual {
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Scroll-triggered animations */
.animate-child {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-child.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger effect for cards */
.feature-item.animate-child { transition-delay: 0s; }
.pricing-card.animate-child { transition-delay: 0s; }
.step.animate-child { transition-delay: 0s; }

/* Header scroll state */
header.scrolled {
    background: rgba(5, 5, 8, 0.95);
    padding: 12px 0;
}

/* Smooth orb transitions for parallax */
.visual-orb {
    transition: transform 0.3s ease-out;
}
