/* Modern Premium Styling - QuizStudio */

:root {
    /* Color Palette - HSL values for dark mode */
    --bg-dark: 224 25% 8%;
    --card-bg-dark: 224 25% 12%;
    --card-border-dark: 224 20% 20%;
    
    --primary: 217 91% 60%;      /* Bright Blue matching the screen buttons */
    --primary-hover: 217 91% 52%;
    --primary-glow: 217 91% 60% / 0.25;
    
    --secondary: 190 90% 50%;    /* Cyan Accent */
    
    --text-primary-dark: 210 40% 98%;
    --text-secondary-dark: 215 20% 70%;
    --text-muted-dark: 215 15% 50%;

    --highlight-bg: 48 100% 50%;  /* Warm Yellow */
    --highlight-text: 224 25% 8%;

    --btn-blue: 221 83% 53%;     /* Vibrant Blue for buttons */
    --btn-blue-hover: 221 83% 45%;

    --success: 142 70% 45%;
    --error: 350 80% 55%;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 45px rgba(0, 0, 0, 0.45);
    
    --border-radius-sm: 10px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Light Theme (matches the exact style of the screenshot) */
.light-theme {
    --bg-dark: 210 20% 98%;      /* Very light grey */
    --card-bg-dark: 0 0% 100%;    /* Pure white card */
    --card-border-dark: 210 20% 90%;
    
    --text-primary-dark: 224 25% 12%;   /* Dark Blue-Gray */
    --text-secondary-dark: 215 15% 40%;
    --text-muted-dark: 215 10% 60%;
    
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 16px 36px rgba(149, 157, 165, 0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: hsl(var(--bg-dark));
    color: hsl(var(--text-primary-dark));
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.3s ease;
}

/* Glow Background Effects - Dark Mode only */
.glass-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 20%, hsl(var(--bg-dark)) 80%);
    z-index: -1;
    pointer-events: none;
}

.glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    z-index: -2;
    pointer-events: none;
    animation: orbFloat 25s infinite alternate ease-in-out;
    transition: opacity 0.5s ease;
}

.light-theme .glow-orb {
    opacity: 0; /* No glowing orbs in clean light theme */
}

.orb-1 {
    background: hsl(var(--primary));
    top: -200px;
    right: -100px;
}

.orb-2 {
    background: hsl(var(--secondary));
    bottom: -200px;
    left: -100px;
    animation-delay: -7s;
}

/* Main Layout Container */
.app-container {
    width: 100%;
    max-width: 580px;
    min-height: 100vh;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Header styling */
.app-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid hsl(var(--card-border-dark) / 0.5);
    margin-bottom: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: hsl(var(--primary));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: hsl(var(--primary));
}

.theme-toggle {
    width: 40px;
    height: 40px;
    background: hsl(var(--card-bg-dark));
    border: 1px solid hsl(var(--card-border-dark));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    border-color: hsl(var(--primary));
}

.theme-toggle i {
    font-size: 1rem;
    color: hsl(var(--text-secondary-dark));
}

/* Main Content Area */
.main-content {
    width: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Premium Card Styling */
.card {
    width: 100%;
    background: hsl(var(--card-bg-dark) / 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid hsl(var(--card-border-dark));
    border-radius: var(--border-radius-lg);
    padding: 2.25rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.card.active {
    display: flex;
    animation: cardEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Dynamic Headline styles matching screen */
.quiz-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.quiz-headline {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.2px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.text-blue {
    color: #4299E1; /* Nice corporate blue in dark mode */
}
.light-theme .text-blue {
    color: #1A365D; /* Dark rich navy blue in light mode */
}

.text-strong {
    color: hsl(var(--text-primary-dark));
}
.light-theme .text-strong {
    color: #2D3748;
}

/* Yellow highlighted badge */
.badge-highlight {
    display: inline-block;
    background-color: #FEE2E2; /* fallback */
    background: #FFF500;
    color: #000000;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 10px rgba(255, 245, 0, 0.15);
    margin: 0.5rem auto 0 auto;
}

.light-theme .badge-highlight {
    background: #FFF200;
    box-shadow: none;
}

/* Image styling */
.image-container {
    width: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    border: 1px solid hsl(var(--card-border-dark));
}

.transformation-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.transformation-img:hover {
    transform: scale(1.02);
}

/* Step Description */
.step-question-container {
    text-align: center;
    margin-bottom: 1.25rem;
}

.step-question-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: hsl(var(--text-primary-dark));
    margin-bottom: 0.5rem;
}

.step-question-title.main-question {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.font-outfit {
    font-family: var(--font-heading);
}

.step-question-subtitle {
    font-size: 0.95rem;
    color: hsl(var(--text-secondary-dark));
}

/* Options Grid Layout */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
    .options-grid {
        grid-template-columns: 1fr; /* Stack vertically on very small screens */
    }
}

/* Option Buttons (Step 1) */
.option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #3B82F6; /* Screen-match Blue */
    color: #FFFFFF;
    border: none;
    border-radius: var(--border-radius-md);
    padding: 1.15rem 1.25rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.option-btn:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

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

/* When selected */
.option-btn.selected {
    background-color: #1D4ED8;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4), 0 0 15px rgba(59, 130, 246, 0.6);
}

/* Radio circle inside buttons */
.radio-circle {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

/* Step 2 specific Radio Circle color details */
.light-theme .option-card-btn .radio-circle {
    border-color: #CBD5E1;
}

.light-theme .option-card-btn.selected .radio-circle {
    border-color: #3B82F6;
    background-color: #3B82F6;
}

.light-theme .option-card-btn.selected .radio-circle::after {
    background-color: #FFFFFF;
}

.option-btn:hover .radio-circle {
    border-color: #FFFFFF;
}

.option-btn.selected .radio-circle {
    border-color: #FFFFFF;
    background-color: #FFFFFF;
}

.option-btn.selected .radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #1D4ED8;
    border-radius: 50%;
}

.option-label {
    flex-grow: 1;
}

/* Premium Dark Mode alternative styles for buttons */
.option-btn {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* STEP 2 - HORIZONTAL CARD GRID STYLING */
.options-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    margin-top: 0.5rem;
}

@media (max-width: 580px) {
    .options-grid-horizontal {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

.option-card-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 90px;
    background-color: hsl(var(--card-bg-dark) / 0.6);
    border: 1px solid hsl(var(--card-border-dark));
    border-radius: 14px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    color: hsl(var(--text-primary-dark));
    transition: var(--transition-smooth);
}

.light-theme .option-card-btn {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    color: #1F2937;
}

.option-card-btn:hover {
    transform: translateY(-2px);
    border-color: hsl(var(--primary));
    box-shadow: var(--shadow-md);
}

.light-theme .option-card-btn:hover {
    border-color: #93C5FD;
    background-color: #F3F4F6;
}

/* Option Card Selected State */
.option-card-btn.selected {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.08);
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.5);
}

.light-theme .option-card-btn.selected {
    border-color: #3B82F6;
    background-color: #EFF6FF;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}

.option-card-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-grow: 1;
    padding-left: 1.25rem;
    padding-right: 0.5rem;
}

/* Radio button behavior for horizontal cards */
.option-card-btn .radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid hsl(var(--text-muted-dark));
}

.option-card-btn.selected .radio-circle {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary));
}

.option-card-btn.selected .radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

/* Step 2 Image wrapper & styling */
.option-card-img-wrapper {
    width: 85px;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    border-left: 1px solid hsl(var(--card-border-dark) / 0.5);
    background-color: hsl(var(--card-border-dark) / 0.1);
}

.light-theme .option-card-img-wrapper {
    border-left: 1px solid #E5E7EB;
    background-color: #F3F4F6;
}

.option-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.option-card-btn:hover .option-card-img {
    transform: scale(1.05);
}

/* STEP 3 - MULTI-SELECT PATHOLOGY LIST STYLING */
.options-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

.option-check-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    background-color: hsl(var(--card-bg-dark) / 0.6);
    border: 1px solid hsl(var(--card-border-dark));
    border-radius: 12px;
    padding: 0.95rem 1.25rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    color: hsl(var(--text-primary-dark));
    transition: var(--transition-smooth);
}

.light-theme .option-check-btn {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    color: #1F2937;
}

.option-check-btn:hover {
    transform: translateY(-1px);
    border-color: hsl(var(--primary));
    background-color: hsl(var(--card-bg-dark) / 0.9);
}

.light-theme .option-check-btn:hover {
    border-color: #93C5FD;
    background-color: #F3F4F6;
}

/* Selected state for multi check card */
.option-check-btn.selected {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.08);
}

.light-theme .option-check-btn.selected {
    border-color: #3B82F6;
    background-color: #EFF6FF;
}

/* Checkbox square element */
.checkbox-square {
    width: 22px;
    height: 22px;
    border: 2px solid hsl(var(--text-muted-dark));
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: transparent;
    transition: var(--transition-smooth);
}

.light-theme .checkbox-square {
    border-color: #D1D5DB;
}

.option-check-btn.selected .checkbox-square {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary));
}

.light-theme .option-check-btn.selected .checkbox-square {
    border-color: #3B82F6;
    background-color: #3B82F6;
}

/* Check icon transitions */
.check-icon {
    font-size: 0.75rem;
    color: #FFFFFF;
    opacity: 0;
    transform: scale(0.6);
    transition: var(--transition-smooth);
}

.option-check-btn.selected .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* STEP 4 - OPTION ROW WITH EMOJI STYLING */
.option-row-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background-color: hsl(var(--card-bg-dark) / 0.6);
    border: 1px solid hsl(var(--card-border-dark));
    border-radius: 14px;
    padding: 1.1rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    color: hsl(var(--text-primary-dark));
    transition: var(--transition-smooth);
}

.light-theme .option-row-btn {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    color: #1F2937;
}

.option-row-btn:hover {
    transform: translateY(-1px);
    border-color: hsl(var(--primary));
    background-color: hsl(var(--card-bg-dark) / 0.9);
}

.light-theme .option-row-btn:hover {
    border-color: #93C5FD;
    background-color: #F3F4F6;
}

.option-row-btn.selected {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.08);
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.5);
}

.light-theme .option-row-btn.selected {
    border-color: #3B82F6;
    background-color: #EFF6FF;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}

.emoji-icon {
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-row-btn .radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid hsl(var(--text-muted-dark));
}

.option-row-btn.selected .radio-circle {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary));
}

.option-row-btn.selected .radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

.light-theme .option-row-btn .radio-circle {
    border-color: #CBD5E1;
}

.light-theme .option-row-btn.selected .radio-circle {
    border-color: #3B82F6;
    background-color: #3B82F6;
}

.light-theme .option-row-btn.selected .radio-circle::after {
    background-color: #FFFFFF;
}

/* Styled inline formats inside buttons */
.option-row-btn strong {
    font-weight: 700;
}

.option-row-btn u {
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

/* STEP 5 - SIMPLE OPTION STACK STYLING */
.option-simple-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background-color: hsl(var(--card-bg-dark) / 0.6);
    border: 1px solid hsl(var(--card-border-dark));
    border-radius: 14px;
    padding: 1.1rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    color: hsl(var(--text-primary-dark));
    transition: var(--transition-smooth);
}

.light-theme .option-simple-btn {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    color: #1F2937;
}

.option-simple-btn:hover {
    transform: translateY(-1px);
    border-color: hsl(var(--primary));
    background-color: hsl(var(--card-bg-dark) / 0.9);
}

.light-theme .option-simple-btn:hover {
    border-color: #93C5FD;
    background-color: #F3F4F6;
}

.option-simple-btn.selected {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.08);
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.5);
}

.light-theme .option-simple-btn.selected {
    border-color: #3B82F6;
    background-color: #EFF6FF;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}

.option-simple-btn .radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid hsl(var(--text-muted-dark));
}

.option-simple-btn.selected .radio-circle {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary));
}

.option-simple-btn.selected .radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

.light-theme .option-simple-btn .radio-circle {
    border-color: #CBD5E1;
}

.light-theme .option-simple-btn.selected .radio-circle {
    border-color: #3B82F6;
    background-color: #3B82F6;
}

.light-theme .option-simple-btn.selected .radio-circle::after {
    background-color: #FFFFFF;
}

/* STEP 6 - SOCIAL PROOF SWIPE CAROUSEL STYLING */
.carousel-subtext {
    text-align: center;
    margin-top: -0.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.blue-link {
    color: #3B82F6;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
}

.light-theme .blue-link {
    color: #2563EB;
}

.carousel-container {
    width: 100%;
    position: relative;
    margin-bottom: 1.5rem;
}

/* Premium Glassmorphic Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.light-theme .carousel-arrow {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1F2937;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.carousel-arrow:hover {
    background: #3B82F6;
    color: #FFFFFF;
    border-color: #3B82F6;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.carousel-arrow.prev {
    left: -20px;
}

.carousel-arrow.next {
    right: -20px;
}

@media (max-width: 600px) {
    .carousel-arrow {
        width: 38px;
        height: 38px;
    }
    .carousel-arrow.prev {
        left: 5px;
    }
    .carousel-arrow.next {
        right: 5px;
    }
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    -ms-overflow-style: none; /* Hide scrollbar IE 10+ */
    scroll-behavior: smooth;
    padding: 0.25rem 0;
    position: relative; /* Ensure offsetParent for offsetLeft of slides */
}

.carousel-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

/* Mouse drag custom cursor and disable smooth snapping while dragging */
.carousel-track.dragging {
    scroll-behavior: auto;
    scroll-snap-type: none;
    cursor: grabbing;
}

.carousel-slide {
    min-width: 86%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease;
    user-select: none; /* Prevent image/text selection during dragging */
}

/* Add margins to center first and last slide nicely */
.carousel-slide:first-child {
    margin-left: 7%;
}
.carousel-slide:last-child {
    margin-right: 7%;
}

.carousel-img-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid hsl(var(--card-border-dark));
}

.light-theme .carousel-img-wrapper {
    border: 1px solid #E5E7EB;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none; /* Prevent default image dragging behavior */
}

.carousel-caption {
    font-size: 0.95rem;
    font-weight: 600;
    color: hsl(var(--text-secondary-dark));
    margin-top: 0.75rem;
    text-align: center;
}

.light-theme .carousel-caption {
    color: #4B5563;
}

/* Carousel dots navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: hsl(var(--card-border-dark));
    cursor: pointer;
    transition: var(--transition-smooth);
}

.light-theme .carousel-dot {
    background-color: #D1D5DB;
}

.carousel-dot.active {
    background-color: #3B82F6;
    width: 18px;
    border-radius: 4px;
}

.light-theme .carousel-dot.active {
    background-color: #3B82F6;
}

/* Text transform helper */
.uppercase-btn {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Caption below the Continue button */
.button-sub-caption {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.5;
    color: hsl(var(--text-muted-dark));
    text-align: center;
    margin-top: 0.85rem;
    max-width: 90%;
    align-self: center;
}

.light-theme .button-sub-caption {
    color: #6B7280;
}

/* Continue Button Styling */
.continue-btn {
    width: 100%;
    background-color: #3B82F6;
    color: #FFFFFF;
    border: none;
    border-radius: var(--border-radius-md);
    padding: 1.1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.continue-btn:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

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

/* Callout Box styling */
.callout-box {
    background-color: #EFF6FF; /* Very light blue callout */
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3B82F6;
    text-align: left;
}

.dark-theme .callout-box {
    background-color: hsl(var(--card-bg-dark));
    border: 1px solid hsl(var(--card-border-dark));
    border-left: 4px solid #3B82F6;
}

.callout-icon {
    font-size: 1.1rem;
    color: #3B82F6;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.callout-text {
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 500;
    color: #1E3A8A; /* Dark blue text */
}

.dark-theme .callout-text {
    color: hsl(var(--text-secondary-dark));
}

/* Estimated Time styling */
.estimated-time {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checkmark-icon {
    font-size: 0.95rem;
}

.time-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #9CA3AF; /* Muted gray */
    letter-spacing: 0.5px;
}

.light-theme .time-text {
    color: #6B7280;
}

/* Footer Styling */
.app-footer {
    margin-top: 2rem;
    width: 100%;
    text-align: center;
    border-top: 1px solid hsl(var(--card-border-dark) / 0.5);
    padding-top: 1.25rem;
}

.app-footer p {
    font-size: 0.75rem;
    color: hsl(var(--text-muted-dark));
}

/* Float Animation */
@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(60px, 40px) scale(1.05);
    }
}

/* Entrance Animation */
@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Shake Animation for warning */
@keyframes shakeBtn {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* STEP 7 - THREE COLUMN CARDS GRID */
.options-grid-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 580px) {
    .options-grid-columns {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 1rem;
    }
}

.option-column-btn {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: hsl(var(--card-bg-dark) / 0.6);
    border: 1px solid hsl(var(--card-border-dark));
    border-radius: var(--border-radius-md);
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    color: hsl(var(--text-primary-dark));
    transition: var(--transition-smooth);
    position: relative;
}

.light-theme .option-column-btn {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    color: #1F2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.option-column-btn:hover {
    transform: translateY(-4px);
    border-color: hsl(var(--primary));
    box-shadow: var(--shadow-md);
}

.light-theme .option-column-btn:hover {
    border-color: #3B82F6;
    background-color: #F9FAFB;
}

.option-column-btn.selected {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.08);
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.5);
}

.light-theme .option-column-btn.selected {
    border-color: #3B82F6;
    background-color: #EFF6FF;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}

.option-column-img-wrapper {
    width: 100%;
    height: 220px;
    position: relative;
    background-color: #F3F4F6;
    overflow: hidden;
}

@media (max-width: 580px) {
    .option-column-img-wrapper {
        height: 280px; /* Taller on mobile vertical view */
    }
}

.option-column-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.option-column-btn:hover .option-column-img {
    transform: scale(1.05);
}

.option-column-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    width: 100%;
    padding: 1rem 0.75rem;
    background-color: hsl(var(--card-border-dark) / 0.3);
    border-top: 1px solid hsl(var(--card-border-dark) / 0.5);
    flex-grow: 1;
}

.light-theme .option-column-bottom {
    background-color: #F9FAFB;
    border-top: 1px solid #E5E7EB;
}

.option-column-btn.selected .option-column-bottom {
    background-color: hsl(var(--primary) / 0.08);
}

.light-theme .option-column-btn.selected .option-column-bottom {
    background-color: #EFF6FF;
}

.option-column-btn .radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid hsl(var(--text-muted-dark));
    flex-shrink: 0;
}

.light-theme .option-column-btn .radio-circle {
    border-color: #CBD5E1;
}

.option-column-btn.selected .radio-circle {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary));
}

.light-theme .option-column-btn.selected .radio-circle {
    border-color: #3B82F6;
    background-color: #3B82F6;
}

.option-column-btn.selected .radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

/* ─── LOADING SCREEN STYLING ─── */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
}

.loading-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.3px;
    color: hsl(var(--text-primary-dark));
}

.progress-bar-outer {
    width: 100%;
    max-width: 320px;
    height: 12px;
    background-color: hsl(var(--card-border-dark) / 0.8);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    position: relative;
    border: 1px solid hsl(var(--card-border-dark) / 0.5);
}

.light-theme .progress-bar-outer {
    background-color: #E2E8F0;
    border-color: #CBD5E1;
}

.progress-bar-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
    border-radius: 6px;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.progress-percentage {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #3B82F6;
    margin-bottom: 1.5rem;
    font-variant-numeric: tabular-nums;
}

.loading-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    color: hsl(var(--text-secondary-dark));
    min-height: 24px; /* prevent layout shift when text changes */
    animation: loadingTextPulse 2s infinite ease-in-out;
}

.light-theme .loading-subtitle {
    color: #4B5563;
}

@keyframes loadingTextPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}


/* ─── RESULTS SCREEN STYLING ─── */
#step-results {
    padding: 0; /* Remove default padding for clean banner header alignment */
    border-radius: var(--border-radius-lg);
    background: hsl(var(--card-bg-dark) / 0.9);
}

.results-header-banner {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    width: 100%;
}

.light-theme .results-header-banner {
    background: #FFF0F0;
    border-bottom: 1px solid #FCA5A5;
}

.banner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #EF4444;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.light-theme .banner-badge {
    background-color: #FEE2E2;
    border-color: #FCA5A5;
}

.warning-emoji {
    font-size: 0.95rem;
}

.banner-title {
    color: #EF4444;
}

.banner-subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: hsl(var(--text-secondary-dark));
    margin-bottom: 0.25rem;
}

.light-theme .banner-subtitle {
    color: #4B5563;
}

.banner-main-problem {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    color: #EF4444;
    text-decoration: underline;
    text-underline-offset: 4px;
    letter-spacing: -0.5px;
}

.light-theme .banner-main-problem {
    color: #DC2626;
}

.results-content {
    padding: 1.75rem 1.5rem 2.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.results-section-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: hsl(var(--text-primary-dark));
    text-align: center;
}

/* SVG Chart Container & Tooltips */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 460px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid hsl(var(--card-border-dark));
    border-radius: var(--border-radius-md);
    padding: 2.25rem 1rem 1rem 1rem;
    margin-bottom: 1.75rem;
    overflow: visible;
}

.light-theme .chart-container {
    background-color: #FAFAFA;
    border-color: #E2E8F0;
}

.chart-tooltip {
    position: absolute;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.ideal-tooltip {
    background-color: #FFFFFF;
    color: #4B5563;
    border: 1px solid #D1D5DB;
    left: calc(16% - 15px); /* matches X=80 on 500 max width */
    top: 5px;
    transform: translateX(-50%);
}

.user-tooltip {
    background-color: #22C55E;
    color: #FFFFFF;
    right: calc(16% - 15px); /* matches X=420 on 500 max width */
    top: 135px; /* positioned above circle which is at Y=190 */
    transform: translateX(50%);
}

/* Responsive SVG styling */
.results-svg-chart {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Chart text labels inside SVG */
.axis-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    fill: hsl(var(--text-muted-dark));
    text-anchor: end;
}

.light-theme .axis-label {
    fill: #6B7280;
}

/* Point Pulses */
.chart-point {
    stroke-width: 3px;
    transition: transform 0.3s ease;
}

.red-point {
    fill: #EF4444;
    stroke: #FFFFFF;
}

.green-point {
    fill: #22C55E;
    stroke: #FFFFFF;
}

.chart-point-pulse {
    fill: none;
    transform-origin: center;
    animation: pointPulse 2s infinite ease-out;
}

.red-pulse {
    stroke: #EF4444;
}

.green-pulse {
    stroke: #22C55E;
}

@keyframes pointPulse {
    0% {
        stroke-width: 1px;
        opacity: 0.8;
        transform: scale(0.6);
        transform-origin: center;
    }
    100% {
        stroke-width: 4px;
        opacity: 0;
        transform: scale(1.6);
        transform-origin: center;
    }
}

/* Bottom Chart Labels */
.chart-bottom-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 1rem 0 2rem;
}

.bottom-label-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: hsl(var(--text-muted-dark));
}

.light-theme .bottom-label-text {
    color: #6B7280;
}

/* Highlighting and bullets */
.results-bullets {
    width: 100%;
    margin-bottom: 1.75rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.bullet-item {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    color: hsl(var(--text-primary-dark));
}

.light-theme .bullet-item {
    color: #1F2937;
}

.text-highlight {
    background-color: #FFF500;
    color: #000000;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 700;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
}

.light-theme .text-highlight {
    background-color: #FFF200;
}

/* Soft Green Badge container */
.calm-badge {
    width: 100%;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #15803D;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    padding: 1.1rem 1.25rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.05);
    letter-spacing: 0.2px;
}

.light-theme .calm-badge {
    background-color: #DCFCE7;
    border-color: #BBF7D0;
    color: #15803D;
}

/* CTA Blue Solution Button */
.solution-btn {
    background-color: #3B82F6;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: #FFFFFF;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 18px rgba(59, 130, 246, 0.4);
    margin-top: 0;
}

.solution-btn:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    box-shadow: 0 6px 22px rgba(59, 130, 246, 0.55);
}

/* Premium Toast Notification */
.premium-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.light-theme .premium-toast {
    background: rgba(255, 255, 255, 0.9);
    border-color: #E2E8F0;
    color: #1F2937;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.premium-toast i {
    color: #22C55E;
    font-size: 1.1rem;
}

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

/* ──────────────────────────────────────────────────────────────────────────
   FINAL LOADING AND CONGRATULATIONS SCREENS
   ────────────────────────────────────────────────────────────────────────── */

#step-final-loading {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#step-final-loading .card-loading-body-white {
    background: #FFFFFF;
    border: 1px solid hsl(var(--card-border-dark));
    border-radius: var(--border-radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

#step-final-loading .loading-white-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Final progress bar below card */
.final-progress-container {
    margin-top: 1.75rem;
    width: 100%;
    padding: 0 0.5rem;
}

.final-progress-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
}

.light-theme .final-progress-labels {
    color: #1F2937;
}

body:not(.light-theme) .final-progress-labels {
    color: #FFFFFF;
}

.final-progress-bar-outer {
    width: 100%;
    height: 12px;
    background-color: #E5E7EB;
    border-radius: 6px;
    margin: 0.6rem 0;
    overflow: hidden;
}

.light-theme .final-progress-bar-outer {
    background-color: #E5E7EB;
}

body:not(.light-theme) .final-progress-bar-outer {
    background-color: #334155;
}

.final-progress-bar-inner {
    height: 100%;
    background-color: #3B82F6;
    border-radius: 6px;
    transition: width 0.1s linear;
}

.final-progress-subtitle {
    text-align: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    color: #EF4444;
    margin-top: 0.75rem;
}

/* Congratulations Step */
#step-congrats {
    padding: 0 !important;
}

.congrats-header-green {
    background-color: #DCFCE7;
    border-bottom: 1px solid #BBF7D0;
    color: #166534;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    text-align: center;
    padding: 1.25rem 1.5rem;
    line-height: 1.45;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
}

.congrats-image-container {
    width: 100%;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    display: flex;
    justify-content: center;
}

.congrats-main-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.congrats-blue-title {
    text-align: center;
    color: #2563EB;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin: 1.5rem 1.5rem 1.25rem 1.5rem;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.congrats-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 0 1.5rem 1.5rem 1.5rem;
}

@media (max-width: 520px) {
    .congrats-benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.light-theme .benefit-card {
    background-color: #F9FAFB;
    border-color: #E5E7EB;
}

body:not(.light-theme) .benefit-card {
    background-color: #1E293B;
    border-color: #334155;
}

.benefit-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.highlight-yellow {
    background-color: #FFF500;
    color: #000000;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
}

.benefit-card-desc {
    font-size: 0.9rem;
    line-height: 1.45;
}

.light-theme .benefit-card-desc {
    color: #4B5563;
}

body:not(.light-theme) .benefit-card-desc {
    color: #94A3B8;
}

.congrats-action-plan {
    margin: 0 1.5rem 1.75rem 1.5rem;
    text-align: center;
}

.action-plan-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.light-theme .action-plan-title {
    color: #000000;
}

body:not(.light-theme) .action-plan-title {
    color: #FFFFFF;
}

.action-plan-list {
    list-style: none;
    display: inline-flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
    margin: 0 auto;
}

.action-plan-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
}

.light-theme .action-plan-list li {
    color: #4B5563;
}

body:not(.light-theme) .action-plan-list li {
    color: #D1D5DB;
}

.check-box-icon {
    color: #10B981;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.congrats-cta-container {
    padding: 1.5rem;
    border-top: 1px solid hsl(var(--card-border-dark));
    text-align: center;
    background-color: hsl(var(--card-bg-dark) / 0.4);
}

.congrats-cta-question {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #2563EB;
    margin-bottom: 1.15rem;
    text-transform: uppercase;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.premium-cta-btn {
    width: 100%;
    margin-top: 0;
}

#step-final-vsl-loading,
#step-vsl {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.vsl-loading-progress-container {
    width: 100%;
    margin-bottom: 2rem;
}

.vsl-red-subtitle {
    color: #EF4444;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-align: center;
    margin-top: 0.75rem;
    text-transform: uppercase;
}

.testimonial-card-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 0 0.5rem;
}

/* Slide arrows preview mockup */
.testimonial-card-wrapper::before,
.testimonial-card-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 80px;
    background-color: hsl(var(--card-bg-dark) / 0.3);
    border: 1px solid hsl(var(--card-border-dark) / 0.5);
    border-radius: 4px;
    opacity: 0.4;
}

.testimonial-card-wrapper::before {
    left: -8px;
}

.testimonial-card-wrapper::after {
    right: -8px;
}

.testimonial-card {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 1.5rem;
    width: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.light-theme .testimonial-card {
    background-color: #F9FAFB;
    border-color: #E5E7EB;
}

body:not(.light-theme) .testimonial-card {
    background-color: #1E293B;
    border-color: #334155;
}

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

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 0.85rem;
    display: flex;
    gap: 0.15rem;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
}

.light-theme .testimonial-name {
    color: #111827;
}

body:not(.light-theme) .testimonial-name {
    color: #FFFFFF;
}

.testimonial-subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6B7280;
}

body:not(.light-theme) .testimonial-subtitle {
    color: #94A3B8;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.55;
}

.light-theme .testimonial-text {
    color: #4B5563;
}

body:not(.light-theme) .testimonial-text {
    color: #D1D5DB;
}

/* VSL Headline Styles */
.vsl-headline {
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.45;
    color: #2563EB;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.vsl-highlight {
    background-color: #FFF500;
    color: #2563EB;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 800;
    display: inline-block;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
}

/* VSL Video Container Portrait 9:16 Mockup */
.vsl-video-container {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 9 / 16;
    margin: 0 auto 1.5rem auto;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 12px solid #111827;
    background-color: #000000;
    position: relative;
}

.mock-vsl-player {
    width: 100%;
    height: 100%;
    background-color: #C81912; /* Match the red background in the screenshot */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.25rem;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

/* Background shine glow on the player */
.mock-vsl-player::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.mock-player-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.mock-player-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.45;
    margin-bottom: 3.5rem;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mock-player-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    align-items: center;
}

.mock-player-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    width: fit-content;
}

.mock-player-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: scale(1.04);
}

.mock-player-btn:active {
    transform: scale(0.98);
}

.player-icon-circle {
    width: 44px;
    height: 44px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
}

.player-btn-label {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Sales Page Content Styles */
.vsl-sales-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.vsl-cta-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
}

.vsl-main-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    background-color: #3B82F6;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius-md);
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.vsl-main-cta-btn:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.vsl-main-cta-btn:active {
    transform: translateY(0);
}

.vsl-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vsl-section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.4;
    color: #2563EB;
    margin-bottom: 0.5rem;
    letter-spacing: -0.2px;
}

.vsl-testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.vsl-testimonial-item {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.vsl-testimonial-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.light-theme .vsl-testimonial-item {
    background-color: #F9FAFB;
    border-color: #E5E7EB;
}

body:not(.light-theme) .vsl-testimonial-item {
    background-color: #1E293B;
    border-color: #334155;
}

/* Price Box Offer Component */
.vsl-price-offer-box {
    width: 100%;
    border-radius: 20px;
    border: 2px solid #2563EB;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.vsl-price-offer-box:hover {
    transform: scale(1.01);
}

.price-box-header {
    background-color: #2563EB;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
    padding: 0.85rem 1rem;
    letter-spacing: 0.5px;
}

.price-box-body {
    background-color: #FFFFFF;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.light-theme .price-box-body {
    background-color: #FFFFFF;
}

body:not(.light-theme) .price-box-body {
    background-color: #1E293B;
}

.price-old {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #EF4444;
    text-decoration: line-through;
    text-decoration-color: #EF4444;
    text-decoration-thickness: 3px;
}

.price-new-badge {
    background-color: #F3F4F6;
    border-radius: 16px;
    padding: 0.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    border: 1px solid #E5E7EB;
}

.light-theme .price-new-badge {
    background-color: #F3F4F6;
    border-color: #E5E7EB;
}

body:not(.light-theme) .price-new-badge {
    background-color: #0F172A;
    border-color: #1E293B;
}

.price-discount-text {
    font-size: 0.75rem;
    font-weight: 800;
    color: #6B7280;
}

body:not(.light-theme) .price-discount-text {
    color: #94A3B8;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #111827;
}

.light-theme .price-value {
    color: #111827;
}

body:not(.light-theme) .price-value {
    color: #FFFFFF;
}

.price-condition {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6B7280;
}

body:not(.light-theme) .price-condition {
    color: #94A3B8;
}

/* Product deliverables mockup styling */
.vsl-product-mockup-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
}

.vsl-product-img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.vsl-deliverables-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    padding: 0 0.25rem;
}

.vsl-deliverables-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.deliverable-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.5;
}

.light-theme .deliverable-text {
    color: #374151;
}

body:not(.light-theme) .deliverable-text {
    color: #D1D5DB;
}

.deliverable-text strong {
    font-weight: 700;
}

.deliverable-text u {
    text-underline-offset: 3px;
}

/* Teacher Bio styling */
.vsl-teacher-img-container {
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid hsl(var(--card-border-dark));
    box-shadow: var(--shadow-md);
    margin: 0.5rem 0;
}

.vsl-teacher-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.vsl-teacher-bio {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: left;
    padding: 0 0.25rem;
}

.light-theme .vsl-teacher-bio {
    color: #374151;
}

body:not(.light-theme) .vsl-teacher-bio {
    color: #D1D5DB;
}

.vsl-teacher-bio strong {
    font-weight: 700;
}

.esconder {
    display: none !important;
}






