@media (min-width: 992px) {
    .mobile-menu-overlay-full,
    .mobile-menu-panel {
        display: none !important;
    }
}


:root {
    
    --primary: #E4A853;
    --primary-dark: #C8922E;
    --primary-light: #F5D69A;
    --primary-rgb: 228, 168, 83;
    
    
    
    --secondary: #3d6b39;
    --secondary-dark: #2d5029;
    --secondary-light: #538d4e;
    --secondary-rgb: 61, 107, 57;
    
    
    --accent: #C24B3B;
    --accent-light: #E67065;
    --success: #4CAF50;
    --warning: #FF9800;
    --danger: #F44336;
    --info: #2196F3;
    --link-color: #1a73e8;
    --link-color-hover: #1557b0;
    
    
    --bg-warm: #FDF8F0;
    --bg-cream: #FFF9F0;
    --bg-light: #FFFEFB;
    --bg-white: #FFFFFF;
    --bg-dark: #1A1A1A;
    
    
    --text-dark: #2B2B2B;
    --text-muted: #5A5A5A;
    --text-light: #666666;  
    --text-white: #FFFFFF;
    
    
    --tile-bg: #F7E6C4;
    --tile-border: #D4B896;
    --tile-shadow: #C8922E;
    
    
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
    --shadow-tile: 0 3px 0 var(--tile-shadow), 0 5px 10px rgba(0,0,0,0.2);
    
    
    --font-display: system-ui, "Segoe UI Variable", "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
    --font-body: system-ui, "Segoe UI Variable", "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    
    
    --bs-body-font-family: system-ui, "Segoe UI Variable", "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
    
    
    --section-padding: 80px 0;
    --section-padding-sm: 60px 0;
    --section-padding-xs: 40px 0;
    
    
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-tooltip: 1080;
}


[data-theme="dark"] {
    --bg-warm: #1A1A1A;
    --bg-cream: #222222;
    --bg-light: #2B2B2B;
    --text-dark: #F5F5F5;
    --text-muted: #AAAAAA;
    --link-color: #7eb8ff;
    --link-color-hover: #a8d0ff;
}


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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--bs-body-font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-warm);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}


h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 0.5em;
}

h1, .h1 { font-size: calc(1.375rem + 1.5vw); }
h2, .h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4, .h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5, .h5 { font-size: 1.125rem; }
h6, .h6 { font-size: 1rem; }


p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
}


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

a:hover {
    color: var(--primary-dark);
}


p a:not(.btn):not(.cta-btn):not(.hero-cta-btn):not(.color-card-link):not(.cmv2-archetype-link),
.faq-item p a,
.cmv2-intro a,
.cmv2-section p a:not(.btn),
.cmv2-faq-a-inner a,
.cmv2-selfid-list a,
.cmv2-famous p a,
.section li > a:not(.btn):not(.nav-link):not(.dropdown-item):not(.sidebar-link),
.cmv2-section li > a:not(.btn) {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-color: var(--link-color);
    text-underline-offset: 2px;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

p a:not(.btn):not(.cta-btn):not(.hero-cta-btn):not(.color-card-link):not(.cmv2-archetype-link):hover,
.faq-item p a:hover,
.cmv2-intro a:hover,
.cmv2-section p a:not(.btn):hover,
.cmv2-faq-a-inner a:hover,
.cmv2-selfid-list a:hover,
.cmv2-famous p a:hover,
.section li > a:not(.btn):not(.nav-link):not(.dropdown-item):not(.sidebar-link):hover,
.cmv2-section li > a:not(.btn):hover {
    color: var(--link-color-hover);
    text-decoration-color: var(--link-color-hover);
}


ul, ol {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}


::selection {
    background: var(--primary);
    color: var(--text-dark);
}


.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: var(--z-sticky);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 0.25rem 0;
}


.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--text-dark);
}

.brand-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-tile);
}

.brand-text {
    color: var(--text-dark);
}

.brand-text span {
    color: var(--secondary);
}


.brand-logo {
    height: 40px;
    width: auto;
    display: block;
}

@media (max-width: 991.98px) {
    .brand-logo {
        height: 36px;
    }
}

.footer-brand .brand-logo {
    height: 40px;
}


.navbar-nav {
    gap: 0.25rem;
}

.navbar-nav > li {
    margin-bottom: 0;
}

.dropdown-menu > li {
    margin-bottom: 0;
}

.nav-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

@media (min-width: 992px) {
    .navbar {
        padding: 0.25rem 0;
    }
    .navbar .container {
        align-items: center;
    }
    .navbar-collapse {
        justify-content: flex-end;
    }
    .navbar-nav {
        align-items: center;
        gap: 0.35rem;
    }
    .nav-link {
        padding: 0.45rem 0.9rem;
        font-size: 1rem;
    }
    .navbar-brand {
        gap: 0.4rem;
    }
    .brand-tile {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
    background: rgba(var(--primary-rgb), 0.1);
}


.dropdown-mega {
    position: relative;
}

.dropdown-mega .dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 260px;
    padding: 0.5rem 0.25rem;
    padding-top: 0.9rem;
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-top: 0;
    z-index: var(--z-dropdown);
    background: #ffffff;
    display: none;
}


.dropdown-mega .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
}


.dropdown-toggle::after {
    display: none !important;
    content: none !important;
}


.dropdown-mega .dropdown-menu.show {
    display: block;
}

@media (min-width: 992px) {
    .dropdown-mega:hover > .dropdown-menu {
        display: block;
    }
}

.navbar-nav .dropdown-mega:nth-of-type(1) .dropdown-menu {
    left: 0;
    right: auto;
}

.navbar-nav .dropdown-mega:nth-of-type(2) .dropdown-menu {
    left: 0;
    right: auto;
}

.dropdown-mega .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.98rem;
    transition: none;
}

.dropdown-mega .dropdown-item:hover {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-dark);
}


.menu-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 7px;
    margin-right: 6px;
}
.menu-icon.icon-primary {
    background: #FDF0D5;
    color: #D4930D;
}
.menu-icon.icon-blue {
    background: #D6EAF8;
    color: #2980B9;
}

.menu-type-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
    object-fit: cover;
    background: #F0EBF8;
    padding: 3px;
}


.icon-primary { color: #E5A84B; }
.icon-success { color: #06B6D4; }
.icon-danger { color: #ef4444; }
.icon-info { color: #C4956A; }
.icon-warning { color: #22C55E; }
.icon-purple { color: #8b5cf6; }
.icon-blue { color: #3b82f6; }
.icon-pink { color: #ec4899; }
.icon-teal { color: #14b8a6; }
.icon-indigo { color: #6366f1; }
.icon-orange { color: #f97316; }

.nav-arrow-icon {
    margin-left: 6px;
    transition: none;
}

@media (min-width: 992px) {
    .dropdown-mega:hover .nav-arrow-icon {
        transform: rotate(180deg);
    }
}

.nav-cta {
    font-weight: 700;
    color: var(--primary);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    transition: color 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus {
    color: var(--primary-dark);
}


.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: var(--text-dark);
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}


.mobile-menu-overlay-full,
.mobile-menu-panel {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

@media (max-width: 991.98px) {
    
    .mobile-menu-overlay-full {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1200;
    }
    
    .mobile-menu-overlay-full.open {
        opacity: 1;
        visibility: visible;
    }
    
    
    .mobile-menu-panel {
        display: block;
        position: fixed;
        top: 0;
        right: calc(-1 * min(85vw, 400px));
        width: min(85vw, 400px);
        height: 100%;
        height: 100dvh; 
        background: #ffffff;
        z-index: 1210;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        transition: right 0.2s ease;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    
    @supports not (height: 100dvh) {
        .mobile-menu-panel {
            height: -webkit-fill-available;
        }
    }
    
    .mobile-menu-panel.open {
        right: 0;
    }
    
    .mobile-menu-panel-inner {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 100%;
    }
    
    .mobile-menu-header-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.75rem;
        border-bottom: 1px solid #eee;
        flex-shrink: 0;
        background: #fff;
    }
    
    .mobile-menu-header-row.subpanel {
        justify-content: space-between;
    }
    
    .menu-title {
        font-family: var(--font-display);
        font-size: 1.2rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin: 0;
        color: var(--text-dark);
    }
    
    .mobile-menu-close {
        background: transparent;
        border: 0;
        border-style: none;
        font-size: 1.75rem;
        color: var(--text-dark);
        cursor: pointer;
        padding: 0.5rem;
        line-height: 1;
        opacity: 0.8;
        transition: opacity 0.2s ease, color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        outline: 0;
        outline-style: none;
        box-shadow: none;
    }
    
    .mobile-menu-close:focus,
    .mobile-menu-close:active,
    .mobile-menu-close:hover {
        outline: 0;
        outline-style: none;
        border: 0;
        box-shadow: none;
    }
    
    .mobile-menu-close:active {
        opacity: 1;
        color: #555555;
    }
    
    .mobile-menu-close:focus-visible {
        opacity: 1;
        color: #555555;
    }
    
    .mobile-menu-body {
        display: none;
        flex: 1;
        overflow-y: auto;
        padding: 0.5rem 1.75rem 1.75rem;
    }
    
    .mobile-menu-body.active {
        display: block;
    }
    
    .mobile-menu-item {
        width: 100%;
        text-align: left;
        padding: 1.15rem 0;
        border-bottom: 1px solid #f0f0f0;
        background: none;
        border: none;
        color: var(--text-dark);
        font-family: var(--font-display);
        font-size: 1.05rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        cursor: pointer;
        transition: color 0.2s ease, padding-left 0.2s ease, background-color 0.15s ease;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-menu-item.link {
        text-decoration: none;
        justify-content: flex-start;
    }
    
    
    .mobile-menu-item:active {
        background-color: rgba(0, 0, 0, 0.06);
    }
    
    
    .mobile-menu-item.link:hover {
        color: inherit;
    }
    
    
    .mobile-menu-item:focus-visible {
        color: #555555;
        outline: 2px solid rgba(0, 0, 0, 0.1);
        outline-offset: -2px;
    }
    
    .mobile-subpanel {
        display: none;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }
    
    .mobile-subpanel.active {
        display: flex;
    }
    
    .mobile-menu-back {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: none;
        border: none;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--text-dark);
        cursor: pointer;
        padding: 0.35rem 0;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.2s ease;
    }
    
    .mobile-menu-back:active {
        color: #555555;
    }
    
    .mobile-menu-back:focus-visible {
        color: #555555;
        outline: 2px solid rgba(0, 0, 0, 0.1);
        outline-offset: 2px;
    }
    
    .mobile-menu-footer-panel {
        padding: 1.25rem 1.75rem;
        padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
        text-align: center;
        color: #767676;  
        font-size: 0.9rem;
        border-top: 1px solid #eee;
        flex-shrink: 0;
        margin-top: auto;
    }
    
    
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: calc(100% - min(85vw, 400px));
        height: 100%;
        background: rgba(50, 50, 50, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1055;
    }
    
    .mobile-menu-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    
    
    .navbar-toggler {
        padding: 0.5rem;
        font-size: 1.75rem;
    }
    
    .navbar-toggler svg {
        width: 32px;
        height: 32px;
    }
    
    
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: calc(-1 * min(85vw, 400px));
        width: min(85vw, 400px);
        height: 100vh;
        background: #FFFFFF;
        padding: 0;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        transition: right 0.2s ease;
        z-index: 1060;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    
    
    .navbar-collapse * {
        position: relative;
        z-index: 1;
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .navbar-collapse.collapsing {
        right: calc(-1 * min(85vw, 400px));
        transition: right 0.2s ease;
        height: 100vh !important;
        display: flex;
    }
    
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.25rem 1.75rem;
        border-bottom: 1px solid #e5e5e5;
        flex-shrink: 0;
        background: #fff;
    }
    
    .mobile-menu-header .brand-text {
        font-family: var(--font-display);
        font-size: 1.15rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-dark);
    }
    
    .mobile-menu-close {
        background: transparent;
        border: 0;
        border-style: none;
        font-size: 1.75rem;
        color: var(--text-dark);
        cursor: pointer;
        padding: 0.5rem;
        line-height: 1;
        opacity: 0.8;
        transition: opacity 0.2s ease, color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        outline: 0;
        outline-style: none;
        box-shadow: none;
    }
    
    .mobile-menu-close:focus,
    .mobile-menu-close:active,
    .mobile-menu-close:hover {
        outline: 0;
        outline-style: none;
        border: 0;
        box-shadow: none;
    }
    
    .mobile-menu-close:active {
        opacity: 1;
        color: #555555;
    }
    
    .mobile-menu-close:focus-visible {
        opacity: 1;
        color: #555555;
    }
    
    
    .mobile-menu-content {
        flex: 1;
        overflow-y: auto;
        padding-bottom: 100px;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .navbar-nav .nav-item {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.35rem 1.75rem;
        font-size: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-dark);
        background: transparent;
        border-radius: 0;
        transition: background-color 0.15s ease, color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }
    
    .navbar-nav .nav-link:active {
        background-color: rgba(0, 0, 0, 0.06);
    }
    
    .navbar-nav .nav-link:focus-visible {
        color: #555555;
        outline: 2px solid rgba(0, 0, 0, 0.1);
        outline-offset: -2px;
    }
    
    .navbar-nav .nav-link.active {
        color: var(--primary);
        background: rgba(var(--primary-rgb), 0.05);
    }
    
    
    .navbar-nav .dropdown-toggle::after {
        content: none;
        display: none;
    }
    
    
    .navbar-nav .nav-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.25s ease;
        color: #666;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .navbar-nav .nav-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .navbar-nav .dropdown-toggle.active .nav-arrow {
        transform: rotate(180deg);
        color: var(--primary);
    }
    
    
    .dropdown-mega .dropdown-menu {
        display: none !important;
    }
    
    
    .mobile-submenu {
        display: none;
        background: #f8f9fa;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-submenu.show {
        display: block;
        max-height: 500px;
    }
    
    .mobile-submenu .dropdown-item {
        display: block;
        padding: 1.1rem 1.75rem 1.1rem 2.75rem;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-dark);
        text-transform: none;
        letter-spacing: normal;
        border-bottom: 1px solid #eee;
        text-decoration: none;
        transition: background-color 0.15s ease, color 0.2s ease, padding-left 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-submenu .dropdown-item:active {
        background-color: rgba(0, 0, 0, 0.06);
    }
    
    .mobile-submenu .dropdown-item:focus-visible {
        color: #555555;
        outline: 2px solid rgba(0, 0, 0, 0.1);
        outline-offset: -2px;
    }
    
    .mobile-submenu .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .mobile-submenu .dropdown-item:focus,
    .mobile-submenu .dropdown-item:active {
        color: var(--primary-dark);
        padding-left: 3rem;
    }
    
    
    .mobile-menu-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1.5rem 1.75rem;
        text-align: center;
        color: #767676;  
        font-size: 0.85rem;
        background: #fff;
        border-top: 1px solid #e5e5e5;
        flex-shrink: 0;
    }
    
}


.hero {
    background: linear-gradient(135deg, #2C3E50 0%, #3498DB 50%, #2C3E50 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-compact {
    min-height: auto;
    padding: 40px 0;
}

.hero-title {
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-shadow: none;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero-title .highlight {
    color: var(--secondary-light);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    line-height: 1.65;
}


.floating-tiles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.float-tile {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(2px);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
    opacity: 0.6;
    left: var(--x);
    top: var(--y);
    animation: floatTile 6s ease-in-out infinite;
    animation-delay: var(--delay);
}


.section {
    padding: 2rem 0;
    background: #FFFFFF;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--secondary);
    color: var(--text-white);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
    color: var(--text-white);
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 auto;
}


.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--text-dark);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    margin: 0;
}


.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}


.step-card {
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-card h3 {
    font-size: 0.95rem;
}

.step-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--secondary);
    color: var(--text-white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(var(--secondary-rgb), 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--tile-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 1.5rem;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-dark);
}


.faq-accordion .accordion-item {
    background: var(--bg-white);
    border: none;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    background: var(--bg-white);
    padding: 1.25rem 1.5rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--tile-bg);
    color: var(--text-dark);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232D5A4B'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.faq-accordion .accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}


.cta-section {
    padding: var(--section-padding-sm);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-section h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: var(--text-dark);
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.btn-cta {
    background: var(--secondary);
    color: var(--text-white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-cta:hover {
    background: var(--secondary-dark);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--secondary-rgb), 0.4);
}


.footer-accent {
    height: 4px;
    background: linear-gradient(90deg, #DC3545 0%, #F1C40F 33%, #27AE60 66%, #2980B9 100%);
}

.site-footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 0;
}

.footer-main {
    padding: 3rem 0 2rem;
}


.footer-brand-section {
    margin-bottom: 1.5rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-brand .brand-tile {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
}

.footer-brand .brand-text {
    color: var(--text-white);
}

.footer-brand .brand-text span {
    color: var(--primary);
}

.footer-tagline {
    color: rgba(255,255,255,0.65);
    
    line-height: 1.6;
    max-width: 300px;
    margin: 0;
}

.site-footer p {
    color: rgba(255,255,255,0.65);
    
}


.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.7);
    transition: color 0.2s, background 0.2s;
}

.social-link--facebook { color: #1877F2; }
.social-link--facebook:hover { color: #42a1f5; background: rgba(24,119,242,0.15); }

.social-link--x { color: #e7e9ea; }
.social-link--x:hover { color: #fff; background: rgba(231,233,234,0.15); }

.social-link--pinterest { color: #e60023; }
.social-link--pinterest:hover { color: #ff1744; background: rgba(230,0,35,0.15); }

.social-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}


.footer-heading {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
    text-transform: uppercase;
    
}


.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

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

.footer-links a {
    color: rgba(255,255,255,0.65);
    
    text-decoration: none;
    display: inline-block;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}


@media (hover: hover) and (pointer: fine) {
    .footer-links a:hover {
        color: var(--primary);
    }
}


.footer-links a:active {
    color: var(--primary);
}


.footer-links a:focus-visible {
    color: var(--primary);
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}


.game-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.game-badge {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
}


.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0;
    margin-top: 0.5rem;
}

.footer-disclaimer p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin: 0;
    
}

.footer-disclaimer a {
    color: #7eb8ff;
    text-decoration: underline;
    text-decoration-color: rgba(126, 184, 255, 0.6);
    text-underline-offset: 2px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-disclaimer a:hover {
    color: #a8d0ff;
    text-decoration-color: #a8d0ff;
}


.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    margin-top: 0.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    margin: 0;
    
    color: rgba(255,255,255,0.5);
}

.footer-bottom .copyright {
    color: rgba(255,255,255,0.5);
}

.footer-bottom .footer-credit {
    color: rgba(255,255,255,0.45);
}

.footer-heart {
    color: #e25555;
    display: inline-flex;
    vertical-align: middle;
    margin: 0 0.15rem;
}


@media (max-width: 991.98px) {
    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-brand-section {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-tagline {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-heading {
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .footer-main {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
}


.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 9999;
    text-decoration: none;
    transition: top 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.skip-link:focus {
    top: 10px;
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


.btn,
.nav-link,
.dropdown-item,
.mobile-menu-item,
.mobile-menu-back,
.mobile-menu-close,
.quick-filter-btn,
.filter-help-btn,
.navbar-toggler {
    min-height: 44px;
    min-width: 44px;
}


.filter-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted { color: var(--text-muted) !important; }


.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-warm { background-color: var(--bg-warm) !important; }
.bg-cream { background-color: var(--bg-cream) !important; }


.section-spacing { padding: var(--section-padding); }
.section-spacing-sm { padding: var(--section-padding-sm); }


.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}


@keyframes floatTile {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}


@media (max-width: 1199.98px) {
    .tool-content {
        grid-template-columns: 1fr 300px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero {
        min-height: auto;
        padding: 50px 0;
    }
    
    .tool-content {
        grid-template-columns: 1fr;
    }
    
    .tool-sidebar {
        position: static;
        order: -1;
    }
    
    .dropdown-mega .dropdown-menu {
        max-width: 100%;
    }
    
    .float-tile {
        display: none;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 50px 0;
        --section-padding-sm: 40px 0;
    }
    
    
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-card,
    .step-card,
    .testimonial-card,
    .tip-card {
        padding: 1.5rem;
    }
    
    .dropdown-menu-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
}


.sidebar {
    position: static;
}

.sidebar-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: currentColor;
    flex-shrink: 0;
}

.sidebar-icon svg {
    color: white !important;
}

.sidebar-icon.icon-primary { background: #E5A84B; }
.sidebar-icon.icon-success { background: #06B6D4; }
.sidebar-icon.icon-danger { background: #ef4444; }
.sidebar-icon.icon-info { background: #C4956A; }
.sidebar-icon.icon-warning { background: #22C55E; }
.sidebar-icon.icon-purple { background: #8b5cf6; }
.sidebar-icon.icon-blue { background: #3b82f6; }
.sidebar-icon.icon-pink { background: #ec4899; }
.sidebar-icon.icon-teal { background: #14b8a6; }
.sidebar-icon.icon-indigo { background: #6366f1; }
.sidebar-icon.icon-orange { background: #f97316; }


@media (max-width: 991.98px) {
    .sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .sidebar-card {
        padding: 1.25rem;
    }
}


.hero-tool {
    min-height: auto;
    padding: 30px 0 30px;
}


.hero-tool .hero-subtitle {
    font-size: 1.25rem;
    
    margin: 0 auto 2rem;
}


.hero-home {
    min-height: auto;
    padding: 3rem 0 3rem;
    background: linear-gradient(135deg, #1e1e2f 0%, #2d1b4e 50%, #1a1a2e 100%) !important;
    position: relative;
    overflow: hidden;
}
.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 80%, rgba(220,53,69,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 20%, rgba(41,128,185,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(142,68,173,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-illustration-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
}


.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #1e1e2f;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    color: #1e1e2f;
}


.edu-section-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}


.content-block {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
a.content-block:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.content-block.no-mb {
    margin-bottom: 0;
}

.content-block svg {
    display: block;
    flex-shrink: 0;
}

.content-block .d-flex.align-items-center h3 {
    line-height: 42px;
    margin: 0 !important;
}

.section:not(.section-warm) .content-block {
    background: var(--bg-warm);
}

.section:not(.section-warm) .faq-item {
    background: var(--bg-warm);
}

.section:not(.section-warm) .color-card-link {
    background: var(--bg-warm);
}

.content-block h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary);
}

.content-block h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.content-block h4 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.content-block p {
    color: var(--text-muted);
    line-height: 1.7;
}

.content-block .lead {
    font-size: 1.15rem;
    color: var(--text-dark);
}

.content-block ul {
    margin: 1rem 0;
}

.content-block ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.content-block h3 {
    margin-top: 1.5rem;
}


.content-block a,
.founder-bio a,
.trust-grid .trust-card p a,
.about-cta a:not(.btn-primary),
.mission-card a,
.legal-page a,
.legal-content a,
.commitment-card a,
.contact-intro-card a,
.expertise-card a,
.faq-answer a,
.contact-tip a,
.intro-text a,
.ptv2-intro a,
.ptv2-stress-card a,
.ptv2-panel a,
.ptv2-strength a {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-color: var(--link-color);
    text-underline-offset: 2px;
    transition: all var(--transition-fast);
}

.content-block a:hover,
.founder-bio a:hover,
.trust-grid .trust-card p a:hover,
.about-cta a:not(.btn-primary):hover,
.mission-card a:hover,
.legal-page a:hover,
.legal-content a:hover,
.commitment-card a:hover,
.contact-intro-card a:hover,
.expertise-card a:hover,
.faq-answer a:hover,
.contact-tip a:hover,
.intro-text a:hover,
.ptv2-intro a:hover,
.ptv2-stress-card a:hover,
.ptv2-panel a:hover,
.ptv2-strength a:hover {
    color: var(--link-color-hover);
    text-decoration-color: var(--link-color-hover);
}


.legal-footer {
    padding: 1rem 0;
}

.legal-footer p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.legal-footer a {
    color: var(--primary-dark);
    text-decoration: none;
    margin: 0 0.5rem;
}

.legal-footer a:hover {
    text-decoration: underline;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
    margin-bottom: 1.5rem;
}

.legal-meta p {
    margin: 0;
    color: var(--text-muted);
}

.legal-meta p strong {
    color: var(--text-body);
    font-weight: 600;
}

.legal-toc {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.legal-toc h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-light);
}

.legal-toc h3 svg {
    color: var(--primary);
}

.legal-toc ol {
    margin: 0;
    padding-left: 1.25rem;
    columns: 2;
    column-gap: 2rem;
}

.legal-toc li {
    margin-bottom: 0.5rem;
    break-inside: avoid;
}

.legal-toc ol li a {
    color: #0d47a1;
    text-decoration: underline;
    text-decoration-color: rgba(13, 71, 161, 0.4);
    text-underline-offset: 2px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.legal-toc ol li a:hover {
    color: #0a3a85;
    text-decoration-color: #0a3a85;
}

.legal-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.legal-page .content-block {
    scroll-margin-top: 100px;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.legal-page .content-block:last-child {
    border-bottom: none;
}

.legal-page .content-block h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-light);
    margin-bottom: 1.25rem;
    margin-top: 0;
}

.legal-page .content-block p,
.legal-page .content-block ul,
.legal-page .content-block ol {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
}

@media (max-width: 768px) {
    .legal-toc ol {
        columns: 1;
    }
    
    .legal-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }
}


.styled-list {
    padding-left: 0;
    list-style: none;
    counter-reset: step-counter;
}

.styled-list > li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.styled-list > li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: var(--secondary);
    color: var(--text-white);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.styled-list ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.styled-list ul li {
    padding-left: 0;
    margin-bottom: 0.5rem;
}

.styled-list ul li::before {
    display: none;
}


.benefit-card {
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--secondary);
}

.benefit-card:last-child {
    margin-bottom: 0;
}

.benefit-card h3 {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    border-bottom: none;
    padding-bottom: 0;
}

.benefit-card h3 a {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-color: var(--link-color);
    text-underline-offset: 2px;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.benefit-card h3 a:hover {
    color: var(--link-color-hover);
    text-decoration-color: var(--link-color-hover);
}

.benefit-card p {
    margin-bottom: 0;
}


.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.tip-item {
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border-top: 3px solid var(--primary);
}

.tip-item h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.tip-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}


@media (max-width: 767.98px) {
    .hero-tool {
        padding: 40px 0 50px;
    }
    
    .content-block {
        padding: 1.5rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
}


.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: block;
    padding: 0.6rem 0.85rem;
    background: var(--bg-cream);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: var(--tile-bg);
    color: var(--secondary);
}

.sidebar-link-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.375rem;
    border-radius: 1rem;
    background: var(--secondary);
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.sidebar-link-highlight {
    font-weight: 600;
    color: var(--secondary) !important;
    text-align: center;
}

.sidebar-link-highlight:hover {
    color: var(--secondary-dark) !important;
}


#toast-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    pointer-events: none;
}

.validation-toast {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: #ffffff;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    min-width: 360px;
    max-width: 520px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #856404;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    overflow: hidden;
}

.validation-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}


.validation-toast .toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffc107;
    margin-top: 2px;
}

.validation-toast .toast-icon svg {
    width: 20px;
    height: 20px;
}


.validation-toast .toast-content {
    flex: 1;
    min-width: 0;
}

.validation-toast .toast-title {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #856404;
    line-height: 1.4;
}

.validation-toast .toast-message {
    margin: 0;
    font-size: 0.85rem;
    color: #856404;
    opacity: 0.85;
    line-height: 1.5;
}


.validation-toast .toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #856404;
    cursor: pointer;
    padding: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    border-radius: 4px;
    margin-top: -2px;
    margin-right: -4px;
}

.validation-toast .toast-close:hover {
    opacity: 1;
    background-color: rgba(133, 100, 4, 0.1);
}

.validation-toast .toast-close svg {
    width: 14px;
    height: 14px;
}


.validation-toast .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffc107 0%, #ffb300 100%);
    width: 100%;
    transform-origin: left;
    transform: scaleX(0);
}

@keyframes toastProgress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}


@media (max-width: 576px) {
    #toast-container {
        top: 70px;
        left: 12px;
        right: 12px;
        transform: none;
    }
    
    .validation-toast {
        min-width: auto;
        width: 100%;
        padding: 0.875rem 1rem;
    }
    
    .validation-toast .toast-icon {
        width: 20px;
        height: 20px;
    }
    
    .validation-toast .toast-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .validation-toast .toast-title {
        font-size: 0.9rem;
    }
    
    .validation-toast .toast-message {
        font-size: 0.8rem;
    }
}


.section-warm {
    background: var(--bg-warm);
}


.founder-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(var(--primary-rgb), 0.1);
}


.founder-header {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

.founder-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f5e6c8 0%, #e8d4a8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(228, 168, 83, 0.25);
    overflow: hidden;
    border: 4px solid var(--bg-white);
    outline: 2px solid rgba(var(--primary-rgb), 0.15);
    flex-shrink: 0;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.founder-meta {
    flex: 1;
}

.founder-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.founder-title {
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
    background: rgba(var(--primary-rgb), 0.12);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
}

.founder-social {
    display: flex;
    gap: 0.5rem;
}

.founder-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-warm);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.founder-social-link:hover {
    background: var(--primary);
    color: var(--text-dark);
    transform: translateY(-2px);
}


.founder-quote {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.03) 100%);
    border-left: 4px solid var(--primary);
    padding: 1.5rem 1.75rem 1.5rem 3rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    font-weight: 500;
    margin: 0 0 1.75rem 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    position: relative;
}


.founder-bio p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.founder-bio p:last-child {
    margin-bottom: 0;
}

.founder-quote::before {
    content: '"';
    position: absolute;
    top: 0.75rem;
    left: 1.25rem;
    font-size: 2.5rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.5;
    line-height: 1;
}


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

.expertise-card {
    display: block;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(0,0,0,0.04);
    text-decoration: none;
    color: inherit;
}

.expertise-card:hover:not(.no-hover) {
    border-color: var(--primary-light);
}

.expertise-card.no-hover {
    cursor: default;
}

.expertise-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    box-shadow: 0 4px 0 rgba(0,0,0,0.12), 0 6px 16px rgba(0,0,0,0.1);
}

.expertise-icon-otcwl {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-dark);
}

.expertise-icon-wwf {
    background: linear-gradient(145deg, var(--secondary-light) 0%, var(--secondary) 100%);
    color: var(--text-white);
}

.expertise-icon-quordle {
    background: linear-gradient(145deg, #9b59b6 0%, #8e44ad 100%);
    color: var(--text-white);
}

.expertise-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.expertise-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}


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

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.stat-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 0.825rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
    text-align: left;
}

.stat-card p a {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-color: var(--link-color);
    text-underline-offset: 2px;
    font-weight: 500;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.stat-card p a:hover {
    color: var(--link-color-hover);
    text-decoration-color: var(--link-color-hover);
}


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

.trust-grid .trust-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(0,0,0,0.04);
}

.trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0.08) 100%);
    color: var(--primary-dark);
}

.trust-grid .trust-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.trust-grid .trust-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}


.trust-card:not(.trust-grid .trust-card) {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.trust-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.trust-card-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.trust-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    flex-shrink: 0;
}

.trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-warm);
    border-radius: var(--radius-md);
    margin: 0;
}

.trust-list li strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.trust-list li span {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.trust-list-icon {
    flex-shrink: 0;
    color: var(--success);
    margin-top: 0.1rem;
}


.transparency-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.transparency-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    flex-shrink: 0;
}

.transparency-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.transparency-content p {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.75;
}


.about-cta {
    text-align: center;
    padding: 3rem 2rem;
    
    background: var(--tile-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(var(--primary-rgb), 0.1);
    margin-bottom: 1rem;
}

.about-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.about-cta p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 0 rgba(0,0,0,0.12), 0 6px 16px rgba(var(--primary-rgb), 0.25);
}

.about-cta .btn-primary:hover {
    background: linear-gradient(145deg, var(--primary-dark) 0%, #b5802a 100%);
    color: var(--text-white);
}


.about-cta .btn-primary:active {
    color: var(--text-white);
    transform: scale(0.98);
    box-shadow: 0 2px 0 rgba(0,0,0,0.12), 0 3px 8px rgba(var(--primary-rgb), 0.2);
}

.about-cta .btn-primary:focus {
    outline: 2px solid rgba(var(--primary-rgb), 0.5);
    outline-offset: 2px;
}


.btn-primary {
    background: linear-gradient(135deg, #2d1b4e 0%, #1e1e2f 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.55rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #3d2966 0%, #2d1b4e 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(45,27,78,0.3);
}
.btn-primary:active {
    transform: translateY(0);
    background: #1e1e2f;
    color: #fff;
}


.btn-outline-primary {
    background: transparent;
    border: 1.5px solid #2d1b4e;
    color: #2d1b4e;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: #2d1b4e;
    border-color: #2d1b4e;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(45,27,78,0.2);
}
.btn-outline-primary:active {
    transform: translateY(0);
    background: #1e1e2f;
    border-color: #1e1e2f;
    color: #fff;
}


.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 107, 57, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}


.trademark-notice {
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
}

.trademark-notice p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.trademark-notice strong {
    color: var(--text-dark);
}


.note-box {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--primary);
    margin-top: 1.5rem;
}

.note-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
    margin: 0;
}

.note-box strong {
    color: var(--text-dark);
}


.important-notice {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
    border-left: 4px solid #e67e22;
}

.important-notice p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
    margin: 0;
}

.important-notice strong {
    color: var(--text-dark);
}


.mission-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.mission-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.mission-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.2) 0%, rgba(var(--primary-rgb), 0.08) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.mission-card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.mission-card p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.mission-card p:last-child {
    margin-bottom: 0;
}

.mission-card.mt-4 {
    margin-top: 1.5rem !important;
}


.contact-intro-card {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-intro-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.contact-intro-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.contact-intro-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-body);
    margin: 0;
}


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

.commitment-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.commitment-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    margin: 0 auto 1rem;
}

.commitment-icon-clock {
    background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0.08) 100%);
    color: var(--primary-dark);
}

.commitment-icon-calendar {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.08) 100%);
    color: #6366f1;
}

.commitment-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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


.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-form-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}


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

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--bg-white);
    border: 2px solid #e5e5e5;
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23555' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    background-size: 16px;
    cursor: pointer;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.form-control::placeholder {
    color: #999;
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #22c55e;
}


.form-control.is-invalid {
    border-color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.03);
    background-image: none !important;
    padding-right: 1rem !important;
}

.form-select.is-invalid {
    border-color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.03);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}


.form-control.is-valid {
    background-image: none !important;
    padding-right: 1rem !important;
}


.form-control:invalid,
.form-control:valid,
.was-validated .form-control:invalid,
.was-validated .form-control:valid {
    background-image: none !important;
}

textarea.form-control {
    resize: vertical;
    min-height: 175px;
}


.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 0 rgba(0,0,0,0.12), 0 6px 16px rgba(var(--primary-rgb), 0.25);
    margin-top: 0.5rem;
}

.contact-submit-btn:hover {
    background: linear-gradient(145deg, var(--primary-dark) 0%, #b5802a 100%);
    color: #fff;
}


.contact-submit-btn:active {
    color: #fff;
    transform: scale(0.98);
    box-shadow: 0 2px 0 rgba(0,0,0,0.12), 0 3px 8px rgba(var(--primary-rgb), 0.2);
}

.contact-submit-btn:focus {
    outline: 2px solid rgba(var(--primary-rgb), 0.5);
    outline-offset: 2px;
}

.contact-submit-btn svg {
    flex-shrink: 0;
}


.recaptcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem;
    min-height: 78px; 
    
}


.recaptcha-container:has(.g-recaptcha > div) {
    background: transparent;
    border: none;
}

.recaptcha-container .g-recaptcha {
    transform-origin: center;
}


.recaptcha-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.recaptcha-notice-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    flex-shrink: 0;
}

.recaptcha-notice a {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-color: var(--link-color);
    text-underline-offset: 2px;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.recaptcha-notice a:hover {
    color: var(--link-color-hover);
    text-decoration-color: var(--link-color-hover);
}


.contact-sidebar-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(var(--primary-rgb), 0.1);
}


.contact-sidebar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
}

.contact-sidebar-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.contact-sidebar-icon-steps {
    background: linear-gradient(145deg, rgba(41, 128, 185, 0.2) 0%, rgba(41, 128, 185, 0.1) 100%);
    color: #2980b9;
}

.contact-sidebar-icon-tips {
    background: linear-gradient(145deg, rgba(39, 174, 96, 0.2) 0%, rgba(39, 174, 96, 0.1) 100%);
    color: #27ae60;
}

.contact-sidebar-icon-email {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
    color: #16a34a;
}

.contact-email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 0.6rem 1rem;
    background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.04) 100%);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.contact-email-link:hover {
    color: var(--primary-dark);
    background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0.08) 100%);
    transform: translateX(4px);
}

.contact-email-link svg {
    flex-shrink: 0;
}


.email-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0.08) 100%);
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.email-section-icon svg {
    width: 48px;
    height: 48px;
}

.email-direct-box {
    display: inline-block;
    margin: 0.5rem 0;
}

.email-direct-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.08);
}

.email-direct-link:hover {
    color: var(--secondary-dark);
    border-color: var(--secondary);
}

.email-direct-link svg {
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .email-section-icon {
        width: 60px;
        height: 60px;
    }

    .email-section-icon svg {
        width: 32px;
        height: 32px;
    }

    .email-direct-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

.contact-sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}


.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-body);
}

.contact-info-list li svg {
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-sidebar-note {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}


.contact-tips {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-tip {
    padding: 0.75rem;
    background: rgba(var(--primary-rgb), 0.04);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.contact-tip-blue {
    background: rgba(41, 128, 185, 0.06);
    border-left-color: #2980b9;
}

.contact-tip-red {
    background: rgba(220, 53, 69, 0.06);
    border-left-color: #DC3545;
}

.contact-tip-green {
    background: rgba(39, 174, 96, 0.06);
    border-left-color: #27ae60;
}

.contact-tip strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-tip span {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.4;
}

.contact-tip strong svg {
    margin-right: 0.35rem;
    opacity: 0.7;
}


.contact-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.contact-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.contact-steps-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-steps-list li:first-child {
    padding-top: 0;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-steps-list li div strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.contact-steps-list li div span {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.4;
}


@media (max-width: 991.98px) {
    .contact-form-card {
        padding: 1.75rem;
    }
    
    .commitment-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .contact-intro-card {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem;
    }
    
    .contact-intro-icon {
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .commitment-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .commitment-card {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .commitment-icon {
        margin: 0;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }
}

@media (max-width: 575.98px) {
    .contact-form-card {
        padding: 1.25rem;
    }
    
    .contact-form-card h2 {
        font-size: 1.25rem;
    }
    
.contact-sidebar-card {
        padding: 1.5rem;
    }

    .contact-sidebar-header {
        padding-bottom: 0.75rem;
        margin-bottom: 1rem;
    }

    .contact-sidebar-icon {
        width: 36px;
        height: 36px;
    }
    
    .contact-sidebar-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-intro-card {
        padding: 1.25rem;
    }
    
    .contact-intro-icon {
        width: 52px;
        height: 52px;
    }
    
    .contact-intro-content h2 {
        font-size: 1.15rem;
    }
    
    .contact-intro-content p {
        font-size: 0.95rem;
    }
    
    .commitment-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .commitment-card h3,
    .commitment-card p {
        text-align: center;
        width: 100%;
    }
    
    .commitment-icon {
        margin: 0 auto 0;
    }
}


.examples-table {
    overflow-x: auto;
}

.examples-table table {
    width: 100%;
    border-collapse: collapse;
}

.examples-table th {
    background: var(--secondary);
    color: var(--text-white);
    font-family: var(--font-display);
    font-weight: 600;
    padding: 0.75rem 1rem;
    text-align: left;
}

.examples-table th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.examples-table th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
    text-align: center;
}

.examples-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bg-cream);
}

.examples-table td:last-child {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--secondary);
}

.examples-table tr:hover td {
    background: var(--bg-cream);
}

.examples-table a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.examples-table a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}


.letter-grid-examples {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 0.25rem;
    text-align: center;
    line-height: 1.3;
}


.content-block .length-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.length-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.75rem;
    background: linear-gradient(145deg, var(--tile-bg) 0%, #E8D5B0 100%);
    border: 2px solid var(--tile-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.length-grid-item:hover {
    background: linear-gradient(145deg, var(--primary-light) 0%, var(--primary) 100%);
    border-color: var(--primary-dark);
}

.length-grid-item:hover .length-grid-num {
    color: var(--text-dark);
}

.length-grid-item:hover .letter-grid-examples {
    color: var(--text-muted);
}

.length-grid-item.highlight {
    background: linear-gradient(135deg, #538d4e 0%, #6aaa64 100%);
    border-color: #4a7d44;
}

.length-grid-item.highlight .length-grid-num,
.length-grid-item.highlight .length-grid-label {
    color: var(--text-white);
}

.length-grid-item.highlight .letter-grid-examples {
    color: var(--text-white);
    font-weight: 700;
}

.length-grid-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.length-grid-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.35rem;
}


@media (max-width: 991.98px) {
    .content-block .length-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }
}

@media (max-width: 575.98px) {
    .content-block .length-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .length-grid-item {
        padding: 1rem 0.5rem;
    }
    
    .length-grid-num {
        font-size: 1.5rem;
    }
}

@media (max-width: 479.98px) {
    .content-block .length-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .length-grid-item {
        padding: 0.85rem 0.4rem;
    }
    
    .length-grid-num {
        font-size: 1.35rem;
    }
}


.letter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    text-decoration: none !important;
    color: #fff;
}

.letter-badge.common { background: var(--secondary); color: #fff; }
.letter-badge.medium { background: var(--primary); color: #fff; }
.letter-badge.rare { background: #c0392b; color: #fff; }


.play-by-play {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.25rem 0;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.play-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.875rem 1.25rem;
    background: var(--bg-cream);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-md);
    min-width: 120px;
    text-align: center;
}

.play-step.highlight {
    border-color: var(--primary);
    background: rgba(228, 168, 83, 0.08);
}

.play-step.highlight-strong {
    border-color: var(--primary-dark);
    background: rgba(228, 168, 83, 0.15);
}

.play-step-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    line-height: 1.3;
}

.play-step-word {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.play-step-word strong {
    color: var(--primary-dark);
}

.play-step-pts {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.play-step-arrow {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0.4;
}

@media (max-width: 575px) {
    .play-step {
        padding: 0.75rem 0.875rem;
        min-width: 95px;
    }
    .play-step-word {
        font-size: 1.1rem;
    }
}


.prefix-transforms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
    margin: 1rem 0;
}

.prefix-transform-card {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: var(--bg-cream);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-sm);
}

.prefix-transform-label {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary);
    min-width: 38px;
}

.prefix-transform-label a {
    color: var(--secondary) !important;
    text-decoration: none !important;
}

.prefix-transform-label a:hover {
    text-decoration: underline !important;
}

.prefix-transform-examples {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

@media (max-width: 575px) {
    .prefix-transforms-grid {
        grid-template-columns: 1fr;
    }
}


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

.combo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.combo-tag {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

a.combo-tag {
    text-decoration: none;
    color: var(--primary-dark);
}

a.combo-tag:hover {
    text-decoration: underline;
}

.combo-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.35rem;
}

.combo-examples {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    line-height: 1.4;
}

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

@media (max-width: 479px) {
    .combo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .combo-tag {
        font-size: 1.25rem;
    }
}


.tool-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.tool-link-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    background: var(--bg-cream);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: var(--radius-md);
    text-decoration: none !important;
    color: var(--text-dark);
}

.tool-link-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tool-link-card:hover .tool-link-arrow {
    color: var(--primary-dark);
}

.tool-link-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--secondary);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1;
}

.tool-link-body {
    flex: 1;
    min-width: 0;
}

.tool-link-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.tool-link-desc {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 2px;
}

.tool-link-arrow {
    flex-shrink: 0;
    font-size: 1.15rem;
    color: var(--text-muted);
    opacity: 0.5;
}

@media (max-width: 767px) {
    .tool-links-grid {
        grid-template-columns: 1fr;
    }
}


.nav-link-cta {
    color: var(--primary-dark) !important;
    font-weight: 600;
    background: var(--primary-light);
    border-radius: 0.375rem;
    padding: 0.375rem 1rem !important;
    transition: all 0.2s ease;
}
.nav-link-cta:hover {
    background: var(--primary);
    color: #fff !important;
}


.test-hero-section {
    position: relative;
    padding: 3.5rem 0 3rem;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f4ff 0%, #fdf8f0 100%);
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.test-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 10%, rgba(220,53,69,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 90%, rgba(41,128,185,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(241,196,15,0.04) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(39,174,96,0.04) 0%, transparent 50%);
    pointer-events: none;
}
.test-hero-title {
    color: var(--text-dark);
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.test-hero-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}


.test-trust-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.25rem;
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
}
.test-trust-row span {
    display: inline-flex;
    align-items: center;
}
.test-trust-row svg {
    opacity: 0.5;
}


.test-card {
    background: #fff;
    border-radius: 16px;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.04),
        0 8px 32px rgba(0,0,0,0.06);
    padding: 2rem 2.5rem 2.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}
.test-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #DC3545 0%, #F1C40F 33%, #27AE60 66%, #2980B9 100%);
}


.test-progress {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f0ede8;
}
.test-progress-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}
.test-progress-pct {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
}
.test-progress-track {
    height: 8px;
    border-radius: 4px;
    background: #f0ede8;
    overflow: hidden;
}
.test-progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg,
        #8E44AD 0%, #2980B9 50%, #27AE60 100%);
    transition: width 0.4s ease;
}


#testContainer {
    min-height: 260px;
}
.test-question {
    text-align: center;
}
.test-question h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.55;
    font-weight: 600;
}


.test-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    text-align: left;
}


.test-option-btn {
    background: #fff;
    border: 2px solid #e8e4de;
    border-radius: 10px;
    padding: 0.95rem 1.1rem;
    text-align: left;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-dark);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-weight: 500;
}
.test-option-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #f5f2ed;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
    transition: background 0.2s ease, color 0.2s ease;
    border: 1px solid #e8e4de;
}
.test-option-btn:hover {
    border-color: #8E44AD;
    background: #faf7ff;
    box-shadow: 0 2px 8px rgba(142,68,173,0.08);
}
.test-option-btn:hover .test-option-letter {
    background: #8E44AD;
    color: #fff;
    border-color: #8E44AD;
}
.test-option-btn.selected {
    border-color: #27AE60;
    background: #f5fbf7;
    box-shadow: 0 2px 8px rgba(39,174,96,0.1);
}
.test-option-btn.selected .test-option-letter {
    background: #27AE60;
    color: #fff;
    border-color: #27AE60;
}
.test-loading {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
}


@media (max-width: 768px) {
    .test-hero-section {
        padding: 2.5rem 0 2rem;
    }
    .test-hero-title {
        font-size: 1.3rem;
    }
    .test-card {
        padding: 1.5rem 1.25rem 1.75rem;
        border-radius: 12px;
    }
    .test-options {
        grid-template-columns: 1fr;
    }
    .test-trust-row {
        gap: 0.75rem;
        font-size: 0.72rem;
    }
    .test-option-btn {
        border-radius: 8px;
    }
}
.test-start-card {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}
.test-start-card h3 {
    margin-bottom: 1rem;
}


.result-color-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    color: #fff;
    margin-bottom: 2rem;
}
.result-color-swatch {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 4px solid rgba(255,255,255,0.3);
}
.result-color-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.result-color-tagline {
    font-size: 1rem;
    opacity: 0.9;
}
.result-scores-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.result-scores-bar .bar-label {
    width: 60px;
    font-size: 0.8125rem;
    text-align: right;
    color: var(--text-secondary);
}
.result-scores-bar .bar-track {
    flex: 1;
    height: 0.5rem;
    background: var(--bs-gray-200);
    border-radius: 1rem;
    overflow: hidden;
}
.result-scores-bar .bar-fill {
    height: 100%;
    border-radius: 1rem;
    transition: width 0.6s ease;
}
.share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s ease;
}
.share-btn:hover {
    opacity: 0.85;
    color: #fff;
}
.share-btn-x { background: #000; }
.share-btn-facebook { background: #1877F2; }
.share-btn-linkedin { background: #0A66C2; }


.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border-radius: 2rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.95);
    margin-top: 1rem;
}


.how-it-works-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}
.how-it-works-step {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}


.length-grid-item.color-tinted {
    border: 2px solid;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.length-grid-item.color-tinted:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}


.color-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
}
.color-card-link:hover {
    border-color: var(--card-color);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.color-card-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-bottom: 0.75rem;
    border: 2px solid transparent;
}
.color-card-link[style*="#7F8C8D"] .color-card-dot,
.color-card-link[style*="#BDC3C7"] .color-card-dot {
    background: linear-gradient(135deg, #ECF0F1 0%, #fff 100%) !important;
    border-color: #BDC3C7;
}
.color-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}
.color-card-tagline {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
}


.faq-item {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.faq-item:last-child {
    margin-bottom: 0;
}
.faq-item h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    line-height: 1.4;
}
.faq-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}
.faq-item p a {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-color: var(--link-color);
    text-underline-offset: 2px;
    font-weight: 600;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.faq-item p a:hover {
    color: var(--link-color-hover);
    text-decoration-color: var(--link-color-hover);
}


.footer-color-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}


@keyframes resultModalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes resultModalSlideUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes resultModalFadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

.result-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal-backdrop, 1040);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: resultModalFadeIn 0.1s ease-out forwards;
}
.result-modal-overlay.closing {
    animation: resultModalFadeOut 0.12s ease-out forwards;
    pointer-events: none;
}

.result-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2), 0 2px 12px rgba(0, 0, 0, 0.1);
    animation: resultModalSlideUp 0.1s ease-out forwards;
    position: relative;
    will-change: transform, opacity;
}
.result-modal-overlay.closing .result-modal {
    animation: resultModalFadeOut 0.1s ease-out forwards;
}


.result-modal-header {
    position: relative;
    padding: 2rem 1.75rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #27AE60 0%, #2980B9 100%);
    overflow: hidden;
}
.result-modal-header-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
}
.result-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.9rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.result-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}
.result-modal-icon {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.result-modal-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.result-modal-identity {
    flex: 1;
    min-width: 0;
}
.result-modal-identity h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.25rem;
    line-height: 1.25;
}
.result-modal-identity p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    line-height: 1.4;
}


.result-modal-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}
.result-modal-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: #fff;
}
.result-modal-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.result-modal-pill.secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
}
.result-modal-pill.confidence {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}


.result-modal-scores {
    padding: 1.25rem 1.75rem;
    background: #fafafa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.result-modal-scores-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted, #5a5a5a);
    margin-bottom: 0.7rem;
}
.result-score-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
}
.result-score-row:last-child {
    margin-bottom: 0;
}
.result-score-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark, #2b2b2b);
    width: 52px;
    flex-shrink: 0;
}
.result-score-track {
    flex: 1;
    height: 7px;
    background: rgba(0, 0, 0, 0.07);
    border-radius: 4px;
    overflow: hidden;
}
.result-score-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.result-score-pct {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted, #5a5a5a);
    width: 32px;
    text-align: right;
    flex-shrink: 0;
}


.result-modal-actions {
    padding: 1.25rem 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.result-modal-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    background: linear-gradient(135deg, #2d1b4e 0%, #1e1e2f 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
}
.result-modal-btn-primary:hover {
    opacity: 0.9;
    color: #fff;
    transform: translateY(-1px);
}
.result-modal-links {
    display: flex;
    gap: 0.45rem;
}
.result-modal-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    background: #f5f5f5;
    color: var(--text-dark, #2b2b2b);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: background 0.15s, border-color 0.15s;
    text-align: center;
    line-height: 1.3;
}
.result-modal-link:hover {
    background: #ebebeb;
    border-color: rgba(0, 0, 0, 0.14);
    color: var(--text-dark, #2b2b2b);
}
.result-modal-retake {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.5rem 0.5rem;
    margin-top: 0.15rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted, #5a5a5a);
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    width: 100%;
    transition: color 0.15s, border-color 0.15s;
}
.result-modal-retake:hover {
    color: var(--text-dark, #2b2b2b);
    border-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
    .result-modal {
        border-radius: 16px;
    }
    .result-modal-header {
        padding: 1.5rem 1.25rem 1.25rem;
        gap: 0.85rem;
    }
    .result-modal-icon {
        width: 64px;
        height: 64px;
        border-radius: 12px;
    }
    .result-modal-identity h2 {
        font-size: 1.15rem;
    }
    .result-modal-scores,
    .result-modal-actions {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .result-modal-links {
        flex-direction: column;
    }
}