/* =============================================================================
   llmVPN — Основной CSS
   ============================================================================= */

:root {
    /* Черное золото - Premium Dark Theme */
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8941f;
    --gold-pale: #e8d5a3;
    --black: #0a0a0a;
    --black-light: #141414;
    --black-dark: #050505;
    --charcoal: #1a1a1a;
    --gray: #888888;
    --gray-light: #aaaaaa;
    --white: #ffffff;
    --cream: #f5f0e6;
    
    /* Градиенты */
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #b8941f 100%);
    --gradient-gold-subtle: linear-gradient(135deg, #e8d5a3 0%, #d4af37 100%);
    --gradient-black: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    --gradient-shine: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    
    /* Тени и свечение */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.7);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.9);
    --glow-gold: 0 0 20px rgba(212, 175, 55, 0.5);
    --glow-gold-strong: 0 0 40px rgba(212, 175, 55, 0.8);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =============================================================================
   Анимированный фон
   ============================================================================= */

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, var(--charcoal) 0%, var(--black) 100%);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    box-shadow: 
        100px 200px var(--gold),
        400px 500px var(--gold-pale),
        800px 100px var(--gold),
        1200px 300px var(--gold-pale),
        600px 600px var(--gold),
        1500px 200px var(--gold),
        300px 800px var(--gold-pale),
        900px 400px var(--gold),
        1400px 600px var(--gold-pale),
        200px 400px var(--gold);
    animation: starsMove 100s linear infinite;
    opacity: 0.3;
}

.twinkling {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, var(--charcoal) 0%, var(--black) 100%);
    opacity: 0.6;
}

/* =============================================================================
   Навигация
   ============================================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
}

.logo-icon {
    font-size: 2rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

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

.logo-text {
    color: var(--cream);
}

.logo-text .accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

/* Убираем полосу у кнопки пользователя */
.btn-user::after {
    display: none;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-gold);
    border-radius: 50px;
    color: var(--black) !important;
    font-weight: 600;
    box-shadow: var(--glow-gold);
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gold-strong);
}

.btn-login::after {
    display: none;
}

/* Кнопка пользователя (для авторизованных) */
.btn-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid var(--gold);
    border-radius: 50px;
    color: var(--gold) !important;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-user:hover {
    background: rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    text-decoration: none !important;
}

.btn-user i {
    font-size: 1.2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =============================================================================
   Главный экран (Hero)
   ============================================================================= */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.3));
}

.hero-title .subtitle {
    font-size: 2.5rem;
    color: var(--gray);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-description .highlight {
    color: var(--gold);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-3px);
    border-color: var(--gold);
}

/* Live Statistics */
.live-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 12px;
    font-size: 1.25rem;
    color: var(--black);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================================================
   Выбор платформ (Hero)
   ============================================================================= */

.platform-selector {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-card-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.08);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
}

.platform-card-large:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4), var(--glow-gold);
}

.platform-icon-large {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.platform-card-large[data-platform="android"] .platform-icon-large {
    color: #3ddb85;
}

.platform-card-large[data-platform="ios"] .platform-icon-large {
    color: var(--light);
}

.platform-card-large[data-platform="windows"] .platform-icon-large {
    color: #00a4ef;
}

.platform-card-large:hover .platform-icon-large {
    transform: scale(1.2) rotate(10deg);
}

.platform-card-large h4 {
    color: var(--gold);
    font-size: 1.5rem;
    margin: 0.5rem 0 0.25rem 0;
    font-weight: 700;
}

.platform-card-large p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .platform-cards {
        grid-template-columns: 1fr;
    }
    
    .platform-icon-large {
        width: 80px;
        height: 80px;
        font-size: 4rem;
    }
}

/* Hero Visual - VPN Tunnel Animation */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease;
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.vpn-tunnel {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tunnel-ring {
    position: absolute;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: tunnelRotate 10s linear infinite;
}

.tunnel-ring:nth-child(1) { width: 100px; height: 100px; animation-delay: 0s; }
.tunnel-ring:nth-child(2) { width: 150px; height: 150px; animation-delay: 0.5s; }
.tunnel-ring:nth-child(3) { width: 200px; height: 200px; animation-delay: 1s; }
.tunnel-ring:nth-child(4) { width: 250px; height: 250px; animation-delay: 1.5s; }
.tunnel-ring:nth-child(5) { width: 300px; height: 300px; animation-delay: 2s; }

@keyframes tunnelRotate {
    from { transform: rotate(0deg) scale(1); opacity: 1; }
    to { transform: rotate(360deg) scale(1.5); opacity: 0; }
}

.data-packet {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--black);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
    animation: dataPacket 3s ease-in-out infinite;
}

@keyframes dataPacket {
    0%, 100% { transform: scale(1) translateX(0); }
    50% { transform: scale(1.2) translateX(20px); }
}

/* =============================================================================
   Секции
   ============================================================================= */

.container {
    max-width: 1400px;
    margin: 1rem auto;
    padding: 6rem 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* =============================================================================
   Features
   ============================================================================= */

.features {
    background: var(--black-light);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 1rem;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(212, 175, 55, 0.06);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), var(--glow-gold);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 16px;
    font-size: 1.75rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--glow-gold);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--gold);
}

.feature-card p {
    color: var(--gray-light);
    line-height: 1.7;
}

/* =============================================================================
   Download / Platforms
   ============================================================================= */

.download {
    background: var(--black);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-card {
    position: relative;
    padding: 2.5rem;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), var(--glow-gold);
}

.platform-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: all 0.4s ease;
}

.platform-card[data-platform="windows"] .platform-icon {
    color: #00a4ef;
}

.platform-card[data-platform="macos"] .platform-icon{
	color: #00c9ef;
}

.platform-card[data-platform="ios"] .platform-icon {
    color: var(--light);
}

.platform-card[data-platform="linux"] .platform-icon {
    color: #fcc624;
}

.platform-card[data-platform="android"] .platform-icon {
    color: #3ddb85;
}

.platform-card:hover .platform-icon {
    transform: scale(1.2) rotate(10deg);
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.platform-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* App recommendation with icon/logo */
.platform-card .app-recommendation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.platform-card .app-recommendation .app-logo {
    width: 130px;
    height: 45px;
    object-fit: contain;
    flex-shrink: 0;
}

.platform-card .app-recommendation i {
    font-size: 1.1rem;
    color: var(--gold);
}

.platform-card .app-recommendation span {
    color: var(--cream);
}

.platform-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.btn-download,
.btn-instruct {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-download {
    background: var(--gradient-gold);
    color: var(--black);
    font-weight: 700;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
}

.btn-instruct {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-instruct:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.platform-version {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--black-light);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: var(--glow-gold);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--gold-light);
    transform: rotate(90deg);
}

#modal-body {
    color: var(--cream);
}

#modal-body h3 {
    margin-bottom: 1rem;
    color: var(--gold);
}

#modal-body ol,
#modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

#modal-body li {
    margin-bottom: 0.5rem;
    color: var(--gray-light);
}

#modal-body code {
    background: rgba(212, 175, 55, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* =============================================================================
   Stats Section
   ============================================================================= */

.stats-section {
    background: var(--black-light);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(212, 175, 55, 0.06);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: var(--glow-gold);
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 16px;
    font-size: 1.5rem;
    color: var(--black);
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-card-label {
    color: var(--gray);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================================================
   Другие проекты
   ============================================================================= */

.other-projects {
    background: var(--black-light);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    background: rgba(212, 175, 55, 0.06);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), var(--glow-gold);
}

.project-logo {
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

.project-logo img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
}

.project-logo-fallback {
    width: 120px;
    height: 120px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--black);
}

.project-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.project-info p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cream);
    font-size: 0.9rem;
}

.project-features li i {
    color: var(--gold);
}

.btn-project {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--gradient-gold);
    color: var(--black);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-project:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* Placeholder */
.project-placeholder {
    border-style: dashed;
    opacity: 0.7;
}

.project-placeholder:hover {
    opacity: 1;
}

.project-placeholder .project-logo {
    background: rgba(212, 175, 55, 0.05);
}

.project-placeholder .project-logo i {
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.5;
}

.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    color: var(--warning);
    font-weight: 600;
    margin-top: auto;
}

/* Адаптивность проектов */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-features {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   Footer
   ============================================================================= */

.footer {
    background: var(--black);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo .accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-left p {
    color: var(--gray);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.made-with {
    color: var(--gray);
    margin-bottom: 1rem;
}

.made-with .heartbeat {
    color: red;
    padding: 5px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.2); }
    20%, 40% { transform: scale(1); }
}

.telegram-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.telegram-link:hover {
    color: var(--gold-light);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gradient-gold);
    color: var(--black);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: var(--glow-gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
    color: var(--gray);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* =============================================================================
   Адаптивность
   ============================================================================= */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 6rem 1rem 2rem;
        gap: 2rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-image {
        max-width: 80%;
        max-height: 300px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-title .subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
    }

    .live-stats {
        justify-content: center;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .platform-selector {
        margin-top: 2rem;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--black-dark);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0.5rem;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem 1.5rem;
        justify-content: center;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 5rem 0.75rem 1rem;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-title .subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .hero-image {
        max-width: 100%;
        max-height: 200px;
    }

    .platform-cards {
        grid-template-columns: 1fr;
    }

    .platform-icon-large {
        width: 70px;
        height: 70px;
        font-size: 3.5rem;
    }

    .live-stats {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-image {
        max-width: 100%;
        max-height: 150px;
    }

    .live-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        justify-content: center;
    }
}

/* =============================================================================
   Кнопка возврата наверх
   ============================================================================= */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50%;
    color: var(--black);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
