/*
Theme Name: CraftKid Theme
Theme URI: https://github.com/mark/craftkid-theme
Author: Antigravity
Author URI: https://gemini.google.com
Description: A beautiful, modern custom theme featuring a gorgeous pastel watercolor background, glassmorphism styling, clean typography, and responsive layouts.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: craftkid-theme
Tags: light, custom-background, one-column, two-columns, flexible-header, translation-ready, accessibility-ready
*/

/* ==========================================
   CSS CUSTOM PROPERTIES (DESIGN SYSTEM)
   ========================================== */
:root {
    --primary-color: #4E1A79;       /* Deep Purple */
    --primary-hover: #3b135c;
    --secondary-color: #3485B8;     /* Slate Blue */
    --accent-color: #529DB5;        /* Teal */
    --accent-hover: #418296;
    --accent-mint: #63D0D6;         /* Mint */
    --accent-orange: #FF9F43;       /* Orange Accent Button */
    --accent-orange-hover: #E0822D;
    --text-color: #2D3748;          /* Dark Charcoal */
    --text-muted: #718096;          /* Muted Grey */
    --bg-overlay: rgba(255, 255, 255, 0.85); /* Glass Background */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(78, 26, 121, 0.08);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    --border-radius: 20px;          /* More rounded elements as per brand book */
    --font-title: 'Comfortaa', cursive, sans-serif;
    --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
    overscroll-behavior-x: none;
}

section[id] {
    scroll-margin-top: 100px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.6;
    background-image: url('assets/images/background.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    background-color: #f7f9fa; /* fallback */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: calc(var(--border-radius) / 2);
}

/* ==========================================
   LAYOUT STRUCTURE
   ========================================== */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 100%;
    overflow-x: clip;
    backdrop-filter: blur(2px); /* Subtle overall depth */
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

main {
    flex-grow: 1;
    padding: 3rem 0;
}

.content-area {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .content-area.has-sidebar {
        grid-template-columns: 2fr 1fr;
    }
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.site-header {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 100%;
    min-width: 0;
}

.main-navigation {
    margin-left: auto;
}

.lang-switcher {
    position: relative;
    flex-shrink: 0;
}

.lang-switcher-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border: 1.5px solid rgba(78, 26, 121, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-color);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-switcher-toggle:hover,
.lang-switcher-toggle:focus-visible {
    border-color: var(--secondary-color);
    background: #fff;
    outline: none;
    box-shadow: 0 4px 14px rgba(52, 133, 184, 0.15);
}

.lang-switcher-chevron {
    opacity: 0.7;
    transition: transform 0.25s ease;
}

.lang-switcher-toggle[aria-expanded="true"] .lang-switcher-chevron {
    transform: rotate(180deg);
}

.lang-switcher-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 9.5rem;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(78, 26, 121, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 120;
}

.lang-switcher-option {
    display: block;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.lang-switcher-option:hover,
.lang-switcher-option:focus-visible {
    background: rgba(99, 208, 214, 0.15);
    color: var(--primary-color);
    outline: none;
}

.lang-switcher-option.is-active {
    background: rgba(78, 26, 121, 0.08);
    color: var(--primary-color);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.site-branding .site-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
}

.site-branding .site-title a {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-mint), var(--primary-color));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logo-text-shimmer 6s ease infinite;
}

/* ==========================================
   ANIMATED LOGO
   ========================================== */
.site-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-logo-wrap--header {
    width: 52px;
    height: 52px;
}

.site-logo-wrap--hero {
    width: 140px;
    height: 140px;
}

.site-logo-animator {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(
        circle at 50% 45%,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(247, 249, 252, 0.82) 55%,
        rgba(255, 255, 255, 0.55) 100%
    );
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55),
                0 2px 6px rgba(78, 26, 121, 0.2),
                0 0 10px rgba(99, 208, 214, 0.25);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    animation: logo-float 4s ease-in-out infinite, logo-pulse-shadow 3s ease-in-out infinite;
}

.site-logo-wrap--hero .site-logo-animator {
    animation: logo-float 5s ease-in-out infinite, logo-pulse-shadow 3s ease-in-out infinite;
}

.site-logo-wrap--hero .site-logo-img {
    animation: logo-hero-scale 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-logo-img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    border-radius: 0;
    clip-path: circle(50% at 50% 50%);
    background: #fff;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.site-logo-orbit {
    position: absolute;
    inset: -3px;
    z-index: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent-mint);
    border-right-color: rgba(78, 26, 121, 0.45);
    border-bottom-color: rgba(52, 133, 184, 0.35);
    animation: logo-orbit 4s linear infinite;
    opacity: 0.85;
}

.site-logo-wrap--hero .site-logo-orbit {
    inset: -6px;
    border-width: 3px;
    animation-duration: 5s;
}

.site-logo-glow {
    position: absolute;
    inset: 8%;
    z-index: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 208, 214, 0.35) 0%, rgba(78, 26, 121, 0.15) 45%, transparent 70%);
    opacity: 0.75;
    animation: logo-glow-breathe 3s ease-in-out infinite;
    pointer-events: none;
}

.site-logo-shine {
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
    mask-image: radial-gradient(circle, #000 68%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle, #000 68%, transparent 72%);
}

.site-logo-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 45%;
    height: 200%;
    opacity: 0.45;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 30%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0.05) 70%,
        transparent 100%
    );
    transform: rotate(25deg);
    animation: logo-shine-sweep 5s ease-in-out infinite;
}

.site-logo-wrap:hover .site-logo-img,
.site-logo-wrap:focus-visible .site-logo-img {
    transform: scale(1.08) rotate(-3deg) translateZ(0);
}

.site-logo-wrap:focus-visible {
    outline: 2px solid var(--accent-mint);
    outline-offset: 4px;
}

.hero-title {
    animation: logo-hero-text-enter 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes logo-pulse-shadow {
    0%, 100% {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55),
                    0 2px 6px rgba(78, 26, 121, 0.2),
                    0 0 10px rgba(99, 208, 214, 0.25);
    }
    50% {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55),
                    0 6px 16px rgba(78, 26, 121, 0.35),
                    0 0 22px rgba(99, 208, 214, 0.55);
    }
}

@keyframes logo-glow-breathe {
    0%, 100% { transform: scale(0.95); }
    50% { transform: scale(1.08); }
}

@keyframes logo-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes logo-shine-sweep {
    0%, 75%, 100% { left: -60%; }
    40% { left: 130%; }
}

@keyframes logo-hero-scale {
    from { transform: scale(0.55) translateZ(0); }
    to { transform: scale(1) translateZ(0); }
}

@keyframes logo-text-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes logo-hero-text-enter {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-logo-animator,
    .site-logo-img,
    .site-logo-orbit,
    .site-logo-glow,
    .site-logo-shine::after,
    .site-branding .site-title a,
    .hero-title {
        animation: none !important;
    }

    .site-logo-animator {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55),
                    0 2px 6px rgba(78, 26, 121, 0.2),
                    0 0 10px rgba(99, 208, 214, 0.25);
    }

    .site-logo-wrap:hover .site-logo-img,
    .site-logo-wrap:focus-visible .site-logo-img {
        transform: translateZ(0);
    }
}

.site-branding .site-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
    width: 80%;
}

.main-navigation a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.4);
}

/* Write me — outline CTA before main links */
.main-navigation .menu-item-write-me a {
    border: 2px solid rgba(52, 133, 184, 0.45);
    color: var(--primary-color) !important;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-family: var(--font-title);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}

.main-navigation .menu-item-write-me a::after {
    display: none;
}

.main-navigation .menu-item-write-me a:hover {
    border-color: var(--secondary-color);
    background: #fff;
    color: var(--secondary-color) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(52, 133, 184, 0.18);
}

/* Make the last menu item a call-to-action button */
.main-navigation ul li:last-child a {
    background: linear-gradient(90deg, #8E3CD9 0%, #3485B8 60%, #63D0D6 100%);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-title);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(142, 60, 217, 0.2);
}

.main-navigation ul li:last-child a::after {
    display: none;
}

.main-navigation ul li:last-child a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(142, 60, 217, 0.35);
    background: linear-gradient(90deg, #9C4FE3 0%, #3C93CC 60%, #70DBE1 100%);
}

/* ==========================================
   HERO / BANNER SECTION
   ========================================== */
/* ==========================================
   HERO / BANNER SECTION
   ========================================== */
.hero-section {
    position: relative;
    padding: 4rem 0 6rem 0;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-areas:
        "logo img"
        "title img"
        "subtitle img"
        "tagline img"
        "usps img"
        "cta img";
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 0.5rem 4rem;
    margin-bottom: 4rem;
}

.hero-usps {
    grid-area: usps;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(78, 26, 121, 0.12);
    border-radius: var(--border-radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(78, 26, 121, 0.04);
}

.usp-column h4 {
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.usp-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.usp-column li {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.4;
    position: relative;
    padding-left: 1rem;
}

.usp-column li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.hero-logo {
    grid-area: logo;
}

.hero-title {
    grid-area: title;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

.hero-subtitle {
    grid-area: subtitle;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.hero-tagline {
    grid-area: tagline;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-button {
    grid-area: cta;
    justify-self: start;
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, #8E3CD9 0%, #3485B8 60%, #63D0D6 100%);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(142, 60, 217, 0.25);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(142, 60, 217, 0.45);
    background: linear-gradient(90deg, #9C4FE3 0%, #3C93CC 60%, #70DBE1 100%);
}

.cta-button.orange-btn {
    background: linear-gradient(135deg, var(--accent-orange), #ff8f23);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(255, 159, 67, 0.3);
}

.cta-button.orange-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 159, 67, 0.5);
    background: linear-gradient(135deg, #ff8f23, var(--accent-orange-hover));
}

.hero-illustration {
    grid-area: img;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(78, 26, 121, 0.1));
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Quick Course Cards */
.quick-cards-container {
    position: relative;
    z-index: 3;
}

.quick-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.quick-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: var(--transition);
}

.quick-card.card-purple::before { background-color: var(--primary-color); }
.quick-card.card-blue::before { background-color: var(--secondary-color); }
.quick-card.card-teal::before { background-color: var(--accent-color); }

.quick-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.quick-card.card-purple .quick-card-icon { background-color: rgba(78, 26, 121, 0.1); color: var(--primary-color); }
.quick-card.card-blue .quick-card-icon { background-color: rgba(52, 133, 184, 0.1); color: var(--secondary-color); }
.quick-card.card-teal .quick-card-icon { background-color: rgba(82, 157, 181, 0.1); color: var(--accent-color); }

.quick-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

.quick-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
}

.quick-card-link {
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
}

.quick-card.card-purple .quick-card-link { color: var(--primary-color); }
.quick-card.card-blue .quick-card-link { color: var(--secondary-color); }
.quick-card.card-teal .quick-card-link { color: var(--accent-color); }

.quick-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(78, 26, 121, 0.12);
}

.quick-card.card-purple:hover { border-color: rgba(78, 26, 121, 0.3); }
.quick-card.card-blue:hover { border-color: rgba(52, 133, 184, 0.3); }
.quick-card.card-teal:hover { border-color: rgba(82, 157, 181, 0.3); }

.quick-cards-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
}

.all-courses-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(90deg, #8E3CD9 0%, #3485B8 55%, #63D0D6 100%);
    background-size: 200% 100%;
    box-shadow: 0 6px 20px rgba(142, 60, 217, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease;
    animation: all-courses-pulse 2.8s ease-in-out infinite;
}

.all-courses-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 35%,
        rgba(255, 255, 255, 0.28) 50%,
        transparent 65%
    );
    transform: translateX(-120%);
    animation: all-courses-shine 4s ease-in-out infinite;
}

.all-courses-btn-text,
.all-courses-btn-arrow {
    position: relative;
    z-index: 1;
}

.all-courses-btn-arrow {
    display: inline-block;
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.all-courses-btn:hover {
    transform: translateY(-4px);
    background-position: 100% 0;
    box-shadow: 0 12px 30px rgba(142, 60, 217, 0.45), 0 0 0 4px rgba(99, 208, 214, 0.15);
    color: #fff !important;
}

.all-courses-btn:hover .all-courses-btn-arrow {
    transform: translateX(5px);
}

@keyframes all-courses-pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(142, 60, 217, 0.3);
    }
    50% {
        box-shadow: 0 8px 28px rgba(99, 208, 214, 0.5), 0 0 0 5px rgba(99, 208, 214, 0.1);
    }
}

@keyframes all-courses-shine {
    0%, 75%, 100% {
        transform: translateX(-120%);
    }
    90% {
        transform: translateX(120%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .all-courses-btn,
    .all-courses-btn::before {
        animation: none !important;
    }
}

/* ==========================================
   UTP STRIP (КОНКУРЕНТНІ ПЕРЕВАГИ)
   ========================================== */
.utp-strip-section {
    padding: 2rem 0 5rem;
    position: relative;
    z-index: 2;
}

.utp-strip-header {
    margin-bottom: 2.5rem;
}

.utp-strip-header .section-title {
    margin-top: 0.5rem;
}

.utp-strip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.utp-strip-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2.25rem 2rem;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    animation: utp-strip-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.utp-strip-card--projects {
    animation-delay: 0.15s;
}

.utp-strip-card-glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    opacity: 0.45;
    filter: blur(40px);
    pointer-events: none;
    animation: utp-strip-glow-drift 7s ease-in-out infinite;
}

.utp-strip-card--groups .utp-strip-card-glow {
    background: radial-gradient(circle, rgba(142, 60, 217, 0.35) 0%, transparent 70%);
}

.utp-strip-card--projects .utp-strip-card-glow {
    background: radial-gradient(circle, rgba(99, 208, 214, 0.4) 0%, transparent 70%);
    animation-delay: -3s;
}

.utp-strip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(78, 26, 121, 0.12);
}

.utp-strip-card--groups:hover {
    border-color: rgba(142, 60, 217, 0.3);
}

.utp-strip-card--projects:hover {
    border-color: rgba(99, 208, 214, 0.4);
}

.utp-strip-icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    animation: utp-strip-icon-float 4s ease-in-out infinite;
}

.utp-strip-card--groups .utp-strip-icon {
    background: rgba(142, 60, 217, 0.1);
    color: var(--primary-color);
}

.utp-strip-card--projects .utp-strip-icon {
    background: rgba(99, 208, 214, 0.15);
    color: #2a8a90;
    animation-delay: -2s;
}

.utp-strip-label {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.65rem;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(78, 26, 121, 0.08);
}

.utp-strip-card-title {
    position: relative;
    z-index: 1;
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.utp-strip-card-text {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.75rem;
}

.utp-strip-stat {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(78, 26, 121, 0.08);
}

.utp-strip-stat-num {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.utp-strip-card--projects .utp-strip-stat-num {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-mint));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.utp-strip-stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.3;
}

@keyframes utp-strip-enter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes utp-strip-icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes utp-strip-glow-drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-12px, 10px); }
}

@media (max-width: 768px) {
    .utp-strip-section {
        padding: 1.5rem 0 3.5rem;
    }

    .utp-strip-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .utp-strip-card {
        padding: 2rem 1.5rem 1.75rem;
    }

    .utp-strip-card-title {
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .utp-strip-card,
    .utp-strip-icon,
    .utp-strip-card-glow {
        animation: none !important;
    }
}

/* ==========================================
   CARDS & POSTS
   ========================================== */
.post-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(108, 91, 123, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

.post-card .post-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.post-card .post-title a {
    color: var(--secondary-color);
}

.post-card .post-title a:hover {
    color: var(--accent-color);
}

.post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.post-excerpt {
    color: #4A5568;
    margin: 0.5rem 0;
}

.read-more {
    font-weight: 700;
    color: var(--primary-color);
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* ==========================================
   SINGLE POST & PAGE LAYOUT
   ========================================== */
.entry-container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    box-shadow: var(--glass-shadow);
}

.entry-header {
    margin-bottom: 2rem;
    text-align: center;
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.entry-content {
    font-size: 1.1rem;
    color: #2D3748;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2, .entry-content h3, .entry-content h4 {
    color: var(--secondary-color);
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

.entry-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 0.5rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.entry-content .article-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 2rem;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.entry-content li {
    margin-bottom: 0.6rem;
    line-height: 1.65;
}

.entry-content li::marker {
    color: var(--accent-color);
}

.entry-content .article-tip {
    background: linear-gradient(135deg, rgba(99, 208, 214, 0.15), rgba(82, 157, 181, 0.1));
    border: 1px solid rgba(82, 157, 181, 0.25);
    border-left: 4px solid var(--accent-mint);
    border-radius: var(--border-radius);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}

.entry-content .article-tip strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.entry-content .article-highlight {
    background: rgba(78, 26, 121, 0.06);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.entry-content .article-steps {
    counter-reset: step;
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.entry-content .article-steps li {
    counter-increment: step;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.25rem;
}

.entry-content .article-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.entry-content code {
    background: rgba(78, 26, 121, 0.08);
    color: var(--primary-color);
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-size: 0.95em;
}

.entry-content pre {
    background: #1e1e2e;
    color: #cdd6f4;
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.entry-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.blog-section-footer {
    text-align: center;
    margin-top: 2.5rem;
}

.blog-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(78, 26, 121, 0.25);
}

.blog-all-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 26, 121, 0.35);
    color: #fff !important;
}

/* ==========================================
   SIDEBAR & WIDGETS
   ========================================== */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: var(--glass-shadow);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
    border-bottom: 2px solid rgba(108, 91, 123, 0.1);
    padding-bottom: 0.5rem;
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 0.75rem;
}

.widget li:last-child {
    margin-bottom: 0;
}

.widget a {
    color: var(--text-color);
    font-weight: 500;
}

.widget a:hover {
    color: var(--accent-color);
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.pagination-container a, .pagination-container span {
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-weight: 600;
    box-shadow: var(--glass-shadow);
}

.pagination-container .current {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.site-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--glass-border);
    padding: 2.5rem 0;
    box-shadow: 0 -8px 32px 0 rgba(108, 91, 123, 0.05);
    margin-top: auto;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.copyright-block {
    position: relative;
    width: 100%;
    max-width: 520px;
    animation: copyright-fade-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.copyright-glow-line {
    height: 2px;
    margin: 0 auto 1.25rem;
    max-width: 220px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--accent-mint) 20%,
        var(--primary-color) 50%,
        var(--secondary-color) 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: copyright-line-shimmer 4s ease-in-out infinite;
    opacity: 0.85;
}

.copyright-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 1.75rem;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.copyright-inner:hover {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 36px rgba(78, 26, 121, 0.12);
    transform: translateY(-2px);
}

.copyright-logo-link {
    display: inline-flex;
    line-height: 0;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(
        circle at 50% 45%,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(247, 249, 252, 0.82) 55%,
        rgba(255, 255, 255, 0.55) 100%
    );
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    animation: copyright-logo-float 4.5s ease-in-out infinite;
}

.copyright-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
    background: transparent;
    filter: drop-shadow(0 2px 8px rgba(99, 208, 214, 0.35));
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.copyright-logo-link:hover .copyright-logo,
.copyright-logo-link:focus-visible .copyright-logo {
    transform: scale(1.12) rotate(-4deg);
    filter: drop-shadow(0 4px 14px rgba(99, 208, 214, 0.55))
            drop-shadow(0 0 12px rgba(78, 26, 121, 0.25));
}

.copyright-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    margin: 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.copyright-symbol {
    font-size: 0.95rem;
    color: var(--accent-color);
    animation: copyright-symbol-pulse 3s ease-in-out infinite;
}

.copyright-year {
    font-weight: 700;
    color: var(--secondary-color);
    font-variant-numeric: tabular-nums;
}

.copyright-brand {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-mint), var(--primary-color));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logo-text-shimmer 5s ease infinite;
    transition: opacity 0.3s ease;
}

.copyright-brand:hover,
.copyright-brand:focus-visible {
    opacity: 0.85;
}

.copyright-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-mint), var(--primary-color));
    animation: copyright-dot-pulse 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

.copyright-rights {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    opacity: 0.9;
}

@keyframes copyright-fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes copyright-line-shimmer {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: 0% 0; }
}

@keyframes copyright-logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes copyright-symbol-pulse {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes copyright-dot-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 208, 214, 0.4);
    }
    50% {
        transform: scale(1.25);
        box-shadow: 0 0 0 4px rgba(99, 208, 214, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .copyright-block,
    .copyright-glow-line,
    .copyright-logo-link,
    .copyright-symbol,
    .copyright-brand,
    .copyright-dot,
    .copyright-inner:hover {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================
   REGISTRATION & CONTACT SECTIONS
   ========================================== */
.registration-section,
.contacts-section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 3.5rem;
}

.registration-card,
.contacts-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.contacts-card {
    grid-template-columns: 1fr 1fr;
}

.registration-illustration,
.contacts-map-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.registration-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 15px 35px rgba(78, 26, 121, 0.1));
}

.map-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(78, 26, 121, 0.05);
    background: #ffffff;
}

.watercolor-map {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.map-info-footer {
    padding: 1.5rem 2rem;
    background: #ffffff;
    border-top: 1px solid rgba(78, 26, 121, 0.08);
}

.map-info-footer p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-color);
    font-family: var(--font-text);
}

.map-info-footer a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.map-info-footer a:hover {
    color: var(--secondary-color);
}

.registration-form-panel h3,
.contacts-form-panel h3 {
    font-family: var(--font-title);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.registration-form-element,
.contact-form-element {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group {
    margin-bottom: 1.25rem;
    width: 100%;
}

.form-input {
    background: #ffffff;
    border: 1.5px solid #4E1A79;
    border-radius: 30px;
    padding: 0.9rem 1.5rem;
    font-family: var(--font-text);
    font-size: 1.05rem;
    color: #111111;
    font-weight: 600;
    width: 100%;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-input::placeholder {
    color: #111111 !important;
    font-weight: 600;
    opacity: 1 !important;
}

.form-input:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 12px rgba(52, 133, 184, 0.2);
}

.form-input.is-invalid {
    border-color: #d64545;
    box-shadow: 0 0 0 2px rgba(214, 69, 69, 0.18);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E1A79' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1.2rem;
    padding-right: 3.5rem;
    cursor: pointer;
    color: #111111;
}

.form-select option {
    color: #111111;
    font-weight: 600;
}

.form-textarea {
    border-radius: 20px;
    min-height: 130px;
    resize: none;
    line-height: 1.5;
}

.registration-form-panel .cta-button,
.contacts-form-panel .cta-button {
    margin-top: 1rem;
    align-self: flex-start;
}

/* ==========================================
   NEW SECTIONS STYLING
   ========================================== */

/* About Section */
.about-section {
    padding: 6rem 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.section-badge {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.mission-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
}

.mission-rocket-img {
    max-width: 140px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 20px rgba(142, 60, 217, 0.15));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.mission-card h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Advantages Section */
.advantages-section {
    padding: 6rem 0;
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 1.8rem;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: rgba(78, 26, 121, 0.25);
    box-shadow: 0 15px 35px rgba(78, 26, 121, 0.08);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(142, 60, 217, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.advantage-card h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.advantage-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Courses Section */
.courses-section {
    padding: 6rem 0;
    position: relative;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top: -2.5rem;
    margin-bottom: 4rem;
}

.courses-age-filter {
    margin-bottom: 2.5rem;
}

.courses-age-filter__label {
    display: block;
    text-align: center;
    font-family: var(--font-title);
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    margin-bottom: 1.35rem;
    line-height: 1.25;
    background: linear-gradient(
        90deg,
        var(--primary-color) 0%,
        #8e3cd9 25%,
        var(--secondary-color) 50%,
        var(--accent-color) 75%,
        var(--primary-color) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    will-change: background-position;
    animation:
        courses-filter-label-enter 0.45s ease-out both,
        courses-filter-label-shimmer 2.4s linear 0.45s infinite;
}

.courses-age-filter__label::after {
    content: '';
    display: block;
    width: min(220px, 55%);
    height: 3px;
    margin: 0.75rem auto 0;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--primary-color) 20%,
        var(--secondary-color) 50%,
        var(--accent-color) 80%,
        transparent 100%
    );
    background-size: 300% 100%;
    opacity: 0.9;
    will-change: background-position;
    animation: courses-filter-label-line 1.8s linear infinite;
}

@keyframes courses-filter-label-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes courses-filter-label-shimmer {
    from { background-position: 0% 50%; }
    to { background-position: 300% 50%; }
}

@keyframes courses-filter-label-line {
    from { background-position: 0% 50%; }
    to { background-position: 300% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .courses-age-filter__label {
        animation: none;
        color: var(--primary-color);
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
    }

    .courses-age-filter__label::after {
        animation: none;
        opacity: 0.7;
    }
}

.courses-age-filter__track {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.45rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    box-shadow: var(--glass-shadow);
    max-width: 920px;
    margin: 0 auto;
}

.courses-age-filter__indicator {
    position: absolute;
    top: 0.45rem;
    left: 0;
    height: calc(100% - 0.9rem);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), #6b2fa0);
    box-shadow: 0 8px 24px rgba(78, 26, 121, 0.28);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.courses-age-filter__tab {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.courses-age-filter__tab:hover,
.courses-age-filter__tab:focus-visible {
    color: var(--primary-color);
    outline: none;
}

.courses-age-filter__tab.is-active {
    color: #fff;
}

.courses-age-filter__tab-icon {
    display: inline-flex;
    opacity: 0.85;
}

.courses-age-filter__tab[data-age-filter="all"] { order: 1; }
.courses-age-filter__tab[data-age-filter="5-9"] { order: 2; }
.courses-age-filter__tab[data-age-filter="10-14"] { order: 3; }
.courses-age-filter__tab[data-age-filter="15-17"] { order: 4; }

.courses-age-filter__hint {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.courses-filter-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 24px;
    background: var(--glass-bg);
    border: 1px dashed rgba(78, 26, 121, 0.2);
    margin-top: 1rem;
}

.courses-filter-empty[hidden] {
    display: none !important;
}

.courses-filter-empty p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.course-card--filtered-out {
    display: none !important;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.course-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.2rem;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    border-radius: 24px 24px 0 0;
}

.course-card.card-purple::before { background: var(--primary-color); }
.course-card.card-blue::before { background: var(--secondary-color); }
.course-card.card-teal::before { background: var(--accent-color); }

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(78, 26, 121, 0.12);
}

.course-badge {
    position: absolute;
    top: 2rem;
    right: 2.2rem;
    background: rgba(78, 26, 121, 0.08);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
}

.course-card.card-blue .course-badge {
    background: rgba(52, 133, 184, 0.08);
    color: var(--secondary-color);
}

.course-card.card-teal .course-badge {
    background: rgba(99, 208, 214, 0.08);
    color: #20999f;
}

.course-card h3,
.course-card h3 a {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
}

.course-card p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: space-between;
    border-top: 1px solid rgba(78, 26, 121, 0.08);
    padding-top: 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.course-meta .course-price {
    flex: 1 1 100%;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.outline-btn {
    display: inline-block;
    text-align: center;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 0.75rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
}

.course-card.card-blue .outline-btn {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.course-card.card-teal .outline-btn {
    border-color: #20999f;
    color: #20999f;
}

.outline-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.course-card.card-blue .outline-btn:hover {
    background: var(--secondary-color);
    color: #ffffff;
}

.course-card.card-teal .outline-btn:hover {
    background: #20999f;
    color: #ffffff;
}

/* Teachers Section */
.teachers-section {
    padding: 6rem 0;
    position: relative;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.teacher-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 1.8rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(78, 26, 121, 0.08);
}

.teacher-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid #ffffff;
    box-shadow: 0 10px 20px rgba(78, 26, 121, 0.1);
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-card h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.teacher-role {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.teacher-bio {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-color);
    font-style: italic;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    position: relative;
}

.process-step {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: var(--glass-shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -4.5rem auto 1.5rem;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 16px rgba(78, 26, 121, 0.15);
}

.process-step h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-step p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Reviews Section */
.reviews-section {
    padding: 6rem 0;
    position: relative;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

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

.review-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(78, 26, 121, 0.08);
}

.review-rating {
    color: #f1c40f;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 2rem;
}

.review-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Blog Section */
.blog-section {
    padding: 6rem 0;
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.blog-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(78, 26, 121, 0.08);
}

.blog-card-content {
    padding: 2.5rem 2rem;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.blog-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card h3 a:hover {
    color: var(--secondary-color);
}

.blog-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.blog-read-more {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--primary-color);
}

/* ==========================================
   MOBILE MENU & RESPONSIVENESS
   ========================================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-color);
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.4);
}

.menu-toggle svg {
    display: block;
}

@media (max-width: 992px) {
    .site-header {
        overflow: visible;
    }

    .header-container {
        position: relative;
        flex-wrap: wrap;
    }

    .lang-switcher {
        order: 2;
        margin-left: auto;
    }

    .menu-toggle {
        display: block;
        order: 3;
        min-width: 44px;
        min-height: 44px;
        flex-shrink: 0;
    }

    .site-branding {
        order: 1;
        min-width: 0;
        flex: 1 1 auto;
    }

    .site-branding .site-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .main-navigation {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        order: 4;
        width: 100%;
        margin-left: 0;
        z-index: 150;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        padding: 1rem;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        gap: 0.5rem;
        margin-top: 0;
    }

    .main-navigation ul.active {
        display: flex;
    }

    .main-navigation a {
        display: block;
        padding: 0.75rem 1rem;
    }

    .main-navigation .menu-item-write-me a {
        text-align: center;
        margin-bottom: 0.25rem;
    }

    .main-navigation ul li:last-child a {
        background: linear-gradient(90deg, #8E3CD9 0%, #3485B8 60%, #63D0D6 100%);
        color: #fff !important;
        text-align: center;
        margin-top: 0.5rem;
        padding: 0.75rem 1.5rem;
        border-radius: 50px;
        box-shadow: 0 4px 10px rgba(142, 60, 217, 0.2);
    }
}

@media (max-width: 768px) {
    /* Hero section responsive styles */
    .hero-container {
        grid-template-areas:
            "logo"
            "title"
            "subtitle"
            "img"
            "tagline"
            "usps"
            "cta";
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-usps {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.25rem;
        text-align: left;
    }

    .hero-logo {
        display: flex;
        justify-content: center;
    }

    .site-logo-wrap--hero {
        width: 110px;
        height: 110px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .cta-button {
        justify-self: center;
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }

    .hero-illustration {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Quick cards responsive styles */
    .quick-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .quick-card {
        padding: 2rem 1.5rem;
    }

    /* Form responsive styles */
    .registration-card,
    .contacts-card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem 1.5rem;
    }

    .registration-illustration,
    .contacts-map-panel {
        order: 2;
    }

    .registration-form-panel,
    .contacts-form-panel {
        order: 1;
    }

    .registration-form-panel .cta-button,
    .contacts-form-panel .cta-button {
        align-self: center;
        width: 100%;
        max-width: 280px;
    }

    .registration-form-panel h3,
    .contacts-form-panel h3 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    /* Responsive adjustments for new sections */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-content {
        text-align: center;
    }

    .advantages-grid,
    .courses-grid,
    .teachers-grid,
    .reviews-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .step-number {
        margin: -4.5rem auto 1.5rem;
    }

    .course-card,
    .teacher-card,
    .review-card,
    .blog-card,
    .process-step {
        padding: 2.5rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-top: -1.5rem;
        margin-bottom: 2.5rem;
    }

    /* Global layout & header */
    section[id] {
        scroll-margin-top: 80px;
    }

    body {
        background-attachment: scroll;
    }

    .site-wrapper {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    main {
        padding: 2rem 0;
    }

    .container {
        width: 92%;
    }

    .site-header {
        padding: 0.85rem 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.97);
    }

    .site-branding {
        gap: 0.6rem;
        min-width: 0;
        flex: 1 1 auto;
    }

    .site-branding .site-title {
        font-size: 1.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-branding .site-description {
        display: none;
    }

    .site-logo-wrap--header {
        width: 44px;
        height: 44px;
    }

    .menu-toggle {
        min-width: 44px;
        min-height: 44px;
        flex-shrink: 0;
    }

    /* Section spacing */
    .hero-section {
        padding: 2.5rem 0 4rem;
    }

    .about-section,
    .advantages-section,
    .teachers-section,
    .process-section,
    .reviews-section,
    .blog-section,
    .registration-section,
    .contacts-section {
        padding: 4rem 0;
    }

    /* Entry & blog layouts */
    .entry-container {
        padding: 2rem 1.25rem;
        border-radius: 18px;
    }

    .entry-title {
        font-size: 1.85rem;
    }

    .entry-content {
        font-size: 1rem;
    }

    .entry-content .article-lead {
        font-size: 1.1rem;
    }

    .entry-content pre {
        padding: 1rem;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.65rem 1.25rem;
        padding: 0 0.5rem;
    }

    .footer-nav a {
        font-size: 0.85rem;
    }

    .copyright-inner {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1.25rem;
        border-radius: 22px;
    }

    .copyright-text {
        font-size: 0.78rem;
        gap: 0.3rem 0.4rem;
    }

    .copyright-brand {
        font-size: 0.92rem;
    }

    .map-info-footer {
        padding: 1.25rem 1rem;
    }

    .courses-page-hero {
        padding: 2.5rem 0 1.5rem;
    }

    .courses-page-hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .courses-page-hero-ctas .cta-button {
        width: 100%;
        max-width: 320px;
    }

    .courses-cta-strip {
        padding: 3rem 0 4rem;
    }

    .courses-cta-strip-inner {
        padding: 2rem 1.25rem;
    }

    .courses-cta-strip-inner .cta-button {
        margin-top: 1.75rem;
        width: 100%;
        max-width: 320px;
    }

    .course-hero {
        padding: 2rem 0 3rem;
    }

    .course-section {
        padding: 3rem 0;
    }

    .course-final-cta {
        padding: 3rem 0 4rem;
    }

    .course-final-cta-inner {
        padding: 2.5rem 1.25rem;
    }
}

/* ==========================================
   PAIN & SOLUTION SECTION (БОЛЬ-РЕШЕНИЕ)
   ========================================== */
.pain-solution-section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.pain-solution-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.pain-solution-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.pain-solution-comparison {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.comparison-side {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(78, 26, 121, 0.08);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.comparison-side.pain-side {
    border-left: 4px solid var(--accent-orange);
    background: rgba(255, 235, 230, 0.25);
}

.comparison-side.solution-side {
    border-left: 4px solid #3485B8;
    background: rgba(230, 245, 255, 0.25);
}

.comparison-side h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.comparison-side.pain-side h4 {
    color: #cc4e29;
}

.comparison-side.solution-side h4 {
    color: #1f6491;
}

.comparison-side ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comparison-side li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.comparison-side.pain-side li::before {
    content: "•";
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.comparison-side.solution-side li::before {
    content: "✓";
    color: #3485B8;
    font-weight: bold;
    font-size: 1rem;
    position: absolute;
    left: 0;
    top: 0;
}

.pain-solution-form-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.pain-solution-form-panel h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.pain-solution-form-panel p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.pain-form-element .form-group {
    margin-bottom: 1.25rem;
}

.pain-form-element .cta-button {
    width: 100%;
    margin-top: 1rem;
}

.form-glow-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--secondary-color));
}

@media (max-width: 991px) {
    .pain-solution-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .pain-solution-section {
        padding: 4rem 0;
    }

    .pain-solution-content {
        text-align: center;
    }

    .pain-solution-content .section-title {
        text-align: center;
    }

    .comparison-side {
        text-align: left;
    }

    .pain-solution-form-panel {
        padding: 2.5rem 1.5rem;
    }

    .pain-solution-form-panel h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .pain-solution-form-panel p {
        text-align: center;
    }
}

/* ==========================================
   COURSES PAGE & LANDING FUNNEL
   ========================================== */
.courses-page-hero {
    padding: 4rem 0 2rem;
}

.courses-page-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 2rem;
}

.course-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.course-card h3 a:hover {
    color: var(--accent-color);
}

.courses-cta-strip {
    padding: 4rem 0 6rem;
}

.courses-cta-strip-inner {
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--glass-shadow);
}

.courses-cta-strip-inner h2 {
    color: var(--secondary-color);
    font-size: clamp(1.6rem, 3.2vw, 2.15rem);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.courses-cta-strip-inner p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-color);
    max-width: 640px;
    margin: 0 auto;
}

.courses-cta-strip-inner .cta-button {
    margin-top: 2.25rem;
    display: inline-flex;
}

.course-landing--purple { --course-accent: var(--primary-color); }
.course-landing--blue { --course-accent: var(--secondary-color); }
.course-landing--teal { --course-accent: var(--accent-color); }

.course-hero {
    padding: 3rem 0 4rem;
}

.course-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.course-breadcrumb {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.course-breadcrumb:hover {
    color: var(--course-accent);
}

.course-hero-badge,
.course-partner-badge {
    display: inline-block;
    background: rgba(78, 26, 121, 0.08);
    color: var(--course-accent);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.course-partner-badge {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(78, 26, 121, 0.12));
    color: #c44d1a;
    margin-right: 0.5rem;
}

.course-badge--partner {
    background: linear-gradient(135deg, #ff6b35, #e85d26);
    color: #fff;
}

.course-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ff6b35, #e85d26);
    color: #fff;
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 800;
    flex-shrink: 0;
}

.course-partner-cta-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem;
}

.course-partner-perks {
    text-align: left;
    max-width: 420px;
    margin: 1.5rem auto;
}

.course-partner-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.course-partner-note {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.course-hero-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.course-hero-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.course-hero-excerpt {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.course-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.course-hero-price {
    font-weight: 700;
    color: var(--course-accent);
}

.course-stats-grid {
    display: grid;
    gap: 1rem;
}

.course-stat {
    text-align: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
}

.course-stat strong {
    display: block;
    font-size: 1.75rem;
    color: var(--course-accent);
    font-family: var(--font-title);
}

.course-stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.course-section {
    padding: 4rem 0;
}

.course-pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.course-pain-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
}

.course-pain-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.course-benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    list-style: none;
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.course-benefits-list li {
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.6;
}

.course-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-mint);
    font-weight: 700;
}

.course-program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.course-module h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.course-module ul {
    margin: 0;
    padding-left: 1.25rem;
}

.course-module li {
    margin-bottom: 0.5rem;
}

.course-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.course-check-list {
    list-style: none;
    padding: 0;
}

.course-check-list li {
    padding: 0.6rem 0 0.6rem 1.75rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.course-check-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--course-accent);
    font-weight: 700;
}

.course-teacher-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.course-teacher-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--glass-shadow);
}

.course-teacher-role {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.course-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.course-faq-item summary {
    font-weight: 700;
    color: var(--secondary-color);
    cursor: pointer;
    list-style: none;
}

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

.course-faq-item p {
    margin: 1rem 0 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.course-forms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.course-form-card h2 {
    font-size: 1.35rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.course-form-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.course-form .form-group {
    margin-bottom: 1rem;
}

.course-form textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.course-cta-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-mint)) !important;
}

.course-final-cta {
    padding: 4rem 0 6rem;
}

.course-final-cta-inner {
    text-align: center;
    background: linear-gradient(135deg, rgba(78, 26, 121, 0.08), rgba(52, 133, 184, 0.1));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 3.5rem 2rem;
}

.course-final-cta-inner h2 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.course-final-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.course-mid-cta {
    margin-top: 2rem;
}

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

    .course-hero-grid,
    .course-program-grid,
    .course-split-grid,
    .course-forms-grid,
    .course-pain-grid,
    .course-benefits-list {
        grid-template-columns: 1fr;
    }

    .course-teacher-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .courses-age-filter__track {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-radius: 20px;
        max-width: 100%;
    }

    .courses-age-filter__track::-webkit-scrollbar {
        display: none;
    }

    .courses-age-filter__tab {
        padding: 0.75rem 1rem;
        font-size: 0.88rem;
    }

    .courses-age-filter__tab-text {
        white-space: nowrap;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-hero-actions,
    .course-final-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==========================================
   JOIN MODAL (HEADER CTA)
   ========================================== */
body.join-modal-open {
    overflow: hidden;
}

.join-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.join-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.join-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 55, 72, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.join-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem 2rem 2rem;
    transform: translateY(24px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(78, 26, 121, 0.2);
}

.join-modal.is-open .join-modal-dialog {
    transform: translateY(0) scale(1);
}

.join-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.join-modal-close:hover {
    background: #fff;
    transform: rotate(90deg);
}

.join-modal-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.join-modal-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: radial-gradient(
        circle at 50% 45%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(247, 249, 252, 0.88) 55%,
        rgba(255, 255, 255, 0.65) 100%
    );
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    animation: copyright-logo-float 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(99, 208, 214, 0.4));
}

.join-modal-title {
    font-family: var(--font-title);
    font-size: 1.75rem;
    color: var(--primary-color);
    margin: 0.75rem 0 0.5rem;
    line-height: 1.2;
}

.join-modal-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.join-modal-form .cta-button {
    width: 100%;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    animation: join-cta-pulse 2.5s ease-in-out infinite;
}

.join-modal-form .cta-button.is-submitting,
.craftkid-lead-form .cta-button.is-submitting {
    animation: none;
    opacity: 0.85;
    cursor: wait;
}

.join-modal-cta-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.join-modal-form .cta-button:hover .join-modal-cta-icon {
    transform: translate(3px, -3px) rotate(12deg);
}

.join-modal-note {
    margin: 1rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

.write-me-field-label {
    display: block;
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.02em;
}

.write-me-messenger-fieldset {
    border: 0;
    margin: 0 0 1rem;
    padding: 0;
}

.write-me-messenger-fieldset legend {
    padding: 0;
}

.write-me-messenger-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.write-me-messenger-option {
    display: block;
    cursor: pointer;
}

.write-me-messenger-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.write-me-messenger-card {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.85rem;
    border: 2px solid rgba(78, 26, 121, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    min-height: 100%;
}

.write-me-messenger-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.write-me-messenger-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-color);
}

.write-me-messenger-option input:checked + .write-me-messenger-card {
    border-color: var(--secondary-color);
    background: rgba(52, 133, 184, 0.08);
    box-shadow: 0 4px 14px rgba(52, 133, 184, 0.12);
}

.write-me-messenger-option input:focus-visible + .write-me-messenger-card {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.write-me-messenger-option:hover .write-me-messenger-card {
    border-color: rgba(52, 133, 184, 0.45);
}

.craftkid-form-notice {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
}

.craftkid-form-notice.is-success {
    background: rgba(99, 208, 214, 0.15);
    color: #1a6b70;
    border: 1px solid rgba(99, 208, 214, 0.45);
}

.craftkid-form-notice.is-error {
    background: rgba(220, 53, 69, 0.1);
    color: #9b1c2e;
    border: 1px solid rgba(220, 53, 69, 0.35);
}

@keyframes join-cta-pulse {
    0%, 100% {
        box-shadow: 0 4px 18px rgba(142, 60, 217, 0.35);
    }
    50% {
        box-shadow: 0 6px 28px rgba(99, 208, 214, 0.55), 0 0 0 6px rgba(99, 208, 214, 0.12);
    }
}

@media (max-width: 768px) {
    .join-modal {
        align-items: flex-end;
        padding: 0.5rem;
        padding-top: max(0.5rem, env(safe-area-inset-top));
        padding-right: max(0.5rem, env(safe-area-inset-right));
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
        padding-left: max(0.5rem, env(safe-area-inset-left));
    }

    .join-modal-dialog,
    .join-modal-dialog.entry-container {
        max-width: 100%;
        max-height: min(92dvh, calc(100vh - 1rem));
        padding: 2.25rem 1.25rem 1.5rem;
        border-radius: 22px 22px 18px 18px;
        -webkit-overflow-scrolling: touch;
    }

    .join-modal-header {
        margin-bottom: 1.25rem;
    }

    .join-modal-logo {
        width: 52px;
        height: 52px;
        margin-bottom: 0.75rem;
    }

    .join-modal-title {
        font-size: 1.4rem;
    }

    .join-modal-subtitle {
        font-size: 0.9rem;
    }

    .join-modal-close {
        top: 0.65rem;
        right: 0.65rem;
        width: 2.75rem;
        height: 2.75rem;
    }

    .join-modal-form .cta-button {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }

    .write-me-messenger-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .join-modal-logo,
    .join-modal-form .cta-button {
        animation: none !important;
    }

    .join-modal-dialog {
        transition: none;
    }
}

/* ==========================================
   TIMED UTP MODAL (2 MIN POPUP)
   ========================================== */
.utp-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.utp-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.utp-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 20, 50, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.utp-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 860px;
    max-height: 92vh;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(78, 26, 121, 0.28);
    transform: translateY(32px) scale(0.94);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.utp-modal.is-open .utp-modal-dialog {
    transform: translateY(0) scale(1);
}

.utp-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.utp-modal-close:hover {
    transform: rotate(90deg);
    background: #fff;
}

.utp-modal-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 480px;
}

.utp-modal-pitch {
    position: relative;
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(145deg, #4E1A79 0%, #3485B8 55%, #63D0D6 100%);
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.utp-modal-pitch-glow {
    position: absolute;
    top: -40%;
    right: -30%;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 70%);
    animation: utp-glow-drift 8s ease-in-out infinite;
    pointer-events: none;
}

.utp-modal-badge {
    position: relative;
    display: inline-block;
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(255, 159, 67, 0.95);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(255, 159, 67, 0.45);
    animation: utp-badge-pulse 2.8s ease-in-out infinite;
}

.utp-modal-headline {
    position: relative;
    font-family: var(--font-title);
    font-size: clamp(1.45rem, 2.8vw, 1.95rem);
    line-height: 1.25;
    margin: 0 0 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.utp-modal-lead {
    position: relative;
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
    opacity: 0.92;
}

.utp-modal-perks {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.utp-modal-perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 0.7rem 0.85rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.utp-modal-perk-icon {
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1.4;
}

.utp-modal-timer-note {
    position: relative;
    margin: 1.5rem 0 0;
    font-size: 0.82rem;
    font-style: italic;
    opacity: 0.85;
}

.utp-modal-form-panel {
    padding: 2.25rem 2rem 2rem;
    overflow-y: auto;
    max-height: 92vh;
    background: var(--glass-bg);
}

.utp-modal-form-title {
    font-family: var(--font-title);
    font-size: 1.45rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.utp-modal-form-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    line-height: 1.55;
}

.utp-modal-form .cta-button {
    width: 100%;
    margin-top: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    animation: join-cta-pulse 2.5s ease-in-out infinite;
}

.utp-modal-cta-spark {
    display: inline-block;
    transition: transform 0.3s ease;
}

.utp-modal-form .cta-button:hover .utp-modal-cta-spark {
    transform: scale(1.2) rotate(-12deg);
}

.utp-modal-note {
    margin: 0.85rem 0 0;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.45;
}

.utp-modal-success {
    text-align: center;
    padding: 2rem 0.5rem;
    animation: copyright-fade-in 0.6s ease both;
}

.utp-modal-success-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.utp-modal-success h3 {
    font-family: var(--font-title);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.utp-modal-success p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@keyframes utp-glow-drift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-8%, 6%) scale(1.08);
    }
}

@keyframes utp-badge-pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(255, 159, 67, 0.45);
    }
    50% {
        box-shadow: 0 6px 24px rgba(255, 159, 67, 0.7), 0 0 0 4px rgba(255, 159, 67, 0.15);
    }
}

@media (max-width: 768px) {
    .utp-modal {
        align-items: flex-end;
        padding: 0.5rem;
        padding-top: max(0.5rem, env(safe-area-inset-top));
        padding-right: max(0.5rem, env(safe-area-inset-right));
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
        padding-left: max(0.5rem, env(safe-area-inset-left));
    }

    .utp-modal-dialog {
        max-width: 100%;
        max-height: min(94dvh, calc(100vh - 1rem));
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 22px 22px 18px 18px;
        -webkit-overflow-scrolling: touch;
    }

    .utp-modal-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .utp-modal-pitch {
        padding: 2rem 1.25rem 1.25rem;
        padding-top: 2.75rem;
    }

    .utp-modal-headline {
        font-size: 1.35rem;
    }

    .utp-modal-lead {
        font-size: 0.92rem;
        margin-bottom: 1.25rem;
    }

    .utp-modal-perks {
        gap: 0.55rem;
    }

    .utp-modal-perks li {
        font-size: 0.85rem;
        padding: 0.6rem 0.75rem;
    }

    .utp-modal-timer-note {
        margin-top: 1rem;
        font-size: 0.78rem;
    }

    .utp-modal-form-panel {
        padding: 1.5rem 1.25rem 1.5rem;
        max-height: none;
        overflow-y: visible;
    }

    .utp-modal-form-title {
        font-size: 1.25rem;
    }

    .utp-modal-form-sub {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .utp-modal-form .cta-button {
        font-size: 0.95rem;
        padding: 0.9rem 1.5rem;
    }

    .utp-modal-close {
        top: 0.65rem;
        right: 0.65rem;
        width: 2.75rem;
        height: 2.75rem;
        background: rgba(255, 255, 255, 0.95);
    }
}

@media (prefers-reduced-motion: reduce) {
    .utp-modal-pitch-glow,
    .utp-modal-badge,
    .utp-modal-form .cta-button {
        animation: none !important;
    }

    .utp-modal-dialog {
        transition: none;
    }
}

/* ==========================================
   CAREER MAP PROMO (HOMEPAGE)
   ========================================== */
.career-map-promo {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 2.25rem;
    align-items: center;
    margin-top: 2.5rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #0f1424 0%, #161b2e 45%, #0d1117 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    text-decoration: none;
    color: #f1f5f9;
    overflow: hidden;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    animation: career-map-promo-glow 4s ease-in-out infinite;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.career-map-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
    transform: translateX(-120%);
    animation: all-courses-shine 5s ease-in-out infinite;
    pointer-events: none;
}

.career-map-promo:hover {
    transform: translateY(-5px);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(142, 60, 217, 0.12);
    border-color: rgba(167, 139, 250, 0.35);
    color: #f1f5f9;
}

.career-map-promo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.career-map-promo-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c4b5fd;
    margin-bottom: 0.5rem;
}

.career-map-promo-title {
    font-family: var(--font-title);
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.65rem;
    line-height: 1.25;
}

.career-map-promo-text {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(241, 245, 249, 0.72);
    margin-bottom: 1rem;
}

.career-map-promo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 1rem;
    color: #a5f3fc;
    transition: gap 0.25s ease;
}

.career-map-promo:hover .career-map-promo-link {
    gap: 0.65rem;
}

@keyframes career-map-promo-glow {
    0%, 100% {
        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.22),
            0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    }
    50% {
        box-shadow:
            0 24px 56px rgba(0, 0, 0, 0.28),
            0 0 48px rgba(142, 60, 217, 0.1);
    }
}

/* ── Premium career map visual ── */
.cm-premium-map {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(145deg, #0a0e1a 0%, #12182b 42%, #0d1220 100%);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.cm-premium-map--promo {
    max-width: 260px;
    border-radius: 18px;
}

.cm-premium-map--hero {
    max-width: 440px;
    margin: 0 auto;
}

.cm-premium-map--compact {
    max-width: 300px;
    margin: 0 auto;
}

.cm-premium-map__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cm-premium-map__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(52px);
    opacity: 0.55;
    animation: cm-orb-float 9s ease-in-out infinite;
}

.cm-premium-map__orb--1 {
    width: 58%;
    height: 58%;
    top: -18%;
    left: -12%;
    background: radial-gradient(circle, rgba(142, 60, 217, 0.5) 0%, transparent 72%);
}

.cm-premium-map__orb--2 {
    width: 48%;
    height: 48%;
    bottom: -12%;
    right: -8%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.38) 0%, transparent 72%);
    animation-delay: -3s;
}

.cm-premium-map__orb--3 {
    width: 38%;
    height: 38%;
    top: 42%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(99, 208, 214, 0.28) 0%, transparent 72%);
    animation-delay: -5.5s;
}

@keyframes cm-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(6px, -5px) scale(1.04); }
}

.cm-premium-map__orb--3 {
    animation-name: cm-orb-float-center;
}

@keyframes cm-orb-float-center {
    0%, 100% { transform: translateX(-50%) translate(0, 0) scale(1); }
    50% { transform: translateX(-50%) translate(6px, -5px) scale(1.04); }
}

.cm-premium-map__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, black 18%, transparent 76%);
}

.cm-premium-map__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cm-premium-map__line {
    stroke-linecap: round;
    opacity: 0.88;
    animation: cm-line-pulse 3.2s ease-in-out infinite;
}

.cm-premium-map__line--gamedev { animation-delay: 0s; }
.cm-premium-map__line--design { animation-delay: 0.6s; }
.cm-premium-map__line--cyber { animation-delay: 1.2s; }
.cm-premium-map__line--code { animation-delay: 1.8s; }

@keyframes cm-line-pulse {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 1; }
}

.cm-premium-map__hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.cm-premium-map__hub-ring {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px dashed rgba(167, 139, 250, 0.35);
    animation: cm-hub-ring-spin 18s linear infinite;
}

@keyframes cm-hub-ring-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cm-premium-map__hub-core {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(78, 26, 121, 0.65) 0%, rgba(142, 60, 217, 0.35) 100%);
    border: 1px solid rgba(196, 181, 253, 0.4);
    box-shadow:
        0 0 36px rgba(142, 60, 217, 0.35),
        0 12px 36px rgba(0, 0, 0, 0.4);
    color: #ede9fe;
    text-align: center;
}

.cm-premium-map__hub-core svg {
    flex-shrink: 0;
}

.cm-premium-map__hub-core span {
    font-size: 9px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    max-width: 64px;
}

.cm-premium-map__node {
    position: absolute;
    z-index: 2;
    transform: translate(-50%, -50%);
    animation: cm-node-float 5s ease-in-out infinite;
}

.cm-premium-map__node--gamedev { animation-delay: 0s; }
.cm-premium-map__node--design { animation-delay: 1.2s; }
.cm-premium-map__node--cyber { animation-delay: 2.4s; }
.cm-premium-map__node--code { animation-delay: 3.6s; }

@keyframes cm-node-float {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 4px)); }
}

.cm-premium-map__node--gamedev { top: 18%; left: 50%; }
.cm-premium-map__node--design { top: 50%; left: 82%; }
.cm-premium-map__node--cyber { top: 82%; left: 50%; }
.cm-premium-map__node--code { top: 50%; left: 18%; }

.cm-premium-map__node-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
}

.cm-premium-map__node-glow {
    position: absolute;
    inset: -8px -12px;
    border-radius: 20px;
    opacity: 0.55;
    filter: blur(14px);
    z-index: -1;
}

.cm-premium-map__node--gamedev .cm-premium-map__node-glow { background: rgba(199, 125, 255, 0.45); }
.cm-premium-map__node--design .cm-premium-map__node-glow { background: rgba(255, 107, 157, 0.4); }
.cm-premium-map__node--cyber .cm-premium-map__node-glow { background: rgba(0, 230, 118, 0.38); }
.cm-premium-map__node--code .cm-premium-map__node-glow { background: rgba(99, 208, 214, 0.42); }

.cm-premium-map__node-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
    transition: transform 0.3s ease;
}

.cm-premium-map__node--gamedev .cm-premium-map__node-icon {
    color: #e9d5ff;
    background: linear-gradient(145deg, rgba(142, 60, 217, 0.42) 0%, rgba(199, 125, 255, 0.18) 100%);
    border-color: rgba(199, 125, 255, 0.45);
}

.cm-premium-map__node--design .cm-premium-map__node-icon {
    color: #fbcfe8;
    background: linear-gradient(145deg, rgba(232, 67, 147, 0.4) 0%, rgba(255, 107, 157, 0.18) 100%);
    border-color: rgba(255, 107, 157, 0.45);
}

.cm-premium-map__node--cyber .cm-premium-map__node-icon {
    color: #a7f3d0;
    background: linear-gradient(145deg, rgba(0, 200, 83, 0.38) 0%, rgba(0, 230, 118, 0.16) 100%);
    border-color: rgba(0, 230, 118, 0.42);
}

.cm-premium-map__node--code .cm-premium-map__node-icon {
    color: #bae6fd;
    background: linear-gradient(145deg, rgba(52, 133, 184, 0.42) 0%, rgba(99, 208, 214, 0.18) 100%);
    border-color: rgba(99, 208, 214, 0.45);
}

.cm-premium-map__node-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.02em;
    line-height: 1.2;
    max-width: 88px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.cm-premium-map--promo .cm-premium-map__hub-core {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    gap: 4px;
}

.cm-premium-map--promo .cm-premium-map__hub-core svg {
    width: 20px;
    height: 20px;
}

.cm-premium-map--promo .cm-premium-map__hub-core span {
    font-size: 7px;
    max-width: 50px;
}

.cm-premium-map--promo .cm-premium-map__node-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
}

.cm-premium-map--promo .cm-premium-map__node-icon svg {
    width: 18px;
    height: 18px;
}

.cm-premium-map--promo .cm-premium-map__node-label {
    font-size: 8px;
    max-width: 68px;
}

.cm-premium-map--compact .cm-premium-map__hub-core {
    width: 64px;
    height: 64px;
    border-radius: 18px;
}

.cm-premium-map--compact .cm-premium-map__node-icon {
    width: 46px;
    height: 46px;
}

.cm-premium-map--compact .cm-premium-map__node-label {
    font-size: 9px;
}

.cm-premium-map:hover .cm-premium-map__node-icon {
    transform: translateY(-2px) scale(1.03);
}

/* ==========================================
   CAREER MAP PAGE
   ========================================== */

.career-map-page {
    overflow-x: clip;
    max-width: 100%;
}

.career-map-page .career-map-section {
    padding: 4rem 0;
}

.career-map-page .container,
.career-map-hero-grid,
.career-map-hero-visual,
.career-map-hero-paths,
.career-map-hero-path,
.cm-path-timeline {
    min-width: 0;
    max-width: 100%;
}

.career-map-hero-title,
.career-map-hero-subtitle,
.cm-path-timeline__card-title,
.cm-path-timeline__card-meta {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.career-map-hero {
    padding: 4rem 0 3rem;
}

.career-map-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.career-map-hero-title {
    font-family: var(--font-title);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--primary-color);
    line-height: 1.2;
    margin: 0.75rem 0 1rem;
}

.career-map-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 1.75rem;
    max-width: 560px;
}

.career-map-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.career-map-hero-cta {
    animation: join-cta-pulse 2.8s ease-in-out infinite;
}

.career-map-hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 0;
    width: 100%;
}

.career-map-hero-paths {
    display: grid;
    width: 100%;
}

.career-map-hero-path {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        visibility 0.45s ease;
    pointer-events: none;
}

.career-map-hero-path.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: none;
}

.career-map-hero-path a {
    pointer-events: auto;
}

.career-map-quiz-card {
    padding: 2.5rem;
    max-width: 820px;
    margin: 0 auto;
}

.career-map-quiz-progress {
    height: 6px;
    background: rgba(78, 26, 121, 0.1);
    border-radius: 50px;
    margin: 1.5rem 0 2rem;
    overflow: hidden;
}

.career-map-quiz-progress-bar {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-mint));
    border-radius: 50px;
    transition: width 0.4s ease;
}

.career-map-quiz-step {
    display: none;
}

.career-map-quiz-step.is-active {
    display: block;
    animation: utp-strip-enter 0.45s ease both;
}

.career-map-quiz-question {
    font-family: var(--font-title);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    text-align: center;
}

.career-map-quiz-options {
    display: grid;
    gap: 0.75rem;
}

.career-map-quiz-option {
    padding: 1rem 1.25rem;
    border: 1px solid rgba(78, 26, 121, 0.15);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.career-map-quiz-option:hover,
.career-map-quiz-option.is-selected {
    border-color: var(--primary-color);
    background: rgba(142, 60, 217, 0.08);
    color: var(--primary-color);
    transform: translateX(4px);
}

.career-map-quiz-result-text {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.career-map-quiz-nav {
    margin-top: 1.25rem;
    text-align: center;
}

.career-map-quiz-result-timeline {
    margin: 1.75rem 0 2rem;
}

/* ── Career path timeline (animated graph) ── */
.cm-path-timeline {
    --path-color: #8E3CD9;
    position: relative;
    border-radius: 24px;
    background: linear-gradient(145deg, #0a0e1a 0%, #12182b 45%, #0d1220 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    padding: 1.75rem 1.5rem 2rem;
    overflow: hidden;
}

.cm-path-timeline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, color-mix(in srgb, var(--path-color) 22%, transparent), transparent 70%);
    pointer-events: none;
}

.cm-path-timeline--hero {
    padding: 1.25rem 1rem 1.5rem;
}

.cm-path-timeline--compact {
    padding: 1rem;
    font-size: 0.9rem;
}

.cm-path-timeline--result {
    margin: 0;
}

.cm-path-timeline__header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 1.5rem;
}

.cm-path-timeline__profession {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    background: color-mix(in srgb, var(--path-color) 75%, #000);
    border: 1px solid color-mix(in srgb, var(--path-color) 50%, #fff);
    margin-bottom: 0.6rem;
}

.cm-path-timeline__title {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: #f8fafc;
    margin: 0;
    line-height: 1.3;
}

.cm-path-timeline--hero .cm-path-timeline__title {
    font-size: 1rem;
}

.cm-path-timeline__track {
    position: relative;
    z-index: 1;
    padding: 0.5rem 0;
}

.cm-path-timeline__spine {
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.cm-path-timeline__spine-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--path-color) 40%, transparent), transparent);
    opacity: 0.6;
    filter: blur(4px);
}

.cm-path-timeline__spine-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--path-color), color-mix(in srgb, var(--path-color) 60%, #fff));
    border-radius: 4px;
    transition: height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 16px color-mix(in srgb, var(--path-color) 55%, transparent);
}

.cm-path-timeline__nodes {
    display: grid;
    gap: 1.35rem;
}

.cm-path-timeline__node {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.cm-path-timeline__node.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cm-path-timeline__node--left .cm-path-timeline__card {
    grid-column: 1;
    justify-self: end;
    text-align: right;
}

.cm-path-timeline__node--left .cm-path-timeline__dot {
    grid-column: 2;
}

.cm-path-timeline__node--right .cm-path-timeline__card {
    grid-column: 3;
    justify-self: start;
    text-align: left;
}

.cm-path-timeline__node--right .cm-path-timeline__dot {
    grid-column: 2;
}

.cm-path-timeline__dot {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.cm-path-timeline__dot-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--path-color) 50%, transparent);
    animation: cm-path-dot-pulse 2.4s ease-in-out infinite;
}

.cm-path-timeline__node.is-visible .cm-path-timeline__dot-ring {
    animation-delay: calc(var(--step-index) * 0.15s);
}

@keyframes cm-path-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.12); opacity: 1; }
}

.cm-path-timeline__dot-core {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--path-color) 55%, #1a1f35), color-mix(in srgb, var(--path-color) 25%, #0d1220));
    border: 1px solid color-mix(in srgb, var(--path-color) 45%, #fff);
    color: #f1f5f9;
    box-shadow: 0 0 20px color-mix(in srgb, var(--path-color) 35%, transparent);
}

.cm-path-timeline__dot-num {
    position: absolute;
    bottom: -6px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--path-color);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0d1220;
}

.cm-path-timeline__node--career .cm-path-timeline__dot-core {
    background: linear-gradient(145deg, color-mix(in srgb, var(--path-color) 70%, #fff), var(--path-color));
    color: #0d1220;
}

.cm-path-timeline__card {
    max-width: 220px;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cm-path-timeline__node.is-visible .cm-path-timeline__card {
    border-color: color-mix(in srgb, var(--path-color) 35%, transparent);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.cm-path-timeline__node--career.is-visible .cm-path-timeline__card {
    background: linear-gradient(135deg, color-mix(in srgb, var(--path-color) 25%, transparent), rgba(255, 255, 255, 0.05));
    border-color: color-mix(in srgb, var(--path-color) 55%, transparent);
}

.cm-path-timeline__card-type {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--path-color) 80%, #fff);
    margin-bottom: 0.25rem;
}

.cm-path-timeline__card-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.35;
    margin-bottom: 0.2rem;
}

.cm-path-timeline__card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cm-path-timeline__card-title a:hover {
    color: color-mix(in srgb, var(--path-color) 70%, #fff);
}

.cm-path-timeline__card-meta {
    display: block;
    font-size: 0.72rem;
    color: rgba(241, 245, 249, 0.62);
    line-height: 1.4;
}

.cm-path-timeline.is-complete .cm-path-timeline__spine-fill {
    box-shadow: 0 0 24px color-mix(in srgb, var(--path-color) 65%, transparent);
}

/* Path tabs (10 professions) */
.career-map-path-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin: 2rem 0 1.5rem;
}

.career-map-path-tab {
    padding: 0.55rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 20, 36, 0.6);
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    color: rgba(241, 245, 249, 0.85);
}

.career-map-path-tab.is-active {
    transform: translateY(-2px);
    color: #fff;
    background: color-mix(in srgb, var(--path-color) 35%, #0f1424);
    border-color: color-mix(in srgb, var(--path-color) 55%, transparent);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--path-color) 25%, transparent);
}

.career-map-path-panel {
    display: none;
}

.career-map-path-panel.is-active {
    display: block;
    animation: utp-strip-enter 0.5s ease both;
}

.career-map-branch-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0 1.5rem;
}

.career-map-branch-tab {
    padding: 0.65rem 1.35rem;
    border-radius: 50px;
    border: 2px solid transparent;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    color: #fff;
}

.career-map-branch-tab--gamedev { background: #8E3CD9; }
.career-map-branch-tab--design { background: #E84393; }
.career-map-branch-tab--cyber { background: #00A152; }
.career-map-branch-tab--software { background: #3485B8; }

.career-map-branch-tab.is-active {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
}

.career-map-branch-panel {
    display: none;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--glass-shadow);
}

.career-map-branch-panel.is-active {
    display: block;
    animation: utp-strip-enter 0.5s ease both;
}

.career-map-branch-panel--gamedev { border-color: rgba(142, 60, 217, 0.3); }
.career-map-branch-panel--design { border-color: rgba(232, 67, 147, 0.35); }
.career-map-branch-panel--cyber { border-color: rgba(0, 200, 83, 0.35); }
.career-map-branch-panel--software { border-color: rgba(52, 133, 184, 0.35); }

.career-map-branch-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
}

.career-map-branch-panel--gamedev .career-map-branch-badge { background: #8E3CD9; }
.career-map-branch-panel--design .career-map-branch-badge { background: #E84393; }
.career-map-branch-panel--cyber .career-map-branch-badge { background: #00A152; }
.career-map-branch-panel--software .career-map-branch-badge { background: #3485B8; }

.career-map-branch-panel h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.career-map-branch-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.career-map-branch-list li {
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.65;
    font-size: 1rem;
}

.career-map-branch-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-mint);
}

.career-map-foundation-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem;
}

.career-map-foundation-list {
    margin: 1.25rem 0 1.75rem;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.65rem;
}

.career-map-foundation-list li {
    line-height: 1.6;
}

.career-map-foundation-visual {
    display: flex;
    justify-content: center;
}

.career-map-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.career-map-process-step {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.career-map-process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(78, 26, 121, 0.1);
}

.career-map-process-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-map-process-step h3 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 0.65rem;
}

.career-map-process-step p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
}

.career-map-mentors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.career-map-mentor-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
}

.career-map-mentor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(78, 26, 121, 0.1);
}

.career-map-mentor-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(142, 60, 217, 0.2);
}

.career-map-mentor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.career-map-mentor-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-color);
    margin: 0;
}

.career-map-cta-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 2.5rem;
}

.career-map-form .form-group {
    margin-bottom: 1rem;
}

.career-map-cta-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.career-map-cta-trust {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .career-map-hero-grid,
    .career-map-foundation-card {
        grid-template-columns: 1fr;
    }

    .career-map-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .career-map-hero-ctas .cta-button {
        width: 100%;
        justify-content: center;
    }

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

    .career-map-path-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        max-width: 100%;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 0.35rem;
    }

    .career-map-path-tab {
        flex-shrink: 0;
    }

    .career-map-page .cm-path-timeline__node {
        grid-template-columns: auto 1fr;
        gap: 0.85rem;
    }

    .career-map-page .cm-path-timeline__spine {
        left: 24px;
        transform: none;
    }

    .career-map-page .cm-path-timeline__node--left .cm-path-timeline__card,
    .career-map-page .cm-path-timeline__node--right .cm-path-timeline__card {
        grid-column: 2;
        justify-self: start;
        text-align: left;
        max-width: none;
    }

    .career-map-page .cm-path-timeline__node--left .cm-path-timeline__dot,
    .career-map-page .cm-path-timeline__node--right .cm-path-timeline__dot {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .career-map-promo {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.75rem 1.5rem;
    }

    .career-map-promo-visual .cm-premium-map--promo {
        max-width: 220px;
        margin: 0 auto;
    }

    .career-map-process-grid,
    .career-map-mentors-grid {
        grid-template-columns: 1fr;
    }

    .career-map-quiz-card,
    .career-map-cta-card {
        padding: 1.75rem 1.25rem;
    }

    .career-map-mentor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cm-path-timeline__node {
        grid-template-columns: auto 1fr;
        gap: 0.85rem;
    }

    .cm-path-timeline__spine {
        left: 24px;
        transform: none;
    }

    .cm-path-timeline__node--left .cm-path-timeline__card,
    .cm-path-timeline__node--right .cm-path-timeline__card {
        grid-column: 2;
        justify-self: start;
        text-align: left;
        max-width: none;
    }

    .cm-path-timeline__node--left .cm-path-timeline__dot,
    .cm-path-timeline__node--right .cm-path-timeline__dot {
        grid-column: 1;
    }

    .career-map-path-tab {
        font-size: 0.72rem;
        padding: 0.45rem 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .career-map-promo,
    .career-map-promo::before,
    .career-map-hero-cta,
    .cm-premium-map__orb,
    .cm-premium-map__line,
    .cm-premium-map__hub-ring,
    .cm-premium-map__node,
    .cm-path-timeline__dot-ring {
        animation: none !important;
    }

    .cm-path-timeline__node {
        opacity: 1;
        transform: none;
    }

    .cm-path-timeline__spine-fill {
        height: 100% !important;
    }

    .dev-path-track:hover {
        transform: none;
    }

    .dev-path-track:hover .dev-path-track__scene {
        transform: none;
        filter: none;
    }

    .dev-path-track__fill,
    .dev-path-track__runner,
    .dev-path-track__dot-ring,
    .dev-path-track__dot-core,
    .dev-path-track__scene,
    .dev-path-track__scene::before,
    .dev-path-track__scene::after {
        animation: none !important;
    }

    .dev-path-track__fill {
        width: 100% !important;
    }

    .dev-path-track__runner {
        left: 100% !important;
    }

    .dev-path-track__step:nth-child(4) .dev-path-track__dot-core,
    .dev-path-track__step:nth-child(4) .dev-path-track__dot-ring {
        color: #fff;
        background: var(--track-color);
        border-color: var(--track-color);
        opacity: 1;
        transform: scale(1.08);
    }
}

/* ==========================================
   DEVELOPMENT PATH (FRONT PAGE)
   ========================================== */
.dev-path-section {
    --dev-path-cycle-hover: 10s;
    padding: 3.5rem 0 4.5rem;
    margin: 0;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(142, 60, 217, 0.04) 50%, rgba(99, 208, 214, 0.05) 100%);
}

.dev-path-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(142, 60, 217, 0.08), transparent 42%),
        radial-gradient(circle at 88% 70%, rgba(52, 133, 184, 0.08), transparent 40%);
    pointer-events: none;
}

.dev-path-header {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.dev-path-intro {
    max-width: 720px;
    margin: -2.5rem auto 2.5rem;
}

.dev-path-intro .dev-path-intro__line {
    margin: 0;
    max-width: none;
}

.dev-path-intro .dev-path-intro__line + .dev-path-intro__line {
    margin-top: 0.55rem;
}

/* Track cards grid */
.dev-path-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.dev-path-track {
    position: relative;
    overflow: hidden;
    padding: 1.15rem 1.1rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(78, 26, 121, 0.1);
    box-shadow: 0 10px 28px rgba(78, 26, 121, 0.07);
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease,
        box-shadow 0.38s ease,
        background 0.35s ease;
}

.dev-path-track__pick {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    cursor: pointer;
}

.dev-path-track__checkbox {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.dev-path-track__check {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 2px solid color-mix(in srgb, var(--track-color) 45%, white);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(78, 26, 121, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.dev-path-track__check::after {
    content: '';
    width: 6px;
    height: 11px;
    border-right: 2.5px solid #fff;
    border-bottom: 2.5px solid #fff;
    transform: rotate(45deg) scale(0);
    margin-top: -2px;
    transition: transform 0.2s ease;
}

.dev-path-track__checkbox:focus-visible + .dev-path-track__check {
    outline: 2px solid var(--track-color);
    outline-offset: 2px;
}

.dev-path-track__checkbox:checked + .dev-path-track__check {
    background: var(--track-color);
    border-color: var(--track-color);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--track-color) 22%, transparent);
    transform: scale(1.05);
}

.dev-path-track__checkbox:checked + .dev-path-track__check::after {
    transform: rotate(45deg) scale(1);
}

.dev-path-track.is-selected {
    border-color: color-mix(in srgb, var(--track-color) 50%, white);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.98),
        color-mix(in srgb, var(--track-color) 8%, white)
    );
    box-shadow:
        0 16px 36px color-mix(in srgb, var(--track-color) 18%, transparent),
        0 0 0 1px color-mix(in srgb, var(--track-color) 15%, transparent);
}

.dev-path-track:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.96);
    border-color: color-mix(in srgb, var(--track-color) 40%, white);
    box-shadow:
        0 18px 40px color-mix(in srgb, var(--track-color) 20%, transparent),
        0 0 0 1px color-mix(in srgb, var(--track-color) 12%, transparent);
}

/* Thematic mini-scene per direction */
.dev-path-track__scene {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 44px;
    height: 44px;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.dev-path-track:hover .dev-path-track__scene {
    transform: scale(1.14);
    filter: drop-shadow(0 6px 16px color-mix(in srgb, var(--track-color) 40%, transparent));
}

.dev-path-track__scene::before,
.dev-path-track__scene::after {
    position: absolute;
    content: '';
    transition: filter 0.3s ease;
}

.dev-path-track--programming .dev-path-track__scene::before {
    content: '</>';
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--track-color);
    animation: dev-scene-code 2.8s ease-in-out infinite;
}

.dev-path-track--programming .dev-path-track__scene::after {
    bottom: 10px;
    right: 8px;
    width: 2px;
    height: 12px;
    background: var(--track-color);
    animation: dev-scene-cursor 1.1s step-end infinite;
}

@keyframes dev-scene-code {
    0%, 100% { opacity: 0.55; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes dev-scene-cursor {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.dev-path-track--gamedev .dev-path-track__scene::before {
    inset: 6px;
    border: 2px solid color-mix(in srgb, var(--track-color) 55%, white);
    border-radius: 10px;
    animation: dev-scene-pad 2.4s ease-in-out infinite;
}

.dev-path-track--gamedev .dev-path-track__scene::after {
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--track-color) 30%, white);
    animation: dev-scene-pad-btn 2.4s ease-in-out infinite;
}

@keyframes dev-scene-pad {
    0%, 100% { transform: rotate(-6deg) scale(1); }
    50% { transform: rotate(6deg) scale(1.05); }
}

@keyframes dev-scene-pad-btn {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.35); opacity: 1; background: var(--track-color); }
}

.dev-path-track--robotics .dev-path-track__scene::before {
    inset: 4px;
    border: 3px dashed color-mix(in srgb, var(--track-color) 60%, white);
    border-radius: 50%;
    animation: dev-scene-spin 5s linear infinite;
}

.dev-path-track--robotics .dev-path-track__scene::after {
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 2px;
    background: var(--track-color);
    animation: dev-scene-robot-blink 1.6s ease-in-out infinite;
}

@keyframes dev-scene-spin {
    to { transform: rotate(360deg); }
}

@keyframes dev-scene-robot-blink {
    0%, 100% { opacity: 0.35; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.15); }
}

.dev-path-track--logic .dev-path-track__scene::before {
    top: 8px;
    left: 8px;
    width: 14px;
    height: 14px;
    background: color-mix(in srgb, var(--track-color) 25%, white);
    border: 2px solid var(--track-color);
    animation: dev-scene-puzzle-a 3.2s ease-in-out infinite;
}

.dev-path-track--logic .dev-path-track__scene::after {
    right: 8px;
    bottom: 8px;
    width: 14px;
    height: 14px;
    background: var(--track-color);
    animation: dev-scene-puzzle-b 3.2s ease-in-out infinite;
}

@keyframes dev-scene-puzzle-a {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(6px, 6px) rotate(90deg); }
}

@keyframes dev-scene-puzzle-b {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.55; }
    50% { transform: translate(-6px, -6px) rotate(-90deg); opacity: 1; }
}

.dev-path-track--math .dev-path-track__scene::before {
    content: 'Σ';
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--track-color);
    animation: dev-scene-math 4s ease-in-out infinite;
}

.dev-path-track--math .dev-path-track__scene::after {
    right: 10px;
    bottom: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--track-color) 45%, white);
    animation: dev-scene-math-dot 4s ease-in-out infinite;
}

@keyframes dev-scene-math {
    0%, 100% { transform: rotate(-8deg) scale(0.92); opacity: 0.55; }
    50% { transform: rotate(8deg) scale(1.12); opacity: 1; }
}

@keyframes dev-scene-math-dot {
    0%, 100% { transform: translate(0, 0); opacity: 0.4; }
    50% { transform: translate(-6px, -6px); opacity: 1; }
}

.dev-path-track--english .dev-path-track__scene::before {
    inset: 6px;
    border: 2px solid color-mix(in srgb, var(--track-color) 50%, white);
    border-radius: 50%;
    animation: dev-scene-globe 4.5s ease-in-out infinite;
}

.dev-path-track--english .dev-path-track__scene::after {
    top: 6px;
    left: 50%;
    width: 2px;
    height: 100%;
    margin-left: -1px;
    background: color-mix(in srgb, var(--track-color) 35%, transparent);
    animation: dev-scene-globe-line 4.5s ease-in-out infinite;
}

@keyframes dev-scene-globe {
    0%, 100% { transform: rotate(-12deg); }
    50% { transform: rotate(12deg); }
}

@keyframes dev-scene-globe-line {
    0%, 100% { transform: scaleY(0.75); opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 0.9; }
}

.dev-path-track--creativity .dev-path-track__scene::before {
    top: 10px;
    left: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50% 50% 50% 0;
    background: var(--track-color);
    transform: rotate(-35deg);
    animation: dev-scene-brush 3s ease-in-out infinite;
}

.dev-path-track--creativity .dev-path-track__scene::after {
    right: 8px;
    bottom: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--track-color) 40%, #E84393);
    animation: dev-scene-paint 3s ease-in-out infinite;
}

@keyframes dev-scene-brush {
    0%, 100% { transform: rotate(-35deg) translate(0, 0); }
    50% { transform: rotate(-10deg) translate(-4px, 4px); }
}

@keyframes dev-scene-paint {
    0%, 100% { transform: scale(0.7); opacity: 0.4; }
    50% { transform: scale(1.2); opacity: 1; }
}

.dev-path-track--video .dev-path-track__scene::before {
    top: 50%;
    left: 14px;
    margin-top: -8px;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent var(--track-color);
    animation: dev-scene-play 2.2s ease-in-out infinite;
}

.dev-path-track--video .dev-path-track__scene::after {
    right: 8px;
    bottom: 10px;
    left: 8px;
    height: 4px;
    border-radius: 999px;
    background: rgba(78, 26, 121, 0.12);
    box-shadow: inset 0 0 0 999px var(--track-color);
    clip-path: inset(0 100% 0 0);
    animation: dev-scene-timeline 2.2s ease-in-out infinite;
}

@keyframes dev-scene-play {
    0%, 100% { transform: scale(1); opacity: 0.65; }
    50% { transform: scale(1.15); opacity: 1; }
}

@keyframes dev-scene-timeline {
    0% { clip-path: inset(0 100% 0 0); }
    70%, 100% { clip-path: inset(0 0 0 0); }
}

.dev-path-track--ai .dev-path-track__scene::before,
.dev-path-track--ai .dev-path-track__scene::after {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--track-color);
}

.dev-path-track--ai .dev-path-track__scene::before {
    top: 8px;
    left: 10px;
    animation: dev-scene-spark-a 2.5s ease-in-out infinite;
}

.dev-path-track--ai .dev-path-track__scene::after {
    right: 10px;
    bottom: 8px;
    animation: dev-scene-spark-b 2.5s ease-in-out infinite;
}

@keyframes dev-scene-spark-a {
    0%, 100% { transform: scale(0.6); opacity: 0.35; }
    40% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 10px var(--track-color); }
}

@keyframes dev-scene-spark-b {
    0%, 100% { transform: scale(1.2); opacity: 1; }
    40% { transform: scale(0.5); opacity: 0.3; }
}

.dev-path-track--web .dev-path-track__scene::before {
    inset: 6px 6px 14px;
    border: 2px solid color-mix(in srgb, var(--track-color) 45%, white);
    border-radius: 6px 6px 2px 2px;
}

.dev-path-track--web .dev-path-track__scene::after {
    left: 8px;
    right: 8px;
    bottom: 8px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--track-color), transparent);
    background-size: 200% 100%;
    animation: dev-scene-web-load 2.8s linear infinite;
}

@keyframes dev-scene-web-load {
    0% { background-position: 200% 0; opacity: 0.45; }
    50% { opacity: 1; }
    100% { background-position: -200% 0; opacity: 0.45; }
}

.dev-path-track--gamedesign .dev-path-track__scene::before {
    inset: 8px;
    border: 2px solid color-mix(in srgb, var(--track-color) 50%, white);
    border-radius: 6px;
    animation: dev-scene-dice 3.6s ease-in-out infinite;
}

.dev-path-track--gamedesign .dev-path-track__scene::after {
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--track-color);
    box-shadow: 8px 8px 0 var(--track-color), -8px -8px 0 color-mix(in srgb, var(--track-color) 50%, white);
    animation: dev-scene-dice-dots 3.6s ease-in-out infinite;
}

@keyframes dev-scene-dice {
    0%, 100% { transform: rotate(0deg); }
    33% { transform: rotate(18deg); }
    66% { transform: rotate(-14deg); }
}

@keyframes dev-scene-dice-dots {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.dev-path-track--cyber .dev-path-track__scene::before {
    top: 10px;
    left: 50%;
    width: 16px;
    height: 10px;
    margin-left: -8px;
    border: 2px solid var(--track-color);
    border-radius: 4px 4px 2px 2px;
    animation: dev-scene-lock 2.6s ease-in-out infinite;
}

.dev-path-track--cyber .dev-path-track__scene::after {
    top: 6px;
    left: 50%;
    width: 10px;
    height: 8px;
    margin-left: -5px;
    border: 2px solid var(--track-color);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    animation: dev-scene-shackle 2.6s ease-in-out infinite;
}

@keyframes dev-scene-lock {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(2px); box-shadow: 0 0 12px color-mix(in srgb, var(--track-color) 50%, transparent); }
}

@keyframes dev-scene-shackle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.dev-path-track--literacy .dev-path-track__scene::before,
.dev-path-track--literacy .dev-path-track__scene::after {
    width: 12px;
    height: 8px;
    border-radius: 3px;
    border: 1.5px solid color-mix(in srgb, var(--track-color) 55%, white);
    background: rgba(255, 255, 255, 0.8);
}

.dev-path-track--literacy .dev-path-track__scene::before {
    top: 10px;
    left: 8px;
    animation: dev-scene-key-a 2.4s ease-in-out infinite;
}

.dev-path-track--literacy .dev-path-track__scene::after {
    right: 8px;
    bottom: 10px;
    animation: dev-scene-key-b 2.4s ease-in-out infinite;
}

@keyframes dev-scene-key-a {
    0%, 100% { transform: translateY(0); opacity: 0.55; }
    20%, 40% { transform: translateY(3px); opacity: 1; background: color-mix(in srgb, var(--track-color) 20%, white); }
}

@keyframes dev-scene-key-b {
    0%, 100% { transform: translateY(0); opacity: 0.55; }
    55%, 75% { transform: translateY(3px); opacity: 1; background: color-mix(in srgb, var(--track-color) 20%, white); }
}

/* Hover — scene comes alive (variant B) */
.dev-path-track--programming:hover .dev-path-track__scene::before {
    animation: dev-scene-code-hover 0.55s ease-in-out infinite;
}

.dev-path-track--programming:hover .dev-path-track__scene::after {
    animation: dev-scene-cursor-hover 0.45s step-end infinite;
}

@keyframes dev-scene-code-hover {
    0%, 100% { opacity: 1; transform: scale(1.08); }
    50% { opacity: 0.7; transform: scale(0.96); }
}

@keyframes dev-scene-cursor-hover {
    0%, 39% { opacity: 1; }
    40%, 100% { opacity: 0; }
}

.dev-path-track--gamedev:hover .dev-path-track__scene::before {
    animation: dev-scene-pad-hover 0.35s ease-in-out infinite;
}

.dev-path-track--gamedev:hover .dev-path-track__scene::after {
    animation: dev-scene-pad-btn-hover 0.35s ease-in-out infinite;
}

@keyframes dev-scene-pad-hover {
    0%, 100% { transform: rotate(-10deg) translateX(-2px); }
    50% { transform: rotate(10deg) translateX(2px); }
}

@keyframes dev-scene-pad-btn-hover {
    0%, 100% { transform: scale(1); background: color-mix(in srgb, var(--track-color) 30%, white); }
    50% { transform: scale(1.5); background: var(--track-color); box-shadow: 0 0 10px var(--track-color); }
}

.dev-path-track--robotics:hover .dev-path-track__scene::before {
    animation: dev-scene-spin-hover 0.7s linear infinite;
}

.dev-path-track--robotics:hover .dev-path-track__scene::after {
    animation: dev-scene-robot-hover 0.5s ease-in-out infinite;
}

@keyframes dev-scene-spin-hover {
    to { transform: rotate(360deg); }
}

@keyframes dev-scene-robot-hover {
    0%, 100% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 12px var(--track-color); }
    50% { opacity: 0.5; transform: scale(0.9); }
}

.dev-path-track--logic:hover .dev-path-track__scene::before {
    animation: dev-scene-puzzle-a-hover 0.9s ease-in-out infinite;
}

.dev-path-track--logic:hover .dev-path-track__scene::after {
    animation: dev-scene-puzzle-b-hover 0.9s ease-in-out infinite;
}

@keyframes dev-scene-puzzle-a-hover {
    0%, 100% { transform: translate(10px, 10px) rotate(0deg); opacity: 0.5; }
    50% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

@keyframes dev-scene-puzzle-b-hover {
    0%, 100% { transform: translate(-10px, -10px) rotate(0deg); opacity: 0.5; }
    50% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

.dev-path-track--math:hover .dev-path-track__scene::before {
    animation: dev-scene-math-hover 0.8s ease-in-out infinite;
}

.dev-path-track--math:hover .dev-path-track__scene::after {
    animation: dev-scene-math-dot-hover 0.8s ease-in-out infinite;
}

@keyframes dev-scene-math-hover {
    0%, 100% { transform: rotate(-14deg) scale(1.15); opacity: 1; }
    50% { transform: rotate(14deg) scale(1.3); opacity: 1; text-shadow: 0 0 10px color-mix(in srgb, var(--track-color) 50%, transparent); }
}

@keyframes dev-scene-math-dot-hover {
    0%, 100% { transform: translate(4px, 4px) scale(0.8); }
    25% { transform: translate(-8px, 0) scale(1.1); }
    50% { transform: translate(0, -8px) scale(1.2); }
    75% { transform: translate(8px, 0) scale(1.1); }
}

.dev-path-track--english:hover .dev-path-track__scene::before {
    animation: dev-scene-globe-hover 0.9s ease-in-out infinite;
}

.dev-path-track--english:hover .dev-path-track__scene::after {
    animation: dev-scene-globe-line-hover 0.9s ease-in-out infinite;
}

@keyframes dev-scene-globe-hover {
    0%, 100% { transform: rotate(-18deg); }
    50% { transform: rotate(18deg); }
}

@keyframes dev-scene-globe-line-hover {
    0%, 100% { transform: scaleY(0.6) rotate(-12deg); opacity: 0.5; }
    50% { transform: scaleY(1.1) rotate(12deg); opacity: 1; }
}

.dev-path-track--creativity:hover .dev-path-track__scene::before {
    animation: dev-scene-brush-hover 0.7s ease-in-out infinite;
}

.dev-path-track--creativity:hover .dev-path-track__scene::after {
    animation: dev-scene-paint-hover 0.7s ease-in-out infinite;
}

@keyframes dev-scene-brush-hover {
    0%, 100% { transform: rotate(-45deg) translate(-2px, 2px); }
    50% { transform: rotate(5deg) translate(6px, -4px); }
}

@keyframes dev-scene-paint-hover {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.6); opacity: 1; box-shadow: 0 0 14px color-mix(in srgb, var(--track-color) 55%, #E84393); }
}

.dev-path-track--video:hover .dev-path-track__scene::before {
    animation: dev-scene-play-hover 0.5s ease-in-out infinite;
}

.dev-path-track--video:hover .dev-path-track__scene::after {
    animation: dev-scene-timeline-hover 1.1s ease-in-out infinite;
}

@keyframes dev-scene-play-hover {
    0%, 100% { transform: scale(1.1); opacity: 0.85; }
    50% { transform: scale(1.35); opacity: 1; filter: drop-shadow(0 0 8px var(--track-color)); }
}

@keyframes dev-scene-timeline-hover {
    0% { clip-path: inset(0 100% 0 0); opacity: 0.6; }
    80%, 100% { clip-path: inset(0 0 0 0); opacity: 1; }
}

.dev-path-track--ai:hover .dev-path-track__scene::before {
    animation: dev-scene-spark-a-hover 0.55s ease-in-out infinite;
}

.dev-path-track--ai:hover .dev-path-track__scene::after {
    animation: dev-scene-spark-b-hover 0.55s ease-in-out infinite;
}

@keyframes dev-scene-spark-a-hover {
    0%, 100% { transform: translate(0, 0) scale(0.8); opacity: 0.6; }
    50% { transform: translate(-6px, -8px) scale(1.5); opacity: 1; box-shadow: 0 0 14px var(--track-color); }
}

@keyframes dev-scene-spark-b-hover {
    0%, 100% { transform: translate(0, 0) scale(1.2); opacity: 1; }
    50% { transform: translate(8px, 6px) scale(0.6); opacity: 0.4; }
}

.dev-path-track--web:hover .dev-path-track__scene::before {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--track-color) 20%, transparent);
    animation: dev-scene-web-window-hover 0.6s ease-in-out infinite;
}

.dev-path-track--web:hover .dev-path-track__scene::after {
    animation: dev-scene-web-load-hover 0.75s linear infinite;
}

@keyframes dev-scene-web-window-hover {
    0%, 100% { border-color: color-mix(in srgb, var(--track-color) 45%, white); }
    50% { border-color: var(--track-color); }
}

@keyframes dev-scene-web-load-hover {
    0% { background-position: 200% 0; opacity: 0.7; }
    100% { background-position: -200% 0; opacity: 1; }
}

.dev-path-track--gamedesign:hover .dev-path-track__scene::before {
    animation: dev-scene-dice-hover 0.65s ease-in-out infinite;
}

.dev-path-track--gamedesign:hover .dev-path-track__scene::after {
    animation: dev-scene-dice-dots-hover 0.65s ease-in-out infinite;
}

@keyframes dev-scene-dice-hover {
    0% { transform: rotate(0deg) scale(1); }
    40% { transform: rotate(120deg) scale(1.08); }
    70% { transform: rotate(240deg) scale(1.08); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes dev-scene-dice-dots-hover {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); box-shadow: 10px 10px 0 var(--track-color), -10px -10px 0 color-mix(in srgb, var(--track-color) 50%, white); }
}

.dev-path-track--cyber:hover .dev-path-track__scene {
    filter: drop-shadow(0 0 12px color-mix(in srgb, var(--track-color) 55%, transparent));
}

.dev-path-track--cyber:hover .dev-path-track__scene::before {
    animation: dev-scene-lock-hover 0.7s ease-in-out infinite;
}

.dev-path-track--cyber:hover .dev-path-track__scene::after {
    animation: dev-scene-shackle-hover 0.7s ease-in-out infinite;
}

@keyframes dev-scene-lock-hover {
    0%, 100% { transform: translateY(1px); box-shadow: 0 0 16px color-mix(in srgb, var(--track-color) 60%, transparent); }
    50% { transform: translateY(3px); }
}

@keyframes dev-scene-shackle-hover {
    0%, 100% { transform: translateY(-1px); }
    50% { transform: translateY(2px); }
}

.dev-path-track--literacy:hover .dev-path-track__scene::before {
    animation: dev-scene-key-a-hover 0.45s ease-in-out infinite;
}

.dev-path-track--literacy:hover .dev-path-track__scene::after {
    animation: dev-scene-key-b-hover 0.45s ease-in-out infinite;
}

@keyframes dev-scene-key-a-hover {
    0%, 100% { transform: translateY(0); background: rgba(255, 255, 255, 0.8); }
    50% { transform: translateY(5px); background: color-mix(in srgb, var(--track-color) 30%, white); box-shadow: 0 2px 0 color-mix(in srgb, var(--track-color) 40%, white); }
}

@keyframes dev-scene-key-b-hover {
    0%, 100% { transform: translateY(0); background: rgba(255, 255, 255, 0.8); }
    50% { transform: translateY(5px); background: color-mix(in srgb, var(--track-color) 30%, white); box-shadow: 0 2px 0 color-mix(in srgb, var(--track-color) 40%, white); }
}

.dev-path-track__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    padding-left: 1.85rem;
    padding-right: 2.5rem;
}

.dev-path-track__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: color-mix(in srgb, var(--track-color) 12%, white);
    border: 2px solid color-mix(in srgb, var(--track-color) 35%, white);
    flex-shrink: 0;
}

.dev-path-track__title {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1rem;
    line-height: 1.25;
    color: var(--primary-color);
}

/* Horizontal step lane */
.dev-path-track__lane {
    position: relative;
    padding: 0.35rem 0 0;
}

.dev-path-track__rail {
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 999px;
    background: rgba(78, 26, 121, 0.1);
    overflow: visible;
}

.dev-path-track__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--track-color), color-mix(in srgb, var(--track-color) 55%, #63D0D6));
    box-shadow: 0 0 12px color-mix(in srgb, var(--track-color) 40%, transparent);
}

.dev-path-track__runner {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: var(--track-color);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--track-color) 25%, transparent);
    z-index: 2;
}

@media (hover: hover) {
    .dev-path-track:hover .dev-path-track__fill {
        animation: dev-path-track-fill var(--dev-path-cycle-hover) ease-in-out infinite;
    }

    .dev-path-track:hover .dev-path-track__runner {
        animation: dev-path-track-runner var(--dev-path-cycle-hover) ease-in-out infinite;
    }

    .dev-path-track:hover .dev-path-track__step:nth-child(1) .dev-path-track__dot-core { animation: dev-path-core-1 var(--dev-path-cycle-hover) ease-in-out infinite; }
    .dev-path-track:hover .dev-path-track__step:nth-child(2) .dev-path-track__dot-core { animation: dev-path-core-2 var(--dev-path-cycle-hover) ease-in-out infinite; }
    .dev-path-track:hover .dev-path-track__step:nth-child(3) .dev-path-track__dot-core { animation: dev-path-core-3 var(--dev-path-cycle-hover) ease-in-out infinite; }
    .dev-path-track:hover .dev-path-track__step:nth-child(4) .dev-path-track__dot-core { animation: dev-path-core-4 var(--dev-path-cycle-hover) ease-in-out infinite; }

    .dev-path-track:hover .dev-path-track__step:nth-child(1) .dev-path-track__dot-ring { animation: dev-path-ring-1 var(--dev-path-cycle-hover) ease-in-out infinite; }
    .dev-path-track:hover .dev-path-track__step:nth-child(2) .dev-path-track__dot-ring { animation: dev-path-ring-2 var(--dev-path-cycle-hover) ease-in-out infinite; }
    .dev-path-track:hover .dev-path-track__step:nth-child(3) .dev-path-track__dot-ring { animation: dev-path-ring-3 var(--dev-path-cycle-hover) ease-in-out infinite; }
    .dev-path-track:hover .dev-path-track__step:nth-child(4) .dev-path-track__dot-ring { animation: dev-path-ring-4 var(--dev-path-cycle-hover) ease-in-out infinite; }
}

@keyframes dev-path-track-runner {
    0%, 14% { left: 0%; }
    16%, 18% { left: 16.666%; }
    20%, 34% { left: 33.333%; }
    36%, 38% { left: 50%; }
    40%, 54% { left: 66.666%; }
    56%, 58% { left: 83.333%; }
    60%, 74% { left: 100%; }
    76%, 100% { left: 0%; }
}

@keyframes dev-path-track-fill {
    0%, 14% { width: 0%; }
    20%, 34% { width: 33.333%; }
    40%, 54% { width: 66.666%; }
    60%, 74% { width: 100%; }
    80%, 100% { width: 0%; }
}

.dev-path-track__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    gap: 0.35rem;
}

.dev-path-track__step {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
}

.dev-path-track__dot {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.dev-path-track__dot-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--track-color);
    opacity: 0;
    transform: scale(0.85);
}

.dev-path-track__dot-core {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--track-color);
    background: #fff;
    border: 2px solid color-mix(in srgb, var(--track-color) 40%, white);
    box-shadow: 0 4px 12px rgba(78, 26, 121, 0.1);
    transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

@keyframes dev-path-core-1 {
    0%, 14% { color: #fff; background: var(--track-color); border-color: var(--track-color); transform: scale(1.12); }
    18%, 100% { color: var(--track-color); background: #fff; border-color: color-mix(in srgb, var(--track-color) 40%, white); transform: scale(1); }
}

@keyframes dev-path-core-2 {
    0%, 19% { color: var(--track-color); background: #fff; border-color: color-mix(in srgb, var(--track-color) 40%, white); transform: scale(1); }
    20%, 34% { color: #fff; background: var(--track-color); border-color: var(--track-color); transform: scale(1.12); }
    38%, 100% { color: var(--track-color); background: #fff; border-color: color-mix(in srgb, var(--track-color) 40%, white); transform: scale(1); }
}

@keyframes dev-path-core-3 {
    0%, 39% { color: var(--track-color); background: #fff; border-color: color-mix(in srgb, var(--track-color) 40%, white); transform: scale(1); }
    40%, 54% { color: #fff; background: var(--track-color); border-color: var(--track-color); transform: scale(1.12); }
    58%, 100% { color: var(--track-color); background: #fff; border-color: color-mix(in srgb, var(--track-color) 40%, white); transform: scale(1); }
}

@keyframes dev-path-core-4 {
    0%, 59% { color: var(--track-color); background: #fff; border-color: color-mix(in srgb, var(--track-color) 40%, white); transform: scale(1); }
    60%, 74% { color: #fff; background: var(--track-color); border-color: var(--track-color); transform: scale(1.12); }
    78%, 100% { color: var(--track-color); background: #fff; border-color: color-mix(in srgb, var(--track-color) 40%, white); transform: scale(1); }
}

@keyframes dev-path-ring-1 {
    0%, 14% { opacity: 1; transform: scale(1.18); }
    18%, 100% { opacity: 0; transform: scale(0.85); }
}

@keyframes dev-path-ring-2 {
    0%, 19% { opacity: 0; transform: scale(0.85); }
    20%, 34% { opacity: 1; transform: scale(1.18); }
    38%, 100% { opacity: 0; transform: scale(0.85); }
}

@keyframes dev-path-ring-3 {
    0%, 39% { opacity: 0; transform: scale(0.85); }
    40%, 54% { opacity: 1; transform: scale(1.18); }
    58%, 100% { opacity: 0; transform: scale(0.85); }
}

@keyframes dev-path-ring-4 {
    0%, 59% { opacity: 0; transform: scale(0.85); }
    60%, 74% { opacity: 1; transform: scale(1.18); }
    78%, 100% { opacity: 0; transform: scale(0.85); }
}

.dev-path-track__label {
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-color);
    word-break: break-word;
    hyphens: auto;
}

.dev-path-track__note {
    margin: 0.75rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.dev-path-cta {
    position: relative;
    z-index: 1;
    margin-top: 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.dev-path-cta__hint {
    margin: 0;
    max-width: 520px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.dev-path-cta__confirm:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Dev path inline UTP form */
.dev-path-utp {
    width: 100%;
    max-width: 860px;
    margin-top: 0.5rem;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--primary-color) 15%, white);
    box-shadow: 0 24px 56px rgba(78, 26, 121, 0.14);
    animation: dev-path-utp-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dev-path-utp-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dev-path-utp__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}

.dev-path-utp__pitch {
    position: relative;
    padding: 2rem 1.75rem;
    background: linear-gradient(145deg, #4E1A79 0%, #3485B8 55%, #63D0D6 100%);
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dev-path-utp__pitch-glow {
    position: absolute;
    top: -40%;
    right: -30%;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 70%);
    animation: utp-glow-drift 8s ease-in-out infinite;
    pointer-events: none;
}

.dev-path-utp__badge {
    position: relative;
    display: inline-block;
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(255, 159, 67, 0.95);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(255, 159, 67, 0.45);
}

.dev-path-utp__headline {
    position: relative;
    margin: 0 0 0.75rem;
    font-family: var(--font-title);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    line-height: 1.25;
}

.dev-path-utp__lead {
    position: relative;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 0.92;
}

.dev-path-utp__perks {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.dev-path-utp__perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.88rem;
    line-height: 1.4;
}

.dev-path-utp__perk-icon {
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1.3;
}

.dev-path-utp__form-panel {
    padding: 2rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dev-path-utp__form-title {
    margin: 0 0 0.45rem;
    font-family: var(--font-title);
    font-size: 1.25rem;
    color: var(--primary-color);
}

.dev-path-utp__form-sub {
    margin: 0 0 1.15rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.dev-path-utp__form .form-group {
    margin-bottom: 0.8rem;
}

.dev-path-utp__form .form-input {
    width: 100%;
}

.dev-path-utp__cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.15rem;
}

.dev-path-utp__cta-spark {
    transition: transform 0.3s ease;
}

.dev-path-utp__cta:hover .dev-path-utp__cta-spark {
    transform: scale(1.15) rotate(8deg);
}

.dev-path-utp__note {
    margin: 0.75rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-muted);
    text-align: center;
}

.dev-path-utp__success {
    text-align: center;
    padding: 1.5rem 0.5rem;
}

.dev-path-utp__success-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.dev-path-utp__success h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-title);
    color: var(--primary-color);
}

.dev-path-utp__success p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.55;
}

@media (max-width: 800px) {
    .dev-path-utp__grid {
        grid-template-columns: 1fr;
    }

    .dev-path-utp__pitch {
        padding: 1.5rem 1.35rem;
    }

    .dev-path-utp__form-panel {
        padding: 1.5rem 1.35rem 1.35rem;
    }
}

@media (max-width: 1100px) {
    .dev-path-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .dev-path-track__label {
        font-size: 0.64rem;
    }
}

/* ==========================================
   WHY US PAGE
   ========================================== */
.why-us-page {
    --why-us-cycle: 12s;
    overflow-x: hidden;
}

.why-us-page .why-us-section {
    padding: 4rem 0;
}

.why-us-page .why-us-section:nth-child(even) {
    background: linear-gradient(180deg, rgba(142, 60, 217, 0.03) 0%, rgba(99, 208, 214, 0.04) 100%);
}

.why-us-section-head {
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.why-us-section-head .section-title {
    margin-bottom: 1rem;
}

.why-us-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    max-width: 680px;
    margin: 0 auto;
}

.why-us-highlight {
    margin: 2rem auto 0;
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    max-width: 640px;
}

/* Scroll reveal */
.why-us-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.why-us-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero */
.why-us-hero {
    padding: 4.5rem 0 3.5rem;
    background:
        radial-gradient(circle at 15% 20%, rgba(142, 60, 217, 0.1), transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(52, 133, 184, 0.1), transparent 40%);
}

.why-us-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.why-us-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0.75rem 0 1rem;
    font-family: var(--font-title);
    font-size: clamp(1.85rem, 3.8vw, 2.75rem);
    line-height: 1.15;
    color: var(--primary-color);
}

.why-us-hero-title__line--accent {
    color: var(--secondary-color);
}

.why-us-hero-subtitle {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--text-color);
    max-width: 560px;
    margin-bottom: 1.25rem;
}

.why-us-hero-stats {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.why-us-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.why-us-stat__ring {
    position: relative;
    width: 52px;
    height: 52px;
}

.why-us-stat__ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.why-us-stat__ring-bg {
    fill: none;
    stroke: rgba(78, 26, 121, 0.12);
    stroke-width: 4;
}

.why-us-stat__ring-fill {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 113;
    stroke-dashoffset: calc(113 - (113 * var(--stat-pct, 0) / 100));
    transition: stroke-dashoffset 1.2s ease;
}

.why-us-reveal.is-visible .why-us-stat__ring-fill {
    animation: why-us-stat-pulse 2.4s ease-in-out infinite;
}

@keyframes why-us-stat-pulse {
    0%, 100% { filter: drop-shadow(0 0 0 transparent); }
    50% { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--primary-color) 50%, transparent)); }
}

.why-us-stat__value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-color);
}

.why-us-stat__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.why-us-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.why-us-hero-ctas .cta-button {
    grid-area: unset;
    justify-self: unset;
}

.why-us-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-us-hero-orbit {
    position: relative;
    width: min(100%, 340px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-hero-orbit__dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 12px color-mix(in srgb, var(--secondary-color) 60%, transparent);
}

.why-us-hero-orbit__dot--1 {
    animation: why-us-orbit-1 8s linear infinite;
}

.why-us-hero-orbit__dot--2 {
    width: 9px;
    height: 9px;
    background: var(--primary-color);
    animation: why-us-orbit-2 11s linear infinite reverse;
}

.why-us-hero-orbit__dot--3 {
    width: 7px;
    height: 7px;
    background: #63D0D6;
    animation: why-us-orbit-3 6s linear infinite;
}

@keyframes why-us-orbit-1 {
    from { transform: rotate(0deg) translateX(145px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(145px) rotate(-360deg); }
}

@keyframes why-us-orbit-2 {
    from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

@keyframes why-us-orbit-3 {
    from { transform: rotate(0deg) translateX(95px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(95px) rotate(-360deg); }
}

.why-us-hero-progress-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.why-us-hero-progress-ring__bg {
    fill: none;
    stroke: rgba(142, 60, 217, 0.12);
    stroke-width: 3;
}

.why-us-hero-progress-ring__fill {
    fill: none;
    stroke: url(#why-us-gradient);
    stroke: var(--secondary-color);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 339;
    stroke-dashoffset: 85;
    animation: why-us-hero-ring-spin 6s ease-in-out infinite;
}

@keyframes why-us-hero-ring-spin {
    0%, 100% { stroke-dashoffset: 85; }
    50% { stroke-dashoffset: 20; }
}

.why-us-hero-img {
    position: relative;
    z-index: 1;
    max-width: 72%;
    height: auto;
    filter: drop-shadow(0 18px 36px rgba(78, 26, 121, 0.15));
    animation: why-us-hero-float 4s ease-in-out infinite;
}

@keyframes why-us-hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cta-button--outline {
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--primary-color) !important;
    border: 2px solid color-mix(in srgb, var(--primary-color) 50%, white);
    box-shadow: 0 4px 16px rgba(78, 26, 121, 0.1);
}

.cta-button--outline:hover {
    background: color-mix(in srgb, var(--primary-color) 10%, white) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(142, 60, 217, 0.2);
}

/* Mindset contrast */
.why-us-contrast {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem 1.25rem;
    max-width: 980px;
    margin: 0 auto;
    align-items: stretch;
}

.why-us-contrast__vs {
    align-self: center;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary-color);
    padding: 0.65rem 0.85rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid color-mix(in srgb, var(--secondary-color) 35%, white);
    box-shadow: 0 8px 20px rgba(78, 26, 121, 0.1);
    animation: why-us-vs-pulse 2.5s ease-in-out infinite;
}

@keyframes why-us-vs-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.why-us-contrast__card {
    padding: 1.5rem 1.35rem 1.75rem;
    border-radius: 22px;
    border: 1px solid rgba(78, 26, 121, 0.12);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 32px rgba(78, 26, 121, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.why-us-contrast__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(78, 26, 121, 0.12);
}

.why-us-contrast__card--bad {
    border-color: rgba(220, 53, 69, 0.2);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(220, 53, 69, 0.04));
}

.why-us-contrast__card--good {
    border-color: color-mix(in srgb, var(--primary-color) 25%, white);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(142, 60, 217, 0.06));
}

.why-us-contrast__visual {
    margin: 0 auto 1.15rem;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-contrast__scene--chaos {
    display: flex;
    gap: 0.65rem;
}

.why-us-contrast__scene--chaos span {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(220, 53, 69, 0.12);
    border: 2px dashed rgba(220, 53, 69, 0.35);
    animation: why-us-chaos-drift 3s ease-in-out infinite;
}

.why-us-contrast__scene--chaos span:nth-child(2) {
    animation-delay: 0.4s;
    transform: rotate(8deg);
}

.why-us-contrast__scene--chaos span:nth-child(3) {
    animation-delay: 0.8s;
    transform: rotate(-6deg);
}

@keyframes why-us-chaos-drift {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-8px) rotate(6deg); opacity: 1; }
}

.why-us-contrast__img {
    max-height: 100px;
    width: auto;
    filter: drop-shadow(0 10px 24px rgba(78, 26, 121, 0.15));
    animation: why-us-hero-float 3.5s ease-in-out infinite;
}

.why-us-contrast__title {
    margin: 0 0 1rem;
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--primary-color);
}

.why-us-contrast__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.why-us-contrast__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--text-color);
}

.why-us-contrast__item-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

/* Path track — 5 steps */
.why-us-path-track {
    --track-color: #8E3CD9;
    max-width: 980px;
    margin: 0 auto 2rem;
    padding: 1.75rem 1.5rem 1.25rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid color-mix(in srgb, var(--track-color) 20%, white);
    box-shadow: 0 16px 40px rgba(78, 26, 121, 0.1);
}

.why-us-path-track__lane {
    position: relative;
    padding: 0.35rem 0 0;
}

.why-us-path-track__rail {
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 999px;
    background: rgba(78, 26, 121, 0.1);
    overflow: visible;
}

.why-us-path-track__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--track-color), color-mix(in srgb, var(--track-color) 55%, #63D0D6));
    box-shadow: 0 0 14px color-mix(in srgb, var(--track-color) 40%, transparent);
}

.why-us-path-track__runner {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: var(--track-color);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--track-color) 25%, transparent);
    z-index: 2;
}

.why-us-path-track.is-active .why-us-path-track__fill {
    animation: why-us-path-fill var(--why-us-cycle) ease-in-out infinite;
}

.why-us-path-track.is-active .why-us-path-track__runner {
    animation: why-us-path-runner var(--why-us-cycle) ease-in-out infinite;
}

.why-us-path-track.is-active .why-us-path-track__step:nth-child(1) .why-us-path-track__dot-core { animation: why-us-path-core-1 var(--why-us-cycle) ease-in-out infinite; }
.why-us-path-track.is-active .why-us-path-track__step:nth-child(2) .why-us-path-track__dot-core { animation: why-us-path-core-2 var(--why-us-cycle) ease-in-out infinite; }
.why-us-path-track.is-active .why-us-path-track__step:nth-child(3) .why-us-path-track__dot-core { animation: why-us-path-core-3 var(--why-us-cycle) ease-in-out infinite; }
.why-us-path-track.is-active .why-us-path-track__step:nth-child(4) .why-us-path-track__dot-core { animation: why-us-path-core-4 var(--why-us-cycle) ease-in-out infinite; }
.why-us-path-track.is-active .why-us-path-track__step:nth-child(5) .why-us-path-track__dot-core { animation: why-us-path-core-5 var(--why-us-cycle) ease-in-out infinite; }

.why-us-path-track.is-active .why-us-path-track__step:nth-child(1) .why-us-path-track__dot-ring { animation: why-us-path-ring-1 var(--why-us-cycle) ease-in-out infinite; }
.why-us-path-track.is-active .why-us-path-track__step:nth-child(2) .why-us-path-track__dot-ring { animation: why-us-path-ring-2 var(--why-us-cycle) ease-in-out infinite; }
.why-us-path-track.is-active .why-us-path-track__step:nth-child(3) .why-us-path-track__dot-ring { animation: why-us-path-ring-3 var(--why-us-cycle) ease-in-out infinite; }
.why-us-path-track.is-active .why-us-path-track__step:nth-child(4) .why-us-path-track__dot-ring { animation: why-us-path-ring-4 var(--why-us-cycle) ease-in-out infinite; }
.why-us-path-track.is-active .why-us-path-track__step:nth-child(5) .why-us-path-track__dot-ring { animation: why-us-path-ring-5 var(--why-us-cycle) ease-in-out infinite; }

@keyframes why-us-path-runner {
    0%, 8% { left: 0%; }
    10%, 18% { left: 25%; }
    20%, 28% { left: 50%; }
    30%, 38% { left: 75%; }
    40%, 48% { left: 100%; }
    52%, 100% { left: 0%; }
}

@keyframes why-us-path-fill {
    0%, 8% { width: 0%; }
    12%, 20% { width: 25%; }
    24%, 32% { width: 50%; }
    36%, 44% { width: 75%; }
    48%, 56% { width: 100%; }
    60%, 100% { width: 0%; }
}

.why-us-path-track__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.why-us-path-track__step {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
}

.why-us-path-track__dot {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.why-us-path-track__dot-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--track-color);
    opacity: 0;
    transform: scale(0.85);
}

.why-us-path-track__dot-core {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: #fff;
    border: 2px solid color-mix(in srgb, var(--track-color) 40%, white);
    box-shadow: 0 4px 14px rgba(78, 26, 121, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.why-us-path-track__label {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-color);
}

@keyframes why-us-path-core-1 {
    0%, 8% { transform: scale(1.15); box-shadow: 0 0 0 4px color-mix(in srgb, var(--track-color) 30%, transparent); }
    12%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(78, 26, 121, 0.12); }
}

@keyframes why-us-path-core-2 {
    0%, 9% { transform: scale(1); }
    10%, 18% { transform: scale(1.15); box-shadow: 0 0 0 4px color-mix(in srgb, var(--track-color) 30%, transparent); }
    22%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(78, 26, 121, 0.12); }
}

@keyframes why-us-path-core-3 {
    0%, 19% { transform: scale(1); }
    20%, 28% { transform: scale(1.15); box-shadow: 0 0 0 4px color-mix(in srgb, var(--track-color) 30%, transparent); }
    32%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(78, 26, 121, 0.12); }
}

@keyframes why-us-path-core-4 {
    0%, 29% { transform: scale(1); }
    30%, 38% { transform: scale(1.15); box-shadow: 0 0 0 4px color-mix(in srgb, var(--track-color) 30%, transparent); }
    42%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(78, 26, 121, 0.12); }
}

@keyframes why-us-path-core-5 {
    0%, 39% { transform: scale(1); }
    40%, 48% { transform: scale(1.15); box-shadow: 0 0 0 4px color-mix(in srgb, var(--track-color) 30%, transparent); }
    52%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(78, 26, 121, 0.12); }
}

@keyframes why-us-path-ring-1 {
    0%, 8% { opacity: 1; transform: scale(1.2); }
    12%, 100% { opacity: 0; transform: scale(0.85); }
}

@keyframes why-us-path-ring-2 {
    0%, 9% { opacity: 0; }
    10%, 18% { opacity: 1; transform: scale(1.2); }
    22%, 100% { opacity: 0; transform: scale(0.85); }
}

@keyframes why-us-path-ring-3 {
    0%, 19% { opacity: 0; }
    20%, 28% { opacity: 1; transform: scale(1.2); }
    32%, 100% { opacity: 0; transform: scale(0.85); }
}

@keyframes why-us-path-ring-4 {
    0%, 29% { opacity: 0; }
    30%, 38% { opacity: 1; transform: scale(1.2); }
    42%, 100% { opacity: 0; transform: scale(0.85); }
}

@keyframes why-us-path-ring-5 {
    0%, 39% { opacity: 0; }
    40%, 48% { opacity: 1; transform: scale(1.2); }
    52%, 100% { opacity: 0; transform: scale(0.85); }
}

/* Growth journey — path not course */
.why-us-journey {
    padding-top: 0;
}

.why-us-journey-anim {
    --journey-cycle: 13.5s;
    --journey-accent: #8E3CD9;
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 1.75rem;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 255, 0.92));
    border: 1px solid rgba(142, 60, 217, 0.14);
    box-shadow: 0 20px 50px rgba(78, 26, 121, 0.1);
}

.why-us-journey-anim__progress {
    position: relative;
    height: 6px;
    margin: 0 0 1.5rem;
    border-radius: 999px;
    background: rgba(78, 26, 121, 0.1);
    overflow: visible;
}

.why-us-journey-anim__progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #8E3CD9, #E84393, #3485B8);
    transition: width 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-us-journey-anim.is-stage-0 .why-us-journey-anim__progress-fill { width: 8%; }
.why-us-journey-anim.is-stage-1 .why-us-journey-anim__progress-fill { width: 50%; }
.why-us-journey-anim.is-stage-2 .why-us-journey-anim__progress-fill { width: 100%; }

.why-us-journey-anim__progress-runner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--journey-accent);
    box-shadow: 0 0 0 4px rgba(142, 60, 217, 0.15);
    transform: translate(-50%, -50%);
    transition: left 0.85s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease;
}

.why-us-journey-anim.is-stage-0 .why-us-journey-anim__progress-runner { left: 8%; border-color: #8E3CD9; }
.why-us-journey-anim.is-stage-1 .why-us-journey-anim__progress-runner { left: 50%; border-color: #E84393; }
.why-us-journey-anim.is-stage-2 .why-us-journey-anim__progress-runner { left: 100%; border-color: #3485B8; }

.why-us-journey-anim.is-active.is-stage-0 .why-us-journey-anim__progress-runner,
.why-us-journey-anim.is-active.is-stage-1 .why-us-journey-anim__progress-runner,
.why-us-journey-anim.is-active.is-stage-2 .why-us-journey-anim__progress-runner {
    animation: why-us-journey-runner-pulse 1.6s ease-in-out infinite;
}

@keyframes why-us-journey-runner-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(142, 60, 217, 0.15); }
    50% { box-shadow: 0 0 0 10px rgba(142, 60, 217, 0.08); }
}

.why-us-journey-panels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.why-us-journey-panel {
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    border: 2px solid transparent;
    box-shadow: 0 10px 28px rgba(30, 20, 50, 0.06);
    opacity: 0.62;
    transform: scale(0.96);
    cursor: pointer;
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease, box-shadow 0.45s ease;
}

.why-us-journey-anim.is-stage-0 .why-us-journey-panel[data-stage="0"],
.why-us-journey-anim.is-stage-1 .why-us-journey-panel[data-stage="1"],
.why-us-journey-anim.is-stage-2 .why-us-journey-panel[data-stage="2"] {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.why-us-journey-anim.is-stage-0 .why-us-journey-panel--purple[data-stage="0"] {
    border-color: rgba(142, 60, 217, 0.35);
    box-shadow: 0 18px 40px rgba(142, 60, 217, 0.18);
}

.why-us-journey-anim.is-stage-1 .why-us-journey-panel--orange[data-stage="1"] {
    border-color: rgba(232, 67, 147, 0.35);
    box-shadow: 0 18px 40px rgba(232, 67, 147, 0.16);
}

.why-us-journey-anim.is-stage-2 .why-us-journey-panel--blue[data-stage="2"] {
    border-color: rgba(52, 133, 184, 0.4);
    box-shadow: 0 18px 40px rgba(52, 133, 184, 0.18);
}

.why-us-journey-panel__age {
    display: inline-flex;
    align-self: center;
    margin: 1rem 1rem 0;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-family: var(--font-title);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
}

.why-us-journey-panel--purple .why-us-journey-panel__age { background: linear-gradient(90deg, #8E3CD9, #9C4FE3); }
.why-us-journey-panel--orange .why-us-journey-panel__age { background: linear-gradient(90deg, #E84393, #FF6B4A); }
.why-us-journey-panel--blue .why-us-journey-panel__age { background: linear-gradient(90deg, #3485B8, #4BA3D8); }

.why-us-journey-panel__figure {
    position: relative;
    margin: 0.85rem 0.75rem 0;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    background: #f4f0fa;
}

.why-us-journey-panel--orange .why-us-journey-panel__figure { background: #fff3ee; }
.why-us-journey-panel--blue .why-us-journey-panel__figure { background: #eef6fc; }

.why-us-journey-panel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: saturate(0.92) brightness(0.97);
}

.why-us-journey-anim.is-stage-0 .why-us-journey-panel[data-stage="0"] .why-us-journey-panel__img,
.why-us-journey-anim.is-stage-1 .why-us-journey-panel[data-stage="1"] .why-us-journey-panel__img,
.why-us-journey-anim.is-stage-2 .why-us-journey-panel[data-stage="2"] .why-us-journey-panel__img {
    filter: saturate(1.05) brightness(1);
    transform: scale(1.02);
}

.why-us-journey-panel__body {
    padding: 1rem 1rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.why-us-journey-panel__title {
    margin: 0 0 0.4rem;
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: var(--primary-color);
}

.why-us-journey-panel__text {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
    flex: 1;
}

.why-us-journey-panel__courses-count {
    margin: 0 0 0.55rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.why-us-journey-panel__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 9.5rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(142, 60, 217, 0.35) transparent;
}

.why-us-journey-panel__chips li {
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.25;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: var(--chip-delay, 0s);
}

.why-us-journey-panel__chips a {
    color: inherit;
    text-decoration: none;
}

.why-us-journey-panel__chips a:hover,
.why-us-journey-panel__chips a:focus-visible {
    text-decoration: underline;
}

.why-us-journey-panel--purple .why-us-journey-panel__chips li {
    background: rgba(142, 60, 217, 0.1);
    color: #6b2fa8;
}

.why-us-journey-panel--orange .why-us-journey-panel__chips li {
    background: rgba(232, 67, 147, 0.1);
    color: #c42d6f;
}

.why-us-journey-panel--blue .why-us-journey-panel__chips li {
    background: rgba(52, 133, 184, 0.12);
    color: #2a6f9e;
}

.why-us-journey-anim.is-stage-0 .why-us-journey-panel[data-stage="0"] .why-us-journey-panel__chips li,
.why-us-journey-anim.is-stage-1 .why-us-journey-panel[data-stage="1"] .why-us-journey-panel__chips li,
.why-us-journey-anim.is-stage-2 .why-us-journey-panel[data-stage="2"] .why-us-journey-panel__chips li {
    opacity: 1;
    transform: translateY(0);
}

.why-us-journey-anim__caption {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Subscription ladder */
.why-us-ladder {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 2.5rem;
}

.why-us-ladder__spine {
    position: absolute;
    left: 1.1rem;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 5px;
    border-radius: 999px;
    background: rgba(78, 26, 121, 0.1);
    overflow: visible;
}

.why-us-ladder__spine-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    border-radius: inherit;
    background: linear-gradient(180deg, #22c55e, #3485B8, #8E3CD9, #ef4444);
    box-shadow: 0 0 12px rgba(142, 60, 217, 0.35);
    transition: height 0.8s ease;
}

.why-us-ladder__runner {
    position: absolute;
    left: 50%;
    top: 0%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-color);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary-color) 25%, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-us-ladder.is-active .why-us-ladder__runner {
    opacity: 1;
    transition: top 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-us-ladder.is-active .why-us-ladder__spine-fill {
    transition: height 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-us-ladder.is-level-0 .why-us-ladder__runner { top: 0%; }
.why-us-ladder.is-level-0 .why-us-ladder__spine-fill { height: 0%; }
.why-us-ladder.is-level-1 .why-us-ladder__runner { top: 33.33%; }
.why-us-ladder.is-level-1 .why-us-ladder__spine-fill { height: 33.33%; }
.why-us-ladder.is-level-2 .why-us-ladder__runner { top: 66.66%; }
.why-us-ladder.is-level-2 .why-us-ladder__spine-fill { height: 66.66%; }
.why-us-ladder.is-level-3 .why-us-ladder__runner { top: 100%; }
.why-us-ladder.is-level-3 .why-us-ladder__spine-fill { height: 100%; }

.why-us-levels {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.why-us-level {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(78, 26, 121, 0.1);
    box-shadow: 0 8px 24px rgba(78, 26, 121, 0.06);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    cursor: pointer;
}

.why-us-ladder.is-active .why-us-level[data-level] {
    animation: why-us-level-pop 0.5s ease forwards;
}

.why-us-ladder.is-level-0 .why-us-level[data-level="0"],
.why-us-ladder.is-level-1 .why-us-level[data-level="1"],
.why-us-ladder.is-level-2 .why-us-level[data-level="2"],
.why-us-ladder.is-level-3 .why-us-level[data-level="3"] {
    padding: 1.2rem 1.3rem;
    transform: translateX(4px);
}

@keyframes why-us-level-pop {
    from { opacity: 0.6; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

.why-us-level__node {
    position: relative;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -2.85rem;
}

.why-us-level__node-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
}

.why-us-ladder.is-level-0 .why-us-level[data-level="0"] .why-us-level__node-ring,
.why-us-ladder.is-level-1 .why-us-level[data-level="1"] .why-us-level__node-ring,
.why-us-ladder.is-level-2 .why-us-level[data-level="2"] .why-us-level__node-ring,
.why-us-ladder.is-level-3 .why-us-level[data-level="3"] .why-us-level__node-ring {
    opacity: 1;
    animation: why-us-level-ring-pulse 1.6s ease-in-out infinite;
}

@keyframes why-us-level-ring-pulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.18); opacity: 1; }
}

.why-us-level__dot {
    font-size: 1.15rem;
    line-height: 1;
}

.why-us-level__body {
    flex: 1;
    min-width: 0;
}

.why-us-level__headline,
.why-us-level__audience,
.why-us-level__label,
.why-us-level__list li,
.why-us-level__frequency,
.why-us-level__result {
    color: var(--text-color);
    font-size: 0.88rem;
    line-height: 1.5;
}

.why-us-level__headline {
    margin: 0;
    font-weight: 700;
}

.why-us-level__number {
    font-weight: 800;
}

.why-us-level__details {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1), margin 0.4s ease;
    margin-top: 0;
}

.why-us-level__details-inner {
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-us-ladder.is-level-0 .why-us-level[data-level="0"] .why-us-level__details,
.why-us-ladder.is-level-1 .why-us-level[data-level="1"] .why-us-level__details,
.why-us-ladder.is-level-2 .why-us-level[data-level="2"] .why-us-level__details,
.why-us-ladder.is-level-3 .why-us-level[data-level="3"] .why-us-level__details {
    grid-template-rows: 1fr;
    margin-top: 0.85rem;
}

.why-us-ladder.is-level-0 .why-us-level[data-level="0"] .why-us-level__details-inner,
.why-us-ladder.is-level-1 .why-us-level[data-level="1"] .why-us-level__details-inner,
.why-us-ladder.is-level-2 .why-us-level[data-level="2"] .why-us-level__details-inner,
.why-us-ladder.is-level-3 .why-us-level[data-level="3"] .why-us-level__details-inner {
    opacity: 1;
    transform: translateY(0);
}

.why-us-level__audience {
    margin: 0 0 0.75rem;
    font-weight: 500;
}

.why-us-level__block {
    margin-bottom: 0.75rem;
}

.why-us-level__block--result {
    margin-bottom: 0;
}

.why-us-level__label {
    margin: 0 0 0.35rem;
    font-weight: 700;
}

.why-us-level__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.why-us-level__list li {
    position: relative;
    padding-left: 1rem;
    font-weight: 500;
}

.why-us-level__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-color);
    opacity: 0.35;
}

.why-us-level__frequency {
    margin: 0 0 0.75rem;
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    background: rgba(78, 26, 121, 0.06);
    font-weight: 600;
}

.why-us-level__result {
    margin: 0;
    font-weight: 500;
}

.why-us-level--start { border-left: 4px solid #22c55e; }
.why-us-level--build { border-left: 4px solid #3485B8; }
.why-us-level--pro { border-left: 4px solid #8E3CD9; }
.why-us-level--elite { border-left: 4px solid #ef4444; }

.why-us-level--start .why-us-level__node { color: #22c55e; }
.why-us-level--build .why-us-level__node { color: #3485B8; }
.why-us-level--pro .why-us-level__node { color: #8E3CD9; }
.why-us-level--elite .why-us-level__node { color: #ef4444; }

.why-us-ladder.is-level-0 .why-us-level--start[data-level="0"] {
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: 0 14px 34px rgba(34, 197, 94, 0.14);
}

.why-us-ladder.is-level-1 .why-us-level--build[data-level="1"] {
    border-color: rgba(52, 133, 184, 0.45);
    box-shadow: 0 14px 34px rgba(52, 133, 184, 0.14);
}

.why-us-ladder.is-level-2 .why-us-level--pro[data-level="2"] {
    border-color: rgba(142, 60, 217, 0.45);
    box-shadow: 0 14px 34px rgba(142, 60, 217, 0.14);
}

.why-us-ladder.is-level-3 .why-us-level--elite[data-level="3"] {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 14px 34px rgba(239, 68, 68, 0.14);
}

/* Future professions */
.why-us-future-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.why-us-future-visual {
    position: relative;
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(142, 60, 217, 0.12), rgba(99, 208, 214, 0.14));
    border: 1px solid color-mix(in srgb, var(--primary-color) 18%, white);
    box-shadow: 0 18px 42px rgba(78, 26, 121, 0.1);
}

.why-us-future-visual__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    transform: scale(1.02);
    transition: transform 1.2s ease, opacity 0.8s ease;
}

.why-us-future-visual.is-visible .why-us-future-visual__bg {
    opacity: 0.5;
    transform: scale(1);
}

.why-us-future-visual__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.55), transparent 58%),
        radial-gradient(circle at 30% 80%, rgba(142, 60, 217, 0.16), transparent 45%),
        radial-gradient(circle at 78% 22%, rgba(99, 208, 214, 0.14), transparent 40%);
    pointer-events: none;
}

.why-us-future-visual__svg {
    position: absolute;
    inset: 10%;
    width: 80%;
    height: 80%;
    margin: auto;
    overflow: visible;
    pointer-events: none;
}

.why-us-future-visual__ring {
    fill: none;
    stroke: color-mix(in srgb, var(--primary-color) 22%, white);
    stroke-width: 1.5;
    stroke-dasharray: 465;
    stroke-dashoffset: 465;
    opacity: 0.85;
    transition: stroke-dashoffset 1.4s ease;
}

.why-us-future-visual.is-visible .why-us-future-visual__ring {
    stroke-dashoffset: 0;
}

.why-us-future-visual__spoke {
    stroke: color-mix(in srgb, var(--secondary-color) 45%, white);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 74;
    stroke-dashoffset: 74;
    opacity: 0.55;
}

.why-us-future-visual.is-visible .why-us-future-visual__spoke {
    animation: why-us-future-spoke-in 0.9s ease forwards;
}

.why-us-future-visual.is-visible .why-us-future-visual__spoke:nth-of-type(1) { animation-delay: 0.08s; }
.why-us-future-visual.is-visible .why-us-future-visual__spoke:nth-of-type(2) { animation-delay: 0.16s; }
.why-us-future-visual.is-visible .why-us-future-visual__spoke:nth-of-type(3) { animation-delay: 0.24s; }
.why-us-future-visual.is-visible .why-us-future-visual__spoke:nth-of-type(4) { animation-delay: 0.32s; }
.why-us-future-visual.is-visible .why-us-future-visual__spoke:nth-of-type(5) { animation-delay: 0.4s; }
.why-us-future-visual.is-visible .why-us-future-visual__spoke:nth-of-type(6) { animation-delay: 0.48s; }

@keyframes why-us-future-spoke-in {
    to { stroke-dashoffset: 0; opacity: 0.9; }
}

.why-us-future-visual__hub-glow {
    fill: color-mix(in srgb, var(--primary-color) 18%, white);
    opacity: 0;
    transform-origin: center;
    transform-box: fill-box;
}

.why-us-future-visual.is-visible .why-us-future-visual__hub-glow {
    animation: why-us-future-hub-glow 3.5s ease-in-out infinite;
    animation-delay: 0.6s;
}

@keyframes why-us-future-hub-glow {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(1.08); }
}

.why-us-future-visual__hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34%;
    max-width: 118px;
    aspect-ratio: 1;
    transform: translate(-50%, -52%) scale(0.88);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid color-mix(in srgb, var(--primary-color) 22%, white);
    box-shadow: 0 14px 34px rgba(78, 26, 121, 0.14);
    z-index: 2;
}

.why-us-future-visual.is-visible .why-us-future-visual__hub {
    animation: why-us-future-hub-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.15s;
}

@keyframes why-us-future-hub-in {
    to { opacity: 1; transform: translate(-50%, -52%) scale(1); }
}

.why-us-future-visual__hub-img {
    width: 72%;
    height: auto;
    filter: drop-shadow(0 6px 14px rgba(78, 26, 121, 0.12));
}

.why-us-future-visual__nodes {
    position: absolute;
    inset: 10%;
    z-index: 3;
    pointer-events: none;
}

.why-us-future-visual__node {
    --node-angle: calc(var(--node-i, 0) * 60deg - 90deg);
    --node-radius: 74px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    transform: rotate(var(--node-angle)) translateY(calc(-1 * var(--node-radius))) rotate(calc(-1 * var(--node-angle))) scale(0.6);
    opacity: 0;
}

.why-us-future-visual.is-visible .why-us-future-visual__node {
    animation: why-us-future-node-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.35s + var(--node-i, 0) * 0.1s);
}

@keyframes why-us-future-node-in {
    to {
        opacity: 1;
        transform: rotate(var(--node-angle)) translateY(calc(-1 * var(--node-radius))) rotate(calc(-1 * var(--node-angle))) scale(1);
    }
}

.why-us-future-visual__node-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid color-mix(in srgb, var(--primary-color) 28%, white);
    box-shadow: 0 8px 20px rgba(78, 26, 121, 0.12);
}

.why-us-future-visual.is-visible .why-us-future-visual__node:nth-child(odd) .why-us-future-visual__node-icon {
    animation: why-us-future-node-breathe 4s ease-in-out infinite;
    animation-delay: calc(1s + var(--node-i, 0) * 0.35s);
}

@keyframes why-us-future-node-breathe {
    0%, 100% { box-shadow: 0 8px 20px rgba(78, 26, 121, 0.12); transform: translateY(0); }
    50% { box-shadow: 0 12px 26px rgba(142, 60, 217, 0.2); transform: translateY(-3px); }
}

.why-us-professions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.why-us-professions__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    font-weight: 600;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(78, 26, 121, 0.1);
    box-shadow: 0 6px 20px rgba(78, 26, 121, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.why-us-professions__item:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 28px rgba(78, 26, 121, 0.12);
}

.why-us-professions__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary-color) 10%, white);
    border: 1px solid color-mix(in srgb, var(--primary-color) 20%, white);
}

/* Checklist with meters */
.why-us-checklist {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 680px;
    display: grid;
    gap: 0.85rem;
}

.why-us-checklist__item {
    padding: 1rem 1.2rem 0.85rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(78, 26, 121, 0.1);
    box-shadow: 0 6px 20px rgba(78, 26, 121, 0.06);
}

.why-us-checklist__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.why-us-checklist__icon {
    flex-shrink: 0;
    font-size: 1.2rem;
}

.why-us-checklist__text {
    flex: 1;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-color);
}

.why-us-checklist__check {
    color: var(--primary-color);
    font-weight: 800;
}

.why-us-checklist__meter {
    height: 6px;
    border-radius: 999px;
    background: rgba(78, 26, 121, 0.08);
    overflow: hidden;
}

.why-us-checklist__meter-fill {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 1.1s ease;
}

.why-us-checklist__item.is-visible .why-us-checklist__meter-fill {
    width: calc(var(--meter-pct, 0) * 1%);
}

/* Start path form */
.why-us-start-form {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.why-us-start-form__card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: center;
    max-width: 920px;
    margin: 0 auto;
    padding: 2rem 2.25rem;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(142, 60, 217, 0.07));
    border: 1px solid color-mix(in srgb, var(--primary-color) 18%, white);
    box-shadow: 0 20px 50px rgba(78, 26, 121, 0.12);
}

.why-us-start-form__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    min-height: 220px;
}

.why-us-start-form__path {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 260px;
}

.why-us-start-form__path-dot {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid color-mix(in srgb, var(--primary-color) 35%, white);
    box-shadow: 0 6px 16px rgba(78, 26, 121, 0.1);
    animation: why-us-start-dot-pulse 2.4s ease-in-out infinite;
}

.why-us-start-form__path-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.why-us-start-form__path-dot:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes why-us-start-dot-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 6px 16px rgba(78, 26, 121, 0.1); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary-color) 20%, transparent); }
}

.why-us-start-form__path-line {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: rgba(78, 26, 121, 0.12);
    position: relative;
    overflow: hidden;
}

.why-us-start-form__path-line::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: why-us-start-line-fill 2.4s ease-in-out infinite;
}

.why-us-start-form__path-line:nth-of-type(2)::after {
    animation-delay: 0.4s;
}

@keyframes why-us-start-line-fill {
    0%, 20% { width: 0%; }
    50%, 70% { width: 100%; }
    100% { width: 0%; }
}

.why-us-start-form__img {
    width: 64px;
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(78, 26, 121, 0.18));
    animation: why-us-rocket-launch 3s ease-in-out infinite;
}

.why-us-start-form__title {
    margin: 0.65rem 0 0.5rem;
    font-family: var(--font-title);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    line-height: 1.25;
    color: var(--primary-color);
}

.why-us-start-form__subtitle {
    margin: 0 0 1.35rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.why-us-start-form__form .form-group {
    margin-bottom: 0.85rem;
}

.why-us-start-form__form .form-input {
    width: 100%;
}

.why-us-start-form__cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.why-us-start-form__cta-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.why-us-start-form__cta:hover .why-us-start-form__cta-icon {
    transform: translateX(4px);
}

.why-us-start-form__form .craftkid-form-notice {
    margin-bottom: 0.75rem;
}

/* Practice grid */
.why-us-practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.why-us-practice-card {
    position: relative;
    padding: 1.5rem 1rem 1.25rem;
    border-radius: 18px;
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(142, 60, 217, 0.06));
    border: 1px solid color-mix(in srgb, var(--primary-color) 18%, white);
    box-shadow: 0 10px 28px rgba(78, 26, 121, 0.08);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.why-us-practice-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(78, 26, 121, 0.14);
}

.why-us-practice-card__scene {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    opacity: 0.5;
}

.why-us-practice-card__scene--1 { background: linear-gradient(135deg, #8E3CD9, #63D0D6); animation: why-us-scene-pulse 2s ease-in-out infinite; }
.why-us-practice-card__scene--2 { background: linear-gradient(135deg, #3485B8, #63D0D6); animation: why-us-scene-pulse 2.3s ease-in-out infinite 0.2s; }
.why-us-practice-card__scene--3 { background: linear-gradient(135deg, #8E3CD9, #ef4444); animation: why-us-scene-pulse 2.1s ease-in-out infinite 0.4s; }
.why-us-practice-card__scene--4 { background: linear-gradient(135deg, #22c55e, #3485B8); animation: why-us-scene-pulse 2.4s ease-in-out infinite 0.1s; }
.why-us-practice-card__scene--5 { background: linear-gradient(135deg, #ef4444, #8E3CD9); animation: why-us-scene-pulse 2.2s ease-in-out infinite 0.3s; }

@keyframes why-us-scene-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.45; }
    50% { transform: scale(1.12) rotate(6deg); opacity: 0.75; }
}

.why-us-practice-card__icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.55rem;
    animation: why-us-icon-bob 3s ease-in-out infinite;
}

.why-us-practice-card:nth-child(2) .why-us-practice-card__icon { animation-delay: 0.3s; }
.why-us-practice-card:nth-child(3) .why-us-practice-card__icon { animation-delay: 0.6s; }
.why-us-practice-card:nth-child(4) .why-us-practice-card__icon { animation-delay: 0.15s; }
.why-us-practice-card:nth-child(5) .why-us-practice-card__icon { animation-delay: 0.45s; }

@keyframes why-us-icon-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.why-us-practice-card__text {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--primary-color);
    line-height: 1.35;
}

/* Trajectory map */
.why-us-trajectory-map {
    max-width: 800px;
    margin: 0 auto 1.75rem;
    padding: 0 1rem;
}

.why-us-trajectory-map__svg {
    width: 100%;
    height: auto;
    display: block;
}

.why-us-trajectory-map__trunk,
.why-us-trajectory-map__branch {
    fill: none;
    stroke: rgba(78, 26, 121, 0.15);
    stroke-width: 4;
    stroke-linecap: round;
}

.why-us-trajectory-map.is-active .why-us-trajectory-map__trunk,
.why-us-trajectory-map.is-active .why-us-trajectory-map__branch {
    stroke: url(#why-us-path-gradient);
    stroke: var(--secondary-color);
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: why-us-branch-draw 3s ease forwards;
}

.why-us-trajectory-map.is-active .why-us-trajectory-map__branch--1 { animation-delay: 0.3s; }
.why-us-trajectory-map.is-active .why-us-trajectory-map__branch--2 { animation-delay: 0.5s; }
.why-us-trajectory-map.is-active .why-us-trajectory-map__branch--3 { animation-delay: 0.2s; }
.why-us-trajectory-map.is-active .why-us-trajectory-map__branch--4 { animation-delay: 0.6s; }
.why-us-trajectory-map.is-active .why-us-trajectory-map__branch--5 { animation-delay: 0.8s; }

@keyframes why-us-branch-draw {
    to { stroke-dashoffset: 0; }
}

.why-us-trajectory-map__hub {
    fill: var(--primary-color);
    opacity: 0.35;
    transform-box: fill-box;
    transform-origin: center;
}

.why-us-trajectory-map.is-active .why-us-trajectory-map__hub {
    animation: why-us-hub-pulse 2s ease-in-out infinite;
}

@keyframes why-us-hub-pulse {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.25); }
}

.why-us-trajectory-map__runner {
    fill: var(--secondary-color);
    opacity: 0;
}

.why-us-trajectory-map.is-active .why-us-trajectory-map__runner {
    opacity: 1;
    animation: why-us-traj-runner 6s ease-in-out infinite;
}

@keyframes why-us-traj-runner {
    0%, 15% { cx: 400; cy: 20; }
    20%, 30% { cx: 400; cy: 120; }
    35%, 45% { cx: 100; cy: 200; }
    50%, 100% { cx: 400; cy: 20; }
}

.why-us-directions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    max-width: 820px;
    margin: 0 auto;
}

.why-us-directions__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid color-mix(in srgb, var(--secondary-color) 35%, white);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.why-us-directions__tag.is-visible:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 22px rgba(78, 26, 121, 0.12);
}

.why-us-directions__icon {
    font-size: 1.05rem;
}

.why-us-directions__tag--games.is-visible { animation: why-us-tag-glow 3s ease-in-out infinite; }
.why-us-directions__tag--code.is-visible { animation: why-us-tag-glow 3s ease-in-out infinite 0.4s; }
.why-us-directions__tag--ai.is-visible { animation: why-us-tag-glow 3s ease-in-out infinite 0.8s; }
.why-us-directions__tag--robot.is-visible { animation: why-us-tag-glow 3s ease-in-out infinite 1.2s; }
.why-us-directions__tag--design.is-visible { animation: why-us-tag-glow 3s ease-in-out infinite 1.6s; }

@keyframes why-us-tag-glow {
    0%, 100% { border-color: color-mix(in srgb, var(--secondary-color) 35%, white); }
    50% { border-color: var(--secondary-color); box-shadow: 0 0 12px color-mix(in srgb, var(--secondary-color) 40%, transparent); }
}

/* Final */
.why-us-final {
    padding-bottom: 5rem;
}

.why-us-final-box {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    border-radius: 28px;
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(142, 60, 217, 0.08));
    border: 1px solid color-mix(in srgb, var(--primary-color) 20%, white);
    box-shadow: 0 20px 50px rgba(78, 26, 121, 0.12);
    overflow: hidden;
}

.why-us-final-visual {
    margin: -0.5rem auto 1rem;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-final-rocket-wrap {
    position: relative;
    display: inline-block;
}

.why-us-final-rocket {
    width: 72px;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(78, 26, 121, 0.2));
    animation: why-us-rocket-launch 3s ease-in-out infinite;
}

@keyframes why-us-rocket-launch {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    40%, 60% { transform: translateY(-18px) rotate(-4deg); }
}

.why-us-final-rocket__trail {
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 8px;
    height: 0;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, #ef4444, #fbbf24, transparent);
    opacity: 0.7;
    animation: why-us-trail-flicker 3s ease-in-out infinite;
}

.why-us-final-rocket__trail--2 {
    width: 5px;
    left: calc(50% + 6px);
    animation-delay: 0.15s;
}

@keyframes why-us-trail-flicker {
    0%, 30%, 100% { height: 0; opacity: 0; }
    40%, 70% { height: 36px; opacity: 0.8; }
}

.why-us-final-title {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0.75rem 0 1rem;
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.2;
    color: var(--primary-color);
}

.why-us-final-title__accent {
    color: var(--secondary-color);
}

.why-us-final-essence {
    margin: 1.25rem auto 1.75rem;
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--primary-color);
    max-width: 560px;
}

.why-us-final-ctas {
    justify-content: center;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .why-us-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .why-us-hero-orbit__dot,
    .why-us-hero-img,
    .why-us-hero-progress-ring__fill,
    .why-us-stat__ring-fill,
    .why-us-contrast__vs,
    .why-us-contrast__scene--chaos span,
    .why-us-contrast__img,
    .why-us-journey-anim.is-active .why-us-journey-anim__progress-runner,
    .why-us-journey-panel__chips li,
    .why-us-path-track.is-active .why-us-path-track__fill,
    .why-us-path-track.is-active .why-us-path-track__runner,
    .why-us-path-track.is-active .why-us-path-track__dot-core,
    .why-us-path-track.is-active .why-us-path-track__dot-ring,
    .why-us-ladder.is-active .why-us-ladder__spine-fill,
    .why-us-ladder.is-active .why-us-ladder__runner,
    .why-us-ladder.is-active .why-us-level__node-ring,
    .why-us-future-visual__bg,
    .why-us-future-visual.is-visible .why-us-future-visual__ring,
    .why-us-future-visual.is-visible .why-us-future-visual__spoke,
    .why-us-future-visual.is-visible .why-us-future-visual__hub,
    .why-us-future-visual.is-visible .why-us-future-visual__hub-glow,
    .why-us-future-visual.is-visible .why-us-future-visual__node,
    .why-us-future-visual.is-visible .why-us-future-visual__node-icon,
    .why-us-practice-card__scene,
    .why-us-practice-card__icon,
    .why-us-trajectory-map.is-active .why-us-trajectory-map__runner,
    .why-us-directions__tag.is-visible,
    .why-us-final-rocket,
    .why-us-final-rocket__trail,
    .why-us-start-form__path-dot,
    .why-us-start-form__path-line::after,
    .why-us-start-form__img {
        animation: none !important;
    }

    .why-us-path-track.is-active .why-us-path-track__fill {
        width: 100%;
    }

    .why-us-journey-anim.is-stage-2 .why-us-journey-anim__progress-fill {
        width: 100%;
    }

    .why-us-journey-panel {
        opacity: 1;
        transform: none;
    }

    .why-us-journey-panel__chips li {
        opacity: 1;
        transform: none;
    }

    .why-us-ladder.is-active .why-us-ladder__spine-fill {
        height: 100%;
    }

    .why-us-checklist__item.is-visible .why-us-checklist__meter-fill {
        width: calc(var(--meter-pct, 0) * 1%);
    }

    .why-us-future-visual.is-visible .why-us-future-visual__ring {
        stroke-dashoffset: 0;
    }

    .why-us-future-visual.is-visible .why-us-future-visual__spoke {
        stroke-dashoffset: 0;
        opacity: 0.9;
    }

    .why-us-future-visual.is-visible .why-us-future-visual__hub {
        opacity: 1;
        transform: translate(-50%, -52%) scale(1);
    }

    .why-us-future-visual.is-visible .why-us-future-visual__node {
        opacity: 1;
        transform: rotate(var(--node-angle)) translateY(calc(-1 * var(--node-radius))) rotate(calc(-1 * var(--node-angle))) scale(1);
    }
}

@media (max-width: 900px) {
    .why-us-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-us-hero-visual {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

    .why-us-hero-orbit {
        width: 100%;
    }

    @keyframes why-us-orbit-1 {
        from { transform: rotate(0deg) translateX(115px) rotate(0deg); }
        to { transform: rotate(360deg) translateX(115px) rotate(-360deg); }
    }

    .why-us-contrast {
        grid-template-columns: 1fr;
    }

    .why-us-contrast__vs {
        justify-self: center;
    }

    .why-us-level__node {
        margin-left: 0;
    }

    .why-us-ladder {
        padding-left: 0;
    }

    .why-us-ladder__spine {
        display: none;
    }

    .why-us-future-layout {
        grid-template-columns: 1fr;
    }

    .why-us-future-visual {
        max-width: 320px;
        margin: 0 auto;
    }

    .why-us-future-visual__node {
        --node-radius: 58px;
        width: 40px;
        height: 40px;
        margin: -20px 0 0 -20px;
    }

    .why-us-professions {
        grid-template-columns: 1fr;
    }

    .why-us-start-form__card {
        grid-template-columns: 1fr;
        padding: 1.75rem 1.35rem;
    }

    .why-us-start-form__visual {
        min-height: auto;
        padding-bottom: 0.25rem;
    }

    .why-us-path-track__label {
        font-size: 0.68rem;
    }

    .why-us-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .why-us-hero-ctas .cta-button {
        text-align: center;
    }

    .why-us-journey-panels {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .why-us-journey-panel {
        opacity: 1;
        transform: none;
    }

    .why-us-journey-panel__figure {
        height: 200px;
    }

    .why-us-journey-anim.is-stage-0 .why-us-journey-panel:not([data-stage="0"]),
    .why-us-journey-anim.is-stage-1 .why-us-journey-panel:not([data-stage="1"]),
    .why-us-journey-anim.is-stage-2 .why-us-journey-panel:not([data-stage="2"]) {
        display: none;
    }

    .why-us-journey-anim.is-stage-0 .why-us-journey-panel[data-stage="0"],
    .why-us-journey-anim.is-stage-1 .why-us-journey-panel[data-stage="1"],
    .why-us-journey-anim.is-stage-2 .why-us-journey-panel[data-stage="2"] {
        display: flex;
    }
}

/* ==========================================
   PACKAGES PROMO BANNER
   ========================================== */

.packages-promo-section {
    padding: 0 0 2.5rem;
}

.advantages-section .packages-promo-banner {
    margin-top: 2.5rem;
}

.packages-promo-banner {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem 2.25rem;
    background: linear-gradient(135deg, rgba(78, 26, 121, 0.94) 0%, rgba(52, 133, 184, 0.88) 55%, rgba(99, 208, 214, 0.75) 100%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 24px;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 20px 50px rgba(78, 26, 121, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    animation: packages-promo-glow 4.5s ease-in-out infinite;
}

.packages-promo-banner__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    opacity: 0.45;
}

.packages-promo-banner__glow--1 {
    width: 220px;
    height: 220px;
    top: -80px;
    right: 10%;
    background: var(--accent-orange);
    animation: packages-promo-drift 7s ease-in-out infinite;
}

.packages-promo-banner__glow--2 {
    width: 180px;
    height: 180px;
    bottom: -60px;
    left: 35%;
    background: var(--accent-mint);
    animation: packages-promo-drift 8s ease-in-out infinite reverse;
}

.packages-promo-banner__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
    transform: translateX(-120%);
    animation: all-courses-shine 5.5s ease-in-out infinite;
    pointer-events: none;
}

.packages-promo-banner:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow:
        0 28px 60px rgba(78, 26, 121, 0.32),
        0 0 50px rgba(255, 159, 67, 0.15);
    color: #fff;
}

.packages-promo-banner__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    z-index: 1;
}

.packages-promo-banner__orb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 170px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    animation: packages-promo-orb-float 5s ease-in-out infinite;
}

.packages-promo-banner__orb-icon {
    font-size: 1.5rem;
    margin-bottom: 0.15rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.packages-promo-banner__discount {
    display: flex;
    align-items: flex-start;
    line-height: 1;
}

.packages-promo-banner__discount-num {
    font-family: var(--font-title);
    font-size: 3.25rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.packages-promo-banner__discount-pct {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-top: 0.35rem;
}

.packages-promo-banner__discount-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.2rem;
}

.packages-promo-banner__chip {
    position: absolute;
    padding: 0.35rem 0.7rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50px;
    font-family: var(--font-title);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    animation: packages-promo-chip-float 4s ease-in-out infinite;
}

.packages-promo-banner__chip--1 {
    top: 8%;
    right: 4%;
    color: var(--accent-orange);
    animation-delay: 0s;
}

.packages-promo-banner__chip--2 {
    bottom: 18%;
    left: 0;
    animation-delay: 1.3s;
}

.packages-promo-banner__chip--3 {
    top: 42%;
    right: -2%;
    animation-delay: 2.6s;
    font-size: 0.72rem;
}

.packages-promo-banner__content {
    position: relative;
    z-index: 1;
}

.packages-promo-banner__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.45rem;
}

.packages-promo-banner__title {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.65rem;
    line-height: 1.2;
}

.packages-promo-banner__text {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1rem;
    max-width: 520px;
}

.packages-promo-banner__perks {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.packages-promo-banner__perks li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.packages-promo-banner__perks li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(255, 159, 67, 0.9);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.packages-promo-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: gap 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.packages-promo-banner:hover .packages-promo-banner__cta {
    gap: 0.65rem;
    background: #fff;
    transform: translateX(2px);
}

@keyframes packages-promo-glow {
    0%, 100% {
        box-shadow:
            0 20px 50px rgba(78, 26, 121, 0.22),
            0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    }
    50% {
        box-shadow:
            0 24px 56px rgba(78, 26, 121, 0.3),
            0 0 40px rgba(255, 159, 67, 0.12);
    }
}

@keyframes packages-promo-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -8px) scale(1.08); }
}

@keyframes packages-promo-orb-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes packages-promo-chip-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.03); }
}

@media (max-width: 768px) {
    .packages-promo-banner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.75rem 1.5rem;
        gap: 1.5rem;
    }

    .packages-promo-banner__visual {
        min-height: 170px;
    }

    .packages-promo-banner__text,
    .packages-promo-banner__perks {
        margin-left: auto;
        margin-right: auto;
    }

    .packages-promo-banner__perks li {
        justify-content: center;
    }

    .packages-promo-banner__chip--2 {
        left: 8%;
    }

    .packages-promo-banner__chip--3 {
        right: 8%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .packages-promo-banner,
    .packages-promo-banner__glow,
    .packages-promo-banner__shine,
    .packages-promo-banner__orb,
    .packages-promo-banner__chip {
        animation: none;
    }
}

/* ==========================================
   PACKAGES PAGE
   ========================================== */

.packages-page {
    overflow-x: clip;
    max-width: 100%;
}

.packages-section {
    padding: 4rem 0;
}

.packages-section-head {
    margin-bottom: 2.5rem;
}

.packages-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0.75rem auto 0;
}

.packages-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.packages-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero */
.packages-hero {
    padding: 4rem 0 3rem;
}

.packages-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.packages-hero-title {
    font-family: var(--font-title);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--primary-color);
    line-height: 1.2;
    margin: 0.75rem 0 1rem;
}

.packages-hero-title__line {
    display: block;
}

.packages-hero-title__line--accent {
    color: var(--accent-orange);
}

.packages-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    max-width: 560px;
}

.packages-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.packages-hero-chip {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: var(--glass-shadow);
    min-width: 120px;
}

.packages-hero-chip__value {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.packages-hero-chip__label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    line-height: 1.35;
}

.packages-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.packages-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
}

.packages-hero-orbit {
    position: relative;
    width: 280px;
    height: 280px;
}

.packages-hero-card {
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: linear-gradient(145deg, rgba(78, 26, 121, 0.95), rgba(82, 157, 181, 0.9));
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(78, 26, 121, 0.25);
    animation: packages-card-float 5s ease-in-out infinite;
}

.packages-hero-card__icon {
    font-size: 2.5rem;
}

.packages-hero-card__label {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
}

.packages-hero-card__discount {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-orange);
}

.packages-hero-badge {
    position: absolute;
    padding: 0.45rem 0.85rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: var(--glass-shadow);
    animation: packages-badge-float 4s ease-in-out infinite;
}

.packages-hero-badge--1 {
    top: 8%;
    right: 0;
    animation-delay: 0s;
    color: var(--accent-orange);
}

.packages-hero-badge--2 {
    bottom: 18%;
    left: -8%;
    animation-delay: 1.2s;
}

.packages-hero-badge--3 {
    top: 42%;
    right: -12%;
    animation-delay: 2.4s;
    color: var(--secondary-color);
}

@keyframes packages-card-float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}

@keyframes packages-badge-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.04); }
}

/* Pains */
.packages-pains-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.packages-pain-card {
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.packages-pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(78, 26, 121, 0.1);
}

.packages-pain-card__icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.75rem;
}

.packages-pain-card__title {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.packages-pain-card__text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

/* UTP */
.packages-utp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.packages-utp-card {
    position: relative;
    padding: 2rem 1.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.packages-utp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(78, 26, 121, 0.12);
}

.packages-utp-card__glow {
    position: absolute;
    top: -40%;
    right: -30%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    opacity: 0.35;
    filter: blur(40px);
    pointer-events: none;
    animation: packages-utp-glow 6s ease-in-out infinite;
}

.packages-utp-card--system .packages-utp-card__glow {
    background: var(--primary-color);
}

.packages-utp-card--price .packages-utp-card__glow {
    background: var(--accent-orange);
    animation-delay: 2s;
}

.packages-utp-card--flex .packages-utp-card__glow {
    background: var(--accent-mint);
    animation-delay: 4s;
}

@keyframes packages-utp-glow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-15px, 10px) scale(1.15); }
}

.packages-utp-card__icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.packages-utp-card__label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.packages-utp-card__title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--primary-color);
    margin: 0 0 0.65rem;
}

.packages-utp-card__text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* Tiers */
.packages-tiers {
    background: linear-gradient(180deg, transparent, rgba(78, 26, 121, 0.03) 50%, transparent);
}

.packages-tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.packages-tier-card {
    position: relative;
    padding: 1.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.packages-tier-card--featured {
    border-color: rgba(255, 159, 67, 0.5);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 159, 67, 0.08));
    box-shadow: 0 16px 45px rgba(255, 159, 67, 0.18);
}

.packages-tier-card__badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    padding: 0.25rem 0.65rem;
    background: var(--accent-orange);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    border-radius: 50px;
    animation: packages-badge-pulse 2.5s ease-in-out infinite;
}

@keyframes packages-badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 159, 67, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(255, 159, 67, 0); }
}

.packages-tier-card__name {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0 0 0.75rem;
}

.packages-tier-card__discount-wrap {
    margin-bottom: 1rem;
}

.packages-tier-card__discount {
    display: block;
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-orange);
    line-height: 1.1;
}

.packages-tier-card--featured .packages-tier-card__discount {
    color: var(--primary-color);
}

.packages-tier-card__label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.packages-tier-card__meter {
    height: 6px;
    background: rgba(78, 26, 121, 0.1);
    border-radius: 50px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.packages-tier-card__meter-fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-orange));
    border-radius: 50px;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.packages-tier-card.is-meter-filled .packages-tier-card__meter-fill {
    width: calc(var(--tier-pct, 0) * 1%);
}

.packages-tier-card__text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

/* Payment */
.packages-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 820px;
    margin: 0 auto;
}

.packages-payment-card {
    position: relative;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.packages-payment-card--featured {
    border-color: rgba(78, 26, 121, 0.25);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(78, 26, 121, 0.06));
}

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

.packages-payment-card__months {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.packages-payment-card__months-num {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.packages-payment-card__months-label {
    font-size: 1rem;
    color: var(--text-muted);
}

.packages-payment-card__discount {
    display: block;
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 0.75rem;
}

.packages-payment-card__text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
    max-width: 280px;
}

.packages-payment-card__ring {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 72px;
    height: 72px;
    opacity: 0.5;
}

.packages-payment-card__ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.packages-payment-card__ring-bg {
    fill: none;
    stroke: rgba(78, 26, 121, 0.12);
    stroke-width: 6;
}

.packages-payment-card__ring-fill {
    fill: none;
    stroke: var(--accent-orange);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 213.6;
    stroke-dashoffset: 213.6;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.packages-payment-card.is-ring-filled .packages-payment-card__ring-fill {
    stroke-dashoffset: calc(213.6 - (213.6 * var(--plan-pct, 0) / 100));
}

.packages-payment-note {
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 2rem auto 0;
    line-height: 1.65;
}

/* Price */
.packages-price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.packages-calc {
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.packages-calc__title {
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: var(--primary-color);
    margin: 0 0 1.5rem;
}

.packages-calc__group {
    margin-bottom: 1.25rem;
}

.packages-calc__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.packages-calc__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.packages-calc__option {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.6rem 0.85rem;
    border: 1px solid rgba(78, 26, 121, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.packages-calc__option:hover {
    border-color: rgba(78, 26, 121, 0.3);
    background: #fff;
}

.packages-calc__option.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 6px 18px rgba(78, 26, 121, 0.2);
}

.packages-calc__breakdown {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(78, 26, 121, 0.1);
}

.packages-calc__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.55rem 0;
    font-size: 0.92rem;
    color: var(--text-color);
}

.packages-calc__row-value {
    text-align: right;
}

.packages-calc__row-value strong {
    display: block;
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--primary-color);
}

.packages-calc__row-value small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.packages-calc__row--discount .packages-calc__row-value strong {
    color: var(--accent-orange);
}

.packages-calc__row--after {
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed rgba(78, 26, 121, 0.12);
}

.packages-calc__total {
    margin-top: 1rem;
    padding: 1.15rem 1.25rem;
    background: linear-gradient(135deg, rgba(78, 26, 121, 0.08), rgba(255, 159, 67, 0.1));
    border-radius: 14px;
    text-align: center;
}

.packages-calc.has-discount .packages-calc__total {
    background: linear-gradient(135deg, rgba(78, 26, 121, 0.1), rgba(255, 159, 67, 0.15));
}

.packages-calc__total-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.packages-calc__total-value {
    display: block;
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 1.1;
    transition: color 0.3s ease;
}

.packages-calc.has-discount .packages-calc__total-value {
    color: var(--accent-orange);
}

.packages-calc__total-save {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.packages-calc__total-save strong {
    font-family: var(--font-title);
    color: var(--primary-color);
    font-size: 1.05rem;
}

.packages-calc__hint {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 1rem 0 0;
}

/* FAQ */
.packages-faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.packages-faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.packages-faq-item[open] {
    box-shadow: var(--card-shadow);
    border-color: rgba(78, 26, 121, 0.15);
}

.packages-faq-item__question {
    padding: 1.15rem 1.5rem;
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.packages-faq-item__question::-webkit-details-marker {
    display: none;
}

.packages-faq-item__question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-orange);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.packages-faq-item[open] .packages-faq-item__question::after {
    transform: rotate(45deg);
}

.packages-faq-item__answer {
    padding: 0 1.5rem 1.15rem;
}

.packages-faq-item__answer p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* CTA */
.packages-cta-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(145deg, rgba(78, 26, 121, 0.06), rgba(82, 157, 181, 0.08));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
}

.packages-cta-title {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
    margin: 0.75rem 0 0.75rem;
}

.packages-cta-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 1.75rem;
}

.packages-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.packages-cta-btn {
    animation: join-cta-pulse 2.8s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .packages-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .packages-hero-visual {
        order: -1;
        min-height: 260px;
    }

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

    .packages-utp-grid {
        grid-template-columns: 1fr;
    }

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

    .packages-price-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .packages-pains-grid,
    .packages-tiers-grid,
    .packages-payment-grid {
        grid-template-columns: 1fr;
    }

    .packages-calc__options {
        flex-direction: column;
    }

    .packages-calc__option {
        width: 100%;
        text-align: center;
    }

    .packages-hero-ctas,
    .packages-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .packages-hero-ctas .cta-button,
    .packages-cta-buttons .cta-button {
        text-align: center;
    }

    .packages-hero-orbit {
        width: 240px;
        height: 240px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .packages-reveal {
        opacity: 1;
        transform: none;
    }

    .packages-hero-card,
    .packages-hero-badge,
    .packages-tier-card__badge,
    .packages-utp-card__glow,
    .packages-cta-btn {
        animation: none;
    }

    .packages-tier-card__meter-fill {
        width: calc(var(--tier-pct, 0) * 1%);
    }

    .packages-payment-card__ring-fill {
        stroke-dashoffset: calc(213.6 - (213.6 * var(--plan-pct, 0) / 100));
    }
}

