/* ============================================
   LED РЎРѕСЋР· вЂ” Home Page Styles
   Hero, Counters, Advantages, Partners, Stats
   ============================================ */

/* в”Ђв”Ђ Global Animated Background в”Ђв”Ђ */
.global-bg-canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* ── Ambient Orbs (Glassmorphism Depth Layer) ── */
body::before {
    content: '';
    position: fixed;
    top: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.10), transparent 70%);
    animation: orbFloat 12s ease-in-out infinite alternate;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(175, 82, 222, 0.09), transparent 70%);
    animation: orbFloat 16s ease-in-out infinite alternate-reverse;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

@keyframes orbFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 40px) scale(1.08); }
}

/* в”Ђв”Ђ Hero Section в”Ђв”Ђ */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: calc(-1 * var(--header-height));
}

.hero__video-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #0A0E17;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.hero__overlay {
    display: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-block: var(--space-4xl);
}

.hero__badge {
    margin-bottom: var(--space-xl);
}

/* Hero Logo Block */
.hero__logo-block {
    margin-bottom: var(--space-xl);
}

.hero__logo-img {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 30px rgba(0, 191, 255, 0.3));
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.2));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(0, 191, 255, 0.5));
    }
}

/* Hero Graph Section */
.hero__graph-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.hero__title {
    font-size: var(--fs-hero);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-tight);
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
}

.hero__title span {
    display: block;
}

.hero__subtitle {
    font-size: var(--fs-body-lg);
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: var(--space-2xl);
    line-height: var(--lh-body);
}

.hero__subtitle strong {
    color: var(--color-lime);
    font-weight: var(--fw-semibold);
}

/* Growth Chart */
.hero__graph-chart {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: var(--glass-radius-lg);
    padding: var(--space-xl);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow-elevated);
    position: relative;
    overflow: hidden;
    /* shine */
    background-image: var(--gradient-glass-shine);
    background-blend-mode: overlay;
}

.hero__graph-chart::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--glass-radius-lg);
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.25), transparent 40%, transparent 60%, rgba(175, 82, 222, 0.20));
    z-index: -1;
    pointer-events: none;
}

.growth-chart {
    width: 100%;
    height: auto;
}

/* Chart line animation */
.chart-line {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: drawLine 2s ease-out forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.chart-line--slow {
    animation-delay: 0.5s;
}

.chart-line--fast {
    animation-delay: 0.8s;
}

/* Chart Legend */
.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chart-legend__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-xs);
    color: var(--text-secondary);
}

.chart-legend__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: bounce 2s ease-in-out infinite;
}

.hero__scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@media (max-width: 768px) {
    .hero__graph-section {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero__logo-img {
        width: 80px;
        height: 80px;
    }
}

/* в”Ђв”Ђ Counters Section в”Ђв”Ђ */
.counters {
    background: var(--glass-bg-light);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.counters__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.counter-card {
    position: relative;
}

.counter-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.counter-card:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .counters__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .counter-card:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .counters__grid {
        grid-template-columns: 1fr;
    }

    .counter-card::after {
        display: none;
    }
}

/* в”Ђв”Ђ Advantages Section в”Ђв”Ђ */
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 1024px) {
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .advantages__grid {
        grid-template-columns: 1fr;
    }
}

/* в”Ђв”Ђ Research Block в”Ђв”Ђ */
.research-block {
    margin-bottom: var(--space-3xl);
}

.research-block:last-child {
    margin-bottom: 0;
}

.research-block__title {
    font-size: var(--fs-h4);
    margin-bottom: var(--space-sm);
}

.research-link {
    color: var(--color-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.research-link:hover {
    color: var(--color-blue-light);
    text-decoration: underline;
}

.research-block__source {
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

/* в”Ђв”Ђ Stats Section в”Ђв”Ђ */
.stats {
    background: var(--glass-bg-light);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    position: relative;
    overflow: hidden;
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.stat-card {
    text-align: center;
    padding: var(--space-xl);
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--fw-extrabold);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    filter: drop-shadow(0 0 8px rgba(0, 122, 255, 0.3));
}

.stat-label {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* в”Ђв”Ђ Workflow Section в”Ђв”Ђ */
.workflow__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    position: relative;
}

.workflow__steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-lime), var(--color-orange), var(--color-blue));
    opacity: 0.3;
}

.workflow-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.workflow-step__number {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--bg-primary);
    margin: 0 auto var(--space-lg);
    box-shadow: var(--glow-blue);
}

.workflow-step__title {
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-sm);
}

.workflow-step__text {
    font-size: var(--fs-small);
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .workflow__steps {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .workflow__steps::before {
        top: 0;
        bottom: 0;
        left: 29px;
        width: 2px;
        height: 100%;
    }

    .workflow-step {
        text-align: left;
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: var(--space-md);
        align-items: start;
    }

    .workflow-step__number {
        margin: 0;
        grid-row: span 2;
    }

    .workflow-step__title {
        margin-bottom: 0;
    }
}

