/* ====================================================== */
/* PREMIUM.CSS — EduDocs Enhanced Visual Design 2026     */
/* ====================================================== */

/* ============ EXTENDED DESIGN TOKENS ============ */
:root {
    /* Glass / Frosted */
    --glass-white: rgba(255, 255, 255, 0.92);
    --glass-border-white: rgba(255, 255, 255, 0.72);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.95);

    /* Glow effects */
    --glow-primary-sm: 0 0 24px rgba(37, 99, 235, 0.14);
    --glow-primary-md: 0 0 48px rgba(37, 99, 235, 0.22);

    /* Enhanced brand gradient */
    --gradient-brand: linear-gradient(135deg, #1D4ED8 0%, #4F46E5 45%, #7C3AED 100%);
    --gradient-cta: linear-gradient(135deg, #1E3A8A 0%, #2D1B6E 50%, #4C1D95 100%);

    /* Aurora background gradients */
    --aurora-hero:
        radial-gradient(ellipse 75% 80% at 90% -5%, rgba(37, 99, 235, 0.22) 0%, transparent 65%),
        radial-gradient(ellipse 55% 60% at -5% 105%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 45% at 45% 65%, rgba(16, 185, 129, 0.09) 0%, transparent 55%);

    /* Dot grid pattern */
    --dot-grid-sm: radial-gradient(circle, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
    --dot-grid-xs: radial-gradient(circle, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
}

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
    height: 2px;
    background: var(--gradient-brand);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* ============ HEADER ============ */
.header__logo-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.88) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header--scrolled {
    background: linear-gradient(135deg, rgba(22, 62, 195, 0.97) 0%, rgba(110, 40, 210, 0.97) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 28px rgba(37, 99, 235, 0.28), 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header__nav-link::after {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* ============ HERO SECTION ============ */
.hero {
    background: var(--aurora-hero), #ffffff;
}

/* Replace basic grid with dot grid pattern */
.hero__grid-pattern {
    background-image:
        radial-gradient(circle, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(37, 99, 235, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.025) 1px, transparent 1px);
    background-size: 26px 26px, 78px 78px, 78px 78px;
}

/* Hide the basic orbs - aurora handles background now */
.hero__gradient-orb--1,
.hero__gradient-orb--2 {
    display: none;
}

/* Premium hero badge */
.hero__badge {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.09) 0%, rgba(124, 58, 237, 0.09) 100%);
    border: 1px solid rgba(37, 99, 235, 0.22);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.05), 0 2px 8px rgba(37, 99, 235, 0.1);
    font-size: 12px;
    letter-spacing: 0.02em;
    padding: 9px 20px 9px 14px;
}

.hero__badge:hover {
    border-color: rgba(37, 99, 235, 0.38);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08), 0 4px 16px rgba(37, 99, 235, 0.15);
}

/* Larger hero title */
.hero__title {
    font-size: 50px;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

/* Floating cards — glassmorphism */
.hero__floating-card {
    background: var(--glass-white);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--glass-border-white);
    box-shadow: var(--glass-shadow), var(--glow-primary-sm);
    border-radius: 16px;
    padding: 16px 22px;
}

/* Screenshot — premium glow shadow */
.hero__screenshot-placeholder {
    border: none;
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.08),
        0 24px 64px rgba(37, 99, 235, 0.22),
        0 48px 96px rgba(37, 99, 235, 0.10),
        0 80px 120px rgba(0, 0, 0, 0.07);
}

.hero__screenshot-toolbar {
    background: linear-gradient(135deg, #EFF6FF 0%, #F0EBFF 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.09);
    padding: 14px 18px;
    border-radius: 20px 20px 0 0;
}

/* ============ TICKER BAR ============ */
.ticker-bar {
    background: linear-gradient(135deg, #0B1120 0%, #131A2F 60%, #0F172A 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ticker-bar__item {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.9);
}

.ticker-bar__diamond {
    color: #60A5FA;
    font-size: 7px;
    opacity: 0.7;
}

/* ============ SECTION LABELS ============ */
.section-label {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.09) 0%, rgba(124, 58, 237, 0.09) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #1D4ED8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 7px 20px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.04);
}

/* How it works label override — light on dark */
.how-it-works .section-label {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #93C5FD;
    box-shadow: none;
}

/* ============ PAIN POINTS ============ */
.pain-points {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5FA 100%);
}

.pain-points::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--dot-grid-sm);
    background-size: 26px 26px;
    pointer-events: none;
    z-index: 0;
}

.pain-points .container {
    position: relative;
    z-index: 1;
}

/* Glass pain cards */
.pain-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.pain-card:hover {
    background: #fff;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.04),
        0 20px 48px rgba(0, 0, 0, 0.08),
        0 0 24px rgba(37, 99, 235, 0.06);
    transform: translateY(-8px);
}

.pain-card__solution {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.07) 0%, rgba(5, 150, 105, 0.04) 100%);
    border: 1px solid rgba(5, 150, 105, 0.14);
    border-radius: 10px;
    padding: 11px 16px;
    font-weight: 600;
    font-size: 12px;
}

/* ============ FEATURES ============ */
.features {
    background: #fff;
}

.feature-screenshot img {
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.07),
        0 16px 48px rgba(37, 99, 235, 0.15),
        0 32px 64px rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.55s ease;
}

.feature-screenshot:hover img {
    transform: scale(1.016);
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.12),
        0 24px 64px rgba(37, 99, 235, 0.22),
        0 40px 80px rgba(0, 0, 0, 0.08);
}

/* Feature row badges — premium border */
.feature-row__badge--blue {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.06) 100%);
    border: 1px solid rgba(37, 99, 235, 0.22);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.04);
}

.feature-row__badge--purple {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0.06) 100%);
    border: 1px solid rgba(124, 58, 237, 0.22);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.04);
}

.feature-row__badge--green {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(5, 150, 105, 0.06) 100%);
    border: 1px solid rgba(5, 150, 105, 0.22);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.04);
}

.feature-card:hover {
    border-color: rgba(37, 99, 235, 0.14);
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.1),
        0 16px 36px rgba(37, 99, 235, 0.07),
        0 8px 16px rgba(0, 0, 0, 0.04);
    transform: translateY(-6px);
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
    background: linear-gradient(135deg, #0C1220 0%, #111827 35%, #0F1E42 70%, #190F34 100%);
}

/* Better orbs */
.how-it-works__gradient-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
    opacity: 1;
    filter: blur(80px);
}

.how-it-works__gradient-orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, transparent 70%);
    opacity: 1;
    filter: blur(80px);
}

/* Glass step cards */
.step-card {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.085);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.28),
        0 20px 60px rgba(37, 99, 235, 0.22),
        0 0 0 1px rgba(37, 99, 235, 0.18);
    transform: translateY(-12px);
}

.step-card--highlight {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, rgba(79, 70, 229, 0.11) 100%);
    border-color: rgba(37, 99, 235, 0.38);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.22), 0 8px 32px rgba(37, 99, 235, 0.12);
}

.step-card--highlight:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.24) 0%, rgba(79, 70, 229, 0.17) 100%);
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.38),
        0 4px 12px rgba(0, 0, 0, 0.28),
        0 20px 60px rgba(37, 99, 235, 0.3);
}

/* ============ SUBSYSTEMS ============ */
.subsystems {
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
    position: relative;
    overflow: hidden;
}

.subsystems::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--dot-grid-xs);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.subsystems .container {
    position: relative;
    z-index: 1;
}

.subsystem-card--dpo:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.12),
        0 20px 48px rgba(37, 99, 235, 0.1);
}

.subsystem-card--po:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow:
        0 0 0 1px rgba(124, 58, 237, 0.12),
        0 20px 48px rgba(124, 58, 237, 0.1);
}

/* ============ COMPARISON TABLE ============ */
.comparison {
    background: #fff;
}

/* EduDocs column header — gradient */
.comparison-table thead .comparison-table__highlight {
    background: linear-gradient(145deg, #1D4ED8 0%, #4F46E5 50%, #7C3AED 100%);
    padding-top: 22px;
    padding-bottom: 22px;
    border-radius: 0;
}

/* Logo text white on gradient bg */
.comparison-table thead .comparison-table__highlight .comparison-table__logo {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #fff;
    background-clip: unset;
    color: #fff;
    font-size: 17px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Recommend badge */
.comparison-table__recommend {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    padding: 3px 12px;
    display: inline-block;
    margin-bottom: 8px;
}

/* Body cells subtle highlight */
.comparison-table tbody .comparison-table__highlight {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.03) 100%);
}

.comparison-table tbody tr:hover .comparison-table__highlight {
    background: rgba(37, 99, 235, 0.08);
}

/* ============ CALCULATOR ============ */
.calculator {
    background: linear-gradient(180deg, #EEF2F8 0%, #E5EBF3 100%);
    position: relative;
    overflow: hidden;
}

.calculator::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--dot-grid-xs);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

.calculator .container {
    position: relative;
    z-index: 1;
}

.calculator__inner {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(37, 99, 235, 0.07);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.03),
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(37, 99, 235, 0.04);
    border-radius: 24px;
}

/* Better range slider */
.calc-field__range {
    height: 6px;
    border-radius: 4px;
}

.calc-field__range::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    border-width: 2.5px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28), 0 0 0 4px rgba(37, 99, 235, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calc-field__range::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4), 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.calc-result:hover {
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.1),
        0 8px 24px rgba(37, 99, 235, 0.07);
    transform: translateY(-3px);
}

.calc-result--highlight {
    background: var(--gradient-brand);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

.calc-result--highlight:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.42), 0 0 0 1px rgba(79, 70, 229, 0.4);
    transform: translateY(-3px);
}

/* ============ PRICING ============ */
.pricing {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, #F8FAFC 0%, transparent 100%);
    pointer-events: none;
}

.pricing .container {
    position: relative;
    z-index: 1;
}

/* Active pricing card — gradient border + scale */
.pricing-card--active {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(145deg, #1D4ED8, #4F46E5, #7C3AED) border-box;
    border: 2px solid transparent;
    box-shadow:
        0 8px 32px rgba(37, 99, 235, 0.12),
        0 20px 64px rgba(37, 99, 235, 0.08),
        0 0 0 4px rgba(37, 99, 235, 0.04);
    transform: scale(1.02);
    position: relative;
    z-index: 2;
}

.pricing-card--active:hover {
    box-shadow:
        0 12px 42px rgba(37, 99, 235, 0.18),
        0 24px 72px rgba(37, 99, 235, 0.1),
        0 0 0 4px rgba(37, 99, 235, 0.06);
    transform: scale(1.02) translateY(-4px);
}

/* Active card header — gradient tint */
.pricing-card--active .pricing-card__header {
    background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

/* Price amount — gradient text */
.pricing-card--active .pricing-card__amount {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 58px;
}

/* CTA button — glow */
.pricing-card__btn.btn--primary {
    background: var(--gradient-brand);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.38), 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.pricing-card__btn.btn--primary:hover {
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.52), 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.pricing-benefit:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 20px 40px rgba(0, 0, 0, 0.04);
}

/* ============ REVIEWS ============ */
.reviews {
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
    position: relative;
    overflow: hidden;
}

.reviews::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--dot-grid-xs);
    background-size: 28px 28px;
    pointer-events: none;
}

.reviews .container {
    position: relative;
    z-index: 1;
}

.feedback-channels .review-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(37, 99, 235, 0.07);
    transition: all 0.38s cubic-bezier(0.23, 1, 0.32, 1);
}

.feedback-channels .review-card:hover {
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.05),
        0 16px 40px rgba(37, 99, 235, 0.09);
    transform: translateY(-6px);
}

.feedback-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.09) 0%, rgba(124, 58, 237, 0.09) 100%);
    border: 1px solid rgba(37, 99, 235, 0.13);
    border-radius: 14px;
    transition: transform 0.3s ease;
}

.feedback-channels .review-card:hover .feedback-icon {
    transform: scale(1.08);
}

/* ============ FAQ ============ */
.faq {
    background: #ffffff;
}

.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item.active {
    border-color: rgba(37, 99, 235, 0.12);
    box-shadow:
        -3px 0 0 0 var(--color-primary),
        0 4px 20px rgba(37, 99, 235, 0.07);
    border-radius: 0 14px 14px 14px;
}

.faq-item.active .faq-item__question {
    color: var(--color-primary);
}

/* ============ FINAL CTA ============ */
.final-cta {
    background: linear-gradient(180deg, #F0F4F9 0%, #E8EEF5 100%);
}

.final-cta__inner {
    background: var(--gradient-cta);
    box-shadow:
        0 32px 80px rgba(37, 99, 235, 0.28),
        0 0 0 1px rgba(124, 58, 237, 0.12);
}

/* Keep the pseudo-element orbs from styles.css but enhance them */
.final-cta__inner::before {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.final-cta__inner::after {
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.04);
}

.final-cta__title {
    font-size: 40px;
    letter-spacing: -0.028em;
}

.final-cta .btn--white {
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.final-cta .btn--white:hover {
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
    transform: translateY(-3px);
}

.final-cta .btn--ghost {
    border-color: rgba(255, 255, 255, 0.38);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.final-cta .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
}

/* ============ FOOTER ============ */
.footer {
    background: linear-gradient(160deg, #090E1A 0%, #0F172A 50%, #0B1020 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__logo .header__logo-text {
    background: linear-gradient(135deg, #ffffff 0%, #93C5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px;
    font-weight: 800;
}

.footer__col-title {
    font-size: 11px;
    letter-spacing: 0.13em;
    color: rgba(255, 255, 255, 0.55);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(147, 197, 253, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__link {
    padding-left: 0;
    transition: color 0.2s ease, padding-left 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer__link:hover {
    color: #ffffff;
    padding-left: 6px;
}

.footer__link--contact {
    padding-left: 0 !important;
    transition: color 0.2s ease !important;
}

.footer__link--contact:hover {
    color: #60A5FA;
    padding-left: 0 !important;
}

.footer__inner {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__mission {
    font-size: 13px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 16px;
    color: rgba(148, 163, 184, 0.75);
}

.footer__copyright {
    font-size: 12px;
    color: rgba(100, 116, 139, 0.85);
    letter-spacing: 0.01em;
}

/* ============ BUTTONS — Global Enhanced ============ */
.btn--primary {
    background: var(--gradient-brand);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.42);
    transform: translateY(-3px);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    background: var(--gradient-brand);
    border-radius: 14px;
    width: 44px;
    height: 44px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.38);
}

.back-to-top:hover {
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.52);
    transform: translateY(-4px);
}

/* ============ RESPONSIVE OVERRIDES ============ */
@media (min-width: 1400px) {
    .hero__title {
        font-size: 58px;
    }
}

@media (max-width: 1024px) {
    .hero__title {
        font-size: 36px;
    }

    .pricing-card--active {
        transform: scale(1);
    }

    .pricing-card--active:hover {
        transform: scale(1) translateY(-2px);
    }
}

@media (max-width: 640px) {
    .hero__title {
        font-size: 28px;
    }

    .final-cta__title {
        font-size: 26px;
    }

    .pain-points::before,
    .subsystems::before,
    .calculator::before,
    .reviews::before {
        background-size: 20px 20px;
    }
}

@media (max-width: 380px) {
    .hero__title {
        font-size: 24px;
    }
}

/* ============================================================ */
/* STATS STRIP — Animated key metrics                          */
/* ============================================================ */
.stats-strip {
    background: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(37, 99, 235, 0.07);
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 90% at 50% -10%, rgba(37, 99, 235, 0.055) 0%, transparent 70%),
        radial-gradient(ellipse 30% 60% at 90% 110%, rgba(124, 58, 237, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.stats-strip::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.stats-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.stats-strip__item {
    text-align: center;
    padding: 0 28px;
    position: relative;
}

.stats-strip__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 56px;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(37, 99, 235, 0.18) 40%, rgba(37, 99, 235, 0.18) 60%, transparent 100%);
}

.stats-strip__number {
    font-size: 54px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #1D4ED8 0%, #4F46E5 50%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stats-strip__number--symbol {
    font-size: 60px;
    justify-content: center;
}

.stats-strip__plus,
.stats-strip__ruble {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #1D4ED8 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stats-strip__zero {
    font-size: 54px;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #1D4ED8 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-strip__label {
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    line-height: 1.45;
    max-width: 140px;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .stats-strip__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 0;
    }
    .stats-strip__item:nth-child(2)::after {
        display: none;
    }
    .stats-strip__number {
        font-size: 40px;
    }
    .stats-strip__number--symbol {
        font-size: 46px;
    }
    .stats-strip__zero {
        font-size: 40px;
    }
    .stats-strip__plus,
    .stats-strip__ruble {
        font-size: 24px;
    }
}

/* ============================================================ */
/* HERO ORBIT RINGS — Decorative rings around screenshot       */
/* ============================================================ */
.hero__orbit {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    border-style: solid;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbit-pulse 5s ease-in-out infinite;
}

.hero__orbit--1 {
    width: calc(100% + 50px);
    height: calc(100% + 50px);
    border-width: 1px;
    border-color: rgba(37, 99, 235, 0.14);
    animation-delay: 0s;
}

.hero__orbit--2 {
    width: calc(100% + 120px);
    height: calc(100% + 120px);
    border-width: 1px;
    border-color: rgba(124, 58, 237, 0.08);
    animation-delay: 1.6s;
}

.hero__orbit--3 {
    width: calc(100% + 200px);
    height: calc(100% + 200px);
    border-width: 1px;
    border-color: rgba(37, 99, 235, 0.04);
    animation-delay: 3.2s;
}

@keyframes orbit-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.025); opacity: 0.55; }
}

/* Corner dots on orbit-1 */
.hero__orbit--1::before,
.hero__orbit--1::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
}

.hero__orbit--1::before {
    top: 10%;
    right: -4px;
    animation: orbit-dot 5s ease-in-out infinite;
}

.hero__orbit--1::after {
    bottom: 10%;
    left: -4px;
    animation: orbit-dot 5s ease-in-out infinite 2.5s;
}

@keyframes orbit-dot {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.5); opacity: 1; box-shadow: 0 0 14px rgba(37, 99, 235, 0.9); }
}

/* ============================================================ */
/* PAIN CARD WATERMARK NUMBERS                                  */
/* ============================================================ */
.pain-card::after {
    content: attr(data-num);
    position: absolute;
    bottom: -22px;
    right: -8px;
    font-size: 108px;
    font-weight: 900;
    line-height: 1;
    color: var(--card-accent, #2563EB);
    opacity: 0.045;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    font-variant-numeric: tabular-nums;
    transition: opacity 0.35s ease;
}

.pain-card:hover::after {
    opacity: 0.07;
}

/* Ensure pain card content stays above watermark */
.pain-card > * {
    position: relative;
    z-index: 1;
}

/* ============================================================ */
/* HOW-IT-WORKS FLOATING PARTICLES                              */
/* ============================================================ */
.how-it-works__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hw-particle {
    position: absolute;
    border-radius: 50%;
    animation: hw-float var(--hw-dur, 9s) ease-in-out infinite var(--hw-delay, 0s);
}

/* Glowing dot particles */
.hw-particle--1 { width: 5px; height: 5px; top: 12%; left: 8%;  background: rgba(96, 165, 250, 0.7);  box-shadow: 0 0 8px rgba(96, 165, 250, 0.8);  --hw-dur: 7s;  --hw-delay: 0s; }
.hw-particle--2 { width: 3px; height: 3px; top: 35%; left: 22%; background: rgba(167, 139, 250, 0.6); box-shadow: 0 0 6px rgba(167, 139, 250, 0.7); --hw-dur: 9s;  --hw-delay: -2s; }
.hw-particle--3 { width: 6px; height: 6px; top: 65%; left: 12%; background: rgba(96, 165, 250, 0.5);  box-shadow: 0 0 10px rgba(96, 165, 250, 0.6); --hw-dur: 11s; --hw-delay: -4s; }
.hw-particle--4 { width: 4px; height: 4px; top: 80%; left: 42%; background: rgba(52, 211, 153, 0.5);  box-shadow: 0 0 7px rgba(52, 211, 153, 0.6);  --hw-dur: 8s;  --hw-delay: -1s; }
.hw-particle--5 { width: 5px; height: 5px; top: 18%; left: 72%; background: rgba(167, 139, 250, 0.6); box-shadow: 0 0 9px rgba(167, 139, 250, 0.7); --hw-dur: 10s; --hw-delay: -3s; }
.hw-particle--6 { width: 3px; height: 3px; top: 55%; left: 88%; background: rgba(96, 165, 250, 0.7);  box-shadow: 0 0 6px rgba(96, 165, 250, 0.8);  --hw-dur: 7s;  --hw-delay: -5s; }
.hw-particle--7 { width: 7px; height: 7px; top: 78%; left: 78%; background: rgba(96, 165, 250, 0.4);  box-shadow: 0 0 12px rgba(96, 165, 250, 0.5); --hw-dur: 12s; --hw-delay: -2s; }
.hw-particle--8 { width: 4px; height: 4px; top: 42%; left: 58%; background: rgba(52, 211, 153, 0.5);  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);  --hw-dur: 9s;  --hw-delay: -6s; }

@keyframes hw-float {
    0%, 100% { transform: translateY(0) scale(1);    opacity: 0.7; }
    33%       { transform: translateY(-22px) scale(1.3); opacity: 1; }
    66%       { transform: translateY(-9px) scale(0.85); opacity: 0.45; }
}

/* ============================================================ */
/* FINAL CTA DECORATIVE FLOATING ICONS                         */
/* ============================================================ */
.final-cta__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.cta-decor-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.10);
    animation: cta-icon-float var(--cta-dur, 7s) ease-in-out infinite var(--cta-delay, 0s);
}

.cta-decor-icon--1 { top: 15%;  left: 5%;  --cta-dur: 8s;  --cta-delay: 0s; }
.cta-decor-icon--2 { top: 60%;  left: 8%;  --cta-dur: 10s; --cta-delay: -3s; }
.cta-decor-icon--3 { top: 20%;  right: 7%; --cta-dur: 7s;  --cta-delay: -1.5s; }
.cta-decor-icon--4 { bottom: 20%; right: 12%; --cta-dur: 9s; --cta-delay: -4s; }

@keyframes cta-icon-float {
    0%, 100% { transform: translateY(0) rotate(0deg);    opacity: 0.10; }
    50%       { transform: translateY(-16px) rotate(8deg); opacity: 0.18; }
}

/* ============================================================ */
/* FEATURE SCREENSHOT — Enhanced visual frame                  */
/* ============================================================ */
.feature-screenshot {
    position: relative;
}

.feature-screenshot::before {
    content: '';
    position: absolute;
    inset: -16px -20px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(124, 58, 237, 0.04) 100%);
    border: 1px solid rgba(37, 99, 235, 0.07);
    z-index: -1;
    pointer-events: none;
}

/* ============================================================ */
/* SUBSYSTEM CARDS — Enhanced top accent bar                   */
/* ============================================================ */
.subsystem-card--dpo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563EB, #4F46E5);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.subsystem-card--po::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7C3AED, #4F46E5);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ============================================================ */
/* PRICING ACTIVE CARD — Radial glow backdrop                  */
/* ============================================================ */
.pricing__cards {
    position: relative;
}

.pricing__cards::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.09) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.pricing-card {
    position: relative;
    z-index: 1;
}

/* ============================================================ */
/* SECTION VISUAL SEPARATORS — Gradient dividers               */
/* ============================================================ */
.pain-points {
    border-top: 1px solid rgba(37, 99, 235, 0.06);
}

.features {
    border-top: 1px solid rgba(37, 99, 235, 0.04);
}

/* ============================================================ */
/* FEATURE LIST ITEMS — Enhanced check mark                    */
/* ============================================================ */
.feature-row__list li svg {
    filter: drop-shadow(0 0 4px rgba(37, 99, 235, 0.25));
}

/* ============================================================ */
/* SECTION TITLE — Subtle text gradient on headings            */
/* ============================================================ */
.section-title {
    background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark section titles stay white */
.how-it-works .section-title {
    background: none;
    -webkit-text-fill-color: #fff;
}

/* ============================================================ */
/* RESPONSIVE — stats strip                                    */
/* ============================================================ */
@media (max-width: 480px) {
    .stats-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-strip__item:nth-child(odd)::after {
        display: block;
    }
    .stats-strip__item:nth-child(even)::after {
        display: none;
    }
    .cta-decor-icon {
        display: none;
    }
}
