/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Premium page transitions */
body {
    animation: fadeInPage 0.6s ease-in-out;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-8px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(8px);
    }
}

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-accent: #fa741d;
    --color-accent-hover: #e86810;
    --color-gray-light: #f5f5f5;
    --color-gray-medium: #cccccc;
    --color-gray-dark: #666666;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Prevent typographic orphans (single words on last line) */
p, h1, h2, h3, h4, h5, h6,
.question-title, .question-subtitle,
.brand-entry-title, .brand-entry-subtitle,
.recommendation-message, .recommendation-title,
.results-title, .cta-message {
    text-wrap: pretty;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--color-black);
    color: var(--color-white);
    padding: 14px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-width: 90%;
    text-align: center;
    font-size: 0.95rem;
}

.toast-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Header */
.site-header {
    background-color: var(--color-black);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10001; /* Above transition overlay */
    backdrop-filter: blur(10px);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo-link {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 50px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.logo-text {
    color: var(--color-white);
    font-size: 32px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    display: inline-block;
}

.logo-link:hover .logo-text {
    letter-spacing: 0px;
}

.logo-text span {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 0;
    }
    
    .logo {
        height: 40px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .logo-link:active {
        transform: scale(0.98);
    }
}

/* Main Container */
.container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Form Card - Modern Rounded Design */
.form-card {
    background-color: var(--color-white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: none;
    position: relative;
    animation: slideUpFade 0.7s ease-out;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}


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

@media (max-width: 768px) {
    /* Make container fill viewport height */
    .container {
        min-height: calc(100vh - 70px); /* Subtract header height */
        display: flex;
        flex-direction: column;
        padding: 16px 12px;
    }
    
    .form-card {
        padding: 28px 20px;
        border-radius: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    }
}

/* Progress Bar */
.progress-container {
    margin-bottom: 30px;
}

/* KONGIFIED Letter Progress */
.kongified-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
}

.kongified-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: 2px;
    background: var(--color-gray-light);
    color: var(--color-gray-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: default;
}

/* Completed letter state */
.kongified-letter.completed {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(250, 116, 29, 0.4);
}

/* Active/current letter state */
.kongified-letter.active {
    background: linear-gradient(135deg, #fa741d 0%, #ff8c3a 100%);
    color: var(--color-white);
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(250, 116, 29, 0.5);
    animation: letterPulse 1.5s ease-in-out infinite;
}

@keyframes letterPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(250, 116, 29, 0.5);
    }
    50% {
        box-shadow: 0 4px 20px rgba(250, 116, 29, 0.8);
    }
}

/* Hover effect for completed letters */
.kongified-letter.completed:hover {
    transform: scale(1.1);
}

/* All complete state - celebration */
.kongified-progress.all-complete .kongified-letter {
    background: linear-gradient(135deg, #fa741d 0%, #ff8c3a 100%);
    color: var(--color-white);
    animation: celebrateLetter 0.6s ease-out;
}

.kongified-progress.all-complete .kongified-letter:nth-child(1) { animation-delay: 0s; }
.kongified-progress.all-complete .kongified-letter:nth-child(2) { animation-delay: 0.05s; }
.kongified-progress.all-complete .kongified-letter:nth-child(3) { animation-delay: 0.1s; }
.kongified-progress.all-complete .kongified-letter:nth-child(4) { animation-delay: 0.15s; }
.kongified-progress.all-complete .kongified-letter:nth-child(5) { animation-delay: 0.2s; }
.kongified-progress.all-complete .kongified-letter:nth-child(6) { animation-delay: 0.25s; }
.kongified-progress.all-complete .kongified-letter:nth-child(7) { animation-delay: 0.3s; }
.kongified-progress.all-complete .kongified-letter:nth-child(8) { animation-delay: 0.35s; }
.kongified-progress.all-complete .kongified-letter:nth-child(9) { animation-delay: 0.4s; }
.kongified-progress.all-complete .kongified-letter:nth-child(10) { animation-delay: 0.45s; }

@keyframes celebrateLetter {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Mobile responsive - KONGIFIED Letters */
@media (max-width: 768px) {
    .kongified-progress {
        gap: 6px;
        padding: 12px 0;
    }
    
    .kongified-letter {
        width: 28px;
        height: 28px;
        font-size: 13px;
        border-radius: 8px;
        font-weight: 800;
    }
    
    .kongified-letter.active {
        transform: scale(1.15);
    }
    
    .kongified-letter.completed {
        box-shadow: 0 2px 6px rgba(250, 116, 29, 0.3);
    }
}

@media (max-width: 380px) {
    .kongified-progress {
        gap: 4px;
        padding: 10px 0;
    }
    
    .kongified-letter {
        width: 26px;
        height: 26px;
        font-size: 12px;
        border-radius: 2px;
    }
}

/* Legacy Progress Bar (hidden by default now) */
.progress-bar {
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 1px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fa741d 0%, #ff8c3a 100%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(250, 116, 29, 0.4);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    margin-top: 10px;
    font-size: 14px;
    color: var(--color-gray-dark);
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Question Slides */
.question-slide {
    display: none;
    animation: slideInFade 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-slide.active {
    display: block;
}

@keyframes slideInFade {
    from {
        opacity: 0;
        transform: translateX(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Introduction/Onboarding Slides */
.intro-slide {
    display: none;
    opacity: 0;
    animation: fadeInSlide 0.5s ease forwards;
}

.intro-slide.active {
    display: block;
}

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

.intro-progress {
    margin-bottom: 30px;
}

.intro-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--color-gray-light);
    border-radius: 0;
    overflow: hidden;
}

.intro-progress-fill {
    height: 100%;
    background: var(--color-accent);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 0;
}

.intro-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.intro-nav button {
    min-width: 140px;
}

/* ============================================
   MOBILE INTRO SLIDES - Responsive Design
   ============================================ */

@media (max-width: 768px) {
    /* Intro Form Card - Full height */
    #introFlow.form-card {
        padding: 24px 20px;
        justify-content: flex-start;
    }
    
    /* Intro slide fills available space */
    .intro-slide.active {
        display: flex !important;
        flex-direction: column;
        flex: 1;
    }
    
    /* Intro Progress */
    .intro-progress {
        margin-bottom: 20px;
        flex-shrink: 0;
    }
    
    .intro-progress-bar {
        height: 3px;
        border-radius: 0;
    }
    
    /* Intro Slides - Override inline styles */
    .intro-slide h1 {
        font-size: 26px !important;
        margin-bottom: 16px !important;
        line-height: 1.25 !important;
    }
    
    .intro-slide h2 {
        font-size: 20px !important;
        margin-bottom: 16px !important;
        line-height: 1.3 !important;
    }
    
    .intro-slide h3 {
        font-size: 17px !important;
        margin-bottom: 14px !important;
    }
    
    .intro-slide p {
        font-size: 15px !important;
        line-height: 1.7 !important;
        margin-bottom: 16px !important;
    }
    
    .intro-slide ul {
        font-size: 15px !important;
        line-height: 1.8 !important;
        margin-left: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .intro-slide ul li {
        margin-bottom: 8px;
    }
    
    /* Intro Cards/Boxes - Minimalist */
    .intro-slide > div[style*="background"] {
        padding: 16px !important;
        border-radius: 2px !important;
        margin-bottom: 16px !important;
        border-left-width: 3px !important;
    }
    
    .intro-slide > div[style*="background"] p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    /* Warning boxes grid */
    .intro-slide > div[style*="grid"] {
        gap: 12px !important;
    }
    
    .intro-slide > div[style*="grid"] > div {
        padding: 14px 16px !important;
        border-radius: 2px !important;
        border-left-width: 3px !important;
    }
    
    .intro-slide > div[style*="grid"] > div p:first-child {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }
    
    .intro-slide > div[style*="grid"] > div p:last-child {
        font-size: 16px !important;
    }
    
    /* Brand Name Input Section */
    .intro-slide input[type="text"] {
        font-size: 16px !important;
        padding: 14px 18px !important;
    }
    
    .intro-slide label[for="brandNameInput"] {
        font-size: 17px !important;
        margin-bottom: 10px !important;
    }
    
    /* Info box with icons */
    .intro-slide > div[style*="linear-gradient"][style*="padding: 30px"] {
        padding: 20px !important;
        margin-bottom: 24px !important;
    }
    
    .intro-slide > div[style*="linear-gradient"][style*="padding: 30px"] p {
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }
    
    /* Intro Buttons */
    .intro-slide .btn {
        font-size: 16px !important;
        padding: 16px 32px !important;
        width: 100%;
        border-radius: 14px !important;
    }
    
    .intro-slide > div[style*="text-align: center"] .btn {
        width: auto;
        min-width: 200px;
    }
    
    /* Intro Navigation - Push to bottom */
    .intro-nav {
        margin-top: auto;
        padding-top: 20px;
        gap: 12px;
    }
    
    .intro-nav button {
        min-width: auto;
        flex: 1;
        padding: 14px 20px;
        font-size: 15px;
    }
    
    /* Character counter */
    #brandNameCounter {
        font-size: 12px !important;
    }
    
    /* First slide - center the button */
    .intro-slide[data-intro="1"] > div[style*="text-align: center"] {
        margin-top: auto;
        padding-top: 24px;
    }
}

@media (max-width: 380px) {
    #introFlow.form-card {
        padding: 20px 16px;
    }
    
    .intro-slide h1 {
        font-size: 22px !important;
    }
    
    .intro-slide h2 {
        font-size: 18px !important;
    }
    
    .intro-slide h3 {
        font-size: 16px !important;
    }
    
    .intro-slide p {
        font-size: 14px !important;
    }
    
    .intro-slide ul {
        font-size: 14px !important;
        margin-left: 16px !important;
    }
    
    .intro-slide > div[style*="grid"] > div {
        padding: 12px 14px !important;
    }
    
    .intro-slide > div[style*="grid"] > div p:first-child {
        font-size: 13px !important;
    }
    
    .intro-slide > div[style*="grid"] > div p:last-child {
        font-size: 15px !important;
    }
    
    .intro-nav button {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Section Headers (V2) */
.section-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--color-accent);
    animation: fadeIn 0.6s ease;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-dark);
    margin: 0;
    font-style: italic;
}

/* ============================================
   TRAIT CARD - Split Card Design
   ============================================ */

.trait-card {
    display: flex;
    align-items: stretch;
    margin-bottom: 28px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    animation: slideUpFade 0.5s ease-out;
}

.trait-card-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 24px 20px;
    background: linear-gradient(145deg, var(--color-accent) 0%, #ff8a3d 100%);
    position: relative;
}

.trait-card-letter span {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    line-height: 1;
}

.trait-card-content {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trait-card-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.trait-card-brand-label {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trait-card-brand-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    font-family: 'Montserrat', sans-serif;
}

.trait-card-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 8px 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.trait-card-description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.trait-card-description::before {
    content: '"';
    color: var(--color-accent);
    font-weight: 700;
}

.trait-card-description::after {
    content: '"';
    color: var(--color-accent);
    font-weight: 700;
}

/* Legacy styles kept for compatibility */
.question-trait {
    margin-bottom: 25px;
    padding: 20px;
    background: #fafafa;
    border-left: 3px solid var(--color-accent);
    border-radius: 2px;
    animation: fadeIn 0.6s ease;
}

.trait-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 10px;
}

.trait-description {
    font-size: 15px;
    color: var(--color-gray-dark);
    line-height: 1.6;
    margin: 0;
}

.question-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--color-black);
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
    animation: fadeInDown 0.6s ease-out 0.1s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .question-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

/* Answer Options */
.answer-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.answer-option {
    animation: fadeInUp 0.5s ease-out both;
}

.answer-option:nth-child(1) { animation-delay: 0.1s; }
.answer-option:nth-child(2) { animation-delay: 0.15s; }
.answer-option:nth-child(3) { animation-delay: 0.2s; }
.answer-option:nth-child(4) { animation-delay: 0.25s; }
.answer-option:nth-child(5) { animation-delay: 0.3s; }
.answer-option:nth-child(6) { animation-delay: 0.35s; }

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

.answer-option {
    position: relative;
}

.answer-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.answer-option label {
    display: block;
    padding: 16px 20px;
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.answer-option label:hover {
    box-shadow: 0 4px 16px rgba(250, 116, 29, 0.12), inset 0 0 0 2px rgba(250, 116, 29, 0.3);
    background: linear-gradient(145deg, #ffffff 0%, #fff8f5 100%);
    transform: translateY(-1px);
}

.answer-option input[type="radio"]:checked + label {
    background: linear-gradient(145deg, #fff8f3 0%, #fff4eb 100%);
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(250, 116, 29, 0.2), inset 0 0 0 2px var(--color-accent);
    transform: translateY(-2px);
}

.answer-option input[type="radio"]:checked + label::after {
    content: none;
}

@keyframes checkPop {
    0% {
        transform: translateY(-50%) scale(0);
    }
    50% {
        transform: translateY(-50%) scale(1.2);
    }
    100% {
        transform: translateY(-50%) scale(1);
    }
}

@media (max-width: 768px) {
    .answer-option label {
        padding: 14px 16px;
        font-size: 15px;
    }
}

/* User Info Form */
.user-info-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 500;
    font-size: 14px;
    color: var(--color-black);
    font-family: 'Montserrat', sans-serif;
}

.form-group input {
    padding: 14px 18px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04), inset 0 0 0 1.5px #e0e0e0;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 4px 16px rgba(250, 116, 29, 0.1), inset 0 0 0 2px var(--color-accent);
}

.form-group input:hover:not(:focus) {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), inset 0 0 0 1.5px #ccc;
}

.form-group input::placeholder {
    color: #aaa;
}

/* Validation states */
.form-group input.valid,
.form-group input[style*="border-color: rgb(40, 167, 69)"] {
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.1), inset 0 0 0 2px #28a745 !important;
}

.form-group input.invalid,
.form-group input[style*="border-color: rgb(220, 53, 69)"] {
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.1), inset 0 0 0 2px #dc3545 !important;
}

.form-group input.valid:focus {
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.15), inset 0 0 0 2px #28a745;
}

.form-group input.invalid:focus {
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.15), inset 0 0 0 2px #dc3545;
}

/* ============================================
   TERMS AND DISCLAIMER - Collapsible
   ============================================ */

.terms-disclaimer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.terms-checkbox {
    margin-bottom: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

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

.checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.checkbox-label:hover .checkbox-custom {
    border-color: var(--color-accent);
}

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

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.checkbox-text {
    color: var(--color-black);
    font-weight: 500;
}

/* Terms toggle link */
.terms-toggle-link {
    background: none;
    border: none;
    color: var(--color-accent);
    font-weight: 600;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.terms-toggle-link:hover {
    color: #e86810;
}

.terms-toggle-link.active {
    color: #e86810;
}

/* Expandable terms content */
.terms-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin 0.3s ease;
    margin-top: 0;
}

.terms-expandable.expanded {
    max-height: 400px;
    margin-top: 16px;
}

.terms-content {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-left: 3px solid var(--color-accent);
    border-radius: 2px;
    padding: 16px;
    max-height: 200px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

.terms-intro {
    font-size: 13px;
    color: var(--color-gray-dark);
    margin-bottom: 12px;
    font-style: italic;
}

.terms-content p {
    margin-bottom: 12px;
}

.terms-content p:last-of-type {
    margin-bottom: 8px;
}

.terms-list {
    margin: 0;
    padding-left: 20px;
}

.terms-list li {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.5;
}

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

.terms-error {
    margin-top: 8px;
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #dc3545;
    border-radius: 2px;
    color: #dc3545;
    font-size: 13px;
    font-weight: 500;
}

/* Mobile adjustments for terms */
@media (max-width: 768px) {
    .terms-disclaimer {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .terms-expandable.expanded {
        max-height: 350px;
        margin-top: 12px;
    }
    
    .terms-content {
        padding: 14px;
        max-height: 180px;
        font-size: 12px;
    }
    
    .terms-intro {
        font-size: 12px;
    }
    
    .terms-list li {
        font-size: 12px;
    }
    
    .checkbox-label {
        font-size: 13px;
        gap: 10px;
    }
    
    .checkbox-custom {
        width: 18px;
        height: 18px;
    }
    
    .checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
        font-size: 12px;
    }
    
    .terms-toggle-link {
        font-size: 13px;
    }
}

/* ============================================
   BRAND NAME ENTRY - SEAMLESS SINGLE STEP
   Modern UI with rounded edges and shadows
   ============================================ */

.brand-entry-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Header */
.brand-entry-header {
    text-align: center;
    padding: 8px 0;
}

.brand-entry-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 8px 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.brand-entry-subtitle {
    font-size: 15px;
    color: var(--color-gray-dark);
    margin: 0;
    font-weight: 500;
}

/* ============================================
   COMPACT VISUAL EXAMPLE
   ============================================ */

.brand-example-compact {
    background: linear-gradient(145deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 20px;
    padding: 20px 24px;
    border: none;
    text-align: center;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.example-compact-label {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.example-compact-display {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.example-compact-identifier {
    color: var(--color-accent);
    position: relative;
    padding-bottom: 4px;
    border-bottom: 3px solid var(--color-accent);
}

.example-compact-descriptor {
    color: #c0c0c0;
    text-decoration: line-through;
    text-decoration-color: #ddd;
    text-decoration-thickness: 2px;
}

.example-compact-hint {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

/* ============================================
   EXPANDABLE HINT CARDS
   ============================================ */

.hint-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hint-card-primary {
    background: linear-gradient(145deg, #fff9f5 0%, #fff4eb 100%);
    border: none;
    box-shadow: 0 2px 12px rgba(250, 116, 29, 0.12), 0 1px 3px rgba(250, 116, 29, 0.08);
}

.hint-card-primary:hover {
    box-shadow: 0 4px 20px rgba(250, 116, 29, 0.18), 0 2px 6px rgba(250, 116, 29, 0.1);
    transform: translateY(-1px);
}

.hint-card-secondary {
    background: linear-gradient(145deg, #fafafa 0%, #f5f5f5 100%);
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.hint-card-secondary:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.hint-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 13px;
}

.hint-card-example {
    font-weight: 700;
    color: var(--color-accent);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.hint-card-example-muted {
    color: #aaa;
    text-decoration: line-through;
    text-decoration-color: #d0d0d0;
    text-decoration-thickness: 2px;
}

.hint-card-arrow {
    color: #ccc;
    font-size: 12px;
    flex-shrink: 0;
}

.hint-card-label {
    color: #555;
    font-weight: 600;
}

.hint-card-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff8a3d 100%);
    color: #fff;
    margin-left: auto;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(250, 116, 29, 0.3);
    width: 90px;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
}

.hint-card-badge-muted {
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
    color: #666;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.hint-card-chevron {
    color: #ccc;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hint-card-primary .hint-card-chevron {
    color: var(--color-accent);
}

.hint-card.expanded .hint-card-chevron {
    transform: rotate(180deg);
}

/* Expandable Content */
.hint-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.6);
}

.hint-card.expanded .hint-card-content {
    max-height: 150px;
    padding: 0 16px 16px 16px;
}

.hint-card-content p {
    font-size: 12px;
    line-height: 1.7;
    color: #555;
    margin: 0;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.hint-card-content strong {
    color: var(--color-accent);
    font-weight: 700;
}

.hint-card-secondary .hint-card-content strong {
    color: #555;
}

/* Mobile Responsive - Hint Cards */
@media (max-width: 768px) {
    .example-compact-hint {
        gap: 8px;
        margin-top: 10px;
    }
    
    .hint-card {
        border-radius: 14px;
    }
    
    .hint-card-header {
        padding: 12px 14px;
        font-size: 12px;
        gap: 8px;
    }
    
    .hint-card-example {
        font-size: 13px;
    }
    
    .hint-card-badge {
        font-size: 8px;
        padding: 3px 0;
        width: 75px;
    }
    
    .hint-card-chevron {
        width: 14px;
        height: 14px;
    }
    
    .hint-card.expanded .hint-card-content {
        max-height: 180px;
        padding: 0 14px 14px 14px;
    }
    
    .hint-card-content p {
        font-size: 11px;
        line-height: 1.6;
    }
}

@media (max-width: 380px) {
    .hint-card {
        border-radius: 12px;
    }
    
    .hint-card-header {
        padding: 10px 12px;
        font-size: 11px;
        gap: 6px;
    }
    
    .hint-card-example {
        font-size: 12px;
    }
    
    .hint-card-label {
        font-size: 10px;
    }
    
    .hint-card-badge {
        font-size: 7px;
        padding: 2px 0;
        width: 65px;
    }
}

/* Mobile Responsive - Compact Example */
@media (max-width: 768px) {
    .brand-example-compact {
        padding: 16px 18px;
        border-radius: 16px;
    }
    
    .example-compact-label {
        font-size: 10px;
        margin-bottom: 10px;
    }
    
    .example-compact-display {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .example-compact-hint {
        gap: 8px;
    }
}

@media (max-width: 380px) {
    .brand-example-compact {
        padding: 14px 16px;
        border-radius: 14px;
    }
    
    .example-compact-display {
        font-size: 18px;
    }
}

/* Brand Input Section */
.brand-input-section {
    position: relative;
}

.brand-input-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.brand-input-wrapper {
    position: relative;
}

.brand-input-field {
    width: 100%;
    padding: 18px 54px 18px 24px;
    font-size: 18px;
    font-weight: 500;
    border: none;
    border-radius: 14px;
    background: #fff;
    color: var(--color-black);
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04), inset 0 0 0 2px #f0f0f0;
}

.brand-input-field:focus {
    outline: none;
    box-shadow: 0 4px 24px rgba(250, 116, 29, 0.15), 0 2px 8px rgba(250, 116, 29, 0.1), inset 0 0 0 2px var(--color-accent);
}

.brand-input-field::placeholder {
    color: #bbb;
    font-weight: 400;
}

.brand-input-field.valid {
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.12), 0 1px 3px rgba(40, 167, 69, 0.08), inset 0 0 0 2px #28a745;
}

.brand-input-field.invalid {
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.12), 0 1px 3px rgba(220, 53, 69, 0.08), inset 0 0 0 2px #dc3545;
}

.brand-input-success {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #28a745;
    display: none;
    animation: checkPop 0.3s ease;
}

.brand-input-success.show {
    display: block;
}

.brand-input-error {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 14px 18px;
    background: linear-gradient(145deg, #fef2f2 0%, #fee9e9 100%);
    border: none;
    border-radius: 16px;
    color: #dc3545;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.1);
}

.brand-input-error.show {
    display: flex;
}

.brand-input-counter {
    text-align: right;
    font-size: 11px;
    color: #aaa;
    margin-top: 10px;
    padding-right: 8px;
}

/* Stats Row */
.brand-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    background: linear-gradient(145deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 20px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.brand-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.brand-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent);
    font-family: 'Montserrat', sans-serif;
}

.brand-stat-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
}

.brand-stat-divider {
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, transparent 0%, #ddd 50%, transparent 100%);
}

/* Start Button */
.brand-start-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 36px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 16px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff8a3d 100%);
    box-shadow: 0 8px 30px rgba(250, 116, 29, 0.35), 0 3px 8px rgba(250, 116, 29, 0.2);
    transition: all 0.3s ease;
}

.brand-start-btn span,
.brand-start-btn svg {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.brand-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(250, 116, 29, 0.4), 0 4px 12px rgba(250, 116, 29, 0.25);
}

.brand-start-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(250, 116, 29, 0.3), 0 2px 6px rgba(250, 116, 29, 0.2);
}

.brand-start-btn svg {
    transition: transform 0.2s ease;
}

.brand-start-btn:hover svg {
    transform: translateX(4px);
}

/* ============================================
   FLOATING TOOLTIPS
   ============================================ */

.tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(0, 0, 0, 0.04);
    color: #999;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.2s ease;
    position: relative;
}

.tooltip-trigger:hover {
    color: var(--color-accent);
    background: rgba(250, 116, 29, 0.12);
    transform: scale(1.1);
}

.tooltip-trigger-sm {
    width: 20px;
    height: 20px;
    background: transparent;
}

.tooltip-trigger-sm svg {
    width: 14px;
    height: 14px;
}

.floating-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 280px;
    padding: 16px 18px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.floating-tooltip.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.floating-tooltip-sm {
    width: 260px;
    padding: 14px 16px;
}

.tooltip-content {
    font-size: 13px;
    line-height: 1.6;
    color: #eee;
    font-weight: 400;
}

.tooltip-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #1a1a1a;
    border-radius: 3px;
    transform: translateX(-50%) rotate(45deg);
}

/* Tooltip positioning adjustments for edge cases */
.floating-tooltip.tooltip-left {
    left: 0;
    transform: translateX(0) translateY(8px);
}

.floating-tooltip.tooltip-left.active {
    transform: translateX(0) translateY(0);
}

.floating-tooltip.tooltip-left .tooltip-arrow {
    left: 20px;
}

.floating-tooltip.tooltip-right {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(8px);
}

.floating-tooltip.tooltip-right.active {
    transform: translateX(0) translateY(0);
}

.floating-tooltip.tooltip-right .tooltip-arrow {
    left: auto;
    right: 20px;
}

/* Mobile Responsive - Brand Entry */
@media (max-width: 768px) {
    .brand-entry-container {
        gap: 20px;
    }
    
    .brand-entry-title {
        font-size: 22px;
    }
    
    .brand-entry-subtitle {
        font-size: 14px;
    }
    
    .brand-input-field {
        font-size: 16px;
        padding: 16px 48px 16px 20px;
        border-radius: 12px;
    }
    
    .brand-input-label {
        font-size: 14px;
    }
    
    .brand-stats-row {
        gap: 16px;
        padding: 14px 20px;
        border-radius: 16px;
    }
    
    .brand-stat-value {
        font-size: 18px;
    }
    
    .brand-stat-label {
        font-size: 9px;
    }
    
    .brand-stat-divider {
        height: 24px;
    }
    
    .brand-start-btn {
        padding: 18px 32px;
        font-size: 16px;
        border-radius: 14px;
    }
    
    /* Tooltips on mobile */
    .floating-tooltip {
        width: calc(100vw - 48px);
        max-width: 300px;
        left: 50%;
        transform: translateX(-50%) translateY(8px);
        border-radius: 14px;
    }
    
    .floating-tooltip.active {
        transform: translateX(-50%) translateY(0);
    }
    
    .floating-tooltip-sm {
        width: calc(100vw - 48px);
        max-width: 260px;
    }
    
    .tooltip-content {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .brand-entry-container {
        gap: 18px;
    }
    
    .brand-entry-title {
        font-size: 20px;
    }
    
    .brand-entry-subtitle {
        font-size: 13px;
    }
    
    .brand-input-field {
        font-size: 16px;
        padding: 14px 44px 14px 18px;
    }
    
    .brand-stats-row {
        gap: 12px;
        padding: 12px 16px;
        border-radius: 14px;
    }
    
    .brand-stat-value {
        font-size: 16px;
    }
    
    .brand-start-btn {
        padding: 16px 28px;
        font-size: 15px;
    }
}


/* Navigation Buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff8a3d 100%);
    color: var(--color-white);
    box-shadow: 0 6px 24px rgba(250, 116, 29, 0.3), 0 2px 8px rgba(250, 116, 29, 0.2);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(250, 116, 29, 0.35), 0 4px 12px rgba(250, 116, 29, 0.25);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(250, 116, 29, 0.25), 0 2px 6px rgba(250, 116, 29, 0.15);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary {
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    color: var(--color-gray-dark);
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover:not(:disabled) {
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.btn-secondary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .btn {
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 12px;
    }
}

/* Results Page */
.results-container {
    text-align: center;
    max-width: 100%;
}

.results-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-black);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

/* Brand Name Display - Modern Rounded */
.brand-name-display {
    margin: 24px 0;
    padding: 20px 28px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    animation: fadeInScale 0.6s ease-out;
    text-align: center;
}

.brand-name-label {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.brand-name-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-accent);
    font-family: 'Montserrat', sans-serif;
}

.results-good .brand-name-display {
    background: linear-gradient(145deg, #fff9f5 0%, #fff4eb 100%);
    box-shadow: 0 4px 24px rgba(250, 116, 29, 0.1), 0 1px 4px rgba(250, 116, 29, 0.06);
}

.results-bad .brand-name-display {
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
}

.score-display {
    margin: 32px 0;
    padding: 36px;
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border-radius: 24px;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.score-number {
    font-size: 72px;
    font-weight: 700;
    background: linear-gradient(135deg, #fa741d 0%, #ff8c3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    animation: countUp 1s ease-out, pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.score-label {
    font-size: 16px;
    color: var(--color-gray-dark);
    font-weight: 500;
}

/* ============================================
   SCORE RING - Circular Progress Indicator
   ============================================ */

.score-ring-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.score-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-ring-bg {
    stroke: #e8e8e8;
}

.score-ring-progress {
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-linecap: round;
}

.score-ring-progress.results-good {
    stroke: var(--color-accent);
}

.score-ring-progress.results-bad {
    stroke: #f5a623;
}

.score-ring-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-ring-content .score-number {
    font-size: 56px;
    margin-bottom: 0;
    animation: none;
}

.score-ring-content .score-label {
    font-size: 14px;
    margin-top: 4px;
}

/* ============================================
   KONGIFIED SCORE LETTERS - Visual Indicator
   ============================================ */

.kongified-score-letters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    padding: 12px 0;
}

.score-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-letter.dim {
    background: #f0f0f0;
    color: #ccc;
}

.score-letter.lit {
    background: var(--color-accent);
    color: #fff;
}

.score-letter.glow {
    box-shadow: 0 0 12px rgba(250, 116, 29, 0.5);
    animation: letterGlow 1.5s ease-in-out infinite alternate;
}

@keyframes letterGlow {
    0% {
        box-shadow: 0 0 8px rgba(250, 116, 29, 0.4);
    }
    100% {
        box-shadow: 0 0 16px rgba(250, 116, 29, 0.7);
    }
}

/* ============================================
   STAGGERED ENTRANCE ANIMATIONS
   ============================================ */

.results-animate {
    opacity: 0;
    transform: translateY(20px);
}

.results-animate.animate-in {
    animation: resultsFadeSlideUp 0.6s ease forwards;
}

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

/* Staggered delays */
.results-animate:nth-child(1) { animation-delay: 0s; }
.results-animate:nth-child(2) { animation-delay: 0.1s; }
.results-animate:nth-child(3) { animation-delay: 0.2s; }
.results-animate:nth-child(4) { animation-delay: 0.3s; }
.results-animate:nth-child(5) { animation-delay: 0.4s; }
.results-animate:nth-child(6) { animation-delay: 0.5s; }
.results-animate:nth-child(7) { animation-delay: 0.6s; }
.results-animate:nth-child(8) { animation-delay: 0.7s; }
.results-animate:nth-child(9) { animation-delay: 0.8s; }

@media (max-width: 768px) {
    .score-ring-container {
        width: 160px;
        height: 160px;
    }
    
    .score-ring-content .score-number {
        font-size: 44px;
    }
    
    .score-ring-content .score-label {
        font-size: 12px;
    }
    
    .kongified-score-letters {
        gap: 4px;
        margin-bottom: 16px;
    }
    
    .score-letter {
        width: 26px;
        height: 26px;
        font-size: 11px;
        border-radius: 3px;
    }
    
    .score-display {
        padding: 30px 20px;
        margin: 30px 0;
    }
    
    .score-number {
        font-size: 56px;
    }
    
    .score-label {
        font-size: 16px;
    }
}

/* Results Sections */
.results-section {
    margin: 30px 0;
    text-align: left;
}

/* Scoring Breakdown - Minimalist */
.scoring-breakdown {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 24px;
    border-radius: 16px;
    margin: 24px 0;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(0, 0, 0, 0.03);
}

.scoring-breakdown-title {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
    font-family: 'Montserrat', sans-serif;
}

.scoring-breakdown-content {
    font-size: 15px;
    line-height: 1.8;
}

.scoring-item {
    margin: 8px 0;
    color: var(--color-black);
}

.scoring-positive {
    color: #28a745;
}

.scoring-negative {
    color: #dc3545;
}

.scoring-note {
    font-size: 13px;
    color: #666;
    font-weight: normal;
}

.scoring-divider {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #ddd;
}

.scoring-final {
    margin: 8px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-black);
}

/* Trademark Awareness Section */
.trademark-awareness {
    padding: 28px 24px;
    margin: 28px 0;
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.trademark-awareness-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px 0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trademark-awareness-message {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 20px 0;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.trademark-awareness-cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: transparent;
    color: #fa741d;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    border: 2px solid #fa741d;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.trademark-awareness-cta:hover {
    background: #fa741d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 116, 29, 0.25);
}

.trademark-awareness-cta:active {
    transform: translateY(0);
    box-shadow: none;
}

.trademark-awareness-cta svg {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.trademark-awareness-cta:hover svg {
    transform: translate(2px, -2px);
}

/* Results Footer */
.results-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--color-gray-dark);
    font-size: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.results-section h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--color-black);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.results-section h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--color-accent);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.results-section ul {
    list-style: none;
    padding-left: 0;
}

.results-section li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.results-section li:before {
    content: "•";
    color: var(--color-accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.alert-box {
    padding: 20px;
    border-radius: 2px;
    margin: 20px 0;
    border-left: 3px solid var(--color-accent);
    background: linear-gradient(135deg, rgba(250, 116, 29, 0.12) 0%, rgba(250, 116, 29, 0.08) 100%);
    animation: slideInLeft 0.5s ease-out;
    box-shadow: 0 4px 15px rgba(250, 116, 29, 0.15);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-box p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.recommendation-box {
    padding: 32px;
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    margin: 28px 0;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    animation: fadeInScale 0.6s ease-out;
    border: none;
    text-align: left;
}

.recommendation-box h3 {
    color: var(--color-black);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.recommendation-box p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Status Badge - Modern Rounded */
.status-badge {
    padding: 14px 24px;
    border-radius: 50px;
    margin: 0 auto 24px auto;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    display: block;
    text-align: center;
    width: fit-content;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
    color: var(--color-black);
}

/* Recommendation Title */
.recommendation-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--color-black);
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

/* Recommendation Message */
.recommendation-message {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--color-black);
}

.recommendation-message p {
    margin-bottom: 15px;
}

/* Next Move Box - Minimalist */
.next-move-box {
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    border: none;
    box-shadow: inset 0 0 0 1.5px rgba(250, 116, 29, 0.2), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.next-move-title {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.next-move-steps {
    margin-bottom: 20px;
}

.next-move-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.next-move-list li {
    padding: 10px 0;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.next-move-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--color-accent);
}

.cta-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

.cta-buttons-container .cta-button {
    margin: 0;
}

.cta-button-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta-label {
    font-size: 15px;
    font-weight: 600;
    color: #666;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
}

.cta-button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    background: transparent;
    color: var(--color-accent);
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    text-align: center;
    box-shadow: inset 0 0 0 2px var(--color-accent);
}

.cta-button-outline:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 2px var(--color-accent), 0 6px 20px rgba(250, 116, 29, 0.25);
}

.cta-button-outline:active {
    transform: translateY(0);
    box-shadow: inset 0 0 0 2px var(--color-accent);
}

.next-move-warning {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-align: center;
    font-style: italic;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.cta-button-secondary {
    text-align: center;
    padding: 14px 24px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    color: #333;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    box-shadow: inset 0 0 0 1.5px #e0e0e0, 0 3px 12px rgba(0, 0, 0, 0.06);
}

.cta-button-secondary:hover {
    background: linear-gradient(145deg, #fafafa 0%, #f0f0f0 100%);
    box-shadow: inset 0 0 0 1.5px #ccc, 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    color: var(--color-black);
    transform: translateY(-1px);
    box-shadow: none;
}

/* Recommendation Closing */
.recommendation-closing {
    font-style: italic;
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    margin-top: 24px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

.recommendation-closing strong {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
}

.cta-button {
    display: inline-block;
    padding: 18px 36px;
    background: linear-gradient(135deg, #fa741d 0%, #ff8c3a 100%);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 6px 20px rgba(250, 116, 29, 0.3);
    text-align: center;
    width: 100%;
}

.cta-button:hover {
    background: #e86810;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(250, 116, 29, 0.2);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Category Breakdown - Dropdown */
.category-dropdown {
    margin: 20px 0;
}

.category-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
    text-align: left;
}

.category-toggle:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-toggle:active {
    transform: translateY(0);
}

.category-toggle span {
    flex: 1;
}

.toggle-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-accent);
    flex-shrink: 0;
    margin-left: 12px;
}

.category-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
}

.category-content.active {
    max-height: 1000px;
    opacity: 1;
    padding-top: 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.category-item {
    padding: 15px;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-radius: 10px;
    border-left: 4px solid var(--color-accent);
    transition: all 0.3s ease;
    animation: fadeInScale 0.5s ease-out both;
}

.category-item:nth-child(1) { animation-delay: 0.1s; }
.category-item:nth-child(2) { animation-delay: 0.15s; }
.category-item:nth-child(3) { animation-delay: 0.2s; }
.category-item:nth-child(4) { animation-delay: 0.25s; }
.category-item:nth-child(5) { animation-delay: 0.3s; }
.category-item:nth-child(6) { animation-delay: 0.35s; }
.category-item:nth-child(7) { animation-delay: 0.4s; }
.category-item:nth-child(8) { animation-delay: 0.45s; }
.category-item:nth-child(9) { animation-delay: 0.5s; }
.category-item:nth-child(10) { animation-delay: 0.55s; }

.category-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left-width: 6px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.category-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--color-black);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.category-score {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-accent);
    font-family: 'Montserrat', sans-serif;
}

/* Hidden utility */
.hidden {
    display: none !important;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Section Transition - Body/Container Background */
body.section-transition-active,
.container.section-transition-active,
#assessmentContainer.section-transition-active {
    background-color: #ffffff !important;
    transition: background-color 0.3s ease;
}

/* KONGIFIED transition uses black background */
.section-transition-positive.section-transition-active body.section-transition-active,
.section-transition-positive.section-transition-active .container.section-transition-active,
.section-transition-positive.section-transition-active #assessmentContainer.section-transition-active {
    background-color: #000000 !important;
}

/* Section Transition Overlay */
.section-transition {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 10000 !important; /* Above content but below header */
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
    overflow: hidden;
}

.section-transition.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    display: flex !important;
}

/* Regular Transition Container */
.section-transition-regular {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-transition-kongified {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
}

/* KONGIFIED Simple Loading Screen */
.kongified-loading-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.kongified-logo-container {
    margin-bottom: 30px;
    animation: logoFadeIn 0.8s ease-out;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.kongified-logo {
    width: 180px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(250, 116, 29, 0.5));
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(250, 116, 29, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(250, 116, 29, 0.8));
    }
}

.kongified-prep-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 30px;
    animation: textFadeIn 1s ease-out 0.3s both;
    opacity: 0;
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.kongified-loading {
    width: 40px;
    height: 40px;
}

.kongified-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(250, 116, 29, 0.2);
    border-top-color: #fa741d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Police Tape/Marquee Styles */
.section-transition-tape {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    padding: 15px 0;
    background: repeating-linear-gradient(
        45deg,
        #ffc107,
        #ffc107 20px,
        #000 20px,
        #000 40px
    );
    overflow: hidden;
    z-index: 10001;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.section-transition.active .section-transition-tape {
    opacity: 1;
    visibility: visible;
}

.section-transition-tape-top {
    top: 0;
    animation: tapeSlideDown 0.6s ease-out;
}

.section-transition-tape-bottom {
    bottom: 0;
    animation: tapeSlideUp 0.6s ease-out;
}

@keyframes tapeSlideDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes tapeSlideUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

.tape-content {
    display: flex;
    white-space: nowrap;
    animation: tapeScroll 20s linear infinite;
    width: max-content;
}

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

.tape-text {
    display: inline-block;
    font-weight: 900;
    font-size: 18px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0 40px;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.section-transition-content {
    text-align: center;
    padding: 80px 40px;
    max-width: 600px;
    width: 90%;
    animation: sectionTransitionSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    z-index: 10002;
    position: relative;
    margin-top: 60px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.section-transition.active .section-transition-content {
    animation: sectionTransitionSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes sectionTransitionSlideIn {
    0% {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.section-transition-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: iconBounce 0.8s ease 0.2s both, iconPulse 2s ease-in-out 1s infinite;
    display: inline-block;
    line-height: 1;
}

.section-transition-icon img {
    display: block;
}

.section-transition-logo {
    width: 80px;
    height: auto;
    display: block;
    animation: iconBounce 0.8s ease 0.2s both, iconPulse 2s ease-in-out 1s infinite;
}

@keyframes iconBounce {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.2) rotate(10deg);
    }
    80% {
        transform: scale(0.9) rotate(-5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

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

.section-transition-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    animation: titleFadeIn 0.8s ease 0.3s both;
    opacity: 0;
}

@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-transition-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 25px;
    opacity: 0.9;
    animation: subtitleFadeIn 0.8s ease 0.5s both;
    opacity: 0;
}

.section-transition-statement {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 35px;
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    border-left: 3px solid rgba(0, 0, 0, 0.1);
    color: #333;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    animation: statementFadeIn 0.8s ease 0.7s both;
    opacity: 0;
}

@keyframes statementFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.section-transition-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 30px;
}

.section-transition-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.section-transition-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmerProgress 1.5s infinite;
}

@keyframes shimmerProgress {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Positive Section Transition (KONGIFIED) */
.section-transition-positive {
    background: linear-gradient(135deg, rgba(250, 116, 29, 0.98) 0%, rgba(255, 140, 58, 0.98) 100%);
}

.section-transition-positive .section-transition-tape {
    background: repeating-linear-gradient(
        45deg,
        #ff8c3a,
        #ff8c3a 20px,
        #fa741d 20px,
        #fa741d 40px
    );
}

.section-transition-positive .tape-text {
    color: #fff;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.section-transition-positive .section-transition-content {
    box-shadow: 0 20px 60px rgba(250, 116, 29, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.section-transition-positive .section-transition-title {
    background: linear-gradient(135deg, #ff8c3a 0%, #fa741d 50%, #ff9500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-transition-positive .section-transition-subtitle {
    color: #fa741d;
}

.section-transition-positive .section-transition-progress-bar {
    background: linear-gradient(90deg, #ff8c3a 0%, #fa741d 50%, #ff9500 100%);
}

/* Negative Section Transition (BANANA) */
.section-transition-negative {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.98) 0%, rgba(255, 152, 0, 0.98) 100%);
}

.section-transition-negative .section-transition-tape {
    background: repeating-linear-gradient(
        45deg,
        #ffc107,
        #ffc107 20px,
        #000 20px,
        #000 40px
    );
}

.section-transition-negative .tape-text {
    color: #ffffff;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8), -1px -1px 0 rgba(0, 0, 0, 0.8);
    font-weight: 900;
}

.section-transition-negative .section-transition-content {
    box-shadow: 0 20px 60px rgba(255, 193, 7, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.section-transition-negative .section-transition-title {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 50%, #f57c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-transition-negative .section-transition-subtitle {
    color: #ff9800;
}

.section-transition-negative .section-transition-statement {
    background: rgba(255, 193, 7, 0.15);
    border-left-color: #ffc107;
    color: #333;
    font-weight: 600;
}

.section-transition-negative .section-transition-progress-bar {
    background: linear-gradient(90deg, #ffc107 0%, #ff9800 50%, #f57c00 100%);
}

/* Default Section Transition */
.section-transition-default {
    background: rgba(0, 0, 0, 0.95);
}

.section-transition-default .section-transition-tape {
    background: repeating-linear-gradient(
        45deg,
        #fa741d,
        #fa741d 20px,
        #000 20px,
        #000 40px
    );
}

.section-transition-default .tape-text {
    color: #fff;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.section-transition-default .section-transition-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.section-transition-default .section-transition-title {
    color: #333;
}

.section-transition-default .section-transition-subtitle {
    color: #666;
}

.section-transition-default .section-transition-progress-bar {
    background: linear-gradient(90deg, #fa741d 0%, #ff8c3a 100%);
}

@media (max-width: 768px) {
    .section-transition-content {
        padding: 25px 20px;
        margin-top: 30px;
        margin-bottom: 30px;
        width: 95%;
    }
    
    .section-transition-icon {
        font-size: 50px;
        margin-bottom: 15px;
    }
    
    .section-transition-title {
        font-size: 24px;
    }
    
    .section-transition-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .section-transition-logo {
        width: 60px;
    }
    
    /* KONGIFIED Loading Screen Mobile */
    .kongified-loading-screen {
        padding: 30px 20px;
    }
    
    .kongified-logo {
        width: 140px;
    }
    
    .kongified-logo-container {
        margin-bottom: 25px;
    }
    
    .kongified-prep-text {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .kongified-loading-spinner {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 380px) {
    .kongified-logo {
        width: 120px;
    }
    
    .kongified-prep-text {
        font-size: 14px;
    }
}

/* Results Styling - Good Results (Minimalist) */
.results-good .score-display {
    background: linear-gradient(145deg, #fff9f5 0%, #fff4eb 100%);
    border: none;
    box-shadow: 0 8px 32px rgba(250, 116, 29, 0.1), 0 2px 8px rgba(250, 116, 29, 0.06);
}

.results-good .score-number {
    color: var(--color-accent);
}

.results-good .recommendation-box {
    background: linear-gradient(145deg, #fff9f5 0%, #fff4eb 100%);
    border: none;
    box-shadow: 0 6px 28px rgba(250, 116, 29, 0.08), 0 2px 8px rgba(250, 116, 29, 0.05);
}

.results-good .status-badge {
    background: linear-gradient(135deg, #fa741d 0%, #ff8c3a 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(250, 116, 29, 0.35);
}

.results-good .next-move-box {
    background: linear-gradient(145deg, #ffffff 0%, #fffbf8 100%);
    box-shadow: inset 0 0 0 1.5px rgba(250, 116, 29, 0.25), 0 4px 16px rgba(250, 116, 29, 0.06);
}

.results-good .cta-button {
    background: linear-gradient(135deg, #fa741d 0%, #ff8c3a 100%);
    box-shadow: 0 6px 20px rgba(250, 116, 29, 0.35);
}

.results-good .cta-button:hover {
    background: linear-gradient(135deg, #e86810 0%, #fa741d 100%);
    box-shadow: 0 8px 28px rgba(250, 116, 29, 0.4);
    transform: translateY(-2px);
}

.results-good .recommendation-closing {
    color: var(--color-accent);
}

/* Results Styling - All Results Use Brand Colors (Minimalist) */
/* No separate "bad" styling - keep consistent brand look */
.results-bad .score-display {
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.results-bad .score-number {
    color: var(--color-accent);
}

.results-bad .recommendation-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border: none;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.results-bad .status-badge {
    background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.results-bad .next-move-box {
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.results-bad .cta-button {
    background: linear-gradient(135deg, #fa741d 0%, #ff8c3a 100%);
    box-shadow: 0 6px 20px rgba(250, 116, 29, 0.35);
    color: #ffffff;
    font-weight: 600;
}

.results-bad .cta-button:hover {
    background: linear-gradient(135deg, #e86810 0%, #fa741d 100%);
    box-shadow: 0 2px 8px rgba(250, 116, 29, 0.2);
    transform: translateY(-1px);
}

.results-bad .recommendation-closing {
    color: #333;
    font-weight: 600;
}

/* Alert styling for results */
.results-bad .alert-box {
    border-left: 3px solid var(--color-accent);
    background: #fafafa;
    box-shadow: none;
    border: 1px solid #e0e0e0;
}

.results-bad .alert-box p strong {
    color: var(--color-accent);
}

/* Results Action Buttons - Unified */
.results-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0;
}

.btn-results-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
}

.btn-results-action svg {
    flex-shrink: 0;
}

.btn-results-action span {
    display: inline-flex;
    align-items: center;
}

.btn-results-action:hover {
    transform: translateY(-2px);
}

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

.btn-results-primary {
    background: linear-gradient(135deg, #fa741d 0%, #ff8c3a 100%);
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(250, 116, 29, 0.3);
}

.btn-results-primary:hover {
    box-shadow: 0 8px 28px rgba(250, 116, 29, 0.4);
}

.btn-results-primary:active {
    box-shadow: 0 4px 16px rgba(250, 116, 29, 0.25);
}

.btn-results-secondary {
    background: transparent;
    color: var(--color-accent);
    box-shadow: inset 0 0 0 2px var(--color-accent);
}

.btn-results-secondary:hover {
    background: var(--color-accent);
    color: #fff;
    box-shadow: inset 0 0 0 2px var(--color-accent), 0 6px 20px rgba(250, 116, 29, 0.25);
}

.btn-results-secondary:active {
    box-shadow: inset 0 0 0 2px var(--color-accent);
}

/* Responsive styles for results page - Mobile Optimized */
@media (max-width: 768px) {
    .results-container {
        padding: 0;
    }
    
    .results-title {
        font-size: 22px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .brand-name-display {
        padding: 16px 18px;
        margin: 16px 0;
        border-radius: 12px;
    }
    
    .brand-name-label {
        font-size: 10px;
        margin-bottom: 6px;
    }
    
    .brand-name-value {
        font-size: 18px;
    }
    
    .score-display {
        padding: 25px 20px;
        margin: 20px 0;
        border-radius: 20px;
    }
    
    .score-number {
        font-size: 52px;
    }
    
    .score-label {
        font-size: 14px;
    }
    
    .recommendation-title {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .recommendation-message {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 20px;
        text-align: justify;
    }
    
    .recommendation-box {
        padding: 20px 16px;
        margin: 20px 0;
        border-radius: 16px;
    }
    
    .next-move-box {
        padding: 16px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .next-move-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .next-move-list li {
        font-size: 14px;
        padding: 8px 0;
        padding-left: 20px;
    }
    
    .status-badge {
        font-size: 14px;
        padding: 10px 16px;
        margin-bottom: 20px;
    }
    
    .recommendation-closing {
        font-size: 15px;
        margin-top: 16px;
    }
    
    .cta-button {
        padding: 16px 24px;
        font-size: 16px;
        border-radius: 12px;
    }
    
    .cta-button-secondary {
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .scoring-breakdown {
        padding: 16px;
        margin: 16px 0;
        border-radius: 12px;
    }
    
    .scoring-breakdown-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .scoring-breakdown-content {
        font-size: 14px;
    }
    
    .trademark-awareness {
        padding: 22px 18px;
        margin: 20px 0;
    }
    
    .trademark-awareness-title {
        font-size: 16px;
        letter-spacing: 0.5px;
    }
    
    .trademark-awareness-message {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .trademark-awareness-cta {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .results-actions {
        margin: 24px 0;
        gap: 10px;
    }
    
    .btn-results-action {
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 12px;
    }
    
    .results-footer {
        margin-top: 24px;
        padding-top: 20px;
        font-size: 14px;
    }
}

/* ============================================
   MOBILE QUESTION UI - POLISHED DESIGN
   Clean, readable, professional mobile experience
   ============================================ */

@media (max-width: 768px) {
    /* Form Card - More breathing room */
    .form-card {
        padding: 24px 20px;
        border-radius: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    
    /* Progress Container */
    .progress-container {
        margin-bottom: 20px;
    }
    
    .progress-text {
        font-size: 12px;
        margin-top: 8px;
    }
    
    /* Hide Section Header on question slides */
    .question-slide .section-header {
        display: none;
    }
    
    /* Trait Card - Mobile */
    .trait-card {
        margin-bottom: 20px;
        border-radius: 16px;
    }
    
    .trait-card-letter {
        min-width: 64px;
        padding: 20px 16px;
    }
    
    .trait-card-letter span {
        font-size: 28px;
    }
    
    .trait-card-content {
        padding: 16px 18px;
    }
    
    .trait-card-brand {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }
    
    .trait-card-brand-label {
        font-size: 10px;
    }
    
    .trait-card-brand-name {
        font-size: 13px;
    }
    
    .trait-card-name {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .trait-card-description {
        font-size: 13px;
        line-height: 1.5;
    }
    
    /* Legacy Trait Header - Minimalist */
    .question-trait {
        margin-bottom: 20px;
        padding: 16px 18px;
        background: #fafafa;
        border-left: 3px solid var(--color-accent);
        border-radius: 2px;
        box-shadow: none;
    }
    
    .trait-title {
        font-size: 18px;
        font-weight: 700;
        color: var(--color-accent);
        margin-bottom: 6px;
        letter-spacing: -0.3px;
    }
    
    .trait-description {
        font-size: 14px;
        color: #555;
        line-height: 1.5;
        margin: 0;
    }
    
    /* Question Title - Large & Bold */
    .question-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 20px;
        line-height: 1.35;
        color: var(--color-black);
        letter-spacing: -0.3px;
    }
    
    /* Answer Options - Substantial & Tappable */
    .answer-options {
        gap: 10px;
    }
    
    .answer-option label {
        padding: 16px 18px;
        font-size: 15px;
        border-radius: 14px;
        border: none;
        line-height: 1.4;
        background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
        font-weight: 500;
        color: #333;
        min-height: 52px;
        display: flex;
        align-items: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    }
    
    .answer-option label:hover {
        transform: none;
        box-shadow: 0 3px 12px rgba(250, 116, 29, 0.1), inset 0 0 0 1px rgba(250, 116, 29, 0.2);
        background: linear-gradient(145deg, #ffffff 0%, #fff9f5 100%);
    }
    
    .answer-option input[type="radio"]:checked + label {
        transform: none;
        background: linear-gradient(145deg, #fff8f3 0%, #fff4eb 100%);
        color: var(--color-black);
        font-weight: 600;
        box-shadow: 0 4px 16px rgba(250, 116, 29, 0.15), inset 0 0 0 2px var(--color-accent);
    }
    
    
    /* Navigation Buttons - Full Width & Prominent */
    .nav-buttons {
        margin-top: 24px;
        gap: 12px;
    }
    
    .btn {
        padding: 16px 24px;
        font-size: 16px;
        border-radius: 14px;
        font-weight: 600;
        flex: 1;
    }
    
    .btn-secondary {
        background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
        border: none;
        color: #666;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    }
    
    .btn-primary {
        box-shadow: 0 6px 20px rgba(250, 116, 29, 0.25);
    }
    
    /* Container padding */
    .container {
        padding: 16px 12px;
    }
}

/* Small screens - Still readable */
@media (max-width: 380px) {
    .form-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
    
    /* Trait Card - Small screens */
    .trait-card {
        margin-bottom: 16px;
        border-radius: 14px;
    }
    
    .trait-card-letter {
        min-width: 56px;
        padding: 16px 14px;
    }
    
    .trait-card-letter span {
        font-size: 24px;
    }
    
    .trait-card-content {
        padding: 14px 16px;
    }
    
    .trait-card-brand {
        margin-bottom: 6px;
        padding-bottom: 6px;
    }
    
    .trait-card-brand-label {
        font-size: 9px;
    }
    
    .trait-card-brand-name {
        font-size: 12px;
    }
    
    .trait-card-name {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .trait-card-description {
        font-size: 12px;
    }
    
    /* Legacy */
    .question-trait {
        padding: 14px 16px;
        margin-bottom: 16px;
        border-radius: 12px;
    }
    
    .trait-title {
        font-size: 16px;
    }
    
    .trait-description {
        font-size: 13px;
    }
    
    .question-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .answer-options {
        gap: 8px;
    }
    
    .answer-option label {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 48px;
        border-radius: 14px;
    }
    
    
    .nav-buttons {
        margin-top: 20px;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 12px;
    }
}

