/* FactChain owner: landing */
/* ----------------------------------------------------------------
   5. FLOATING CTA
   ---------------------------------------------------------------- */
.floating-cta {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #121212;
    border-radius: 32px;
    padding: 8px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.floating-cta__tg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(52px, 4vw, 88px);
    height: clamp(52px, 4vw, 88px);
    background: #2A2A2A;
    border-radius: 18px;
    align-self: center;
    border: none;
    transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
    text-decoration: none;
    color: var(--text-primary);
    margin-left: 6px;
}

.floating-cta__tg:hover {
    background: #2A2A2A;
    color: var(--text-primary);
}

.floating-cta__tg:hover svg {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.floating-cta__tg svg,
.floating-cta__tg img {
    width: 24px;
    height: 24px;
}

.floating-cta__micro {
    display: block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-top: -2px;
    line-height: 1;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 30px var(--accent-glow);
    }
    50% {
        box-shadow: 0 0 50px var(--accent-glow-strong), 0 0 80px rgba(229, 57, 53, 0.15);
    }
}

/* ----------------------------------------------------------------
   6. HERO SECTION
   ---------------------------------------------------------------- */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

.hero__title,
.hero-heading {
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(12px, 3.5vw, 50px);
    font-weight: 500;
    font-style: normal;
    line-height: 1.6;
    white-space: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #999;
}

.hero__title--highlight,
.hero-heading .text-white {
    color: var(--text-primary);
}

.hero__title--accent,
.hero-heading .text-primary {
    color: var(--accent);
}

.hero__title--underline,
.hero-heading .text-underline {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
    transition: text-decoration-color 0.3s ease;
}

.hero-heading .text-underline:hover {
    text-decoration-color: transparent;
}

.hero-heading .text-underline-white {
    text-decoration: underline;
    text-decoration-color: #fff;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

.hero__subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-top: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero__line,
.hero-line {
    display: block;
    margin-bottom: 8px;
}

/* ----------------------------------------------------------------
   7. SECTION HEADERS
   ---------------------------------------------------------------- */
.section {
    padding: 84px 0;
}

.section-header {
    margin-bottom: 64px;
}

.section-header--center {
    text-align: center;
}

.section-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-align: center;
}

.section-title {
    font-family: 'Gilroy', sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 48px;
}

.section-title span,
.section-title .text-primary {
    color: var(--accent);
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 600px;
    line-height: 1.6;
}

.section-header--center .section-description {
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------------------------------------
   8. PRODUCT CARDS
   ---------------------------------------------------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
}

.product-card {
    position: relative;
    background: #1A1A1A;
    border: 1px solid #2A2A2A;
    border-radius: 40px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: box-shadow var(--transition-base);
}

.product-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.product-card[data-product-id],
.payment-product[role="button"] {
    cursor: pointer;
}

.product-card:focus-visible,
.payment-product:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.product-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__bg {
    transform: scale(1.08);
}

.product-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 28px 32px;
    z-index: 2;
}

.product-card__name {
    font-size: 22px;
    font-weight: 700;
    color: #F5F5F5;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.product-card__description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 32px 28px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.74) 62%, transparent 100%);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.product-card__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.product-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.product-card__feature::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-top: 8px;
}

.product-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

/* ----------------------------------------------------------------
   9. TAGS / PILLS
   ---------------------------------------------------------------- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--bg-input);
    color: var(--text-primary);
    border-radius: var(--radius-tag);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background var(--transition-base);
}

.tag:hover {
    background: var(--border-light);
}

.tag--accent {
    background: var(--accent);
    color: #fff;
}

.tag--outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.tag--sm {
    padding: 4px 12px;
    font-size: 12px;
}

/* ----------------------------------------------------------------
   10. HORIZONTAL SLIDER (Results / Reviews)
   ---------------------------------------------------------------- */
.slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
    margin: 0 calc(-1 * var(--container-padding));
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Hide scrollbar */
.slider::-webkit-scrollbar {
    display: none;
}

.slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider__item,
.slider-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

/* Result card (screenshot) */
.result-card,
.slider-card {
    width: 300px;
    border-radius: var(--radius-faq);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-base);
}

.result-card:hover,
.slider-card:hover {
    transform: translateY(-4px);
}

.result-card__image,
.slider-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--bg-input);
}

.result-card__caption,
.slider-card__caption {
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Placeholder for result slider */
.slider-card__placeholder {
    width: 300px;
    height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-faq);
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    padding: 32px;
}

/* Stories card (reviews, vertical) */
.story-card {
    width: 220px;
    flex: 0 0 220px;
    border-radius: var(--radius-faq);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform var(--transition-base);
}

.story-card:hover {
    transform: translateY(-4px);
}

.story-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--bg-input);
    aspect-ratio: 9 / 16;
}

.story-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.story-card__author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Placeholder story card */
.story-card__placeholder {
    width: 220px;
    height: 391px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-faq);
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    padding: 32px;
}

/* Generic placeholder card */
.placeholder-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    padding: 32px;
}

.placeholder-card--result {
    width: 300px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-faq);
}

.placeholder-card--story {
    width: 220px;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-faq);
}

/* ----------------------------------------------------------------
   11. PAYMENT SECTION
   ---------------------------------------------------------------- */
.payment-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.payment-products {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.payment-products__heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.payment-form-wrapper {
    position: sticky;
    top: calc(var(--navbar-height) + 24px);
}

/* ----------------------------------------------------------------
   12. TARIFF SWITCH
   ---------------------------------------------------------------- */
.tariff-switch {
    display: flex;
    max-width: fit-content;
    margin: 0 auto 40px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-btn-pay);
    overflow: hidden;
    background: var(--bg-primary);
}

.tariff-switch__tab {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
    border-radius: calc(var(--radius-btn-pay) - 2px);
    white-space: nowrap;
}

.tariff-switch__tab:hover {
    color: var(--text-primary);
}

.tariff-switch__tab--active {
    background: var(--accent);
    color: #fff;
}

.tariff-switch__tab--active:hover {
    background: var(--accent-hover);
    color: #fff;
}

.tariff-switch__discount {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    margin-left: 4px;
}

/* ----------------------------------------------------------------
   18. FAQ ACCORDION
   ---------------------------------------------------------------- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-faq);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.faq-card:hover {
    border-color: var(--border-light);
}

.faq-card--open,
.faq-card.active {
    border-color: var(--accent);
}

.faq-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    cursor: pointer;
    user-select: none;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-primary);
}

.faq-card__header:hover {
    color: var(--text-primary);
}

.faq-card__number {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    background: var(--bg-input);
    border-radius: var(--radius-tag);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    margin-right: 12px;
}

.faq-card__question {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.faq-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    transition: transform var(--transition-accordion);
    color: var(--text-muted);
}

.faq-card__arrow svg {
    width: 16px;
    height: 16px;
}

.faq-card--open .faq-card__arrow,
.faq-card.active .faq-card__arrow {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-card__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-accordion);
}

.faq-card--open .faq-card__body,
.faq-card.active .faq-card__body {
    max-height: 500px;
}

.faq-card__answer {
    padding: 0 28px 24px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-card__answer a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ================================================================
   PATCHES v3.1 — Product card prices + Hero subtitle
   ================================================================ */

.hero-subtitle {
  text-align: center;
  color: var(--color-text-secondary, #A0A0A0);
  font-size: 18px;
  margin-top: 32px;
  font-weight: 400;
}

.product-card__price {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--color-border, #2A2A2A);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.product-card__price-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-primary, #F5F5F5);
}

.product-card__price-period {
  font-size: 18px;
  color: var(--color-text-secondary, #A0A0A0);
  font-weight: 400;
}

.product-card__price-usd {
  font-size: 14px;
  color: var(--color-text-tertiary, #666);
  margin-left: auto;
}

/* Make product cards flex column so price sticks to bottom */

/* ================================================================
   LANDING V4 — New styles
   ================================================================ */

/* ----------------------------------------------------------------
   V4-1. HERO INLINE SVG ICONS
   ---------------------------------------------------------------- */
.hero-icon {
    display: inline-block;
    vertical-align: middle;
    width: clamp(24px, 4.3vw, 52px);
    height: clamp(24px, 4.3vw, 52px);
    margin: 0 clamp(1px, 0.3vw, 4px);
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    position: relative;
    top: 2px;
    transition: transform 0.3s ease;
}

.hero-icon:hover {
    transform: scale(1.08);
}

.hero-icon--wide {
    width: clamp(44px, 10vw, 120px);
    height: clamp(18px, 4.3vw, 52px);
}

.hero-icon--logo {
    width: clamp(24px, 4.3vw, 52px);
    height: clamp(24px, 4.3vw, 52px);
    border-radius: clamp(7px, 1.1vw, 14px);
    object-fit: cover;
}

.hero-lottie {
    display: inline-block;
    width: clamp(20px, 4.5vw, 56px);
    height: clamp(20px, 4.5vw, 56px);
    vertical-align: middle;
    margin: 0 2px;
    position: relative;
    top: 2px;
}

.hero-lottie svg {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-icon--circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.hero-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    padding: clamp(2px, 0.6vw, 8px) clamp(12px, 2.2vw, 28px);
    height: clamp(24px, 4.5vw, 56px);
    margin: 0 clamp(1px, 0.3vw, 4px);
    background: var(--accent);
    border-radius: clamp(7px, 1.1vw, 14px);
    font-size: clamp(13px, 2.2vw, 28px);
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.hero-buy-btn:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 20px var(--accent-glow);
}

@keyframes zzzFloat {
    0% { opacity: 0; transform: translateY(0); }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-12px); }
}

/* ----------------------------------------------------------------
   V4-2. PRODUCT CARDS (Catalog section)
   ---------------------------------------------------------------- */
.product-card__status {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.product-card__status--soon {
    top: 64px;
    left: 32px;
    right: auto;
    z-index: 3;
    color: var(--text-secondary);
    font-size: 11px;
}

.product-card__status--soon::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.product-card--soon {
    opacity: 0.5;
    pointer-events: none;
}

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

/* ----------------------------------------------------------------
   V4-3. RESULTS MOSAIC (edge-to-edge)
   ---------------------------------------------------------------- */
.results-mosaic {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    /* scroll-snap убран — мешает автоскроллу */
    padding: 0 40px 20px 80px;
    -webkit-overflow-scrolling: touch;
}

.results-mosaic__item {
    flex: 0 0 600px;
    height: 380px;
    border-radius: 24px;
    background: #1A1A1A;
    border: 1px solid #2A2A2A;
    overflow: hidden;
    /* no snap */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.results-mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.results-mosaic__item:hover {
    transform: scale(1.02);
}

/* Hover — только увеличение картинки, без свечения */
.results-mosaic__item:hover img {
    transform: scale(1.03);
}

/* Скрыть скроллбар но оставить функционал */
.results-mosaic::-webkit-scrollbar {
    height: 0;
    display: none;
}

.results-mosaic {
    scrollbar-width: none;
}

.results-mosaic__placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 24px;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    padding: 24px;
}

.results-caption {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 24px;
    font-style: italic;
}

/* ----------------------------------------------------------------
   V4-3.5. REVIEW CAROUSEL (горизонтальная лента, staggered)
   ---------------------------------------------------------------- */
.review-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 40px 0 40px;
}

.review-carousel::-webkit-scrollbar {
    display: none;
}

.review-carousel:active {
    cursor: grabbing;
}

.review-carousel__track {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 max(20px, calc((100vw - 1200px) / 2));
    width: max-content;
}

.review-carousel__card {
    position: relative;
    width: 380px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1A1A1A;
    border: 1px solid #2A2A2A;
    transition: box-shadow 0.3s ease;
}

.review-carousel__card:hover {
    box-shadow: 0 8px 32px rgba(229, 57, 53, 0.12);
}

/* Staggered offset */
.review-carousel__card:nth-child(odd) {
    transform: translateY(-20px);
}

.review-carousel__card:nth-child(even) {
    transform: translateY(20px);
}

/* Размытый фон — заполняет пустоту от object-fit: contain */
.review-carousel__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.5) saturate(0.8);
    opacity: 0.85;
    z-index: 0;
}

/* Основное изображение */
.review-carousel__img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.reviews-caption {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 32px;
    font-style: italic;
}

.carousel-hint {
    margin: -24px 0 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
}

/* ----------------------------------------------------------------
   V4-4. PAYMENT SECTION (main)
   ---------------------------------------------------------------- */

/* Override payment-section grid to 55/45 */
.payment-section {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 32px;
    align-items: start;
}

/* ----------------------------------------------------------------
   V4-4.1 TARIFF SWITCH (period tabs)
   ---------------------------------------------------------------- */
.tariff-switch__badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(229, 57, 53, 0.12);
    padding: 3px 8px;
    border-radius: 10px;
}

.tariff-switch__tab--active .tariff-switch__badge {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

/* ----------------------------------------------------------------
   V4-4.2 PAYMENT PRODUCT CARDS (left column)
   ---------------------------------------------------------------- */
.payment-product {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: border-color var(--transition-base), opacity var(--transition-base);
    cursor: pointer;
    position: relative;
}

.payment-product:hover {
    border-color: var(--border-light);
}

.payment-product--selected {
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.03);
}
.payment-product--active {
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.02);
}
.payment-product--active:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.payment-product--soon {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.payment-product--soon .payment-product__meta,
.payment-product--soon .payment-product__tags {
    display: none;
}

.payment-product__image {
    width: 96px;
    height: 96px;
    min-width: 96px;
    border-radius: 24px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.payment-product__image svg {
    width: 56px;
    height: 56px;
}

.payment-product__soon-badge {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--bg-input);
    padding: 4px 10px;
    border-radius: 12px;
}

.payment-product__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.payment-product__description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.payment-product__metrics {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.payment-product__metric {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

/* ----------------------------------------------------------------
   V4-4.3 PAYMENT FORM (right sticky column)
   ---------------------------------------------------------------- */
.payment-form {
    position: sticky;
    top: calc(var(--navbar-height) + 24px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 36px 32px;
}

.payment-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Резерв места под price-details чтобы форма не прыгала — height задан ниже */

/* Отступ перед блоком чекбоксов */
.form-checkboxes-label {
    margin-top: 4px;
    margin-bottom: -4px;
}

/* Чекбоксы плотно друг к другу */
.form-checkbox + .form-checkbox {
    margin-top: -10px;
}

/* Отступ перед кнопкой оплаты */
#btn-pay {
    margin-top: 6px;
}

.payment-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

/* ----------------------------------------------------------------
   V4-4.4 CURRENCY SWITCH TABS (Rub / Crypto)
   ---------------------------------------------------------------- */
.payment-summary {
    position: relative;
    overflow: hidden;
    padding: 20px 24px;
    background: #242424;
    border: 0;
    border-radius: var(--radius-input);
    box-shadow: none;
    font-family: 'Gilroy', 'Inter', sans-serif;
}

.payment-summary::before {
    content: none;
}

.payment-summary__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.payment-summary__amount {
    color: var(--text-primary);
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.payment-summary__per {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.payment-summary__deal {
    display: grid;
    justify-items: end;
    gap: 8px;
    flex-shrink: 0;
}

.payment-summary__old {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(229, 57, 53, 0.72);
    font-variant-numeric: tabular-nums;
}

.payment-summary__deal[hidden] {
    display: none;
}

#price-savings {
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}

#price-savings[hidden] {
    display: none;
}

/* ----------------------------------------------------------------
   V4-4.5 PRICE DETAILS (under currency tabs)
   ---------------------------------------------------------------- */
.price-details {
    text-align: center;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.price-details__per-month {
    font-size: 14px;
    color: var(--text-secondary);
}

.price-details__savings {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-left: 8px;
}

.price-details--hidden {
    display: none;
}

/* ----------------------------------------------------------------
   V4-4.6 CUSTOM CHECKBOXES (in payment form)
   ---------------------------------------------------------------- */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    user-select: none;
}

/* Нативный чекбокс — кастомный вид */
.form-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #555;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    margin: 2px 0 0 0;
    position: relative;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.form-checkbox input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.form-checkbox__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-checkbox__box {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #555;
    border-radius: 4px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
    margin-top: 2px;
}

.form-checkbox__input:checked + .form-checkbox__box {
    background: var(--accent);
    border-color: var(--accent);
}

.form-checkbox__box::after {
    content: '';
    width: 10px;
    height: 6px;
    border: 2px solid transparent;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg) translateY(-1px);
}

.form-checkbox__input:checked + .form-checkbox__box::after {
    border-color: #fff;
}

.form-checkbox__input:focus-visible + .form-checkbox__box {
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-checkbox__text,
.form-checkbox label {
    flex: 1;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox__text a,
.form-checkbox label a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-checkbox__text a:hover,
.form-checkbox label a:hover {
    color: var(--text-primary);
}

/* ----------------------------------------------------------------
   V4-4.7 EMAIL FIELD SLIDE ANIMATION
   ---------------------------------------------------------------- */
.form-field--email-hide {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-bottom: 0;
    padding: 0;
    transition: max-height var(--transition-slow), opacity var(--transition-slow), margin var(--transition-slow);
}

.form-field--email-show {
    max-height: 100px;
    opacity: 1;
    overflow: visible;
    transition: max-height var(--transition-slow), opacity var(--transition-slow), margin var(--transition-slow);
}

/* ----------------------------------------------------------------
   V4-5. FAQ (v4 style with badge + arrow box)
   ---------------------------------------------------------------- */
.faq-item {
    background: #1A1A1A;
    border: none;
    border-radius: 24px;
    padding: 28px 32px;
    cursor: pointer;
    transition: background var(--transition-base);
    position: relative;
}

.faq-item:hover {
    background: #222;
}

.faq-item.is-open {
    background: #222;
}

.faq-item__question {
    display: flex;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq-item__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item__badge {
    display: inline-block;
    background: #333;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 12px;
    width: fit-content;
}

.faq-item__text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-item__arrow {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 16px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-slow);
    flex-shrink: 0;
    margin-left: auto;
    align-self: flex-start;
}

.faq-item__arrow svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.faq-item.is-open .faq-item__arrow {
    transform: rotate(180deg);
}

.faq-item__answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), opacity var(--transition-slow);
}

.faq-item.is-open .faq-item__answer {
    max-height: 500px;
    opacity: 1;
}

.faq-item__answer p,
.faq-item__answer-inner {
    padding-top: 20px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item__answer a,
.faq-item__answer-inner a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ----------------------------------------------------------------
   V4-6. FOOTER (v4 style)
   ---------------------------------------------------------------- */
.footer-v4 {
    padding: 48px 0 32px;
    border-top: 1px solid var(--bg-card);
}

.footer-v4__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.footer-v4__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-v4__years {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

.footer-v4__requisites {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-v4__email {
    color: var(--text-secondary);
    text-decoration: underline;
}

.footer-v4__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    background: transparent;
    text-decoration: none;
    transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
    cursor: pointer;
}

.footer-link-btn:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
}

.footer-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
}

.footer-icon svg {
    width: 24px;
    height: 24px;
}

.footer-icon--18 {
    cursor: default;
}

.footer-icon--tg {
    color: var(--text-secondary);
}

.footer-icon--tg:hover {
    background: #2AABEE;
    border-color: #2AABEE;
    color: #fff;
}

/* ----------------------------------------------------------------
   V4-7. WELCOME POPUP (promo modal)
   ---------------------------------------------------------------- */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: color var(--transition-slow), background-color var(--transition-slow), border-color var(--transition-slow), box-shadow var(--transition-slow), opacity var(--transition-slow), transform var(--transition-slow);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup {
    max-width: 400px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-slow);
}

.popup-overlay.active .popup {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-input);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
}

.popup-close:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.popup__image {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
}

.popup__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.popup__description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.popup__promo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--bg-input);
    border-radius: 16px;
    height: 64px;
    padding: 0 20px;
    margin-bottom: 16px;
}

.popup__promo-code {
    font-size: 20px;
    font-weight: 700;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.popup__promo-copy {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--border-light);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
    font-size: 18px;
}

.popup__promo-copy:hover {
    background: var(--text-muted);
    color: var(--text-primary);
}

.popup__promo-copy--copied {
    background: var(--success);
    color: #fff;
}

.popup__hint {
    font-size: 13px;
    color: var(--text-muted);
}

/* ----------------------------------------------------------------
   V4-8. STATS SECTION
   ---------------------------------------------------------------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-block {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
}

.stat-block__number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-block__label {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ----------------------------------------------------------------
   V4-9. NAVBAR v4 (simplified — logo only)
   ---------------------------------------------------------------- */
.navbar__logo--v4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-decoration: none;
}

.navbar__logo--v4:hover {
    color: var(--text-primary);
}

/* ----------------------------------------------------------------
   V4-R. RESPONSIVE OVERRIDES FOR LANDING V4
   ---------------------------------------------------------------- */

/* Mobile < 768px */
@media (max-width: 767px) {
    /* ── Hero — compact first screen ── */
    .hero {
        min-height: min(680px, calc(100svh - 72px));
        padding: 88px 0 112px;
    }

    .section {
        padding: 44px 0;
    }

    /* ── Section Headers ── */
    .section-title {
        font-size: 26px;
        margin-bottom: 28px;
    }

    .section-label {
        font-size: 12px;
        margin-bottom: 10px;
    }

    /* ── Products Grid — 2 cols ── */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-card {
        border-radius: 20px;
    }

    .product-card__overlay {
        padding: 14px 16px;
    }

    .product-card__name {
        font-size: 14px;
        line-height: 1.2;
    }

    .product-card__description {
        padding: 12px 14px 14px;
        font-size: 12px;
        line-height: 1.35;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.84) 68%, transparent 100%);
    }

    .product-card__status--soon {
        top: 44px;
        left: 16px;
        font-size: 10px;
    }

    /* ── Results Mosaic ── */
    .results-mosaic {
        padding: 0 24px 12px;
    }

    .results-mosaic__item {
        flex: 0 0 72vw;
        height: 220px;
        border-radius: 16px;
    }

    .results-caption {
        font-size: 13px;
        padding: 0 24px;
    }

    /* ── Review Carousel ── */
    .review-carousel__card {
        width: 260px;
        height: 360px;
    }

    .review-carousel__card:nth-child(odd) {
        transform: translateY(-12px);
    }

    .review-carousel__card:nth-child(even) {
        transform: translateY(12px);
    }

    .review-carousel__track {
        gap: 14px;
        padding: 0 16px;
    }

    .reviews-caption {
        font-size: 13px;
        padding: 0 24px;
    }

    /* ── Tariff Switch ── */
    .tariff-switch {
        width: 100%;
        max-width: 100%;
    }

    .tariff-switch__tab {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 10px 6px;
        font-size: 13px;
        text-align: center;
    }

    .tariff-switch__badge {
        margin-left: 0;
        font-size: 8px;
        padding: 2px 6px;
        white-space: nowrap;
    }

    /* ── Payment Section ── */
    .payment-section {
        grid-template-columns: 1fr;
    }

    .payment-products {
        display: none;
    }

    .payment-form {
        position: static;
        border-radius: 24px;
        padding: 24px 16px;
    }

    .payment-summary {
        padding: 18px 18px;
        border-radius: var(--radius-input);
    }

    .payment-summary__amount {
        font-size: 32px;
    }

    .payment-summary__main {
        gap: 12px;
    }

    .payment-summary__old {
        font-size: 14px;
    }

    #price-savings {
        font-size: 12px;
    }

    .payment-product {
        padding: 16px;
        gap: 14px;
    }

    .payment-product__image {
        width: 64px;
        height: 64px;
        min-width: 64px;
        border-radius: 16px;
    }

    .payment-product__name {
        font-size: 15px;
    }

    .payment-product__meta {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* ── Price Details ── */
    .price-details__per-month {
        font-size: 13px;
    }

    .price-details__savings {
        font-size: 13px;
    }

    /* ── Form Fields ── */
    .form-input,
    .form-field__input {
        height: 64px;
    }

    .payment-disclaimer {
        font-size: 11px;
    }

    .form-checkbox label {
        font-size: 12px;
    }

    .tariff-switch__tab,
    .promo-toggle__btn,
    .faq-item__arrow {
        min-height: 44px;
    }

    /* ── FAQ ── */
    .faq-item {
        padding: 18px 20px;
        border-radius: 16px;
    }

    .faq-item__text {
        font-size: 16px;
    }

    .faq-item__badge {
        font-size: 11px;
        padding: 4px 10px;
    }

    .faq-item__arrow {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 12px;
    }

    .faq-item__answer p {
        font-size: 14px;
    }

    /* ── Stats ── */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-block {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .stat-block__number {
        font-size: 32px;
    }

    .stat-block__label {
        font-size: 14px;
    }

    .footer-links {
        display: contents;
    }

    /* Footer v4 */
    .footer-v4__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-v4__actions {
        justify-content: center;
    }

    .footer-link-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-v4 {
        padding: 32px 0 24px;
    }

    /* ── Floating CTA ── */
    .floating-cta {
        bottom: 16px;
        padding: 6px;
    }

    .floating-cta__btn {
        padding: 0 24px;
        font-size: 12px;
        letter-spacing: 1.5px;
        height: 44px;
        border-radius: 24px;
    }

    .floating-cta__tg {
        width: 44px;
        height: 44px;
        border-radius: 16px;
        margin-left: 6px;
    }

    .floating-cta__tg svg {
        width: 20px;
        height: 20px;
    }

    .floating-cta__micro {
        font-size: 8px;
    }

    /* ── Popup ── */
    .popup {
        margin: 0 16px;
        padding: 32px 24px;
    }

    .popup__image {
        width: 120px;
        height: 120px;
    }

    /* ── Promo Toggle ── */
    .promo-toggle__btn {
        font-size: 13px;
    }
}

/* Small mobile < 480px — hero sizes handled by clamp() */
@media (max-width: 480px) {
    .section-title {
        font-size: 22px;
    }

    .products-grid {
        gap: 6px;
    }

    .product-card__name {
        font-size: 13px;
    }

    .tariff-switch__badge {
        display: none;
    }

    .form-input,
    .form-field__input {
        height: 60px;
        padding: 22px 16px 8px;
        font-size: 15px;
    }

    .form-input:focus + .form-label,
    .form-input:not(:placeholder-shown) + .form-label,
    .form-field__input:focus + .form-field__label,
    .form-field__input:not(:placeholder-shown) + .form-field__label {
        top: 8px;
        font-size: 10px;
    }

    .form-label,
    .form-field__label {
        left: 16px;
        font-size: 14px;
    }

}

/* Tablet (< 960px) — payment-specific breakpoint */
@media (max-width: 959px) {
    .payment-section {
        grid-template-columns: 1fr;
    }

    .payment-form {
        position: static;
    }
}

/* Tablet 768-1023 overrides for v4 */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-icon {
        width: 52px;
        height: 40px;
    }

    .results-mosaic__item {
        flex: 0 0 82vw;
        height: auto;
        aspect-ratio: 16 / 10;
    }

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

/* Desktop 1024+ — restore 55/45 grid */
@media (min-width: 960px) {
    .payment-section {
        grid-template-columns: 55fr 45fr;
    }
}

/* Products grid — force 3 columns on desktop */
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Form checkboxes label */
.form-checkboxes-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Product card title & description are now defined in section 8 */

/* ----------------------------------------------------------------
   CUSTOM CURSOR
   ---------------------------------------------------------------- */
/* Hide default cursor when custom cursor is active (desktop only, landing page only) */
@media (pointer: fine) {
    body.custom-cursor, body.custom-cursor *, body.custom-cursor *::before, body.custom-cursor *::after {
        cursor: none !important;
    }
}
/* Dot — маленькая точка, мгновенно следует */
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.2s;
    mix-blend-mode: difference;
}

.cursor-dot--hover {
    width: 10px;
    height: 10px;
    background: var(--accent);
}

.cursor-dot--click {
    width: 4px;
    height: 4px;
}

/* Ring — кольцо с задержкой */
.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(229, 57, 53, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, opacity 0.2s;
}

.cursor-ring--hover {
    width: 52px;
    height: 52px;
    border-color: rgba(229, 57, 53, 0.7);
}

.cursor-ring--click {
    width: 28px;
    height: 28px;
    border-color: rgba(229, 57, 53, 0.9);
}


/* Social proof */
.social-proof {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.social-proof__dot {
    color: #444;
}

.social-proof__item span {
    transition: opacity 0.3s ease;
}

/* Promo toggle */
.promo-toggle {
    text-align: center;
}

.promo-toggle__btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s;
}

.promo-toggle__btn:hover {
    color: var(--text-primary);
}

.promo-toggle__field {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
}

.promo-toggle__field--open {
    max-height: 100px;
    opacity: 1;
}

/* Promo status — мини полупрозрачная подпись, только цвет */
.promo-status {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-muted, #8a8a8a);
    text-align: center;
    opacity: 0.85;
    letter-spacing: 0.01em;
}

.promo-status--ok {
    color: #2ecc71;
    opacity: 1;
}

.promo-status--err {
    color: #ff6b68;
    opacity: 1;
}

.promo-status--muted {
    color: var(--text-muted, #8a8a8a);
    opacity: 0.75;
}

/* ----------------------------------------------------------------
   PRODUCT DETAIL MODAL — fullscreen premium
   ---------------------------------------------------------------- */
.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    padding: 40px 20px;
}

.product-modal-overlay::-webkit-scrollbar {
    display: none;
}

.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    background: #141414;
    border-radius: 32px;
    max-width: 960px;
    width: 100%;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    margin: 20px auto;
}

.product-modal-overlay.active .product-modal {
    transform: translateY(0);
}

.product-modal__close {
    position: fixed;
    top: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    transition: background 0.2s;
}

.product-modal__close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.product-modal__content {
    padding: 0;
}

/* Hero — large, cinematic */
.product-modal__hero {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 32px 32px 0 0;
}

.product-modal__hero--svg {
    background: radial-gradient(ellipse at center, rgba(229, 57, 53, 0.08) 0%, transparent 60%), #111;
    height: 360px;
}

.product-modal__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-modal__hero--svg .product-modal__hero-img {
    object-fit: contain;
    padding: 60px 120px;
    opacity: 0.7;
}

.product-modal__hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(transparent, #141414);
    pointer-events: none;
}

.product-modal__hero-text {
    position: absolute;
    bottom: 40px;
    left: 48px;
    right: 48px;
    z-index: 1;
    text-align: center;
}

.product-modal__hero-title {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 8px;
}

.product-modal__hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.product-modal__soon-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 8px;
    margin-bottom: 12px;
}

/* Body */
.product-modal__body {
    padding: 48px;
    max-width: 720px;
    margin: 0 auto;
}

/* Sections */
.product-modal__section {
    margin-bottom: 40px;
}

.product-modal__section--border {
    border-top: 1px solid #222;
    padding-top: 40px;
}

.product-modal__label {
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.product-modal__subtitle {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-modal__text {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Inline images — full bleed */
.product-modal__inline-img {
    margin: 16px 0 32px;
    overflow: hidden;
}

.product-modal__inline-img img {
    width: 100%;
    display: block;
    border-radius: 16px;
}

.product-modal__caption {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    padding: 16px 48px 0;
    line-height: 1.5;
    font-style: italic;
}

/* Course list inside modal */
.product-modal__course-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-modal__course {
    padding: 16px 20px;
    background: #1A1A1A;
    border: 1px solid #222;
    border-radius: 14px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.product-modal__course strong {
    color: var(--text-primary);
    font-size: 16px;
}

.product-modal__course-count {
    color: var(--text-muted);
    font-size: 13px;
    margin-left: 8px;
}

.product-modal__course--more {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    border-style: dashed;
}

/* Highlight box — like a quote */
.product-modal__highlight {
    background: #1E1E1E;
    border-radius: 16px;
    padding: 20px 24px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 16px 0 32px;
}

/* Alert example */
.product-modal__alert-example {
    background: #0D0D0D;
    border: 1px solid #222;
    border-radius: 16px;
    padding: 24px 28px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    white-space: pre-line;
}

/* CTA — large, prominent */
.product-modal__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn-pay);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 16px;
}

.product-modal__cta:hover {
    background: var(--accent);
    color: #fff;
}

.product-modal__cta span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.product-modal__cta:hover span {
    transform: translateY(-2px);
}

.product-modal__cta--outline {
    background: transparent;
    border: 1px solid #333;
    color: var(--text-secondary);
    box-shadow: none;
}

.product-modal__cta--outline:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    background: rgba(229, 57, 53, 0.05);
}

/* Mobile */
@media (max-width: 767px) {
    .product-modal {
        border-radius: 24px;
        margin: 8px;
    }
    .product-modal__hero {
        height: 280px;
    }
    .product-modal__hero--svg {
        height: 240px;
    }
    .product-modal__hero-title {
        font-size: 26px;
    }
    .product-modal__hero-text {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }
    .product-modal__body {
        padding: 28px 24px 36px;
    }
    .product-modal__subtitle {
        font-size: 22px;
    }
    .product-modal__inline-img {
        margin-left: -24px;
        margin-right: -24px;
    }
    .product-modal__caption {
        padding-left: 24px;
        padding-right: 24px;
    }
    .product-modal__close {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}

/* ──────────────────────────────────────────────
   Trust Bar (after hero)
   ────────────────────────────────────────────── */
.trust-bar {
    text-align: center;
    padding: 24px 0 0;
}
.trust-bar__item {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.trust-bar__dot {
    margin: 0 12px;
    color: var(--text-muted);
    font-size: 14px;
}

/* ──────────────────────────────────────────────
   Section Subtitle
   ────────────────────────────────────────────── */
.section-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 12px;
    line-height: 1.5;
}

/* ──────────────────────────────────────────────
   Alert Story (results section)
   ────────────────────────────────────────────── */
.alert-story {
    max-width: 520px;
    margin: 48px auto 0;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
}
.alert-story__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}
.alert-story__timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
    border-left: 2px solid rgba(255,255,255,0.15);
}
.alert-story__step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
}
.alert-story__step::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}
.alert-story__time {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 14px;
    color: var(--text-muted);
    white-space: nowrap;
    min-width: 40px;
}
.alert-story__text {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.5;
}
.alert-story__summary {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ──────────────────────────────────────────────
   Payment Checklist (left column)
   ────────────────────────────────────────────── */
.payment-checklist {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.payment-checklist__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}
.payment-checklist__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.payment-checklist__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.payment-checklist__check {
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.payment-checklist__item strong {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
}
.payment-checklist__meta {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 2px;
}
.payment-checklist__guarantees {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.payment-checklist__guarantees p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 8px;
}
.payment-checklist__guarantees p:last-child {
    margin-bottom: 0;
}

/* ──────────────────────────────────────────────
   Floating CTA micro-copy
   ────────────────────────────────────────────── */
/* ──────────────────────────────────────────────
   Payment Info (left column)
   ────────────────────────────────────────────── */
.payment-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-block);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.payment-info__block {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}
.payment-info__block:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
.payment-info__block--compact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.payment-info__heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
}

/* Calculator rows */
.payment-info__calc {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 12px;
}
.payment-info__calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 14px;
}
.payment-info__calc-row:last-child {
    border-bottom: none;
}
.payment-info__calc-row span:first-child {
    color: var(--text-muted);
}
.payment-info__calc-row span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}
.payment-info__calc-row--highlight {
    background: rgba(229, 57, 53, 0.06);
    margin: 4px -12px 0;
    padding: 14px 12px;
    border-radius: 12px;
    border-bottom: none;
}
.payment-info__calc-row--highlight span:last-child {
    color: var(--accent);
    font-size: 22px;
    font-weight: 800;
}
.payment-info__disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    opacity: 0.7;
}

/* Features list */
.payment-info__features {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.payment-info__feature {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.payment-info__feature:last-child {
    border-bottom: none;
}
.payment-info__feature-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}
.payment-info__feature-detail {
    font-size: 13px;
    color: var(--text-muted);
    text-align: right;
}
.payment-info__feature--soon {
    opacity: 0.45;
}

/* Guarantees */
.payment-info__guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
}
.payment-info__guarantee-icon {
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   Payment Calculator
   ────────────────────────────────────────────── */
.payment-calc {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 4px 0;
    margin-bottom: 16px;
}
.payment-calc__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.payment-calc__row:last-child {
    border-bottom: none;
}
.payment-calc__label {
    font-size: 14px;
    color: var(--text-muted);
}
.payment-calc__value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}
.payment-calc__row--accent {
    background: rgba(229, 57, 53, 0.08);
}
.payment-calc__row--accent .payment-calc__label {
    color: var(--text-primary);
    font-weight: 500;
}
.payment-calc__row--accent .payment-calc__value {
    color: var(--accent);
    font-size: 20px;
    font-weight: 700;
}
.payment-calc__note {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 4px;
}
.payment-calc__includes {
    margin-bottom: 4px;
}
.payment-calc__includes-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.floating-cta__micro {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    margin-top: 0;
    letter-spacing: 0;
    text-transform: none;
}

/* Final floating CTA override: larger desktop pills without breaking mobile */
.floating-cta {
    bottom: 24px;
    padding: 10px;
    border-radius: 34px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
    max-width: calc(100vw - 32px);
}

.floating-cta__btn {
    min-width: clamp(300px, 24vw, 560px);
    height: clamp(60px, 4vw, 84px);
    padding: 0 clamp(28px, 2.8vw, 52px);
    border-radius: 22px;
    font-size: clamp(13px, 0.95vw, 18px);
    letter-spacing: 0.04em;
}

.floating-cta__btn span {
    white-space: nowrap;
    line-height: 1;
}

.floating-cta__tg {
    width: clamp(60px, 4vw, 84px);
    height: clamp(60px, 4vw, 84px);
    border-radius: 20px;
    margin-left: 8px;
}

.floating-cta__tg svg,
.floating-cta__tg img {
    width: 30px;
    height: 30px;
}

@media (max-width: 1024px) {
    .floating-cta {
        bottom: 20px;
        padding: 9px;
    }

    .floating-cta__btn {
        min-width: clamp(300px, 52vw, 500px);
        height: 80px;
        padding: 0 44px;
        font-size: 15px;
    }

    .floating-cta__tg {
        width: 80px;
        height: 80px;
        border-radius: 24px;
    }
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 16px;
        padding: 8px;
        border-radius: 24px;
    }

    .floating-cta__btn {
        min-width: min(72vw, 420px);
        height: 68px;
        padding: 0 24px;
        border-radius: 20px;
        font-size: 13px;
        letter-spacing: 0.04em;
    }

    .floating-cta__tg {
        width: 68px;
        height: 68px;
        border-radius: 20px;
        margin-left: 8px;
    }

    .floating-cta__tg svg,
    .floating-cta__tg img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .floating-cta {
        left: 16px;
        right: 16px;
        transform: none;
        max-width: none;
    }

    .floating-cta__btn {
        min-width: 0;
        flex: 1 1 auto;
        height: 60px;
        padding: 0 18px;
        font-size: 12px;
    }

    .floating-cta__tg {
        width: 60px;
        height: 60px;
        flex: 0 0 60px;
    }
}
