/* Общая дизайн-система публичных лендингов (главная, стримы). Вынесено из templates/ru/landing.html. */
:root {
    --font-display: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Override style.css (html, body { height: 100%; overflow-y: auto }) so browser uses native root-viewport GPU scrolling */
html {
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

body {
    height: auto !important;
    overflow: visible !important;
}

.border-zinc-850 {
    border-color: #1e2129;
}

.bg-zinc-850 {
    background-color: #1e2129;
}

/* Ambient Modern Dark Tech Grid (Preserved) */
.bg-tech-grid {
    background-size: 48px 48px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
}

/* Cyber Micro Cross Dots Accent Layer (Preserved) */
.bg-dots-pattern {
    background-size: 24px 24px;
    background-image: radial-gradient(circle, rgba(99, 102, 241, 0.22) 1.2px, transparent 1.2px);
}

/* GPU-Cached Single-Layer Ambient Aurora Glow (Zero blur filters, zero sharp circles) */
#tk-ambient-bg {
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: strict;
}

.bg-ambient-aurora {
    background:
        radial-gradient(650px 440px at 50% 4%, rgba(99, 102, 241, 0.22) 0%, rgba(99, 102, 241, 0.06) 48%, transparent 78%),
        radial-gradient(540px 540px at 6% 36%, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0.04) 48%, transparent 78%),
        radial-gradient(580px 580px at 94% 56%, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0.05) 48%, transparent 78%),
        radial-gradient(620px 480px at 24% 88%, rgba(16, 185, 129, 0.13) 0%, rgba(16, 185, 129, 0.04) 48%, transparent 78%);
}

/* ===================================================================== */
/* STUDIO DESIGN SYSTEM (Self-contained to guarantee rendering)          */
/* ===================================================================== */
.tk-display {
    font-family: var(--font-display);
    text-wrap: balance;
    letter-spacing: -0.028em;
}

.tk-mono {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.tk-balance {
    text-wrap: balance;
}

.tk-pretty {
    text-wrap: pretty;
}

/* Hero Gradient Headline Accent */
.tk-hero-gradient {
    background: linear-gradient(95deg, #818cf8 0%, #fb7185 52%, #fcd34d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Section Anchor Offset for Sticky Header */
section[id] {
    scroll-margin-top: 5.5rem;
}

/* Header Navigation Pills & Active ScrollSpy State */
.tk-nav-link {
    position: relative;
    padding: 0.45rem 0.75rem;
    border-radius: 0.65rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #a1a1aa;
    transition: color 0.18s ease, background-color 0.18s ease;
    white-space: nowrap;
}

.tk-nav-link:hover {
    color: #f4f4f5;
    background-color: rgba(255, 255, 255, 0.04);
}

.tk-nav-link.is-active {
    color: #ffffff;
    background-color: rgba(99, 102, 241, 0.14);
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.32);
}

/* Tactile Studio Cards (No backdrop-filter to guarantee 120fps scroll) */
.tk-card {
    position: relative;
    padding: 1.125rem;
    background: linear-gradient(180deg, rgba(24, 24, 33, 0.94) 0%, rgba(15, 15, 22, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.06),
        0 12px 32px -14px rgba(0, 0, 0, 0.65);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.2s ease,
                box-shadow 0.2s ease,
                background-color 0.2s ease;
}

@media (min-width: 640px) {
    .tk-card {
        padding: 1.5rem;
    }
}

.tk-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.12),
        0 18px 38px -16px rgba(0, 0, 0, 0.75),
        0 0 28px -10px rgba(99, 102, 241, 0.16);
}

/* Pricing Cards Unified Layout (Self-contained for precompiled Tailwind) */
.tk-pricing-card {
    padding: 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

@media (min-width: 1280px) {
    .tk-pricing-card {
        padding: 1.125rem !important;
    }
}

.tk-pricing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-bottom: 0.875rem;
    min-height: 2rem;
}

.tk-pricing-title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
    white-space: nowrap;
    margin: 0;
}

@media (min-width: 1280px) {
    .tk-pricing-title {
        font-size: 1.5rem;
    }
}

.tk-pricing-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

.tk-pricing-old-row {
    height: 1.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.tk-pricing-old-price {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    color: #a1a1aa;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(161, 161, 170, 0.85);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.tk-pricing-discount {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.22rem 0.45rem;
    border-radius: 0.375rem;
    color: #34d399;
    background: rgba(6, 78, 59, 0.65);
    border: 1px solid rgba(16, 185, 129, 0.35);
    white-space: nowrap;
}

.tk-pricing-cur-price {
    font-family: var(--font-mono);
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.tk-pricing-btn {
    position: relative !important;
    z-index: 1 !important;
    isolation: isolate !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 2.75rem !important;
    padding: 0 0.875rem !important;
    border-radius: 0.75rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s ease,
                box-shadow 0.28s ease,
                color 0.28s ease !important;
}

/* Icon Badges inside Cards */
.tk-icon-box {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
}

.tk-icon-indigo {
    background: rgba(99, 102, 241, 0.14);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.tk-icon-sky {
    background: rgba(14, 165, 233, 0.14);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.tk-icon-emerald {
    background: rgba(16, 185, 129, 0.14);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.tk-icon-rose {
    background: rgba(244, 63, 94, 0.14);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.tk-icon-amber {
    background: rgba(245, 158, 11, 0.14);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Section Vertical Rhythm & Hero Top Spacing */
.tk-hero-section {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
}

@media (min-width: 640px) {
    .tk-hero-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

.tk-hero-subblock {
    margin-top: 3.75rem;
    margin-bottom: 2.25rem;
}

@media (min-width: 640px) {
    .tk-hero-subblock {
        margin-top: 4.75rem;
        margin-bottom: 2.5rem;
    }
}

.tk-section {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
}

@media (min-width: 640px) {
    .tk-section {
        padding-top: 3.25rem;
        padding-bottom: 3.5rem;
    }
}

/* Wider Text & Content Containers for Better Fill & Shorter Scroll */
.tk-wide-heading {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.tk-wide-copy {
    max-width: 58rem;
    margin-left: auto;
    margin-right: auto;
}

.tk-wide-box {
    max-width: 68rem;
    margin-left: auto;
    margin-right: auto;
}

/* Primary & Secondary CTA Buttons — explicit fit-content sizing, larger text & firefly variable aura glow */
.tk-btn-primary,
.tk-btn-secondary {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    padding: 0.95rem 1.85rem;
    gap: 0.625rem;
    background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    border-radius: 0.875rem;
    border: 1px solid rgba(165, 180, 252, 0.55);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.28),
        0 10px 28px -6px rgba(79, 70, 229, 0.55);
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.18s ease,
                filter 0.18s ease,
                border-color 0.25s ease;
}

@media (min-width: 640px) {
    .tk-btn-primary,
    .tk-btn-secondary {
        padding: 1rem 2.35rem;
        font-size: 1.0625rem;
    }
}

/* Crisp opaque button fill layer above the aura halo */
.tk-btn-primary::after,
.tk-btn-secondary::after,
.tk-pricing-btn-popular::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
    z-index: -1;
    pointer-events: none;
    transition: filter 0.28s ease, background 0.28s ease;
}

/* Standard pricing CTA button opaque fill layer */
a.tk-pricing-btn:not(.tk-pricing-btn-popular)::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, #27272a 0%, #1e1e24 100%);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
    z-index: -1;
    pointer-events: none;
    transition: background 0.32s ease, box-shadow 0.32s ease;
}

a.tk-pricing-btn:not(.tk-pricing-btn-popular):hover::after {
    background: linear-gradient(180deg, #4f46e5 0%, #4338ca 100%);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.28);
}

/* Firefly-style variable breathing aura behind CTA buttons (Zero CSS blur filter = zero frame drops, pure sine wave) */
.tk-btn-primary::before,
.tk-btn-secondary::before,
.tk-pricing-btn-popular::before {
    content: "";
    position: absolute;
    inset: -22px -32px;
    border-radius: 9999px;
    background: radial-gradient(
        ellipse 50% 50% at 50% 50%,
        rgba(129, 140, 248, 0.82) 0%,
        rgba(56, 189, 248, 0.46) 34%,
        rgba(52, 211, 153, 0.26) 58%,
        rgba(99, 102, 241, 0.08) 76%,
        transparent 100%
    );
    z-index: -2;
    pointer-events: none;
    opacity: 0.14;
    transform: scale3d(0.92, 0.85, 1);
    will-change: opacity, transform;
    animation: tkCtaFireflyAura 3.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

/* Hover-activated aura glow for standard pricing CTA buttons */
a.tk-pricing-btn:not(.tk-pricing-btn-popular)::before {
    content: "";
    position: absolute;
    inset: -18px -24px;
    border-radius: 9999px;
    background: radial-gradient(
        ellipse 50% 50% at 50% 50%,
        rgba(129, 140, 248, 0.85) 0%,
        rgba(56, 189, 248, 0.45) 36%,
        rgba(52, 211, 153, 0.24) 60%,
        transparent 100%
    );
    z-index: -2;
    pointer-events: none;
    opacity: 0;
    transform: scale3d(0.88, 0.8, 1);
    will-change: opacity, transform;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

a.tk-pricing-btn:hover {
    transform: translateY(-1.5px) scale(1.015) !important;
    border-color: rgba(165, 180, 252, 0.75) !important;
    box-shadow: 0 12px 28px -8px rgba(99, 102, 241, 0.65) !important;
}

a.tk-pricing-btn:not(.tk-pricing-btn-popular):hover::before {
    opacity: 0.95;
    transform: scale3d(1.05, 1.16, 1);
}

/* Emerald-accented firefly aura for CTA inside the #geo money section */
#geo .tk-btn-primary::before,
#geo .tk-btn-secondary::before {
    background: radial-gradient(
        ellipse 50% 50% at 50% 50%,
        rgba(52, 211, 153, 0.82) 0%,
        rgba(129, 140, 248, 0.52) 36%,
        rgba(16, 185, 129, 0.25) 62%,
        rgba(16, 185, 129, 0.06) 78%,
        transparent 100%
    );
    animation-duration: 3.0s;
}

.tk-pricing-btn-popular::before {
    inset: -18px -24px;
    animation-duration: 3.0s;
}

/* Pure 2-point continuous sine-wave breathing (no intermediate stops = zero jerks) */
@keyframes tkCtaFireflyAura {
    0% {
        opacity: 0.12;
        transform: scale3d(0.92, 0.85, 1);
    }
    100% {
        opacity: 0.96;
        transform: scale3d(1.06, 1.18, 1);
    }
}

.tk-btn-primary:hover,
.tk-btn-secondary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px) scale(1.015);
    border-color: rgba(199, 210, 254, 0.85);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.35),
        0 14px 36px -6px rgba(99, 102, 241, 0.78);
}

.tk-btn-primary:hover::before,
.tk-btn-secondary:hover::before,
.tk-pricing-btn-popular:hover::before {
    opacity: 1;
    transform: scale3d(1.08, 1.22, 1);
}

.tk-btn-primary:active,
.tk-btn-secondary:active {
    transform: translateY(0) scale(0.985);
}

/* GEO Narrative & Cards Explicit Spacing */
.tk-geo-narrative {
    max-width: 58rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tk-geo-cards {
    margin-top: 1.5rem;
    margin-bottom: 1.75rem;
}

.tk-geo-bottom-text {
    max-width: 54rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
    text-align: center;
}

/* Section Eyebrow / Category Header Badges — enlarged & prominent */
.tk-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1.35rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.16),
        0 8px 22px -6px rgba(0, 0, 0, 0.5);
}

.tk-section-badge i {
    font-size: 1.05em;
}

@media (min-width: 640px) {
    .tk-section-badge {
        font-size: 0.98rem;
        padding: 0.72rem 1.75rem;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
}

.tk-badge-indigo {
    background: rgba(99, 102, 241, 0.16);
    border: 1.5px solid rgba(99, 102, 241, 0.45);
    color: #a5b4fc;
}

.tk-badge-emerald {
    background: rgba(16, 185, 129, 0.15);
    border: 1.5px solid rgba(16, 185, 129, 0.42);
    color: #6ee7b7;
}

.tk-badge-sky {
    background: rgba(14, 165, 233, 0.15);
    border: 1.5px solid rgba(14, 165, 233, 0.42);
    color: #7dd3fc;
}

.tk-badge-rose {
    background: rgba(244, 63, 94, 0.15);
    border: 1.5px solid rgba(244, 63, 94, 0.42);
    color: #fda4af;
}

.tk-badge-amber {
    background: rgba(245, 158, 11, 0.15);
    border: 1.5px solid rgba(245, 158, 11, 0.42);
    color: #fcd34d;
}

/* Section Takeaway / Summary Banner — prominent block banner instead of footnote */
.tk-takeaway {
    display: block;
    width: 100%;
    max-width: 58rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.75rem;
    margin-bottom: 1.85rem;
    text-align: center;
    padding: 1.15rem 1.5rem;
    border-radius: 1.1rem;
    line-height: 1.6;
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
        0 14px 32px -14px rgba(0, 0, 0, 0.55);
}

@media (min-width: 640px) {
    .tk-takeaway {
        padding: 1.35rem 2.25rem;
    }
}

.tk-takeaway-emerald {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.06) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.tk-takeaway-indigo {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.13) 0%, rgba(99, 102, 241, 0.07) 100%);
    border: 1px solid rgba(99, 102, 241, 0.32);
    color: #a5b4fc;
}

.tk-takeaway-amber {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fcd34d;
}

/* Strictly Guaranteed 2x2 Responsive Grid on All Viewports */
.tk-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .tk-grid-2x2 {
        gap: 1.25rem;
    }
}

@media (min-width: 768px) {
    .tk-grid-2x2 {
        gap: 1.5rem;
    }
}

/* 3-Column Feature Grid */
.tk-grid-3 {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .tk-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

/* Manifesto & Payback Banner Highlight Surfaces */
.tk-banner-surface {
    padding: 1.5rem;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(99, 102, 241, 0.16) 0%, transparent 55%),
        radial-gradient(120% 120% at 100% 100%, rgba(16, 185, 129, 0.14) 0%, transparent 55%),
        linear-gradient(180deg, rgba(24, 24, 34, 0.92) 0%, rgba(14, 14, 22, 0.9) 100%);
    border: 1px solid rgba(99, 102, 241, 0.24);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
        0 22px 54px -20px rgba(0, 0, 0, 0.8);
}

@media (min-width: 640px) {
    .tk-banner-surface {
        padding: 1.85rem 2.25rem;
    }
}

.tk-manifesto-banner {
    padding: 2.75rem 1.5rem;
    border-color: rgba(99, 102, 241, 0.32);
}

.tk-manifesto-banner p {
    max-width: 48rem;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .tk-manifesto-banner {
        padding: 3.5rem 3.25rem;
    }
}

/* ===================================================================== */
/* GPU-ONLY ENTRANCE & SCROLL-REVEAL ANIMATIONS (Zero layout/paint lag)  */
/* ===================================================================== */
.tk-reveal {
    opacity: 0;
    transform: translate3d(0, var(--tk-offset-y, 26px), 0);
    transition:
        opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0ms,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0ms,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.tk-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1) var(--tk-delay, 0ms),
        transform 0.62s cubic-bezier(0.22, 1, 0.36, 1) var(--tk-delay, 0ms),
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.tk-reveal.is-visible.tk-card:hover {
    transform: translate3d(0, -2px, 0);
    transition-delay: 0ms;
}

/* GEO Preview Window Frame & Peek/Expand */
.tk-preview-window {
    position: relative;
    min-height: 185px;
    max-height: 185px;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #09090b;
    box-shadow:
        0 25px 60px -15px rgba(0, 0, 0, 0.85),
        0 0 40px -10px rgba(99, 102, 241, 0.2);
    transition:
        max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1) var(--tk-delay, 0ms),
        transform 0.62s cubic-bezier(0.22, 1, 0.36, 1) var(--tk-delay, 0ms);
}

@media (min-width: 640px) {
    .tk-preview-window {
        min-height: 380px;
        max-height: 380px;
    }
}

.tk-preview-window.is-expanded {
    max-height: 2200px !important;
}

#geo-preview-gradient {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 5.5rem !important;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.96) 0%, rgba(9, 9, 11, 0.72) 52%, rgba(9, 9, 11, 0) 100%) !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding-bottom: 0.85rem !important;
    box-sizing: border-box !important;
    z-index: 5 !important;
}

@media (min-width: 640px) {
    #geo-preview-gradient {
        height: 7.5rem !important;
        padding-bottom: 1.25rem !important;
    }
}

.tk-preview-window.is-expanded #geo-preview-gradient {
    position: relative !important;
    height: auto !important;
    padding: 0.85rem 1rem !important;
    background: #121218 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    align-items: center !important;
}

#geo-expand-btn {
    position: relative !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.6rem 1.35rem !important;
    border-radius: 0.75rem !important;
    background: linear-gradient(180deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    border: 1px solid rgba(110, 231, 183, 0.55) !important;
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.28),
        0 10px 24px -4px rgba(0, 0, 0, 0.7),
        0 0 20px -4px rgba(16, 185, 129, 0.55) !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease, box-shadow 0.2s ease !important;
}

@media (min-width: 640px) {
    #geo-expand-btn {
        padding: 0.7rem 1.5rem !important;
        font-size: 0.875rem !important;
    }
}

#geo-expand-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px) scale(1.02);
}

#geo-expand-btn * {
    color: #ffffff !important;
}

/* FAQ Accordion Styling */
details.tk-faq-item {
    padding: 1.1rem 1.25rem;
    background: linear-gradient(180deg, rgba(24, 24, 31, 0.76) 0%, rgba(15, 15, 21, 0.66) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.875rem;
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--tk-delay, 0ms),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--tk-delay, 0ms),
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

@media (min-width: 640px) {
    details.tk-faq-item {
        padding: 1.25rem 1.5rem;
    }
}

details.tk-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

details.tk-faq-item[open] {
    border-color: rgba(99, 102, 241, 0.42);
    background: linear-gradient(180deg, rgba(30, 30, 42, 0.88) 0%, rgba(18, 18, 26, 0.8) 100%);
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.65);
}

@keyframes tkFaqAnswerIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

details.tk-faq-item[open] > p {
    animation: tkFaqAnswerIn 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

details.tk-faq-item summary {
    list-style: none;
    cursor: pointer;
}

details.tk-faq-item summary::-webkit-details-marker {
    display: none;
}

details.tk-faq-item .tk-faq-chevron {
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}

details.tk-faq-item[open] .tk-faq-chevron {
    transform: rotate(180deg);
    background-color: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

/* Theme Switcher Button */
.tk-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.375rem;
    height: 2.375rem;
    border-radius: 0.75rem;
    background: rgba(24, 24, 27, 0.85);
    border: 1px solid rgba(63, 63, 70, 0.75);
    color: #fbbf24;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.tk-theme-toggle:hover {
    background: rgba(39, 39, 42, 0.95);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}

.tk-theme-toggle:active {
    transform: scale(0.96);
}

html.dark .tk-theme-icon-sun {
    display: inline-block;
    font-size: 0.95rem;
}

html.dark .tk-theme-icon-moon {
    display: none;
}

html:not(.dark) .tk-theme-icon-sun {
    display: none;
}

html:not(.dark) .tk-theme-icon-moon {
    display: inline-block;
    font-size: 0.95rem;
}

/* ================================================================= */
/* LIGHT THEME OVERRIDES (html:not(.dark))                           */
/* ================================================================= */
html:not(.dark) {
    color-scheme: light;
}

html:not(.dark) body {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

/* Background layers in Light Mode */
html:not(.dark) #tk-ambient-bg > div:first-child {
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9, #f8fafc) !important;
}

html:not(.dark) .bg-tech-grid {
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.032) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.032) 1px, transparent 1px),
        linear-gradient(to right, rgba(79, 70, 229, 0.048) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(79, 70, 229, 0.048) 1px, transparent 1px) !important;
}

html:not(.dark) .bg-dots-pattern {
    background-image: radial-gradient(rgba(79, 70, 229, 0.12) 1px, transparent 1px) !important;
    opacity: 0.16 !important;
}

html:not(.dark) .bg-ambient-aurora {
    opacity: 0.38 !important;
}

/* Header & Navigation in Light Mode */
html:not(.dark) header {
    background-color: rgba(255, 255, 255, 0.88) !important;
    border-bottom-color: rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 4px 20px -6px rgba(15, 23, 42, 0.05);
}

html:not(.dark) .tk-theme-toggle {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

html:not(.dark) .tk-theme-toggle:hover {
    background: #e2e8f0;
    border-color: #6366f1;
    color: #312e81;
}

html:not(.dark) .tk-nav-link {
    color: #475569;
}

html:not(.dark) .tk-nav-link:hover {
    color: #0f172a;
    background-color: rgba(15, 23, 42, 0.05);
}

html:not(.dark) .tk-nav-link.is-active {
    color: #4338ca;
    background-color: rgba(99, 102, 241, 0.12);
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.3);
}

html:not(.dark) #mobile-menu-btn {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

html:not(.dark) #mobile-menu-dropdown {
    background-color: rgba(255, 255, 255, 0.97) !important;
    border-top-color: #e2e8f0 !important;
}

html:not(.dark) #mobile-menu-dropdown .mobile-nav-item {
    border-color: #e2e8f0 !important;
}

html:not(.dark) header a[href="/login"] {
    background-color: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}

html:not(.dark) header a[href="/login"]:hover {
    background-color: #1e293b !important;
}

/* Typography & Neutral Text Utilities in Light Mode */
html:not(.dark) .text-white {
    color: #0f172a !important;
}

/* Keep button text white on vibrant buttons & badges */
html:not(.dark) .tk-btn-primary,
html:not(.dark) .tk-btn-primary *,
html:not(.dark) header a[href="/settings"],
html:not(.dark) header a[href="/settings"] *,
html:not(.dark) header a[href="/login"],
html:not(.dark) header a[href="/login"] *,
html:not(.dark) #landing-plans-container a.bg-indigo-600,
html:not(.dark) #landing-plans-container a.bg-indigo-600 *,
html:not(.dark) #landing-plans-container .from-indigo-500,
html:not(.dark) #landing-plans-container .from-emerald-600 {
    color: #ffffff !important;
}

html:not(.dark) .text-zinc-100,
html:not(.dark) .text-zinc-200 {
    color: #1e293b !important;
}

html:not(.dark) .text-zinc-300 {
    color: #334155 !important;
}

html:not(.dark) .text-zinc-400 {
    color: #475569 !important;
}

html:not(.dark) .text-zinc-500 {
    color: #64748b !important;
}

/* Accent Badges & Inline Highlights in Light Mode */
html:not(.dark) .text-indigo-300 {
    color: #4338ca !important;
}

html:not(.dark) .text-indigo-400 {
    color: #4f46e5 !important;
}

html:not(.dark) .text-emerald-300,
html:not(.dark) .text-emerald-400 {
    color: #047857 !important;
}

html:not(.dark) .text-amber-300,
html:not(.dark) .text-amber-400 {
    color: #b45309 !important;
}

html:not(.dark) .text-rose-400 {
    color: #e11d48 !important;
}

html:not(.dark) .text-sky-400 {
    color: #0284c7 !important;
}

/* Cards & Elevated Surfaces in Light Mode */
html:not(.dark) .tk-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(203, 213, 225, 0.85) !important;
    box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.9) inset,
        0 10px 26px -8px rgba(15, 23, 42, 0.06) !important;
}

html:not(.dark) .tk-card:hover {
    background: #ffffff !important;
    border-color: rgba(99, 102, 241, 0.45) !important;
    box-shadow:
        0 16px 32px -10px rgba(15, 23, 42, 0.1),
        0 0 20px -6px rgba(99, 102, 241, 0.12) !important;
}

html:not(.dark) .tk-banner-surface {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(238, 242, 255, 0.85) 55%, rgba(236, 253, 245, 0.75) 100%) !important;
    border-color: rgba(165, 180, 252, 0.6) !important;
    box-shadow: 0 14px 34px -10px rgba(15, 23, 42, 0.07) !important;
}

/* GEO Preview Window & Breakdown Rows in Light Mode */
html:not(.dark) .tk-preview-window {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.12) !important;
}

html:not(.dark) #geo-preview-container > div:first-child {
    background-color: #f1f5f9 !important;
    border-bottom-color: #e2e8f0 !important;
}

html:not(.dark) #geo-preview-gradient {
    background: linear-gradient(to top, rgba(248, 250, 252, 0.96) 0%, rgba(248, 250, 252, 0.78) 52%, rgba(248, 250, 252, 0) 100%) !important;
}

html:not(.dark) .tk-preview-window.is-expanded #geo-preview-gradient {
    background: #f1f5f9 !important;
    border-top: 1px solid #e2e8f0 !important;
}

html:not(.dark) #geo-expand-btn,
html:not(.dark) #geo-expand-btn * {
    color: #ffffff !important;
}

html:not(.dark) .bg-zinc-900\/90 {
    background-color: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
}

html:not(.dark) .bg-zinc-800 {
    background-color: #e2e8f0 !important;
    color: #334155 !important;
}

/* Pricing Cards (Popular, Current & Standard) in Light Mode */
html:not(.dark) .tk-pricing-title,
html:not(.dark) .tk-pricing-cur-price {
    color: #0f172a !important;
}

html:not(.dark) .tk-pricing-old-price {
    color: #64748b !important;
    text-decoration-color: rgba(100, 116, 139, 0.85) !important;
}

html:not(.dark) .tk-pricing-discount {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #047857 !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
}

html:not(.dark) #landing-plans-container button.tk-pricing-btn {
    background: rgba(16, 185, 129, 0.14) !important;
    border-color: rgba(16, 185, 129, 0.45) !important;
    color: #047857 !important;
}

html:not(.dark) #landing-plans-container > div {
    border-color: #cbd5e1;
}

html:not(.dark) #landing-plans-container > div.from-indigo-950\/40 {
    background: linear-gradient(to bottom, #eef2ff 0%, #ffffff 55%, #f8fafc 100%) !important;
    border-color: #6366f1 !important;
    box-shadow: 0 16px 34px -10px rgba(79, 70, 229, 0.16) !important;
}

html:not(.dark) #landing-plans-container > div.from-emerald-950\/40 {
    background: linear-gradient(to bottom, #ecfdf5 0%, #ffffff 55%, #f8fafc 100%) !important;
    border-color: #10b981 !important;
    box-shadow: 0 16px 34px -10px rgba(16, 185, 129, 0.15) !important;
}

html:not(.dark) #landing-plans-container .border-zinc-800 {
    border-color: #e2e8f0 !important;
}

html:not(.dark) #landing-plans-container a.bg-zinc-800 {
    background-color: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
}

html:not(.dark) #landing-plans-container a.bg-zinc-800:hover {
    background-color: #1e293b !important;
}

/* Section Badges in Light Mode */
html:not(.dark) .tk-section-badge {
    box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.06);
}

html:not(.dark) .tk-badge-indigo {
    background: rgba(99, 102, 241, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.35) !important;
    color: #4338ca !important;
}

html:not(.dark) .tk-badge-emerald {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
    color: #047857 !important;
}

html:not(.dark) .tk-badge-sky {
    background: rgba(14, 165, 233, 0.1) !important;
    border-color: rgba(14, 165, 233, 0.35) !important;
    color: #0369a1 !important;
}

html:not(.dark) .tk-badge-rose {
    background: rgba(244, 63, 94, 0.1) !important;
    border-color: rgba(244, 63, 94, 0.35) !important;
    color: #be123c !important;
}

html:not(.dark) .tk-badge-amber {
    background: rgba(245, 158, 11, 0.12) !important;
    border-color: rgba(245, 158, 11, 0.38) !important;
    color: #b45309 !important;
}

/* Takeaway Callout Banners in Light Mode */
html:not(.dark) .tk-takeaway {
    box-shadow: 0 10px 24px -10px rgba(15, 23, 42, 0.06) !important;
}

html:not(.dark) .tk-takeaway-emerald {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
    color: #065f46 !important;
}

html:not(.dark) .tk-takeaway-indigo {
    background: rgba(99, 102, 241, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.35) !important;
    color: #3730a3 !important;
}

html:not(.dark) .tk-takeaway-amber {
    background: rgba(245, 158, 11, 0.12) !important;
    border-color: rgba(245, 158, 11, 0.38) !important;
    color: #92400e !important;
}

/* FAQ Accordions in Light Mode */
html:not(.dark) details.tk-faq-item {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.04);
}

html:not(.dark) details.tk-faq-item:hover {
    border-color: #94a3b8 !important;
}

html:not(.dark) details.tk-faq-item[open] {
    background: #ffffff !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
    box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.08) !important;
}

html:not(.dark) details.tk-faq-item p {
    border-top-color: #e2e8f0 !important;
}

html:not(.dark) .tk-faq-chevron {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
}

html:not(.dark) details.tk-faq-item[open] .tk-faq-chevron {
    background-color: rgba(99, 102, 241, 0.15) !important;
    color: #4f46e5 !important;
}

/* Compliance Footer in Light Mode */
html:not(.dark) footer.bg-zinc-950\/80 {
    background-color: #f1f5f9 !important;
    border-top-color: #e2e8f0 !important;
    color: #475569 !important;
}

html:not(.dark) footer.bg-zinc-950\/80 a:hover {
    color: #0f172a !important;
}

@media (prefers-reduced-motion: reduce) {
    .aurora-orb-1,
    .aurora-orb-2,
    .aurora-orb-3,
    .tk-hero-enter,
    details.tk-faq-item[open] > p {
        animation: none !important;
    }
    .tk-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .tk-card,
    .tk-btn-primary,
    .tk-btn-secondary,
    .tk-preview-window {
        transition: none !important;
    }
    #tk-flag-fireflies {
        display: none !important;
    }
}

html:not(.dark) #tk-flag-fireflies {
    opacity: 0.72;
}

/* Цифры стримов (templates/components/stream_stats.html) */
.tk-stream-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); max-width: 980px; margin: 0 auto; border-radius: 20px; background: linear-gradient(180deg, rgba(24,24,33,.7), rgba(15,15,22,.6)); border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.tk-stream-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 14px; text-align: center; }
.tk-stream-stat + .tk-stream-stat { border-left: 1px solid rgba(255,255,255,.08); }
.tk-stream-stat strong { display: inline-flex; align-items: center; gap: 10px; font-family: 'Manrope', 'Inter', sans-serif; font-weight: 800; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #c7c9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tk-stream-stat span { font-size: 14px; color: #a1a1aa; }
.tk-stream-stat .tk-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; animation: tk-livepulse 1.8s ease-out infinite; }
@keyframes tk-livepulse { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,.6); } 100% { box-shadow: 0 0 0 12px rgba(239,68,68,0); } }
@media (max-width: 720px) { .tk-stream-stats { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } .tk-stream-stat + .tk-stream-stat { border-left: 0; } .tk-stream-stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,.08); } .tk-stream-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); } }
@media (prefers-reduced-motion: reduce) { .tk-stream-stat .tk-live-dot { animation: none; } }

/* ================================================================= */
/* БЛОК «СТРИМЫ 24/7» НА ГЛАВНОЙ (components/landing_streams_block.html) */
/* Текст и плеер — стили страницы стримов (streams_landing.css, обёртка .sl-page). */
/* ================================================================= */
.tk-streams-title { margin-bottom: 14px; }
.tk-streams-hero { margin: clamp(32px, 4.5vw, 56px) 0 0; }
.tk-streams-cards { margin: clamp(40px, 5vw, 64px) 0 28px; }
.tk-streams-hero .sl-yt-info strong { color: #fff; }
.tk-streams-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; text-align: center; }
.tk-streams-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tk-streams-more { padding: 0.95rem 1.85rem; font-size: 0.95rem; line-height: 1.35; color: #e0e7ff; border: 1px solid rgba(165,180,252,.45); background: rgba(99,102,241,.08); transition: background .18s ease, border-color .18s ease, transform .18s ease; text-decoration: none; }
.tk-streams-more:hover { background: rgba(99,102,241,.18); border-color: rgba(165,180,252,.75); transform: translateY(-1px); }
html:not(.dark) .tk-streams-more { color: #4338ca; background: rgba(99,102,241,.06); border-color: rgba(99,102,241,.35); }
html:not(.dark) .tk-streams-hero .sl-lead { color: #3f3f46; }
html:not(.dark) .tk-streams-hero .sl-yt-info strong { color: #18181b; }
html:not(.dark) .tk-streams-hero .sl-yt-info span { color: #52525b; }
