/* =================================================================
   DeutschGo — Landing Page Design System
   Redesigned with Fullscreen Impact Hero, Watermark Typography,
   Handwritten Script, 3D Fan Composition & Pure White Theme.
   ================================================================= */

:root {
    --eb-accent: #F98716;
    --eb-accent-hover: #e07914;
    --eb-accent-soft: #FFF7ED;
    --eb-accent-light: #FFF8F0;
    --eb-primary: #23272E;
    /* Антрацитовый цвет текста вместо чёрного */
    --eb-secondary: #64748b;
    --eb-bg-ivory: #FFFFFF;
    /* Белый фон сайта по новому дизайн-макету */
    --eb-card-bg: #FFFFFF;
    --eb-card-border: #FED7AA;
    --goe-card-border: #FED7AA;
    --eb-card-border-subtle: #E2E8F0;
    --eb-shadow-sm: 0 4px 12px rgba(249, 135, 22, 0.08);
    --eb-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --eb-shadow-lg: 0 16px 40px rgba(249, 135, 22, 0.15);
    --eb-font-main: 'Inter', sans-serif;
    --eb-font-heading: "Actay Wide", Tahoma, Arial, sans-serif;
    --eb-font-script: 'Caveat', 'Comic Sans MS', cursive;
    /* Рукописный шрифт для акцентов */
    --eb-radius-btn: 8px;
    /* Радиус кнопок 8px */
    --eb-radius-card: 20px;
    --eb-radius-pill: 50px;
    --eb-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--eb-font-main);
    color: var(--eb-primary);
    background-color: #FFFFFF;
    /* Чистый белый фон */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-logo,
.btn,
.section-title,
.hero-title,
.blob-badge,
.tariff-duration,
.price-value {
    font-family: var(--eb-font-heading);
    color: var(--eb-primary);
}

/* Visually Hidden Utility for Accessible Headings */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 90%;
    margin: 0 auto;
}

/* Accent Highlight Effect */
.highlight {
    color: var(--eb-accent);
    font-size: 1.15em;
    position: relative;
    display: inline;
}

.highlight::after {
    display: none;
}

/* Buttons with 8px Radius */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--eb-font-heading);
    /* actay wide font */
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    /* Точное центрирование по высоте */
    padding: 14px 28px;
    border-radius: var(--eb-radius-btn);
    /* радиус 8px */
    text-decoration: none;
    transition: var(--eb-transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #23272E !important;
    color: #FFFFFF !important;
    border: 2px solid #23272E !important;
    box-shadow: 0 4px 16px rgba(35, 39, 46, 0.25);
    letter-spacing: 0.5px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary:hover {
    background: #F98716 !important;
    color: #FFFFFF !important;
    border-color: #F98716 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 135, 22, 0.4) !important;
}

.btn-secondary {
    background: #FFFFFF !important;
    color: #23272E !important;
    border: 2px solid #23272E !important;
    box-shadow: var(--eb-shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-secondary:hover {
    background: #F98716 !important;
    color: #FFFFFF !important;
    border-color: #F98716 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 135, 22, 0.4) !important;
}



/* Micro-animations */
@keyframes float {

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

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

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(249, 135, 22, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(249, 135, 22, 0);
    }
}

.pulse-anim {
    animation: pulseGlow 2.5s infinite;
}


/* Section Header */
.section-header {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 50px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--eb-accent);
    background: var(--eb-accent-soft);
    padding: 6px 16px;
    border-radius: var(--eb-radius-btn);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--eb-secondary);
}


/* Top Navigation Header & Mobile Burger (Floating Pill Bar with Completely Transparent Background & Frosted Glass Blur Backdrop) */
.site-header {
    position: fixed;
    top: 16px;
    left: 24px;
    right: 24px;
    width: auto !important;
    /* Автоматически растягивается на всю ширину экрана */
    max-width: none !important;
    z-index: 500;
    background: transparent !important;
    /* Полностью прозрачный фон шапки по требованию */
    backdrop-filter: blur(20px) saturate(180%);
    /* Матовый блюр заднего плана */
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: none !important;
    /* Стеклянная рамка убрана */
    border-radius: 60px;
    /* Скругленные края капсулы */
    padding: 10px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    /* Легкая прозрачная тень */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.header-visible,
body:not(.home):not(.deutschgo-front-page) .site-header {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

body:not(.home):not(.deutschgo-front-page) .site-header {
    transition: none !important;
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .site-header {
    top: 48px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 56px !important;
    }
}

@media screen and (max-width: 600px) {
    body.admin-bar .site-header {
        top: 54px !important;
    }
}

.site-header .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.45rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--eb-primary);
    position: relative;
    user-select: none;
    line-height: 1;
    flex-shrink: 0;
}

.brand-logo-graphic {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Full-color solid orange big circle */
.logo-circle-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F98716;
    box-shadow: 0 4px 12px rgba(249, 135, 22, 0.35);
}

/* Smaller semi-transparent circle overlay (Shifted right towards letter D, touching the right edge) */
.logo-circle-inner {
    position: absolute;
    top: 2px;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 0 0 5px rgba(249, 135, 22, 0.25);
}

/* Text DeutschGo starting precisely from the center (X: 18px) of the big circle */
.brand-text {
    margin-left: -18px;
    position: relative;
    z-index: 2;
    color: var(--eb-primary);
    letter-spacing: -0.3px;
    font-weight: 900;
}

.brand-text .text-go {
    color: #F98716;
}

.login-brand-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* Nav Links: Шрифт Actay Wide (как у кнопки ВОЙТИ) */
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-links a,
.nav-link {
    text-decoration: none;
    color: var(--eb-primary);
    font-family: var(--eb-font-heading);
    /* Тот же шрифт Actay Wide, что у кнопки ВОЙТИ */
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: var(--eb-transition);
}

.nav-links a:hover,
.nav-link:hover {
    color: var(--eb-accent);
    transform: translateY(-1px);
}

/* Header Login Button: Transparent Background, Anthracite Border & Text */
.btn-header-login {
    padding: 9px 20px !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    /* Прозрачный фон кнопки по требованию */
    color: #23272E !important;
    /* Антрацитовый цвет шрифта */
    border: 1.5px solid #23272E !important;
    /* Антрацитовый контур */
    box-shadow: none !important;
    transition: var(--eb-transition);
}

.btn-header-login:hover {
    background: #F98716 !important;
    color: #FFFFFF !important;
    border-color: #F98716 !important;
    box-shadow: 0 4px 16px rgba(249, 135, 22, 0.35) !important;
    transform: translateY(-2px);
}

.social-header-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--eb-accent);
    text-decoration: none;
    transition: var(--eb-transition);
    background: transparent;
    border: none;
    padding: 4px;
}

.social-icon-btn:hover {
    color: var(--eb-accent-hover);
    transform: translateY(-2px);
    background: transparent;
}

/* Плавный переход цвета для элементов шапки */
.brand-logo,
.nav-link,
.btn-header-login,
.social-icon-btn,
.burger-line {
    transition: color 0.35s ease, border-color 0.35s ease, background-color 0.35s ease, transform 0.35s ease !important;
}

/* Dynamic Header Color Inversion Over Dark Background Sections */
.site-header.header-on-dark .brand-logo .brand-text {
    color: #FFFFFF !important;
}

.site-header.header-on-dark .brand-logo .brand-text .text-go {
    color: #F98716 !important;
}

.site-header.header-on-dark .nav-link,
.site-header.header-on-dark .nav-links a {
    color: #FFFFFF !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.site-header.header-on-dark .nav-link:hover,
.site-header.header-on-dark .nav-links a:hover {
    color: var(--eb-accent) !important;
}

.site-header.header-on-dark .btn-header-login {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.site-header.header-on-dark .btn-header-login:hover {
    background: #FFFFFF !important;
    color: #23272E !important;
    border-color: #FFFFFF !important;
    text-shadow: none !important;
}

.site-header.header-on-dark .social-icon-btn {
    color: rgba(255, 255, 255, 0.9) !important;
}

.site-header.header-on-dark .social-icon-btn:hover {
    color: var(--eb-accent) !important;
}

.site-header.header-on-dark .burger-line {
    background-color: #FFFFFF !important;
}

/* Status dots */
.dot-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 3px;
    vertical-align: middle;
}

.dot-red {
    background-color: #EF4444;
}

.dot-yellow {
    background-color: #F59E0B;
}

.dot-green {
    background-color: #22C55E;
}

/* Burger Button */
.burger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 110;
}

.burger-line {
    width: 24px;
    height: 2.5px;
    background: var(--eb-primary);
    border-radius: 2px;
    transition: var(--eb-transition);
}

/* Mobile Popup Drawer Navigation */
.mobile-nav-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-popup.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-drawer {
    background: var(--eb-bg-ivory);
    width: 80%;
    max-width: 320px;
    height: 100%;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-popup.active .mobile-nav-drawer {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(249, 135, 22, 0.2);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.mobile-nav-links a {
    font-family: var(--eb-font-heading);
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--eb-primary);
    transition: var(--eb-transition);
}

.mobile-nav-links a:hover {
    color: var(--eb-accent);
}

.mobile-drawer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 16px;
    padding-top: 18px;
    border-top: 1px solid #E2E8F0;
    width: 100%;
}

.mobile-drawer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #0F172A;
    font-family: 'Actay Wide', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    flex: 1;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-social-btn:hover {
    background: #FFF7ED;
    border-color: #F98716;
    color: #F98716;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 135, 22, 0.15);
}

.mobile-drawer-social-btn svg {
    flex-shrink: 0;
}

/* Fullscreen Impact Hero Section (100% Viewport Height Centered) */
.hero-section-fullscreen {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    overflow: hidden;
    padding: 20px 0;
    box-sizing: border-box;
}

/* German Typographic Wallpaper Background (Full Bleed Word Wall like Screenshot) */
.hero-word-watermarks {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    /* Ровно 1px отступ между строчками */
    opacity: 0;
    /* Все фоновые строчки проявляются на 1.0s при завершении ZOOM MACH DAS! */
    animation: heroWatermarksFadeIn 0.5s ease-out 1.0s forwards;
}

@keyframes heroWatermarksFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.09;
        /* Итоговая целевая прозрачность фоновых надписей */
    }
}

.watermark-row {
    display: flex;
    gap: 20px;
    white-space: nowrap;
    font-family: var(--eb-font-heading);
    font-weight: 900;
    text-transform: lowercase;
    /* Строчные буквы, никаких заглавных */
    line-height: 0.88;
    color: #F98716;
    /* Фирменный светло-оранжевый цвет */
    margin: 0;
    padding: 0;
    will-change: transform;
}

/* Keyframes для супер-медленного плавающего движения фоновых строчек в шахматном порядке */
@keyframes watermarkDriftRight {
    0% {
        transform: translate3d(-3%, 0, 0);
    }

    50% {
        transform: translate3d(3%, 0, 0);
    }

    100% {
        transform: translate3d(-3%, 0, 0);
    }
}

@keyframes watermarkDriftLeft {
    0% {
        transform: translate3d(3%, 0, 0);
    }

    50% {
        transform: translate3d(-3%, 0, 0);
    }

    100% {
        transform: translate3d(3%, 0, 0);
    }
}

/* Размеры шрифтов от 48px до 250px + плавное движение в противоположные стороны */
.row-1 {
    font-size: 210px;
    animation: watermarkDriftRight 65s ease-in-out infinite;
}

.row-2 {
    font-size: 48px;
    animation: watermarkDriftLeft 52s ease-in-out infinite;
}

.row-3 {
    font-size: 140px;
    animation: watermarkDriftRight 70s ease-in-out infinite;
}

.row-4 {
    font-size: 64px;
    animation: watermarkDriftLeft 48s ease-in-out infinite;
}

.row-5 {
    font-size: 250px;
    animation: watermarkDriftRight 75s ease-in-out infinite;
}

.row-6 {
    font-size: 52px;
    animation: watermarkDriftLeft 56s ease-in-out infinite;
}

.row-7 {
    font-size: 185px;
    animation: watermarkDriftRight 62s ease-in-out infinite;
}

.row-8 {
    font-size: 72px;
    animation: watermarkDriftLeft 46s ease-in-out infinite;
}

/* Center Hero Content */
.hero-main-container {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1280px;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Massive Orange Impact Headline (120px) with Actay Wide Font */
.hero-impact-title {
    font-family: 'Actay Wide', 'ActayWide', 'Actay', var(--eb-font-heading), sans-serif !important;
    font-size: 120px;
    font-weight: 700 !important;
    color: var(--eb-accent);
    /* Фирменный оранжевый #F98716 */
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: 16px;
    text-transform: uppercase;
    /* Плавная элегантная Zoom анимация */
    animation: machDasGiantZoom 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
    will-change: transform, opacity;
}

.hero-impact-title .text-deutsch-black {
    color: #0F172A !important;
    text-shadow: none !important;
}

.hero-impact-title .text-go-orange {
    color: #F98716 !important;
    text-shadow: 0 8px 30px rgba(249, 135, 22, 0.22) !important;
}

/* Keyframes: MACH DAS! сверхкрупным планом, затем динамично встает на место к 1.35s */
@keyframes machDasGiantZoom {
    0% {
        opacity: 0;
        transform: scale(3.8);
        filter: blur(14px);
    }

    30% {
        opacity: 1;
        filter: blur(0px);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
}

/* Keyframes: Плавное проявление рукописного подзаголовка, описания и кнопок */
@keyframes heroSlowFadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Handwritten Script Sub-headline (64px) — Плавное появление на 1.50s */
.hero-script-subtitle-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 28px;
    animation: heroSlowFadeSlideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 1.50s both;
}

.hero-script-subtitle {
    font-family: 'Caveat', 'Marck Script', cursive;
    /* Рукописный шрифт Caveat */
    font-size: 64px;
    font-weight: 700;
    color: #23272E;
    line-height: 1.15;
    white-space: nowrap;
}

.hero-doodle-arrow-container {
    position: absolute;
    right: -45px;
    top: 55%;
    z-index: 15;
    pointer-events: none;
}

.hero-doodle-svg-line {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
    animation: float 4s ease-in-out infinite;
}

/* Description — Плавное появление на 2.05s (+0.15s задержка) */
.hero-subdesc {
    font-size: 1.15rem;
    color: var(--eb-secondary);
    max-width: 820px;
    margin: 0 auto 32px;
    line-height: 1.65;
    animation: heroSlowFadeSlideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 2.05s both;
}

.hero-subdesc strong {
    font-weight: 700;
    color: #23272E;
}

/* Buttons — Плавное появление на 2.45s (+0.15s задержка) */
.hero-ctas-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    animation: heroSlowFadeSlideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 2.45s both;
}

/* Pill Rounded Buttons (16px font, padding 16px 28px, 50px radius, equal 210px width) */
.btn-pill-hero {
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    padding: 16px 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-width: 210px !important;
    /* Гарантирует абсолютно одинаковый размер кнопок */
    box-sizing: border-box;
}

/* Infinite Moving Marquee Ticker Banner (Tall & Condensed Font, 80% Transparent) */





@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

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

/* 3 Core Advantages as Clean Titles in 1 Row with Bottom Line */






/* 3. Exam Selection Section (Offset 3D Flip Cards Grid) */
.exams-section {
    padding: 100px 0 140px;
    background: #23272E;
    color: #FFFFFF;
    position: relative;
    z-index: 20;
    /* Накладывается поверх первого блока */
    margin-top: -50px;
    /* Изначальный легкий наплыв на первый блок */
    border-top-left-radius: 40px;
    /* Скруглённый верхний край для подтягивающегося блока */
    border-top-right-radius: 40px;
    box-shadow: 0 -25px 60px rgba(0, 0, 0, 0.18);
}

.exams-header-split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.exams-header-left {
    max-width: 680px;
}

.exams-hero-title {
    font-family: var(--eb-font-heading);
    font-size: 45px !important;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.5px;
    margin: 0;
}

.exams-hero-title .exams-title-line1 {
    display: block;
    background: linear-gradient(to right, #FFFFFF var(--reveal-progress, 0%), #475569 var(--reveal-progress, 0%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background 0.1s linear;
}

.exams-hero-title .exams-title-line2 {
    display: block;
    background: linear-gradient(to right, #FFFFFF var(--reveal-progress, 0%), #475569 var(--reveal-progress, 0%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background 0.1s linear;
}

.exams-title-brand {
    color: #F98716;
    -webkit-text-fill-color: #F98716;
}





/* 4 Flip Cards Grid with Staggered Layout (1st & 3rd Higher, 2nd & 4th Lower) */
.exams-flip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

/* Staggered Offset Heights: 1st & 3rd cards higher, 2nd & 4th cards lower (Шахматка) */
.card-pos-high {
    margin-top: 0;
}

.card-pos-low {
    margin-top: 70px;
}

/* Exam Cards - Square Cards with Scroll Reveal & Inset Hover Line */
.exam-card {
    position: relative;
    z-index: 5;
    background: #182236;
    border: 1.5px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    padding: 20px 16px;
    aspect-ratio: 1 / 1;
    min-height: 280px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    overflow: hidden;
    will-change: opacity, transform;
}

/* Sequential Staggered Scroll Reveal (Card 1 -> Card 2 -> Card 3 -> Card 4) */
.exams-flip-grid.cards-revealed .exam-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.exams-flip-grid.cards-revealed .exam-card:nth-child(1) {
    transition-delay: 0.08s, 0.08s, 0s, 0s, 0s;
}

.exams-flip-grid.cards-revealed .exam-card:nth-child(2) {
    transition-delay: 0.32s, 0.32s, 0s, 0s, 0s;
}

.exams-flip-grid.cards-revealed .exam-card:nth-child(3) {
    transition-delay: 0.56s, 0.56s, 0s, 0s, 0s;
}

.exams-flip-grid.cards-revealed .exam-card:nth-child(4) {
    transition-delay: 0.80s, 0.80s, 0s, 0s, 0s;
}

/* Hidden state when scrolling above Block 2 (into Hero) */
.exams-flip-grid.cards-hidden-top .exam-card {
    opacity: 0;
    transform: translateY(45px) scale(0.96);
    transition-delay: 0s, 0s, 0s, 0s, 0s;
}

/* Hidden state when scrolling past Block 2 into Block 3 (Disappears in reverse: 4 -> 3 -> 2 -> 1) */
.exams-flip-grid.cards-hidden-bottom .exam-card {
    opacity: 0;
    transform: translateY(-40px) scale(0.96);
}

.exams-flip-grid.cards-hidden-bottom .exam-card:nth-child(4) {
    transition-delay: 0s, 0s, 0s, 0s, 0s;
}

.exams-flip-grid.cards-hidden-bottom .exam-card:nth-child(3) {
    transition-delay: 0.12s, 0.12s, 0s, 0s, 0s;
}

.exams-flip-grid.cards-hidden-bottom .exam-card:nth-child(2) {
    transition-delay: 0.24s, 0.24s, 0s, 0s, 0s;
}

.exams-flip-grid.cards-hidden-bottom .exam-card:nth-child(1) {
    transition-delay: 0.36s, 0.36s, 0s, 0s, 0s;
}

/* Animated Corner Frame Border */
.exam-card::before,
.exam-card::after {
    content: '';
    position: absolute;
    box-sizing: border-box;
    pointer-events: none;
    width: 0;
    height: 0;
    opacity: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        height 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease;
}

.exam-card::before {
    top: 10px;
    left: 10px;
    border-top: 1.5px solid transparent;
    border-left: 1.5px solid transparent;
    border-top-left-radius: 16px;
}

.exam-card::after {
    bottom: 10px;
    right: 10px;
    border-bottom: 1.5px solid transparent;
    border-right: 1.5px solid transparent;
    border-bottom-right-radius: 16px;
}

.exam-card.card-goethe:hover::before {
    border-top-color: #F98716;
    border-left-color: #F98716;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    opacity: 1;
}

.exam-card.card-goethe:hover::after {
    border-bottom-color: #F98716;
    border-right-color: #F98716;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    opacity: 1;
}

.exam-card.card-telc:hover::before {
    border-top-color: #06B6D4;
    border-left-color: #06B6D4;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    opacity: 1;
}

.exam-card.card-telc:hover::after {
    border-bottom-color: #06B6D4;
    border-right-color: #06B6D4;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    opacity: 1;
}

.exam-card:hover {
    background: #1E2C44;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.60);
    border-color: rgba(255, 255, 255, 0.18);
}

.exam-card-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: unset;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    box-sizing: border-box;
}

/* Header Slide Up on Hover */
.exam-card-header {
    text-align: center;
    transform: translateY(0);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), margin-bottom 0.55s ease;
    transform-origin: center center;
}

.exam-card:hover .exam-card-header {
    transform: translateY(-46px) scale(0.78);
    margin-bottom: 0;
}

.exam-card:hover .exam-card-header .flip-level-large {
    margin-top: 4px;
}

/* Details Reveal on Hover */
.exam-card-details {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: left;
    opacity: 0;
    transform: translateY(14px);
    visibility: hidden;
    padding: 0 16px;
    margin-top: 0;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.45s ease;
    box-sizing: border-box;
    pointer-events: none;
}

.exam-card:hover .exam-card-details {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.exam-card-details .flip-back-subtitle {
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.card-goethe .flip-back-subtitle {
    color: #F98716;
}

.card-telc .flip-back-subtitle {
    color: #06B6D4;
}

.exam-card-details .flip-back-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exam-card-details .flip-back-list li {
    font-size: 0.80rem;
    color: #CBD5E1;
    line-height: 1.35;
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.exam-card-details .flip-back-list li:last-child {
    margin-bottom: 0;
}

.card-goethe .flip-back-list li .check-icon {
    color: #F98716;
    font-weight: 900;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.card-telc .flip-back-list li .check-icon {
    color: #06B6D4;
    font-weight: 900;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.flip-brand-word {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 0.92;
    color: #FFFFFF;
    text-transform: uppercase;
}

.flip-level-large {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1;
    margin-top: 10px;
}

.text-orange {
    color: #F98716;
}

.text-teal {
    color: #06B6D4;
}

.text-white {
    color: #FFFFFF;
}

@media screen and (max-width: 1180px) {
    .exams-flip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 660px;
        margin: 0 auto;
    }

    .card-pos-high {
        margin-top: 0;
    }

    .card-pos-low {
        margin-top: 40px;
    }

    .exam-card {
        min-height: 290px;
        padding: 22px 18px;
    }

    .exam-card:hover .exam-card-header {
        transform: translateY(-42px) scale(0.72);
        margin-bottom: 0;
    }

    .exam-card:hover .exam-card-header .flip-level-large {
        margin-top: 3px;
    }

    .exam-card-details {
        padding: 0 14px;
        bottom: 12px;
    }

    .exam-card-details .flip-back-subtitle {
        font-size: 0.78rem;
        margin-bottom: 5px;
    }

    .exam-card-details .flip-back-list li {
        font-size: 0.76rem;
        line-height: 1.30;
        margin-bottom: 4px;
    }
}

@media screen and (max-width: 640px) {
    .exams-flip-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 320px;
        margin: 0 auto;
    }

    .card-pos-low {
        margin-top: 0;
    }

    .exam-card {
        min-height: 280px;
        padding: 20px 16px;
    }
}






/* ==========================================================================
   Agnex-Style "Our Exclusive Services" Section 3 Layout & Animations
   ========================================================================== */
/* ==========================================================================
   Agnex-Style Large Square Cards Layout (Top-Border Only, 2 Shifted Lines)
   ========================================================================== */
/* ==========================================================================
   Agnex-Style Large Square Cards Layout (Top-Border Only, 2 Shifted Lines)
   ========================================================================== */
.exams-section {
    position: relative;
    padding: 100px 0 120px;
    background: #111827;
    color: #FFFFFF;
    overflow: hidden;
}

/* Giant Static Watermark Typography Base (Section 2) */
.exams-bg-watermark-text {
    position: absolute;
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 22rem;
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -6px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 0;
    user-select: none;
    white-space: nowrap;
}

/* Top-Right Watermark: "DEUTSCH" (White fade from right to left, 8% opacity) */
.exams-bg-watermark-text.watermark-deutsch {
    top: -20px;
    right: -40px;
    opacity: 0.08;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.20) 70%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bottom-Left Watermark: "GO" (Brand Orange #F98716 fade from left to right, 14% opacity) */
.exams-bg-watermark-text.watermark-go {
    bottom: -30px;
    left: -20px;
    opacity: 0.14;
    background: linear-gradient(135deg, rgba(249, 135, 22, 1.0) 0%, rgba(249, 135, 22, 0.45) 75%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



.agnex-services-section {
    position: relative;
    padding: 120px 0 !important;
    background: #FFFFFF !important;
    color: var(--eb-primary);
    overflow: hidden;
}

.agnex-services-container {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: clamp(30px, 4vw, 60px);
    align-items: start;
    position: relative;
}

/* Sticky Left Header */
.agnex-services-sticky {
    position: sticky;
    top: 30px;
    z-index: 10;
    margin-top: 0;
    padding-top: 0;
    width: 100%;
}

.agnex-services-title {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    word-break: normal;
    overflow: visible;
}

.agnex-services-title .title-top {
    font-size: clamp(24px, 2.2vw, 34px) !important;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 0;
    display: block;
    white-space: nowrap;
    background: linear-gradient(to right, #1E293B var(--reveal-progress, 0%), #CBD5E1 var(--reveal-progress, 0%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background 0.1s linear;
}

.agnex-services-title .title-bottom {
    font-size: clamp(24px, 2.2vw, 34px) !important;
    font-weight: 900;
    text-transform: lowercase;
    line-height: 1.15;
    letter-spacing: 0.5px;
    margin-top: 4px;
    display: block;
    white-space: nowrap;
    background: linear-gradient(to right, #1E293B var(--reveal-progress, 0%), #CBD5E1 var(--reveal-progress, 0%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background 0.1s linear;
}

/* Rows Track Area (60px gap between rows) */
.agnex-rows-track {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
}

/* Row Pair Wrapper */
.agnex-row-pair {
    position: relative;
    width: 100%;
}

/* Vertical Line Guides for Each Row (Top offset 36px below card top padding, bottom flush with image) */
.agnex-line-guide {
    position: absolute;
    top: 36px;
    bottom: 0;
    height: calc(100% - 36px);
    width: 1px;
    background: #CBD5E1;
    z-index: 2;
    pointer-events: none;
}

/* Row 1 Line Guide (Centered at 50%) */
.line-guide-1 {
    left: 50%;
    transform: translateX(-50%);
}

/* Row 2 Line Guide (Shifted Left to 38%) */
.line-guide-2 {
    left: 38%;
    transform: translateX(-50%);
}

/* Cards Grid for Row 1 (Centered around 50%) */
.grid-row-1 {
    display: flex;
    justify-content: center;
    gap: 50px;
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Cards Grid for Row 2 (Shifted Left to 38% matching line-guide-2) */
.grid-row-2 {
    display: flex;
    justify-content: center;
    gap: 50px;
    position: relative;
    z-index: 3;
    width: 100%;
    transform: translateX(-12%);
}

/* Large True Square Card Item with TOP BORDER ONLY (Exact Agnex screenshot layout) */
.agnex-card-item {
    background: transparent !important;
    border: none;
    border-top: 1px solid #CBD5E1;
    border-radius: 0;
    padding: 44px 0 36px 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    min-width: 440px;
    max-width: 460px;
    min-height: 460px;
    aspect-ratio: 1 / 1;
    box-shadow: none;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    will-change: transform;
    box-sizing: border-box;
}

/* Initial Angled Tilted Unscrolled State (2x Increased Tilt Angle: 28deg) */
.agnex-card-item.card-tilted-left {
    opacity: 1;
    transform: rotate(-28deg) translate(-140px, 110px) scale(0.88);
}

.agnex-card-item.card-tilted-right {
    opacity: 1;
    transform: rotate(28deg) translate(140px, 110px) scale(0.88);
}

/* Active Scrolled State: Instant Smooth Rotation straight along the line (0s delay) */
.agnex-row-pair.row-aligned .agnex-card-item.card-tilted-left,
.agnex-row-pair.row-aligned .agnex-card-item.card-tilted-right,
.agnex-card-item.active-straight {
    opacity: 1;
    transform: rotate(0deg) translate(0, 0) scale(1);
    transition-delay: 0s;
}

.agnex-card-item:hover {
    border-top-color: #F98716;
}

.agnex-row-pair.row-aligned .agnex-card-item:hover {
    transform: rotate(0deg) translate(0, 0) scale(1) !important;
}

/* Top Content Layout: Left Title + Right Features List */
.card-content-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
    align-items: start;
}

.card-title-box .card-num {
    display: block;
    font-family: 'Actay Wide', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: #0F172A;
}

.card-title-box .card-title {
    font-size: 26px !important;
    font-weight: 800;
    line-height: 1.15;
    color: #0F172A;
    margin-bottom: 10px;
}

.card-title-box .card-description {
    font-size: 0.98rem;
    line-height: 1.5;
    color: #0F172A;
}

.card-features-box .card-right-desc {
    font-size: 0.98rem;
    line-height: 1.5;
    color: #0F172A;
    margin-bottom: 14px;
    font-weight: 500;
}

.card-features-box .card-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-features-box .card-checklist li {
    font-size: 0.93rem;
    color: #0F172A;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.card-features-box .card-checklist .check-icon {
    color: var(--eb-accent);
    font-weight: 900;
    flex-shrink: 0;
}

/* Service Image Container at Bottom of Card with Margins & Sharp Corners (border-radius: 0) */
.service-image-box {
    width: 100%;
    height: 150px;
    margin-top: auto;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
    border-radius: 0;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    box-sizing: border-box;
}

.service-image-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    display: block;
    box-sizing: border-box;
    transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-image-box img:nth-child(1) {
    transform: translateX(0);
    z-index: 1;
}

.service-image-box img:nth-child(2) {
    transform: translateX(-100%);
    z-index: 2;
}

.agnex-card-item:hover .service-image-box img:nth-child(1) {
    transform: translateX(100%);
}

.agnex-card-item:hover .service-image-box img:nth-child(2) {
    transform: translateX(0);
}

/* Responsive */









.check-icon-svg {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #DCFCE7;
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Interactive Demos inside Feature Cards */


/* Interactive Flashcard Demo */









/* Dashboard Cabinet Showcase */











/* ==========================================================================
   6. Two-Step Tariff Selection Section (Light Theme)
   ========================================================================== */
.tariffs-section {
    padding: 120px 0 !important;
    background: #FAFAF9;
    color: #0F172A;
    position: relative;
    overflow: hidden;
}

.tariffs-bg-ambient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    background: radial-gradient(circle, rgba(249, 135, 22, 0.10) 0%, rgba(249, 135, 22, 0.04) 50%, transparent 75%);
    pointer-events: none;
    z-index: 1;
}


.section-title-large {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: clamp(1.45rem, 5vw, 45px) !important;
    font-weight: 900;
    line-height: 1.2;
    color: #0F172A;
    margin-bottom: 12px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.tariffs-title-reveal {
    background: linear-gradient(to right, #0F172A var(--reveal-progress, 0%), #94A3B8 var(--reveal-progress, 0%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background 0.1s linear;
}

.section-subtitle-dark {
    font-size: 1.1rem;
    color: #64748B;
    max-width: 650px;
    margin: 0 auto;
}

/* Step 1 Box */
.step-box-glass {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 24px 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.step-number-badge {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #F98716, #FF6B00);
    color: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Actay Wide', sans-serif;
    font-weight: 900;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(249, 135, 22, 0.35);
}

.step-title-text {
    font-family: 'Actay Wide', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
}

/* Step 1 Exam Select Buttons */
.exam-select-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.exam-btn {
    padding: 12px 26px;
    border-radius: 8px !important;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    font-family: 'Actay Wide', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #0F172A;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.exam-btn:hover {
    border-color: #F98716;
    color: #F98716;
    background: #FFFDF9;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(249, 135, 22, 0.15);
}

.exam-btn.active {
    background: linear-gradient(135deg, #F98716, #FF6B00);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(249, 135, 22, 0.35);
    transform: translateY(-2px);
}

/* Under Development Muted Exam Buttons */
.exam-btn.in-dev {
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    color: #94A3B8;
    font-weight: 600;
    box-shadow: none;
    opacity: 0.75;
}

.exam-btn.in-dev:hover {
    opacity: 1;
    border-style: solid;
    border-color: rgba(249, 135, 22, 0.6);
    color: #F98716;
    background: #FFFDF9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 135, 22, 0.12);
}

/* Active Exam Indicator Banner */
.selected-exam-banner {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Actay Wide', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #64748B;
}

.exam-active-highlight {
    color: #F98716;
    background: rgba(249, 135, 22, 0.1);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(249, 135, 22, 0.3);
    margin-left: 6px;
}

/* Step 2 Tariff Grid */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.tariff-card-glass {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.tariff-card-glass:hover {
    transform: translateY(-8px);
    border-color: #F98716;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12), 0 0 25px rgba(249, 135, 22, 0.15);
}

/* Popular Glowing Card */
.tariff-card-glass.popular-glow {
    border: 2px solid #F98716;
    background: linear-gradient(180deg, #FFFDF9 0%, #FFFFFF 100%);
    box-shadow: 0 20px 45px rgba(249, 135, 22, 0.18);
}

.popular-badge-glow {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F98716, #FF6B00);
    color: #FFFFFF;
    font-family: 'Actay Wide', sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(249, 135, 22, 0.35);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.popular-badge-glow.teal-badge {
    background: linear-gradient(135deg, #06B6D4, #22D3EE);
    color: #0F172A;
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.3);
}

.tariff-header-block {
    margin-bottom: 20px;
}

.tariff-duration {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.tariff-subtitle {
    font-size: 0.9rem;
    color: #64748B;
}

.price-box-glass {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F1F5F9;
}

.price-value {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 2.3rem;
    font-weight: 900;
    color: #F98716;
    letter-spacing: 0.5px;
}

.price-period {
    font-size: 0.88rem;
    color: #64748B;
    margin-top: 4px;
    min-height: 1.3em;
}

.bonus-tag-glass {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bonus-tag-glass.active-bonus {
    background: #FFEDD5;
    border-color: #FDBA74;
}

.bonus-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #C2410C;
    letter-spacing: 0.5px;
}

.bonus-desc-text {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
}

.tariff-features-glass {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tariff-features-glass li {
    font-size: 0.92rem;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.check-pill {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.15);
    color: #0284C7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-pill.active {
    background: rgba(249, 135, 22, 0.15);
    color: #F98716;
}

/* FAQ Accordion */








/* Redesigned Sleek Dark Footer (#0F172A) - Matches Section 2 & Core Dark Aesthetics */
.site-footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 70px 0 25px;
    margin-top: 0;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    overflow: visible;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(249, 135, 22, 0.5), transparent);
}

.site-footer .container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Full-Width Massive Impact Headline "DEUTSCHGO" with Proximity Vertical Letter Stretch */
.footer-hero-headline {
    font-family: 'Actay Wide', 'ActayWide', var(--eb-font-heading), sans-serif;
    font-size: clamp(2.2rem, 12.6vw, 250px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.015em;
    color: #FFFFFF;
    text-align: center;
    margin: 10px auto 28px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    user-select: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.08em;
    flex-wrap: nowrap;
    white-space: nowrap;
    cursor: default;
}

.footer-word {
    display: inline-flex;
    flex-shrink: 0;
}

.footer-hero-headline .text-go-orange {
    color: #F98716;
}

.footer-letter {
    display: inline-block;
    transform-origin: bottom center;
    will-change: transform;
    padding: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}


.footer-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-top: 40px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.footer-action-link {
    font-family: var(--eb-font-heading), sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding: 6px 4px;
    transition: color 0.3s ease;
}

/* Animated Underline Effect */
.footer-action-link span {
    position: relative;
    display: inline-block;
}

.footer-action-link span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #F98716;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

/* Diagonal Up-Right Arrow (SW to NE: ↗) */
.footer-link-arrow {
    opacity: 0;
    transform: translate(-6px, 6px) scale(0.7);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    color: #F98716;
}

/* Hover State Interactions */
.footer-action-link:hover {
    color: #FFFFFF;
}

.footer-action-link:hover span::after {
    width: 100%;
}

.footer-action-link:hover .footer-link-arrow {
    opacity: 1;
    transform: translate(2px, -2px) scale(1.1);
}

/* Electric Turquoise Accent Variant (#22D3EE) for Контакты & Telegram */
.footer-action-link.link-teal span::after {
    background: #22D3EE;
}

.footer-action-link.link-teal .footer-link-arrow {
    color: #22D3EE;
}





.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    padding-bottom: 24px;
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-left {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #64748B;
    text-align: center;
}

.footer-bottom-right {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.work-since-badge {
    font-size: 0.85rem;
    color: #64748B;
    font-weight: 500;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.copyright-text {
    color: #64748B;
    white-space: nowrap;
}

.footer-requisites {
    color: #64748B;
}

.footer-legal-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748B;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.legal-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #FFFFFF;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}


/* On hover over legal link: Entire element (dot, text, arrow) highlights to Pure White (#FFFFFF)! */
.footer-legal-link:hover {
    color: #FFFFFF;
}

.footer-legal-link:hover .legal-dot {
    background-color: #FFFFFF;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.footer-legal-link:hover .legal-arrow {
    color: #FFFFFF;
    transform: translate(2px, -2px);
}

.footer-meta-note {
    font-size: 0.76rem;
    color: #64748B;
    text-align: center;
    padding-top: 16px;
    margin-top: 0;
    line-height: 1.5;
    opacity: 0.8;
}

/* Modal Window for Demo Access & Login Page Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #FFFFFF;
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    padding: 42px 36px;
    position: relative;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.8);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close:hover {
    color: #F98716;
    background: rgba(249, 135, 22, 0.12);
    border-color: rgba(249, 135, 22, 0.3);
    transform: rotate(90deg);
}

.modal-title {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 10px;
    line-height: 1.25;
}

.modal-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #64748B;
    margin-bottom: 24px;
    line-height: 1.55;
}

/* Dev Modal Styling */
.dev-modal-card {
    text-align: center;
    padding: 44px 36px 36px;
}

.dev-modal-icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    background: rgba(249, 135, 22, 0.1);
    border: 1px solid rgba(249, 135, 22, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(249, 135, 22, 0.15);
}

.dev-modal-svg-icon {
    width: 36px;
    height: 36px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    color: #0F172A;
    background: #FFFFFF;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input:focus {
    outline: none;
    border-color: #F98716;
    box-shadow: 0 0 0 3px rgba(249, 135, 22, 0.15);
}

/* Login Pop-Up Modal Glassmorphic Styling */
.login-modal-card {
    max-width: 460px !important;
    width: 92% !important;
    padding: 40px 36px !important;
    background: #FFFFFF !important;
    border-radius: 16px !important;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(226, 232, 240, 0.9) !important;
}

.login-brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.login-brand-header .brand-text {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 22px !important;
    font-weight: 900;
    color: #0F172A;
    letter-spacing: 0.5px;
}

.login-brand-header .brand-text .text-go {
    color: #F98716;
}

.login-modal-card .modal-title {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 26px !important;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.25;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin: 0 auto 8px !important;
}

.login-field-group {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
    text-align: left;
}

.login-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
    display: block;
    font-family: 'Inter', sans-serif;
}

.login-input {
    width: 100%;
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #0F172A;
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 8px !important;
    outline: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.login-input:focus {
    border-color: #F98716 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(249, 135, 22, 0.15) !important;
}

select.login-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748B' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    padding-right: 38px !important;
    cursor: pointer;
}

.btn-demo-submit,
.modal-btn-login-submit {
    width: 100% !important;
    background: #F98716 !important;
    color: #FFFFFF !important;
    border: 2px solid #F98716 !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(249, 135, 22, 0.3) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin-top: 18px;
    display: block;
    text-align: center;
}

.btn-demo-submit:hover,
.modal-btn-login-submit:hover {
    background: #F98716 !important;
    border-color: #F98716 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 135, 22, 0.45) !important;
}

.login-contact-style-input {
    width: 100%;
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #0F172A;
    background: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 8px !important;
    outline: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.login-contact-style-input:focus {
    border-color: #F98716 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(249, 135, 22, 0.15) !important;
}

.login-contact-style-input.input-has-error {
    border-color: #EF4444 !important;
    background: #FEF2F2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
    animation: authShake 0.4s ease-in-out;
}

.login-password-wrap {
    position: relative;
}

.login-password-wrap input {
    padding-right: 44px;
}

.btn-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.btn-toggle-password .icon-eye-off {
    display: none;
}

.btn-toggle-password:hover {
    opacity: 1;
    color: #F98716 !important;
}

.auth-error-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FEF2F2;
    border: 1.5px solid #FCA5A5;
    border-radius: 10px;
    padding: 11px 14px;
    margin-bottom: 18px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #B91C1C;
    line-height: 1.4;
    animation: authShake 0.4s ease-in-out;
}

.auth-error-box svg {
    flex-shrink: 0;
    color: #EF4444;
}

@keyframes authShake {

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

    20%,
    60% {
        transform: translateX(-6px);
    }

    40%,
    80% {
        transform: translateX(6px);
    }
}

.login-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.login-remember-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #0F172A;
    font-weight: 500;
    user-select: none;
}

.login-remember-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.login-remember-label .custom-checkbox-box {
    width: 20px;
    height: 20px;
    border: 2px solid #CBD5E1;
    border-radius: 4px;
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.login-remember-label input[type="checkbox"]:checked~.custom-checkbox-box {
    background-color: #F98716 !important;
    border-color: #F98716 !important;
}

.login-remember-label input[type="checkbox"]:checked~.custom-checkbox-box::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -1px;
}

.login-forgot-link {
    color: #F98716;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.login-forgot-link:hover {
    color: #FF9B35;
    text-decoration: underline;
}

/* Responsive Media Queries & Mobile Burger Navigation */






/* Custom Teal Dual Trailing Cursor (Active from Section 2 to Page End) */
.custom-cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.custom-cursor-container.active {
    opacity: 1;
}

/* Large Translucent Outer Trail Circle (No border contour line) */
.custom-cursor-container .cursor-circle-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    margin-left: -21px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.24);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.35);
    border: none;
    pointer-events: none;
    will-change: transform;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                margin 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                background 0.3s ease;
}

/* Small Solid Vibrant Inner Teal Dot */
.custom-cursor-container .cursor-circle-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    margin-left: -5px;
    border-radius: 50%;
    background: #06B6D4;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.85);
    pointer-events: none;
    will-change: transform;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                margin 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                background 0.3s ease;
}

/* Interactive Element Hover Scaling */
.custom-cursor-container.hovering .cursor-circle-outer {
    width: 58px;
    height: 58px;
    margin-top: -29px;
    margin-left: -29px;
    background: rgba(6, 182, 212, 0.18);
}

.custom-cursor-container.hovering .cursor-circle-inner {
    width: 14px;
    height: 14px;
    margin-top: -7px;
    margin-left: -7px;
    background: #22D3EE;
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.9);
}

/* Disable custom cursor on touch devices to ensure clean UX */
@media (pointer: coarse) {
    .custom-cursor-container {
        display: none !important;
    }
}

/* Prevent native browser drag & ghost dragging of buttons, cards, images, badges */
img,
a,
button,
.btn,
.btn-primary,
.btn-secondary,
.exam-btn,
.tab-btn,
.exam-card,
.review-card,
.tariff-card,
.flashcard-wrapper,
.flashcard-item,
.hero-fan-card,
.badge,
.blob-badge,
.agnex-services-badge,
.doodle-item,
.author-photo-wrapper,
.marquee-card {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

/* Text selection strictly inside readable typography and form inputs */
p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
label {
    -webkit-user-select: text;
    user-select: text;
}


/* ==========================================================================
   5. Interactive Marquee Gallery Section (3-Row Endless Ticker Grid)
   ========================================================================== */
/* ==========================================================================
   5. Interactive Vertical Marquee Gallery Section (100vh Adaptive Split)
   ========================================================================== */
.gallery-marquee-section {
    height: 100vh;
    min-height: 720px;
    padding: 0;
    background: #0F172A;
    color: #FFFFFF;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.gallery-layout-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* LEFT SIDE: 3 Vertical Moving Columns (Flushed Top to Bottom 100% Height) */
.marquee-columns-wrapper {
    display: flex;
    gap: 0;
    width: 58%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-col {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 33.333%;
    height: 100%;
    user-select: none;
}

.marquee-col-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    height: max-content;
    will-change: transform;
}

/* Column 1 & 3 Move UP */
.marquee-col-up .marquee-col-track {
    animation: marqueeMoveColUp 34s linear infinite;
}

/* Column 2 Moves DOWN (Opposite Direction) */
.marquee-col-down .marquee-col-track {
    animation: marqueeMoveColDown 34s linear infinite;
}

/* Pause animation ONLY when hovering over square image cards */
.marquee-col-track:has(.card-square:hover) {
    animation-play-state: paused;
}

/* Marquee Card Base Styles */
.marquee-card {
    flex-shrink: 0;
    width: 100%;
    border-radius: 0;
    border: none;
    box-sizing: border-box;
}

/* Square Image Card (1:1 aspect ratio) */
.marquee-card.card-square {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #1E293B;
    border: none;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-radius 0.3s ease;
}

.marquee-card.card-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.marquee-card.card-square:hover {
    transform: scale(1.08);
    z-index: 20;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
}

.marquee-card.card-square:hover img {
    transform: scale(1.06);
}

/* Vertical Rectangle Banner (1 : 1.5 aspect ratio, static - NO HOVER PAUSE & NO HOVER SCALE) */
.marquee-card.card-rect {
    width: 100%;
    aspect-ratio: 1 / 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    border: none;
    pointer-events: none;
    /* Mouse passes through text rectangles so motion never pauses on them */
}

.marquee-card.card-rect.bg-teal {
    background: linear-gradient(135deg, #0F766E 0%, #06B6D4 100%);
}

.marquee-card.card-rect.bg-orange {
    background: linear-gradient(135deg, #C2410C 0%, #F98716 100%);
}

.marquee-card.card-rect.bg-dark {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
}

.marquee-card.card-rect .rect-label {
    font-family: 'Actay Wide', sans-serif;
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #FFFFFF;
    text-transform: uppercase;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
}

/* RIGHT SIDE: Two-Line Header Layout (Flush Right Aligned) */
.gallery-right-header {
    width: 40%;
    margin-left: auto;
    padding: 0 30px 0 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    z-index: 5;
}

.gallery-split-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    width: 100%;
}

.gallery-title-large {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: clamp(2.4rem, 4.8vw, 5.2rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: clamp(0.5px, 0.2vw, 2px);
    display: inline-flex;
    justify-content: flex-end;
    align-items: flex-end;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    user-select: none;
    text-align: right;
    width: 100%;
}

.gallery-title-sub {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    display: block;
    margin-top: 14px;
    text-align: right;
    width: 100%;
    background: linear-gradient(to right, #F98716 var(--reveal-progress, 0%), #475569 var(--reveal-progress, 0%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background 0.1s linear;
}

/* Keyframe Vertical Animations */
@keyframes marqueeMoveColUp {
    0% {
        transform: translateY(0);
    }

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

@keyframes marqueeMoveColDown {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

/* ==========================================================================
   10. Lightbox Modal Preview (Top Priority Fullscreen Overlay)
   ========================================================================== */
.gallery-lightbox-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: zoom-out;
}

.gallery-lightbox-modal.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.gallery-lightbox-modal .lightbox-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.gallery-lightbox-modal .lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    z-index: 10000000 !important;
    transform: scale(0.85);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.gallery-lightbox-modal.active .lightbox-content {
    transform: scale(1) !important;
}

.gallery-lightbox-modal .lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.2);
    display: block;
    object-fit: contain;
}

/* Glassmorphic Floating Caption Pill Banner (White Accent Title Only) */
.gallery-lightbox-modal .lightbox-caption {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 12px 32px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    max-width: 85vw;
}

.gallery-lightbox-modal .lightbox-caption-title {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.8px;
}


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLETS & MOBILE SMARTPHONES)
   ========================================================================== */

/* 1. TABLET BREAKPOINT (<= 1024px) */


/* 2. MOBILE SMARTPHONE BREAKPOINT (<= 768px) */


/* Keyframes for Smooth Horizontal Marquee Scrolling */
@keyframes marqueeHorizontalLeft {
    0% {
        transform: translateX(0);
    }

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

@keyframes marqueeHorizontalRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* ==========================================================================
   Reviews / Testimonials Section (Dark Theme)
   ========================================================================== */
.reviews-section {
    background: #0B1120;
    padding: 120px 0 !important;
    position: relative;
    z-index: 5;
    overflow: hidden;
    margin-bottom: 0;
}

.reviews-title-reveal {
    font-size: 45px !important;
    font-weight: 900 !important;
    background: linear-gradient(to right, #FFFFFF var(--reveal-progress, 0%), #475569 var(--reveal-progress, 0%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background 0.1s linear;
}

.reviews-subtitle {
    max-width: 920px;
    margin: 0 auto;
}

.reviews-bg-ambient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.06) 0%, rgba(249, 135, 22, 0.05) 50%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    position: relative;
    z-index: 5;
}

/* Reviews Horizontal Infinite Marquee Ticker Rows (Edge-to-Edge 100vw) */
.reviews-marquee-wrapper {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 10px 0;
    user-select: none;
    box-sizing: border-box;
}

.reviews-marquee-row {
    width: 100%;
    overflow: hidden;
    display: flex;
    position: relative;
    contain: layout paint;
}

.reviews-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    perspective: 1000px;
}

.reviews-row-left .reviews-marquee-track {
    animation: reviewsMarqueeMoveLeft 62s linear infinite;
}

.reviews-row-right .reviews-marquee-track {
    animation: reviewsMarqueeMoveRight 66s linear infinite;
}

.reviews-marquee-row:hover .reviews-marquee-track {
    animation-play-state: paused;
}

@keyframes reviewsMarqueeMoveLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }

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

@keyframes reviewsMarqueeMoveRight {
    0% {
        transform: translate3d(-50%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.reviews-marquee-row .review-card {
    width: 530px;
    min-width: 530px;
    max-width: 530px;
    flex-shrink: 0;
    opacity: 1 !important;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.review-card {
    position: relative;
    background: #0F172A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px !important;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    will-change: opacity, transform;
}

/* Sequential Staggered Scroll Entrance Reveal (1 -> 2 -> 3 -> 4) */
.reviews-grid.cards-revealed .review-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reviews-grid.cards-revealed .review-card:nth-child(1) {
    transition-delay: 0.10s, 0.10s, 0s, 0s, 0s;
}

.reviews-grid.cards-revealed .review-card:nth-child(2) {
    transition-delay: 0.35s, 0.35s, 0s, 0s, 0s;
}

.reviews-grid.cards-revealed .review-card:nth-child(3) {
    transition-delay: 0.60s, 0.60s, 0s, 0s, 0s;
}

.reviews-grid.cards-revealed .review-card:nth-child(4) {
    transition-delay: 0.85s, 0.85s, 0s, 0s, 0s;
}

.reviews-grid.cards-hidden-top .review-card {
    opacity: 0;
    transform: translateY(45px) scale(0.96);
    transition-delay: 0s, 0s, 0s, 0s, 0s;
}

.reviews-grid.cards-hidden-bottom .review-card {
    opacity: 0;
    transform: translateY(-40px) scale(0.96);
}

.reviews-grid.cards-hidden-bottom .review-card:nth-child(4) {
    transition-delay: 0s;
}

.reviews-grid.cards-hidden-bottom .review-card:nth-child(3) {
    transition-delay: 0.12s;
}

.reviews-grid.cards-hidden-bottom .review-card:nth-child(2) {
    transition-delay: 0.24s;
}

.reviews-grid.cards-hidden-bottom .review-card:nth-child(1) {
    transition-delay: 0.36s;
}

/* Inset Corner Frame Line Draw Effect on Hover */
.review-card::before,
.review-card::after {
    content: '';
    position: absolute;
    box-sizing: border-box;
    pointer-events: none;
    width: 0;
    height: 0;
    opacity: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        height 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease;
}

.review-card::before {
    top: 12px;
    left: 12px;
    border-top: 1.5px solid transparent;
    border-left: 1.5px solid transparent;
    border-top-left-radius: 8px;
}

.review-card::after {
    bottom: 12px;
    right: 12px;
    border-bottom: 1.5px solid transparent;
    border-right: 1.5px solid transparent;
    border-bottom-right-radius: 8px;
}

/* Orange Checkerboard Card Hover Line Draw */
.review-card.card-orange:hover::before {
    border-top-color: #F98716;
    border-left-color: #F98716;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    opacity: 1;
}

.review-card.card-orange:hover::after {
    border-bottom-color: #F98716;
    border-right-color: #F98716;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    opacity: 1;
}

/* Teal Checkerboard Card Hover Line Draw */
.review-card.card-teal:hover::before {
    border-top-color: #22D3EE;
    border-left-color: #22D3EE;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    opacity: 1;
}

.review-card.card-teal:hover::after {
    border-bottom-color: #22D3EE;
    border-right-color: #22D3EE;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    opacity: 1;
}

.review-card:hover {
    background: #151D30;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.review-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

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

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-orange {
    background: rgba(249, 135, 22, 0.15);
    color: #F98716;
    border: 1px solid rgba(249, 135, 22, 0.3);
}

.avatar-teal {
    background: rgba(34, 211, 238, 0.15);
    color: #22D3EE;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.review-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-user-name {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.review-exam-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 8px !important;
    display: inline-block;
    width: fit-content;
}

.badge-orange {
    background: rgba(249, 135, 22, 0.12);
    color: #F98716;
    border: 1px solid rgba(249, 135, 22, 0.25);
}

.badge-teal {
    background: rgba(34, 211, 238, 0.12);
    color: #22D3EE;
    border: 1px solid rgba(34, 211, 238, 0.25);
}

.review-body p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #CBD5E1;
    margin: 0;
}

/* Certificate Thumbnail in Review Card */
.review-card-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
}

.review-content-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-cert-thumb {
    width: 105px;
    height: 132px;
    flex-shrink: 0;
    position: relative;
    background: #FFFDF8;
    border: 1.5px solid rgba(249, 135, 22, 0.4);
    border-radius: 8px;
    padding: 8px 6px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    user-select: none;
    box-sizing: border-box;
}

.review-cert-thumb.has-real-img {
    padding: 0 !important;
}

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


.review-cert-thumb:hover {
    transform: scale(1.06) translateY(-4px);
    border-color: #F98716;
    box-shadow: 0 15px 35px rgba(249, 135, 22, 0.45);
}

.cert-thumb-paper-header {
    width: 100%;
    text-align: center;
    border-bottom: 1px dashed #CBD5E1;
    padding-bottom: 3px;
}

.cert-thumb-paper-header .cert-thumb-logo-text {
    font-family: 'Actay Wide', sans-serif;
    font-size: 0.52rem;
    font-weight: 900;
    color: #0F172A;
    display: block;
}

.cert-thumb-paper-header .cert-thumb-type {
    font-family: 'Inter', sans-serif;
    font-size: 0.48rem;
    font-weight: 700;
    color: #F98716;
    display: block;
    letter-spacing: 0.3px;
}

.cert-thumb-body-content {
    text-align: center;
    width: 100%;
    margin: 2px 0;
}

.cert-thumb-student {
    font-family: 'Inter', sans-serif;
    font-size: 0.52rem;
    font-weight: 800;
    color: #0F172A;
    display: block;
    line-height: 1.1;
}

.cert-thumb-score {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 900;
    color: #059669;
    display: block;
    margin-top: 2px;
}

.cert-thumb-seal-graphic {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F98716, #F98716);
    color: #FFFFFF;
    font-size: 0.42rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(249, 135, 22, 0.3);
}

.cert-thumb-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.25s ease;
    color: #FFFFFF;
}

.review-cert-thumb:hover .cert-thumb-hover-overlay,
.review-card:hover .review-cert-thumb .cert-thumb-hover-overlay {
    opacity: 1;
}

.cert-thumb-hover-overlay span {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    color: #F98716;
}

/* Certificate Pop-Up Lightbox Modal */
.cert-lightbox-card {
    max-width: 90vw !important;
    width: auto !important;
    max-height: 92vh !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cert-lightbox-real-img {
    max-width: 90vw;
    max-height: 72vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.15);
    display: block;
}

.cert-lightbox-card .modal-close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 20;
    background: #0F172A;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.cert-document-paper {
    width: 100%;
    background: #FFFDF8;
    border: 8px solid #0F172A;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 2px #F98716;
    position: relative;
    box-sizing: border-box;
    text-align: center;
}

.cert-paper-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    font-family: 'Actay Wide', sans-serif;
    font-size: 4.8rem;
    font-weight: 900;
    color: rgba(249, 135, 22, 0.05);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.cert-header-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.cert-header-logo {
    font-family: 'Actay Wide', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: #0F172A;
}

.cert-header-logo span {
    color: #F98716;
}

.cert-official-seal {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F98716 0%, #F98716 100%);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 6px 16px rgba(249, 135, 22, 0.35);
    border: 1.5px dashed rgba(255, 255, 255, 0.85);
    outline: 2px solid #F98716;
    outline-offset: 2px;
    flex-shrink: 0;
    text-align: center;
    box-sizing: border-box;
}

.cert-official-seal svg {
    width: 15px;
    height: 15px;
    stroke: #FFFFFF;
}

.cert-official-seal span {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.52rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px;
    line-height: 1;
    color: #FFFFFF !important;
    text-transform: uppercase;
}

.cert-doc-title {
    font-family: 'Actay Wide', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.cert-doc-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #64748B;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cert-student-box {
    margin: 18px 0;
    padding: 16px;
    background: #F8FAFC;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

.cert-student-label {
    font-size: 0.78rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.cert-student-fullname {
    font-family: 'Actay Wide', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #0F172A;
}

.cert-result-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ECFDF5;
    border: 1.5px solid #10B981;
    padding: 10px 24px;
    border-radius: 50px;
    margin-top: 6px;
}

.cert-result-score {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    color: #047857;
}

.cert-footer-signature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid #E2E8F0;
    font-size: 0.78rem;
    color: #64748B;
}

.cert-caption-under {
    margin-top: 18px;
    text-align: center;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 28px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cert-caption-student-name {
    font-family: 'Actay Wide', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFFFFF;
    display: block;
}

.cert-caption-exam-info {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #22D3EE;
    font-weight: 700;
    display: block;
    margin-top: 2px;
}



/* ==========================================================================
   Common Utilities & Extracted Inline Classes
   ========================================================================== */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-drawer-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-w100 {
    width: 100%;
}

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

.section-container-elevated {
    position: relative;
    z-index: 5;
}

.section-header-mb40 {
    margin-bottom: 40px;
}

.section-header-mb50 {
    margin-bottom: 50px;
}

.reviews-subtitle-text {
    color: #94A3B8;
    max-width: 920px;
}

.text-brand-orange-bold {
    color: #F98716;
    font-weight: 700;
}

.text-brand-orange-heavy {
    color: #F98716;
    font-weight: 800;
}

.cert-result-label {
    font-size: 0.9rem;
    color: #047857;
    font-weight: 700;
}

.modal-title-spaced {
    margin-top: 12px;
    margin-bottom: 8px;
}

.modal-subtitle-spaced {
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #64748B;
}

.modal-btn-submit {
    width: 100%;
    margin-top: 10px;
    border-radius: 8px !important;
}

.modal-btn-login-submit {
    width: 100%;
    margin-top: 26px;
    border-radius: 8px !important;
}

.login-modal-form-wrap {
    margin-top: 10px;
}

.login-field-group-spaced {
    margin-top: 20px;
}

.blog-nav-link-active {
    color: #F98716 !important;
    font-weight: 700 !important;
}

/* JS Interactive Notifications & Form Feedback */
.demo-success-box {
    text-align: center;
    padding: 20px 0;
}

.demo-success-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.demo-success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #DCFCE7;
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-success-title {
    font-family: 'Actay Wide', var(--eb-font-heading), sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.demo-success-text {
    color: #64748b;
    font-size: 0.95rem;
}

/* ==========================================================================
   Login Page Styles
   ========================================================================== */
.login-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    background: #FFFFFF;
    border: 2px solid var(--eb-card-border);
    border-radius: 20px;
    padding: 44px 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--eb-shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin-top: 16px;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 0.9rem;
    color: var(--eb-secondary);
}

.form-footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.forgot-link {
    color: var(--eb-accent);
    text-decoration: none;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

.back-home-link {
    display: block;
    text-align: center;
    margin-top: 24px;
    color: var(--eb-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--eb-transition);
}

.back-home-link:hover {
    color: var(--eb-accent);
}

.login-logo-center {
    justify-content: center;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.remember-checkbox {
    accent-color: var(--eb-accent);
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   Thank You Page Styles (DeutschGo Light Design System)
   ========================================================================== */
.thankyou-main-section {
    min-height: 60vh;
    padding: 30px 16px 60px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.thankyou-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.thankyou-card-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 44px 36px 40px;
    text-align: center;
    box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thankyou-icon-badge {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyou-icon-badge--success {
    background: #ECFDF5;
    border: 2px solid #A7F3D0;
    color: #10B981;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

.thankyou-icon-badge--error {
    background: #FEF2F2;
    border: 2px solid #FECACA;
    color: #EF4444;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15);
}

.thankyou-card-headline {
    font-family: 'Actay Wide', 'ActayWide', var(--eb-font-heading), sans-serif;
    font-size: clamp(1.6rem, 3.2vw, 2.1rem);
    font-weight: 900;
    color: #0F172A;
    line-height: 1.25;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.thankyou-card-headline--error {
    color: #DC2626;
}

.thankyou-card-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.02rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 520px;
}

.thankyou-order-num {
    font-weight: 800;
    color: #F98716;
}

.thankyou-info-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 22px;
    text-align: left;
    box-sizing: border-box;
}

.thankyou-info-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.thankyou-info-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748B;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.thankyou-info-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
    display: flex;
    align-items: center;
}

.thankyou-info-value--price {
    font-size: 1.3rem;
    font-weight: 900;
    color: #059669;
    font-family: 'Actay Wide', 'Inter', sans-serif;
}

.thankyou-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid #BFDBFE;
}

.thankyou-status-pill.status-completed,
.thankyou-status-pill.status-processing {
    background: #ECFDF5;
    color: #059669;
    border: 1px solid #A7F3D0;
}

.thankyou-status-pill.status-failed,
.thankyou-status-pill.status-cancelled {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.thankyou-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.thankyou-notice-box {
    width: 100%;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 26px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    box-sizing: border-box;
}

.thankyou-notice-icon {
    color: #D97706;
    flex-shrink: 0;
    margin-top: 2px;
}

.thankyou-notice-text {
    font-size: 0.88rem;
    color: #92400E;
    line-height: 1.5;
    font-weight: 500;
}

.thankyou-actions-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.thankyou-btn-primary {
    background: linear-gradient(135deg, #F98716 0%, #F98716 100%);
    color: #FFFFFF !important;
    font-family: 'Actay Wide', 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 14px !important;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(249, 135, 22, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-sizing: border-box;
}

.thankyou-btn-primary:hover {
    background: linear-gradient(135deg, #FB923C 0%, #F98716 100%);
    color: #FFFFFF !important;
    box-shadow: 0 14px 30px rgba(249, 135, 22, 0.45);
    transform: translateY(-2px);
}

.thankyou-back-link {
    font-size: 0.92rem;
    color: #64748B;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s ease;
    margin-top: 4px;
}

.thankyou-back-link:hover {
    color: #0F172A;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .thankyou-main-section {
        padding: 100px 16px 60px;
    }

    .thankyou-card-box {
        padding: 30px 18px 26px;
        border-radius: 20px;
    }

    .thankyou-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px 16px;
    }

    .thankyou-btn-primary {
        padding: 14px 20px;
        font-size: 0.96rem;
    }
}



/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-hero-banner {
    background: linear-gradient(180deg, #0B1120 0%, #0F172A 100%);
    padding: 140px 0 70px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.blog-word-watermarks {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    opacity: 0.12 !important;
    animation: none !important;
    /* Убираем задержку появления heroWatermarksFadeIn, чтобы фон не мигал */
}

.blog-word-watermarks .watermark-row {
    display: flex;
    gap: 20px;
    white-space: nowrap;
    font-family: var(--eb-font-heading);
    font-weight: 900;
    text-transform: lowercase;
    line-height: 0.88;
    color: #F98716;
    margin: 0;
    padding: 0;
    will-change: transform;
}

.contact-hero-title {
    font-family: 'Actay Wide', 'ActayWide', var(--eb-font-heading), sans-serif;
    font-size: clamp(1.6rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #94A3B8;
    margin-bottom: 24px;
}

.contact-breadcrumbs a {
    color: #F98716;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.25s ease;
}

.contact-breadcrumbs a:hover {
    color: #22D3EE;
}

.breadcrumb-sep {
    color: #475569;
}

.contact-main-section {
    background-color: #FFFFFF;
    color: #0F172A;
    padding: 90px 0 120px;
}

.contact-giant-headline {
    font-family: 'Actay Wide', 'ActayWide', var(--eb-font-heading), sans-serif;
    font-size: clamp(2.2rem, 5.2vw, 3.8rem);
    font-weight: 900;
    color: #0F172A;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 60px;
    margin-left: 200px;
    max-width: 900px;
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

.contact-left-col {
    padding-right: 20px;
}

.contact-label-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748B;
    margin-bottom: 16px;
    display: block;
}

.contact-sub-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 32px;
    font-weight: 400;
}

.contact-email-link {
    font-family: 'Actay Wide', var(--eb-font-heading), sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0F172A;
    text-decoration: none;
    border-bottom: 2px solid #0F172A;
    padding-bottom: 4px;
    display: inline-block;
    margin-bottom: 48px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-email-link:hover {
    color: #F98716;
    border-color: #F98716;
}

.contact-social-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748B;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.contact-social-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.contact-social-item {
    font-family: 'Actay Wide', var(--eb-font-heading), sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-social-item span {
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-social-item:hover {
    color: #F98716;
    transform: translateX(4px);
}

.contact-social-item:hover span {
    border-color: #F98716;
}


.contact-right-form {
    background: #FFFFFF;
}

.contact-field-group {
    margin-bottom: 10px;
    position: relative;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 10px;
}



.contact-input {
    width: 100%;
    padding: 10px 0 14px;
    font-size: 1.05rem;
    color: #0F172A;
    background: transparent !important;
    border: none !important;
    border-bottom: 1.5px solid #CBD5E1 !important;
    border-radius: 0 !important;
    outline: none !important;
    transition: border-color 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-input::placeholder {
    color: #0F172A;
    font-weight: 600;
    opacity: 0.85;
}

.contact-input:focus {
    border-bottom-color: #0F172A !important;
    box-shadow: none !important;
}

textarea.contact-input {
    resize: vertical;
    min-height: 100px;
    padding-top: 10px;
}

.contact-submit-btn {
    background: #0F172A;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 8px !important;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    transition: background-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

.contact-submit-btn:not(:disabled) {
    background-color: #0F172A !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2) !important;
}

.contact-submit-btn:not(:disabled):hover {
    background-color: #F98716 !important;
    box-shadow: 0 12px 30px rgba(249, 135, 22, 0.4) !important;
    transform: translateY(-2px);
}

.contact-submit-btn:disabled,
.contact-submit-btn[disabled] {
    background-color: #CBD5E1 !important;
    color: #94A3B8 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.7 !important;
    pointer-events: none !important;
}

.contact-checkbox-group {
    margin-top: 12px;
    margin-bottom: 16px;
}

.contact-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #0F172A;
    user-select: none;
}

.contact-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #F98716;
    cursor: pointer;
    margin: 0;
}

.contact-checkbox-label:has(.custom-checkbox-box) .contact-checkbox {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.custom-checkbox-box {
    width: 24px;
    height: 24px;
    border: 2px solid #CBD5E1;
    border-radius: 6px;
    background: #FFFFFF;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.contact-checkbox-label:hover .custom-checkbox-box {
    border-color: #F98716;
    box-shadow: 0 0 0 3px rgba(249, 135, 22, 0.15);
}

.contact-checkbox:checked~.custom-checkbox-box {
    background-color: #F98716 !important;
    border-color: #F98716 !important;
    box-shadow: 0 4px 14px rgba(249, 135, 22, 0.35);
}

.contact-checkbox:checked~.custom-checkbox-box::after {
    content: '';
    width: 6px;
    height: 11px;
    border: solid #FFFFFF;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.checkbox-text {
    color: #0F172A;
    font-weight: 500;
}

.legal-link-inline,
.legal-link-inline:visited,
.legal-link-inline:link {
    color: #0F172A !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
    transition: color 0.2s ease;
}














/* ==========================================================================
   Blog Page & Article Grid Styles
   ========================================================================== */
.blog-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.blog-filter-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #CBD5E1;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.blog-filter-pill:hover {
    background: rgba(249, 135, 22, 0.18);
    border-color: #F98716;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.blog-filter-pill.active {
    background: #F98716;
    border-color: #F98716;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(249, 135, 22, 0.35);
}

.blog-main-section {
    background-color: #FFFFFF;
    color: #0F172A;
    padding: 70px 0 120px;
}

.articles-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

@media screen and (max-width: 1199px) {
    .articles-grid-4col {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .blog-photo-card {
        height: 480px;
    }
}

@media screen and (max-width: 899px) {
    .articles-grid-4col {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 50px;
    }

    .blog-photo-card {
        height: 400px;
    }

    .blog-card-title,
    .blog-drawer-title {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .articles-grid-4col {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 40px;
    }

    .blog-photo-card {
        height: 330px;
    }

    .blog-card-title,
    .blog-drawer-title {
        font-size: 0.82rem;
    }

    .blog-card-default-info {
        padding: 12px 10px;
    }

    .blog-card-hover-drawer {
        padding: 10px 8px;
    }

    .blog-drawer-read-link {
        font-size: 0.72rem;
    }
}

.blog-photo-card {
    position: relative;
    height: 530px;
    border-radius: 8px !important;
    overflow: hidden;
    cursor: pointer;
    background-color: #0F172A;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 2.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    outline: none !important;
    border: none !important;
}

.blog-photo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
    border: none !important;
    outline: none !important;
}

.blog-card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1), filter 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-photo-card:hover .blog-card-bg-img {
    transform: scale(1.05);
    filter: blur(6px) brightness(0.6);
}

/* Specific Card Background Images */
.blog-card-img-1 {
    background-image: url('../images/blog/blog-1.webp');
}

.blog-card-img-2 {
    background-image: url('../images/blog/blog-2.webp');
}

.blog-card-img-3 {
    background-image: url('../images/blog/blog-3.webp');
}

.blog-card-img-4 {
    background-image: url('../images/blog/blog-4.webp');
}

.blog-card-img-5 {
    background-image: url('../images/blog/blog-5.webp');
}

.blog-card-img-6 {
    background-image: url('../images/blog/blog-6.webp');
}

.blog-card-img-7 {
    background-image: url('../images/blog/blog-7.webp');
}

.blog-card-img-8 {
    background-image: url('../images/blog/blog-8.webp');
}

.blog-card-default-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 36px 20px 24px;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.98) 0%, rgba(11, 17, 32, 0.72) 65%, transparent 100%);
    box-sizing: border-box;
    transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    text-align: center;
}

.blog-photo-card:hover .blog-card-default-info {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}


.blog-card-title {
    font-family: 'Actay Wide', 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.38;
    margin: 0;
    text-align: center;
}

.blog-card-standalone-arrow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1), transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
    pointer-events: none;
}

.blog-photo-card:hover .blog-card-standalone-arrow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.blog-card-hover-drawer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    min-height: 85px;
    background: #0F172A;
    padding: 16px 16px 14px;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    border: none !important;
    outline: none !important;
}

.blog-photo-card:hover .blog-card-hover-drawer {
    transform: translateY(0);
}


.blog-drawer-title {
    font-family: 'Actay Wide', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

.blog-drawer-read-link {
    color: #CBD5E1;
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid #CBD5E1;
    padding-bottom: 2px;
    transition: color 0.4s ease, border-color 0.4s ease;
    display: inline-block;
    margin-top: auto;
    margin-bottom: 5px;
    text-align: center;
}

.blog-photo-card:hover .blog-drawer-read-link:hover {
    color: #F98716;
    border-color: #F98716;
}

/* Blog Load More Button */
.blog-load-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 70px;
}

.blog-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #FFFFFF;
    color: #0F172A;
    border: 2px solid #0F172A;
    font-family: 'Actay Wide', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.blog-load-more-btn:hover {
    background: #0F172A;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.blog-load-more-btn svg {
    transition: transform 0.25s ease;
}

.blog-load-more-btn:hover svg {
    transform: translateY(3px);
}

/* Blog Newsletter Banner */
.blog-newsletter-banner {
    background: linear-gradient(145deg, #0F172A 0%, #080D1A 100%);
    border-radius: 24px;
    padding: 56px 40px;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(249, 135, 22, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.blog-newsletter-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 480px;
    height: 100%;
    background: radial-gradient(circle, rgba(249, 135, 22, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.blog-newsletter-title {
    font-family: 'Actay Wide', 'Inter', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: #FFFFFF;
    line-height: 1.25;
}

.blog-newsletter-text {
    font-size: 1.05rem;
    color: #94A3B8;
    max-width: 650px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ==========================================================================
   Single Post Article Page Styling & Related Articles Grid
   ========================================================================== */
.article-hero-section {
    background: #0B1120;
    color: #FFFFFF;
    padding: 140px 0 70px;
    position: relative;
    overflow: hidden;
}

.article-hero-container {
    max-width: 860px;
    margin: 0 auto;
}


.article-hero-title {
    font-family: 'Actay Wide', 'Inter', sans-serif;
    font-size: clamp(1.45rem, 4.2vw, 3.2rem);
    font-weight: 900;
    line-height: 1.25;
    color: #FFFFFF;
    margin-top: 16px;
    margin-bottom: 0;
    letter-spacing: -0.5px;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}





/* Single Article Body Content */
.article-main-section {
    background: #FFFFFF;
    padding: 70px 0 90px;
}

.article-main-section.is-login-page {
    padding: 30px 0 60px;
}

.article-main-section.is-login-page .article-content-wrapper {
    max-width: 100%;
}

.telc-login-wrapper .login-modal-card {
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .article-main-section.is-login-page {
        padding: 16px 0 40px;
    }

    .telc-login-wrapper {
        padding: 0 !important;
        min-height: auto;
    }

    .telc-login-wrapper .login-modal-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 32px 18px !important;
    }
}

.article-content-wrapper {
    max-width: 860px;
    margin: 0 auto;
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Classic Editor Headings */
.article-content-wrapper h1,
.article-content-wrapper h2,
.article-content-wrapper h3,
.article-content-wrapper h4,
.article-content-wrapper h5,
.article-content-wrapper h6 {
    font-family: 'Actay Wide', 'Montserrat', sans-serif;
    color: #0F172A;
    line-height: 1.35;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 18px;
}

.article-content-wrapper > *:first-child,
.article-content-wrapper h1:first-child,
.article-content-wrapper h2:first-child {
    margin-top: 0;
}

.article-content-wrapper h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    margin-top: 48px;
    margin-bottom: 24px;
}

.article-content-wrapper h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    margin-top: 44px;
    margin-bottom: 20px;
}

.article-content-wrapper h3 {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 800;
    margin-top: 34px;
    margin-bottom: 16px;
}

.article-content-wrapper h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 14px;
}

.article-content-wrapper h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
}

.article-content-wrapper h6 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 22px;
    margin-bottom: 10px;
}

/* Paragraphs & Text Spacing */
.article-content-wrapper p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    text-align: justify;
    margin-top: 0;
    margin-bottom: 22px;
}

.article-content-wrapper p:last-child {
    margin-bottom: 0;
}

/* Links inside Content */
.article-content-wrapper a {
    color: #F98716;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.2s ease, text-decoration-color 0.2s ease, opacity 0.2s ease;
    word-break: break-word;
}

.article-content-wrapper a:hover {
    color: #EA580C;
    text-decoration-color: #EA580C;
}

.article-content-wrapper a:active {
    color: #C2410C;
}

/* Unordered & Ordered Lists */
.article-content-wrapper ul {
    list-style-type: disc;
    margin: 20px 0 26px 0;
    padding-left: 28px;
    color: #334155;
}

.article-content-wrapper ol {
    list-style-type: decimal;
    margin: 20px 0 26px 0;
    padding-left: 28px;
    color: #334155;
}

.article-content-wrapper ul li,
.article-content-wrapper ol li {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 12px;
    padding-left: 6px;
}

.article-content-wrapper ul li::marker {
    color: #F98716;
    font-size: 1.15em;
}

.article-content-wrapper ol li::marker {
    color: #F98716;
    font-weight: 700;
}

.article-content-wrapper ul li:last-child,
.article-content-wrapper ol li:last-child {
    margin-bottom: 0;
}

/* Nested Lists */
.article-content-wrapper ul ul,
.article-content-wrapper ol ol,
.article-content-wrapper ul ol,
.article-content-wrapper ol ul {
    margin: 10px 0 10px 20px;
    padding-left: 20px;
}

/* Strong / Bold Text */
.article-content-wrapper strong,
.article-content-wrapper b {
    font-weight: 700;
    color: #0F172A;
}

.article-content-wrapper em,
.article-content-wrapper i {
    font-style: italic;
}

/* Quotes / Blockquotes */
.article-content-wrapper blockquote {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-left: 5px solid #F98716;
    border-radius: 0 16px 16px 0;
    padding: 22px 28px;
    margin: 32px 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #1E293B;
    font-style: italic;
}

.article-content-wrapper blockquote p:last-child {
    margin-bottom: 0;
}

/* Tables */
.article-content-wrapper table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 28px 0;
    font-size: 0.98rem;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
}

.article-content-wrapper th {
    background: #F1F5F9;
    color: #0F172A;
    font-weight: 700;
    padding: 14px 18px;
    border-bottom: 2px solid #CBD5E1;
    text-align: left;
}

.article-content-wrapper td {
    padding: 12px 18px;
    border-bottom: 1px solid #E2E8F0;
    color: #334155;
    line-height: 1.6;
}

.article-content-wrapper tr:last-child td {
    border-bottom: none;
}

.article-content-wrapper tr:nth-child(even) {
    background: #F8FAFC;
}

/* Horizontal Rule Divider */
.article-content-wrapper hr {
    border: none;
    height: 1px;
    background: #E2E8F0;
    margin: 40px 0;
}

/* Images & Figures */
.article-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 24px 0;
    display: block;
}

.article-content-wrapper figure {
    margin: 28px 0;
    text-align: center;
}

.article-content-wrapper figure img {
    margin: 0 auto;
}

.article-content-wrapper figcaption {
    margin-top: 10px;
    font-size: 0.88rem;
    color: #64748B;
    font-style: italic;
}

/* Inline Code & Code Blocks */
.article-content-wrapper code {
    background: #F1F5F9;
    color: #0F172A;
    padding: 3px 7px;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    border: 1px solid #E2E8F0;
}

.article-content-wrapper pre {
    background: #0F172A;
    color: #F8FAFC;
    padding: 20px 24px;
    border-radius: 14px;
    overflow-x: auto;
    margin: 28px 0;
    line-height: 1.65;
    font-size: 0.92rem;
    border: 1px solid #1E293B;
}

.article-content-wrapper pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border: none;
    font-size: inherit;
}

.article-lead-text {
    font-size: 1.22rem;
    line-height: 1.75;
    color: #1E293B;
    font-weight: 500;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid #E2E8F0;
}

.article-section-title {
    font-family: 'Actay Wide', sans-serif;
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    font-weight: 900;
    color: #0F172A;
    margin-top: 48px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-sub-heading {
    font-family: 'Actay Wide', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    margin-top: 32px;
    margin-bottom: 14px;
}

.article-paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 22px;
}

.article-checklist {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-checklist li {
    font-size: 1.02rem;
    line-height: 1.6;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.article-checklist .check-icon {
    color: #F98716;
    font-weight: 900;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.article-numbered-list {
    margin: 20px 0 28px 24px;
    padding: 0;
    color: #334155;
    line-height: 1.8;
    font-size: 1.02rem;
}

.article-numbered-list li {
    margin-bottom: 10px;
    padding-left: 6px;
}

/* Callout Box / Methodist Tip */
.article-callout-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-left: 5px solid #F98716;
    border-radius: 0 16px 16px 0;
    padding: 24px 28px;
    margin: 36px 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #1E293B;
}

.article-callout-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 8px;
    font-family: 'Actay Wide', sans-serif;
    font-size: 0.95rem;
}

.article-callout-icon {
    color: #F98716;
    font-size: 1.2rem;
}

/* In-Article Platform Promo & Demo Recommendation Ad Block */
.article-cta-box {
    background: linear-gradient(135deg, #0B132B 0%, #1C2541 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 48px 40px;
    margin: 56px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(11, 19, 43, 0.35);
    color: #FFFFFF;
}

.article-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    height: 240px;
    background: radial-gradient(circle, rgba(249, 135, 22, 0.25) 0%, rgba(249, 135, 22, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.article-cta-title {
    font-family: 'Actay Wide', var(--eb-font-heading), sans-serif;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 900;
    color: #FFFFFF !important;
    margin-bottom: 16px;
    line-height: 1.35;
    position: relative;
    z-index: 1;
}

.article-cta-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #CBD5E1;
    max-width: 620px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.article-cta-box .btn {
    position: relative;
    z-index: 1;
}

.article-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 135, 22, 0.18);
    color: #F98716;
    border: 1px solid rgba(249, 135, 22, 0.4);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 6px 18px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 20px;
}



.article-promo-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    font-size: 0.95rem;
    color: #E2E8F0;
}

.article-promo-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-promo-feature-item .check-icon {
    color: #F98716;
    font-weight: 900;
}

.article-promo-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
}



.article-promo-btn-tariffs {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    font-family: 'Actay Wide', 'Inter', sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    height: 52px !important;
    padding: 0 32px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.article-promo-btn-tariffs:hover {
    border-color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.12) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    color: #FFFFFF !important;
}

/* Article Footer Bar (Back link & Share) */



/* Related Articles Section */
.related-articles-section {
    background: #F8FAFC;
    padding: 90px 0 110px;
    border-top: 1px solid #E2E8F0;
}

.related-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.related-section-title {
    font-family: 'Actay Wide', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 12px;
}

.related-section-subtitle {
    font-size: 1.05rem;
    color: #64748B;
    max-width: 550px;
    margin: 0 auto;
}

/* Related Articles Grid - Center aligned */
.related-articles-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.related-articles-grid .blog-photo-card {
    width: calc(25% - 18px);
    min-width: 270px;
    max-width: 290px;
    flex: 0 0 auto;
}

@media screen and (max-width: 1199px) {
    .related-articles-grid .blog-photo-card {
        width: calc(33.333% - 16px);
        min-width: 260px;
    }
}

@media screen and (max-width: 899px) {
    .related-articles-grid {
        gap: 16px;
    }

    .related-articles-grid .blog-photo-card {
        width: calc(50% - 12px);
        min-width: 220px;
    }
}

@media screen and (max-width: 580px) {
    .related-articles-grid {
        gap: 12px;
    }

    .related-articles-grid .blog-photo-card {
        width: 100%;
        max-width: 340px;
    }
}













/* Interactive Article Reader Lightbox Modal */











.reader-highlight-box {
    background: #F8FAFC;
    border-left: 4px solid #F98716;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
    font-weight: 500;
    color: #1E293B;
}




.login-form-group-spaced {
    margin-bottom: 24px;
}

.login-form-group-mb20 {
    margin-bottom: 20px;
}

.login-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 28px;
}

.btn-radius-8 {
    border-radius: 8px !important;
}

/* Authentication Switcher & Registration Modal Styling */
.auth-modal-subtitle {
    font-size: 0.9rem;
    color: #64748B;
    margin-top: 4px;
    margin-bottom: 16px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.auth-switch-link {
    color: #F98716;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.auth-switch-link:hover {
    color: #FF9B35;
    text-decoration: underline;
}

.auth-terms-text {
    font-size: 0.85rem;
    color: #475569;
}

.login-bottom-switch-row {
    margin-top: 22px;
    text-align: center;
    font-size: 0.9rem;
    color: #64748B;
    font-family: 'Inter', sans-serif;
}

.register-options-row {
    margin-top: 18px;
}

.modal-btn-forgot-submit {
    margin-top: 20px;
}

/* ==========================================================================
   Checkout & Order Payment Page Styles (WooCommerce Ready)
   ========================================================================== */
.checkout-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.checkout-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-header-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.checkout-header-back-link:hover {
    color: #F98716;
}

.checkout-auth-tabs {
    display: flex;
    background: #F1F5F9;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 22px;
    gap: 4px;
}

.checkout-auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748B;
    background: transparent;
    border: none;
    user-select: none;
    font-family: 'Inter', sans-serif;
}

.checkout-auth-tab.active {
    background: #FFFFFF;
    color: #0F172A;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.checkout-login-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 8px;
}

.checkout-login-btn {
    padding: 12px 20px;
    background: #0F172A;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 4px;
}

.checkout-login-btn:hover {
    background: #1E293B;
}

.checkout-main-section {
    background: #F8FAFC;
    padding: 120px 0 80px;
    min-height: 80vh;
}

.checkout-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 56px;
    /* Точное выравнивание (24px отступ шапки + 32px внутренний паддинг = 56px) под логотип и кнопку кабинета */
    box-sizing: border-box;
}

.checkout-header-block {
    margin-bottom: 28px;
}

.checkout-title {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: #0F172A;
    line-height: 1.2;
    margin-bottom: 8px;
}

.checkout-subtitle {
    font-size: 1rem;
    color: #64748B;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 36px;
    align-items: start;
}

.checkout-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    margin-bottom: 24px;
}

.checkout-section-title {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F98716;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.checkout-logged-user-box {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.checkout-logged-user-title {
    font-weight: 800;
    font-size: 1rem;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-logged-user-desc {
    font-size: 0.86rem;
    color: #64748B;
    margin-top: 4px;
}

.checkout-logged-user-logout {
    font-size: 0.85rem;
    font-weight: 700;
    color: #EF4444;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.checkout-logged-user-logout:hover {
    color: #DC2626;
    text-decoration: underline;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.checkout-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkout-form-group.full-width {
    grid-column: 1 / -1;
}

.checkout-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.checkout-input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: #0F172A;
    background: #FFFFFF;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.checkout-input:focus {
    border-color: #F98716;
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 135, 22, 0.15);
}

.exam-select-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.exam-chip {
    padding: 9px 18px;
    border: 1.5px solid #CBD5E1;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #FFFFFF;
    user-select: none;
}

.exam-chip.active {
    border-color: #0F172A;
    background: #0F172A;
    color: #FFFFFF;
}

.checkout-plan-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 8px;
    margin-top: 10px;
}

.plan-select-card {
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    background: #FFFFFF;
    user-select: none;
}

.plan-select-card.active {
    border-color: #F98716;
    background: rgba(249, 135, 22, 0.03);
    box-shadow: 0 4px 16px rgba(249, 135, 22, 0.12);
}

.plan-select-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #F98716;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
    text-transform: uppercase;
}

.plan-select-badge.teal-badge {
    background: #0284C7;
}

.plan-select-duration {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: #0F172A;
    margin-top: 4px;
}

.plan-select-price {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: #F98716;
    margin-top: 6px;
}

.plan-select-savings {
    font-size: 0.72rem;
    color: #10B981;
    font-weight: 700;
    margin-top: 4px;
}

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

.payment-method-item {
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #FFFFFF;
    user-select: none;
}

.payment-method-item.active {
    border-color: #F98716;
    background: rgba(249, 135, 22, 0.03);
}

.payment-method-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-radio {
    accent-color: #F98716;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.payment-title {
    font-weight: 700;
    color: #0F172A;
    font-size: 0.92rem;
}


.checkout-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.order-summary-card {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.order-product-header {
    padding-bottom: 18px;
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: 18px;
}

.order-product-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    background: rgba(249, 135, 22, 0.12);
    color: #F98716;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.order-product-title {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
}

.order-product-subtitle {
    font-size: 0.88rem;
    color: #64748B;
}

.order-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: #334155;
}

.order-feature-check {
    color: #10B981;
    font-weight: bold;
}

.order-promo-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.order-promo-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: #0F172A;
}

.order-promo-input:focus {
    border-color: #F98716;
    outline: none;
}

.order-promo-btn {
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
    background: #0F172A;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.order-promo-btn:hover {
    background: #1E293B;
}

.order-price-breakdown {
    border-top: 1px solid #E2E8F0;
    padding-top: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #64748B;
}

.order-price-row.discount-row {
    color: #10B981;
    font-weight: 600;
}

.order-price-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1.5px dashed #CBD5E1;
    padding-top: 14px;
    margin-top: 4px;
}

.order-total-label {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #0F172A;
}

.order-total-value {
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: #F98716;
}

.order-terms-row {
    margin-top: 18px;
    margin-bottom: 20px;
}

.order-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    color: #64748B;
    line-height: 1.45;
    cursor: pointer;
    user-select: none;
}

.order-terms-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: #F98716;
    cursor: pointer;
    flex-shrink: 0;
}

.order-terms-link {
    color: #F98716;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.order-terms-link:hover {
    color: #F98716;
}

.checkout-submit-btn {
    width: 100%;
    padding: 16px 20px;
    font-family: 'Actay Wide', var(--eb-font-heading);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F98716 0%, #F98716 100%);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(249, 135, 22, 0.35);
    text-transform: uppercase;
}

.checkout-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(249, 135, 22, 0.45);
}

.checkout-submit-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    filter: grayscale(30%);
}




.coupon-message-box {
    display: none;
    margin-top: -12px;
    margin-bottom: 12px;
}

.coupon-message-box.is-success {
    display: block;
    color: #10B981;
}

.coupon-message-box.is-error {
    display: block;
    color: #EF4444;
}

.is-hidden {
    display: none;
}

/* ==========================================================================
   Contact Form 7 (CF7) WordPress Integration Styles
   ========================================================================== */
.wpcf7 {
    width: 100%;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wpcf7-form-control-wrap {
    display: block;
    position: relative;
    width: 100%;
}

.wpcf7-form p {
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select,
.wpcf7-number,
.wpcf7-quiz,
.wpcf7-tel,
.wpcf7-email {
    width: 100% !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 10px !important;
    padding: 11px 16px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    color: #0F172A !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus,
.wpcf7-tel:focus,
.wpcf7-email:focus {
    border-color: #F98716 !important;
    box-shadow: 0 0 0 3px rgba(249, 135, 22, 0.15) !important;
    background: #FFFFFF !important;
}

.wpcf7-textarea {
    min-height: 85px !important;
    resize: vertical !important;
}

.wpcf7-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    background: #F98716 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: 'Actay Wide', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(249, 135, 22, 0.3) !important;
    margin-top: 4px !important;
}

.wpcf7-submit:hover {
    background: #EA7507 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(249, 135, 22, 0.4) !important;
}

.wpcf7-submit:disabled,
.wpcf7-submit[disabled] {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* CF7 Acceptance / Checkbox */
.wpcf7-acceptance,
.wpcf7-checkbox,
.wpcf7-form .wpcf7-acceptance,
.wpcf7-form .wpcf7-checkbox {
    display: block !important;
    margin: 2px 0 6px !important;
}

.wpcf7-acceptance .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item {
    margin: 0 !important;
    display: inline-block !important;
}

.wpcf7-acceptance label,
.wpcf7-checkbox label,
.wpcf7-list-item label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 0.95rem !important;
    color: #0F172A !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
    line-height: 1.4 !important;
    user-select: none !important;
}

.wpcf7-form input[type="checkbox"],
.wpcf7-acceptance input[type="checkbox"],
.wpcf7-checkbox input[type="checkbox"],
.wpcf7 input[type="checkbox"] {
    display: inline-block !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid #CBD5E1 !important;
    border-radius: 6px !important;
    background-color: #FFFFFF !important;
    accent-color: #F98716 !important;
    cursor: pointer !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.wpcf7-form input[type="checkbox"]:hover,
.wpcf7-acceptance input[type="checkbox"]:hover,
.wpcf7-checkbox input[type="checkbox"]:hover {
    border-color: #F98716 !important;
    box-shadow: 0 0 0 3px rgba(249, 135, 22, 0.15) !important;
}

.wpcf7-acceptance a,
.wpcf7-checkbox a {
    color: #0F172A !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
}

.wpcf7-acceptance a:hover,
.wpcf7-checkbox a:hover {
    color: #F98716 !important;
}

/* CF7 Validation Notices & Alerts */
.wpcf7-not-valid-tip {
    color: #EF4444 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    margin-top: 6px !important;
    display: block !important;
    font-family: 'Inter', sans-serif !important;
}

.wpcf7-not-valid {
    border-color: #EF4444 !important;
    background: #FEF2F2 !important;
}

.wpcf7-response-output {
    margin: 16px 0 0 !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    text-align: center !important;
}

.wpcf7-form.sent .wpcf7-response-output,
.wpcf7-mail-sent-ok {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid #10B981 !important;
    color: #065F46 !important;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-validation-errors {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid #EF4444 !important;
    color: #991B1B !important;
}

.wpcf7-spinner {
    margin: 8px auto 0 !important;
    display: block !important;
}

/* ==========================================================================
   WooCommerce Registration, Login & My-Account Forms Integration
   ========================================================================== */
.woocommerce form.woocommerce-form-login,
.woocommerce form.woocommerce-form-register,
.woocommerce form.woocommerce-form-lost-password,
.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-form-lost-password {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.woocommerce-form-row,
.woocommerce-form-row--wide {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.woocommerce-form-row label,
.woocommerce-form-login label,
.woocommerce-form-register label {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.woocommerce-form-row label .required {
    color: #F98716 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

.woocommerce-Input,
.woocommerce-Input--text,
.woocommerce-Input--email,
.woocommerce-Input--password,
.woocommerce form .form-row input.input-text {
    width: 100% !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    color: #0F172A !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
    height: auto !important;
}

.woocommerce-Input:focus,
.woocommerce form .form-row input.input-text:focus {
    border-color: #F98716 !important;
    box-shadow: 0 0 0 3px rgba(249, 135, 22, 0.15) !important;
    background: #FFFFFF !important;
}

.woocommerce-Button,
.woocommerce-button,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.woocommerce form.login .woocommerce-button,
.woocommerce form.register .woocommerce-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 52px !important;
    background: #F98716 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    font-family: 'Actay Wide', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(249, 135, 22, 0.3) !important;
    margin-top: 10px !important;
}

.woocommerce-Button:hover,
.woocommerce-button:hover,
.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover {
    background: #EA7507 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(249, 135, 22, 0.4) !important;
}

/* Remember me & Lost password in WooCommerce */
.woocommerce-form-login__rememberme {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.85rem !important;
    color: #64748B !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #F98716 !important;
    cursor: pointer !important;
}

.woocommerce-LostPassword,
.woocommerce-form-login .lost_password {
    margin-top: 12px !important;
    text-align: right !important;
    font-size: 0.85rem !important;
}

.woocommerce-LostPassword a,
.woocommerce-form-login .lost_password a {
    color: #F98716 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-LostPassword a:hover,
.woocommerce-form-login .lost_password a:hover {
    color: #EA7507 !important;
    text-decoration: underline !important;
}

/* Privacy policy text in Woo registration */
.woocommerce-privacy-policy-text {
    font-size: 0.82rem !important;
    color: #64748B !important;
    line-height: 1.4 !important;
    margin-top: 6px !important;
    font-family: 'Inter', sans-serif !important;
}

.woocommerce-privacy-policy-text a {
    color: #F98716 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* Password strength meter */
.woocommerce-password-strength {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-top: 8px !important;
    font-family: 'Inter', sans-serif !important;
}

.woocommerce-password-strength.short {
    background: #FEE2E2 !important;
    color: #DC2626 !important;
}

.woocommerce-password-strength.bad {
    background: #FEF3C7 !important;
    color: #D97706 !important;
}

.woocommerce-password-strength.good {
    background: #E0F2FE !important;
    color: #0284C7 !important;
}

.woocommerce-password-strength.strong {
    background: #D1FAE5 !important;
    color: #059669 !important;
}

.woocommerce-password-hint {
    font-size: 0.8rem !important;
    color: #64748B !important;
    margin-top: 4px !important;
}

/* WooCommerce notices & error messages */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    padding: 14px 20px !important;
    border-radius: 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    list-style: none !important;
    margin: 0 0 20px 0 !important;
}

.woocommerce-error {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid #EF4444 !important;
    color: #991B1B !important;
}

.woocommerce-message {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid #10B981 !important;
    color: #065F46 !important;
}

.woocommerce-info {
    background: rgba(249, 135, 22, 0.1) !important;
    border: 1px solid #F98716 !important;
    color: #9A3412 !important;
}




/* ========================================
   AUTHOR SECTION
   ======================================== */

.author-section {
    position: relative;
    padding: 120px 0;
    background: #FFFFFF;
    overflow: hidden;
}

/* Decorative floating rings */
.author-deco-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(249, 135, 22, 0.12);
    pointer-events: none;
    animation: author-ring-pulse 8s ease-in-out infinite;
}

.author-deco-ring-1 {
    width: 500px;
    height: 500px;
    top: -120px;
    left: -150px;
    animation-delay: 0s;
}

.author-deco-ring-2 {
    width: 320px;
    height: 320px;
    bottom: -80px;
    right: -60px;
    animation-delay: 3s;
    border-color: rgba(14, 165, 233, 0.1);
}

@keyframes author-ring-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
}

/* Decorative dots */
.author-deco-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.author-deco-dot-1 {
    width: 12px;
    height: 12px;
    background: #F98716;
    top: 15%;
    left: 8%;
    animation: author-dot-float 6s ease-in-out infinite;
}

.author-deco-dot-2 {
    width: 8px;
    height: 8px;
    background: rgba(14, 165, 233, 0.5);
    top: 60%;
    left: 3%;
    animation: author-dot-float 8s ease-in-out infinite reverse;
}

.author-deco-dot-3 {
    width: 10px;
    height: 10px;
    background: rgba(249, 135, 22, 0.3);
    bottom: 20%;
    right: 12%;
    animation: author-dot-float 7s ease-in-out infinite 2s;
}

@keyframes author-dot-float {

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

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

/* Inner grid */
.author-inner {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: center;
}

/* ---- Photo Column ---- */
.author-photo-col {
    position: relative;
}

.author-photo-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.author-photo-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at 40% 40%, rgba(249, 135, 22, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    z-index: 0;
    animation: author-glow-pulse 4s ease-in-out infinite;
}

@keyframes author-glow-pulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.author-photo-frame {
    position: relative;
    z-index: 1;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(249, 135, 22, 0.12);
    transform: perspective(1000px) rotateY(-3deg);
    transition: transform 0.5s ease;
}

.author-photo-frame:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.author-photo-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s ease;
}

.author-photo-frame:hover .author-photo-img {
    transform: scale(1.03);
}

/* Floating badges on photo */
.author-exp-badge {
    position: absolute;
    bottom: 32px;
    left: -24px;
    z-index: 2;
    background: #0F172A;
    color: #FFFFFF;
    border-radius: 20px;
    padding: 14px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
    animation: author-badge-float 5s ease-in-out infinite;
}

.author-exp-num {
    font-size: 2rem;
    font-weight: 800;
    color: #F98716;
    line-height: 1;
}

.author-exp-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.author-success-badge {
    position: absolute;
    top: 28px;
    right: -20px;
    z-index: 2;
    background: #FFFFFF;
    color: #0F172A;
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(249, 135, 22, 0.15);
    white-space: nowrap;
    animation: author-badge-float 6s ease-in-out infinite 1s;
}

.author-success-icon {
    width: 24px;
    height: 24px;
    background: #22C55E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #fff;
    flex-shrink: 0;
}

@keyframes author-badge-float {

    0%,
    100% {
        transform: translateY(0px);
    }

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

/* ---- Content Column ---- */
.author-content-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Label */
.author-label-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.author-label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F98716;
    flex-shrink: 0;
}

.author-label-text {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #F98716;
}

/* Heading */
.author-heading {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
    margin: 0 0 20px;
}

.author-heading-accent {
    background: linear-gradient(135deg, #F98716, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Intro */
.author-intro {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 32px;
}

/* Achievements grid */
.author-achievements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}

.author-ach-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 14px 16px;
    transition: all 0.25s ease;
    cursor: default;
}

.author-ach-item:hover {
    background: #FFF7ED;
    border-color: rgba(249, 135, 22, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 135, 22, 0.1);
}

.author-ach-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F98716, #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.author-ach-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-ach-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
}

.author-ach-desc {
    font-size: 0.75rem;
    color: #64748B;
    line-height: 1.4;
}

/* Credo quote */
.author-credo {
    position: relative;
    background: linear-gradient(135deg, #FFF7ED, #FFFBF5);
    border: 1px solid rgba(249, 135, 22, 0.2);
    border-left: 4px solid #F98716;
    border-radius: 0 16px 16px 0;
    padding: 20px 24px 20px 28px;
    margin: 0 0 32px;
}

.author-credo-mark {
    font-size: 4rem;
    line-height: 0.5;
    color: #F98716;
    font-family: Georgia, serif;
    font-weight: 900;
    margin-bottom: 8px;
    display: block;
    opacity: 0.6;
}

.author-credo p {
    font-size: 1rem;
    font-style: italic;
    color: #334155;
    line-height: 1.65;
    margin: 0;
}

/* CTA row */
.author-cta-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.author-cta-btn {
    align-self: flex-start;
}

.author-exams-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.author-exam-tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 5px 14px;
    transition: all 0.2s ease;
}

.author-exam-tag:hover {
    background: #FFF7ED;
    border-color: rgba(249, 135, 22, 0.4);
    color: #F98716;
}

/* Intersection Observer animation */
.author-photo-col,
.author-content-col {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.author-photo-col.author-visible {
    opacity: 1;
    transform: translateY(0);
}

.author-content-col.author-visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .author-inner {
        grid-template-columns: 340px 1fr;
        gap: 50px;
    }

    .author-photo-img {
        height: 440px;
    }

    .author-heading {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .author-section {
        padding: 80px 0;
    }

    .author-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .author-photo-wrap {
        max-width: 320px;
        margin: 0 auto;
    }

    .author-photo-img {
        height: 380px;
    }

    .author-photo-frame {
        transform: none;
    }

    .author-exp-badge {
        left: -12px;
        bottom: 20px;
    }

    .author-success-badge {
        right: -10px;
        top: 16px;
        font-size: 0.75rem;
        padding: 10px 14px;
    }

    .author-achievements {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .author-deco-ring-1 {
        width: 300px;
        height: 300px;
        top: -60px;
        left: -100px;
    }

    .author-photo-col,
    .author-content-col {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 480px) {
    .author-heading {
        font-size: 1.7rem;
    }

    .author-credo {
        padding: 16px 18px 16px 20px;
    }

    .author-cta-btn {
        width: 100%;
        text-align: center;
    }
}

/* Author students note */
.author-students-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #F0FDF4;
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 0.84rem;
    color: #334155;
    line-height: 1.55;
}

.author-students-note svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.author-students-note strong {
    color: #15803D;
    font-weight: 700;
}

/* ==========================================================================
   WooCommerce Payment & Checkout Enhancement Styles
   ========================================================================== */
#order_review.woocommerce-checkout-review-order {
    background: transparent;
    border: none;
    padding: 0;
}

/* ==========================================================================
   Modern WooCommerce Payment Methods Styling
   ========================================================================== */
.woocommerce-checkout #payment,
#payment.woocommerce-checkout-payment {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.woocommerce-checkout #payment ul.payment_methods,
#payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    border: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method,
#payment ul.payment_methods li.wc_payment_method {
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: #FFFFFF !important;
    margin-bottom: 0 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02) !important;
    position: relative !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:hover {
    border-color: #CBD5E1 !important;
    background: #FAFAFA !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(input[type="radio"]:checked),
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method.is-selected {
    border-color: #F98716 !important;
    background: #FFFAF5 !important;
    box-shadow: 0 4px 16px rgba(249, 135, 22, 0.08) !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"],
#payment ul.payment_methods li.wc_payment_method input[type="radio"] {
    accent-color: #F98716 !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    order: -1 !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label,
#payment ul.payment_methods li.wc_payment_method label {
    font-weight: 700 !important;
    color: #0F172A !important;
    font-size: 0.98rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    width: auto !important;
    flex: 1 !important;
}

/* Hide payment method description on click */
.woocommerce-checkout #payment div.payment_box,
#payment div.payment_box,
.woocommerce-checkout #payment .payment_box,
#payment .payment_box {
    display: none !important;
}

#payment .place-order {
    display: none !important;
}

.woocommerce-NoticeGroup-checkout,
.woocommerce-error {
    grid-column: 1 / -1;
    margin-bottom: 24px;
    list-style: none;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
}

.woocommerce-error {
    background: #FEF2F2;
    border: 1.5px solid #FCA5A5;
    color: #991B1B;
}

/* Скрытие плашки "Товар добавлен / Продолжить покупки" на чекауте */
.woocommerce-checkout .woocommerce-message,
.checkout-main-section .woocommerce-message,
.woocommerce-message .button.wc-forward,
.woocommerce-message a.button {
    display: none !important;
}

/* ==========================================================================
   Minimalist Cabinet & Simulator Header / Footer & Pop-up Menu
   ========================================================================== */
.cabinet-page-body {
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cabinet-minimal-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* WordPress Admin Bar Compatibility for Cabinet Header */
body.admin-bar .cabinet-minimal-header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .cabinet-minimal-header {
        top: 46px !important;
    }
}

@media screen and (max-width: 600px) {
    body.admin-bar .cabinet-minimal-header {
        top: 0 !important;
    }
}

.cabinet-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cabinet-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0F172A;
}

.cabinet-quick-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cab-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    background: transparent;
    transition: all 0.2s ease;
}

.cab-nav-item svg {
    color: #94A3B8;
    transition: color 0.2s ease;
}

.cab-nav-item:hover {
    background: #FFF7ED !important;
    color: #F98716 !important;
}

.cab-nav-item:hover svg {
    color: #F98716 !important;
}

.cab-nav-item.active {
    background: #FFF7ED !important;
    color: #F98716 !important;
    font-weight: 800;
}

.cab-nav-item.active svg {
    color: #F98716 !important;
    stroke: #F98716 !important;
}

.cab-nav-landing-link {
    color: #64748B;
}

.cabinet-user-menu-wrap {
    position: relative;
}

.cabinet-user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 6px;
    background: transparent !important;
    border: none !important;
    border-radius: 30px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    user-select: none;
    outline: none !important;
    box-shadow: none !important;
}

.cabinet-user-trigger:hover,
.cabinet-user-trigger:focus,
.cabinet-user-trigger:active,
.cabinet-user-trigger[aria-expanded="true"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    opacity: 0.85;
}

.cab-avatar-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    color: #F98716;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    line-height: 1;
}

.cab-avatar-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.cab-user-info-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.cab-user-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0F172A;
}

.cab-user-badge {
    font-size: 0.68rem;
    font-weight: 700;
    color: #16A34A;
}

.cab-user-badge.is-blocked {
    color: #DC2626;
}

.cab-dropdown-arrow {
    width: 18px;
    height: 18px;
    color: #64748B;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    flex-shrink: 0;
}

.cabinet-user-trigger:hover .cab-dropdown-arrow {
    color: #0F172A;
}

.cabinet-user-trigger[aria-expanded="true"] .cab-dropdown-arrow {
    transform: rotate(180deg);
    color: #F98716;
}

/* Pop-up Dropdown */
.cabinet-popup-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    padding: 12px;
    display: none;
    z-index: 1050;
    animation: cabPopupFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cabPopupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cabinet-popup-dropdown.is-open {
    display: block;
}

.cab-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    text-decoration: none;
    color: inherit;
}

.cab-popup-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    color: #F98716;
    font-weight: 800;
    font-size: 1.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    line-height: 1;
}

.cab-popup-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.cab-popup-details {
    overflow: hidden;
}

.cab-popup-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0F172A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cab-popup-email {
    font-size: 0.78rem;
    color: #64748B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cab-popup-status {
    font-size: 0.72rem;
    font-weight: 700;
    color: #16A34A;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.cab-popup-status.is-blocked {
    color: #DC2626;
}

.cab-popup-status .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16A34A;
}

.cab-popup-status.is-blocked .status-dot {
    background: #DC2626;
}

.cab-popup-divider {
    height: 1px;
    background: #E2E8F0;
    margin: 8px 0;
}

.cab-popup-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cab-popup-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.cab-popup-link svg {
    color: #64748B;
    transition: all 0.15s ease;
}

.cab-popup-link:hover {
    background: #FFF7ED !important;
    color: #F98716 !important;
}

.cab-popup-link:hover svg {
    color: #F98716 !important;
    stroke: #F98716 !important;
}

.cab-popup-link.active {
    background: #FFF7ED !important;
    color: #F98716 !important;
    font-weight: 800 !important;
}

.cab-popup-link.active svg {
    color: #F98716 !important;
    stroke: #F98716 !important;
}

.cab-menu-badge {
    margin-left: auto;
    background: #0284C7;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 10px;
}

.cab-header-unread-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #0284c7;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(2, 132, 199, 0.6);
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.85; }
}

.cab-popup-logout-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #EF4444;
    text-decoration: none;
    transition: all 0.15s ease;
}

.cab-popup-logout-link:hover {
    background: #FEF2F2;
}

.cabinet-main-wrapper {
    flex: 1;
    min-height: calc(100vh - 120px);
    padding: 80px 0 50px;
}

.cabinet-page-body .custom-cursor-container,
.wp-admin .custom-cursor-container,
.cabinet-main-wrapper .custom-cursor-container,
.telc-dashboard .custom-cursor-container {
    display: none !important;
}

.cabinet-content-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.cabinet-minimal-footer {
    display: none !important;
}

.cabinet-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.84rem;
    color: #94A3B8;
}

.cab-footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cab-footer-link {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cab-footer-link:hover {
    color: #F98716;
}

@media (max-width: 768px) {
    .cabinet-header-inner {
        padding: 10px 14px;
        gap: 8px;
    }

    .cabinet-quick-nav {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
    }

    .cab-nav-item {
        padding: 0;
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        box-sizing: border-box;
    }

    .cab-nav-item svg {
        width: 20px;
        height: 20px;
    }

    .cab-nav-item span {
        display: none;
    }

    .cab-nav-item.active {
        background: #FFF7ED !important;
        border-color: #FED7AA !important;
    }

    .cab-user-info-text {
        display: none;
    }

    .cab-avatar-badge {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .cabinet-user-trigger {
        gap: 4px;
        padding: 2px 4px;
    }

    .cab-dropdown-arrow {
        width: 20px;
        height: 20px;
        color: #475569;
    }
}

/* =================================================================
   404 Page — Custom Error Page
   ================================================================= */

.page-404-main {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    padding: 80px 20px;
}

.page-404-hero {
    position: relative;
    max-width: 700px;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

/* Giant watermark number */
.page-404-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Actay Wide", Tahoma, Arial, sans-serif;
    font-size: clamp(160px, 28vw, 320px);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(249, 135, 22, 0.10);
    letter-spacing: -10px;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

.page-404-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.page-404-label {
    display: inline-block;
    font-family: var(--eb-font-main);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #F98716;
    margin-bottom: 20px;
    padding: 6px 18px;
    border: 1.5px solid rgba(249, 135, 22, 0.3);
    border-radius: 50px;
    background: rgba(249, 135, 22, 0.05);
}

.page-404-title {
    font-family: "Actay Wide", Tahoma, Arial, sans-serif;
    font-size: clamp(38px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    color: #0F172A;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.page-404-accent {
    color: #F98716;
    position: relative;
}

.page-404-desc {
    font-family: var(--eb-font-main);
    font-size: 1.05rem;
    color: #64748B;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 40px;
}

.page-404-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-404-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F98716;
    color: #FFFFFF;
    font-family: var(--eb-font-main);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 18px rgba(249, 135, 22, 0.30);
}

.btn-404-primary:hover {
    background: #e07914;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(249, 135, 22, 0.40);
    color: #FFFFFF;
    text-decoration: none;
}

.btn-404-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #64748B;
    font-family: var(--eb-font-main);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 8px;
    border: 1.5px solid #E2E8F0;
    text-decoration: none;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.btn-404-secondary:hover {
    border-color: #F98716;
    color: #F98716;
    background: rgba(249, 135, 22, 0.05);
    text-decoration: none;
}

@media (max-width: 600px) {
    .page-404-main {
        padding: 60px 16px;
        min-height: 60vh;
    }

    .page-404-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-404-primary,
    .btn-404-secondary {
        justify-content: center;
    }
}