/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: rgba(17, 17, 17, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --accent-yellow: #FFD700;
    --accent-yellow-dark: #B8A000;
    --accent-yellow-glow: rgba(255, 215, 0, 0.3);
    --accent-yellow-light: #FFED4A;
    --accent-amber: #FFA500;
    --accent-warm: #FFC800;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --neon-glow: 0 0 20px rgba(255, 215, 0, 0.25);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* ===== LANGUAGE SWITCHING ===== */
/* Hide all lang-specific TEXT elements by default (not buttons) */
span[data-lang], p[data-lang], h4[data-lang], li span[data-lang], div[data-lang] {
    display: none !important;
}
/* Language text elements only (NOT buttons - buttons use .lang-btn class) */
/* Hide inactive language text */
body.lang-ua span[data-lang="ru"],
body.lang-ua p[data-lang="ru"],
body.lang-ua h4[data-lang="ru"],
body.lang-ua li span[data-lang="ru"],
body.lang-ua div[data-lang="ru"] {
    display: none !important;
}
body.lang-ru span[data-lang="ua"],
body.lang-ru p[data-lang="ua"],
body.lang-ru h4[data-lang="ua"],
body.lang-ru li span[data-lang="ua"],
body.lang-ru div[data-lang="ua"] {
    display: none !important;
}
/* Show active language text */
body.lang-ua span[data-lang="ua"],
body.lang-ua p[data-lang="ua"],
body.lang-ua h4[data-lang="ua"],
body.lang-ua li span[data-lang="ua"],
body.lang-ua div[data-lang="ua"] {
    display: inline !important;
}
body.lang-ru span[data-lang="ru"],
body.lang-ru p[data-lang="ru"],
body.lang-ru h4[data-lang="ru"],
body.lang-ru li span[data-lang="ru"],
body.lang-ru div[data-lang="ru"] {
    display: inline !important;
}
/* Block-level text elements */
body.lang-ua span[data-lang="ua"].cta-subtext,
body.lang-ua p[data-lang="ua"].cta-subtext,
body.lang-ua span[data-lang="ua"].stat-label,
body.lang-ua p[data-lang="ua"].stat-label,
body.lang-ru span[data-lang="ru"].cta-subtext,
body.lang-ru p[data-lang="ru"].cta-subtext,
body.lang-ru span[data-lang="ru"].stat-label,
body.lang-ru p[data-lang="ru"].stat-label {
    display: block !important;
}
/* ===== BACKGROUND ===== */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.85) 100%);
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: rgba(255, 215, 0, 0.1);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.header-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-amber));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
    color: #0a0a0a;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 4px;
}

.lang-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: rgba(255, 215, 0, 0.15);
    color: var(--accent-yellow);
}

.lang-btn:hover:not(.active) {
    color: var(--text-primary);
}

/* Header Badges */
.header-badges {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
}

.header-badge svg {
    width: 14px;
    height: 14px;
}

/* ===== MAIN LAYOUT ===== */
.hero-section {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 40px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

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

/* Left Content */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Online Status */
.online-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-yellow);
    width: fit-content;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-yellow);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(255, 215, 0, 0); }
}

/* Title */
.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--accent-yellow);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.hero-title .highlight-purple {
    color: var(--accent-warm);
    text-shadow: 0 0 30px rgba(255, 200, 0, 0.2);
}

/* Subtitle */
.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 460px;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 14px;
    border-radius: 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(255, 215, 0, 0.15);
    background: rgba(255, 215, 0, 0.04);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon.blue { background: rgba(255, 215, 0, 0.1); color: var(--accent-yellow); }
.feature-icon.cyan { background: rgba(255, 215, 0, 0.08); color: var(--accent-warm); }
.feature-icon.purple { background: rgba(255, 215, 0, 0.06); color: var(--accent-yellow-dark); }
.feature-icon.green { background: rgba(255, 215, 0, 0.08); color: var(--accent-amber); }

.feature-text h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.feature-text p {
    font-size: 12px;
    color: var(--text-muted);
}

/* CTA Button */
.cta-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-amber));
    color: #0a0a0a;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    border: none;
    width: fit-content;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.45);
}

.cta-btn svg:first-child {
    width: 24px;
    height: 24px;
    fill: #0a0a0a;
}

.cta-btn div {
    display: flex;
    flex-direction: column;
}

.cta-btn div span:first-child {
    font-weight: 800;
    font-size: 17px;
}

.cta-btn .cta-subtext {
    font-size: 12px;
    font-weight: 500;
    color: rgba(10, 10, 10, 0.6);
}

.cta-btn svg:last-child {
    width: 20px;
    height: 20px;
    stroke: #0a0a0a;
    margin-left: auto;
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: -8px;
    border: 2px solid var(--bg-primary);
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar.more {
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 215, 0, 0.2);
    color: var(--accent-yellow);
    font-size: 11px;
    border-color: rgba(255, 215, 0, 0.3);
}

.proof-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.proof-text strong {
    color: var(--accent-yellow);
    font-weight: 700;
}

/* ===== RIGHT CONTENT - GLASS CARD ===== */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 340px;
    min-height: 500px;
}

/* Glass Card */
.glass-card {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 24px;
    padding: 32px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow), 0 0 60px rgba(255, 215, 0, 0.06);
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
    opacity: 0.6;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-telegram-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-telegram-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-yellow);
}

/* Avatar */
.card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-amber));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.card-avatar .letter {
    font-size: 36px;
    font-weight: 900;
    color: #0a0a0a;
}

/* Channel Name */
.card-channel-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.card-subscribers {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.card-subscribers span {
    color: var(--accent-yellow);
    font-weight: 600;
}

/* Card Features */
.card-features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.cf-icon {
    font-size: 14px;
    width: 20px;
    text-align: center;
}

/* Card Stats */
.card-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.1);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent-yellow);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.laurel {
    font-size: 18px;
    color: var(--accent-yellow-dark);
}

/* Card CTA */
.card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-amber));
    color: #0a0a0a;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
    border: none;
}

.card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
}

.card-cta svg {
    width: 18px;
    height: 18px;
    fill: #0a0a0a;
}

/* Pedestal Glow */
.pedestal {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

/* ===== TOAST ===== */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    color: var(--accent-yellow);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 999;
    pointer-events: none;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== FLOATING BADGES ===== */
.floating-badges {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    border: none;
    color: var(--text-secondary);
}

.float-badge:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--text-primary);
}

.float-badge.telegram-badge {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-amber));
    color: #0a0a0a;
    border: none;
}

.float-badge.telegram-badge:hover {
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
}

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

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }
.animate-delay-5 { animation-delay: 0.5s; opacity: 0; }
.animate-delay-6 { animation-delay: 0.6s; opacity: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-left {
        align-items: center;
    }
    .hero-subtitle {
        max-width: 100%;
    }
    .features-grid {
        max-width: 100%;
        width: 100%;
    }
    .hero-right {
        order: -1;
    }
    .phone-mockup {
        width: 80%;
        max-width: 400px;
        min-height: 420px;
    }
    .hero-section {
        padding: 100px 30px 60px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
    }
    .header-logo {
        font-size: 16px;
    }
    .header-logo .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
    .header-badges {
        display: none;
    }
    .hero-section {
        padding: 76px 16px 40px;
        min-height: auto;
    }
    .hero-content {
        gap: 28px;
    }
    .hero-title {
        font-size: clamp(28px, 7vw, 40px);
    }
    .hero-subtitle {
        font-size: 14px;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
        width: 100%;
        gap: 10px;
    }
    .cta-btn {
        padding: 16px 24px;
        font-size: 16px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
    .phone-mockup {
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }
    .glass-card {
        padding: 24px 20px;
        width: 100%;
        border-radius: 20px;
    }
    .card-avatar {
        width: 64px;
        height: 64px;
    }
    .card-avatar .letter {
        font-size: 28px;
    }
    .floating-badges {
        bottom: 16px;
        right: 16px;
    }
    .float-badge {
        width: 42px;
        height: 42px;
    }
    .pedestal {
        width: 80%;
        bottom: -30px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 70px 12px 28px;
    }
    .hero-content {
        gap: 24px;
    }
    .hero-title {
        font-size: clamp(24px, 8vw, 36px);
    }
    .phone-mockup {
        width: 100%;
    }
    .glass-card {
        padding: 20px 16px;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .feature-item {
        padding: 12px 10px;
    }
    .feature-text h4 {
        font-size: 13px;
    }
    .feature-text p {
        font-size: 11px;
    }
    .card-features li {
        font-size: 12px;
    }
    .lang-switcher {
        display: none;
    }
    .mobile-lang-switch {
        display: flex !important;
    }
    .pedestal {
        display: none;
    }
}

.mobile-lang-switch {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 4px;
    margin: 20px auto 0;
    margin-bottom: 20px;
    position: relative;
    width: fit-content;
    position: relative;
    z-index: 50;
}

.mobile-lang-switch .lang-btn {
    padding: 4px 10px;
    font-size: 12px;
}
