﻿/* =============================================
   MENTALISTA - Premium Quiz Experience
   Mobile-First Design System
   ============================================= */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --primary-light: #4ade80;
    --secondary: #10b981;
    --secondary-light: #34d399;
    --accent: #FFD700;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;

    /* Backgrounds */
    --bg-dark: #061208;
    --bg-medium: #0a2014;
    --bg-light: #14432a;
    --bg-card: rgba(20, 67, 42, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    --gradient-dark: linear-gradient(180deg, #0a2014 0%, #061208 100%);
    --gradient-glow: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, transparent 70%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.3);

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   ANIMATED BACKGROUND - All Screens
   ============================================= */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #030a05 0%, #061208 50%, #061208 100%);
}

/* Gradient Orbs - Floating Ambient Light */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.6) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.5) 0%, transparent 70%);
    top: 60%;
    right: -15%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    bottom: -5%;
    left: 30%;
    animation-duration: 22s;
    animation-delay: -10s;
}

.orb-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.5) 0%, transparent 70%);
    top: 30%;
    left: 60%;
    animation-duration: 28s;
    animation-delay: -15s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -40px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }

    75% {
        transform: translate(40px, 20px) scale(1.05);
    }
}

/* Stars / Particles Effect */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(1px 1px at 240px 100px, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(2px 2px at 280px 150px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 320px 60px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 360px 130px, rgba(255, 255, 255, 0.15), transparent);
    background-size: 400px 200px;
    animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Grid Overlay - Tech/Trust Feel */
.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Screen Management */
.screen {
    display: none;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    position: relative;
    z-index: 1;
}

.screen.active {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =============================================
   SPLASH SCREEN
   ============================================= */
#splash {
    background: transparent;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
    overflow: hidden;
}

.splash-content {
    text-align: center;
    z-index: 10;
    max-width: 420px;
    width: 100%;
    padding: 0 var(--spacing-md);
}

/* Quiz Images - Panoramic Compact Format */
.quiz-image-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    aspect-ratio: 16 / 9;
}

.quiz-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    pointer-events: none;
    opacity: 0.4;
    z-index: 1;
}

.quiz-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.analysis-image {
    max-width: 380px;
}

.diagnosis-image {
    max-width: 420px;
}

/* Small panoramic images for questions */
.question-image {
    max-width: 280px;
    aspect-ratio: 3 / 2;
    margin-bottom: var(--spacing-sm);
}

/* Logo */
.logo-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-xl);
}

.logo-glow {
    position: absolute;
    inset: -20px;
    background: var(--gradient-glow);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.logo-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    color: var(--primary-light);
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.5));
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Title */
.splash-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.splash-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.splash-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--spacing-xl);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--bg-glass);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-icon {
    width: 14px;
    height: 14px;
    color: var(--primary-light);
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: var(--gradient-primary);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-glow);
    width: 100%;
    max-width: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(34, 197, 94, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.disclaimer {
    margin-top: var(--spacing-md);
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.mini-icon {
    width: 12px;
    height: 12px;
    color: var(--success);
}

/* Secret Badge */
.secret-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(16, 185, 129, 0.2));
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    color: var(--secondary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(16, 185, 129, 0.3);
    animation: secretPulse 2s ease-in-out infinite;
}

.secret-icon {
    width: 10px;
    height: 10px;
}

@keyframes secretPulse {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

/* Live Indicator */
.live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* Pulse Badge */
.pulse-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* Micro Text */
.micro-text {
    font-size: 0.6rem;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: var(--spacing-lg);
    line-height: 1.4;
}

/* Analysis title transition */
.analysis-title {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.e1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.e2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: -80px;
    animation-delay: -5s;
}

.e3 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, 20px) rotate(-5deg);
    }

    75% {
        transform: translate(15px, 10px) rotate(3deg);
    }
}

/* =============================================
   OPEN LOOP TRANSITION - Creates Irresistible Curiosity
   ============================================= */
.open-loop-transition {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    animation: fadeInLoop 0.4s ease;
    transition: all 0.3s ease;
}

@keyframes fadeInLoop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.open-loop-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    animation: pulseIcon 1s ease infinite;
}

@keyframes pulseIcon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.open-loop-text {
    font-size: 1.1rem;
    color: var(--primary-light);
    text-align: center;
    font-weight: 500;
    padding: 0 var(--spacing-md);
    line-height: 1.5;
    animation: fadeInText 0.5s ease 0.2s both;
}

@keyframes fadeInText {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.open-loop-dots {
    display: flex;
    gap: 8px;
    margin-top: var(--spacing-lg);
}

.open-loop-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotPulse 1.4s ease infinite;
}

.open-loop-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.open-loop-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {

    0%,
    80%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    40% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* =============================================
   MALE PROFILE CAROUSEL - Analysis Phase
   ============================================= */
.profiles-carousel {
    display: flex;
    gap: 8px;
    margin-bottom: var(--spacing-sm);
    margin-right: var(--spacing-md);
}

.profile-thumb {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(34, 197, 94, 0.3);
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.profile-thumb.active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
}

.profiles-step {
    display: flex;
    align-items: center;
}

.analysis-step {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.analysis-check {
    font-size: 1rem;
    min-width: 24px;
}

/* =============================================
   QUESTIONS SCREEN
   ============================================= */
#questions {
    background: transparent;
    padding: var(--spacing-md);
    padding-top: calc(var(--spacing-md) + env(safe-area-inset-top));
    align-items: center;
}

/* Progress Bar */
.progress-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    max-width: 420px;
    width: 100%;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Question Container */
.question-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
    padding: 0 var(--spacing-md);
}

/* Question Slide */
.question-slide {
    display: none;
    flex-direction: column;
    animation: slideIn 0.4s ease;
}

.question-slide.active {
    display: flex;
    flex: 1;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Question Header */
.question-header {
    margin-bottom: var(--spacing-lg);
}

.question-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.75rem;
    color: var(--primary-light);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.question-eyebrow i {
    width: 16px;
    height: 16px;
}

.question-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Persuasive Hint */
.question-hint {
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
    animation: fadeInHint 0.5s ease 0.3s both;
}

@keyframes fadeInHint {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Answer Options */
.answers-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.answer-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.answer-option:hover {
    border-color: var(--primary);
    background: rgba(34, 197, 94, 0.1);
}

.answer-option.selected {
    border-color: var(--primary);
    background: rgba(34, 197, 94, 0.15);
}

.answer-option.processing {
    pointer-events: none;
}

.answer-option.processing::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

.answer-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.answer-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

.answer-check {
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.answer-option.selected .answer-check {
    background: var(--gradient-primary);
    border-color: transparent;
}

.answer-option.selected .answer-check::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* =============================================
   ANALYSIS SCREEN
   ============================================= */
#analysis {
    background: transparent;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
}

.analysis-content {
    text-align: center;
    max-width: 350px;
}

/* Pulse Animation */
.analysis-visual {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-xl);
}

.pulse-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
}

.pulse-ring.delay-1 {
    animation-delay: 0.4s;
}

.pulse-ring.delay-2 {
    animation-delay: 0.8s;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.brain-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.brain-svg {
    width: 32px;
    height: 32px;
    color: white;
}

/* Analysis Title */
.analysis-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
}

/* Analysis Steps */
.analysis-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    text-align: left;
}

.step {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-muted);
    opacity: 0.3;
    transition: all var(--transition-normal);
}

.step.active {
    opacity: 1;
    color: var(--text-primary);
}

.step.completed {
    opacity: 1;
    color: var(--success);
}

.step-loader {
    width: 20px;
    height: 20px;
    border: 2px solid var(--bg-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.step.active .step-loader {
    animation: spin 1s linear infinite;
}

.step.completed .step-loader {
    border-color: var(--success);
    background: var(--success);
    animation: none;
}

.step.completed .step-loader::after {
    content: '✓';
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Analysis Bar */
.analysis-bar {
    height: 4px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.analysis-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.15s ease-out;
    position: relative;
    border-radius: var(--radius-full);
}

.analysis-bar-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmerMove 1.5s infinite;
}

@keyframes shimmerMove {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.analysis-progress-wrapper {
    width: 100%;
    margin-bottom: var(--spacing-lg);
}

.analysis-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-sm);
}

.analysis-percent {
    font-size: 1.5rem;
    color: var(--primary-light);
    font-weight: 700;
    font-family: var(--font-display);
}

.analysis-eta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Analysis Subtitle */
.analysis-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xl);
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Orbital Scanner */
.orbital-scanner {
    position: absolute;
    inset: -10px;
    border: 2px dashed rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    animation: orbitScan 4s linear infinite;
}

.orbital-scanner::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
}

.orbital-scanner.delay-1 {
    inset: -25px;
    animation-duration: 6s;
    animation-direction: reverse;
    border-color: rgba(16, 185, 129, 0.2);
}

.orbital-scanner.delay-1::before {
    background: var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
}

@keyframes orbitScan {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Brain Glow Effect */
.brain-glow {
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Scanning Line */
.scanning-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    transform: translateX(-50%);
    animation: scanLine 2s ease-in-out infinite;
}

@keyframes scanLine {

    0%,
    100% {
        opacity: 0;
        transform: translateX(-50%) scaleY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scaleY(1);
    }
}

/* Floating Data Particles */
.data-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: particlePulse 1s ease-in-out infinite;
}

.p1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.p2 {
    top: 20%;
    right: 20%;
    animation-delay: -1s;
    background: var(--secondary);
}

.p3 {
    top: 40%;
    left: 10%;
    animation-delay: -2s;
}

.p4 {
    bottom: 30%;
    right: 15%;
    animation-delay: -3s;
    background: var(--secondary);
}

.p5 {
    top: 60%;
    left: 20%;
    animation-delay: -4s;
}

.p6 {
    bottom: 20%;
    left: 30%;
    animation-delay: -5s;
    background: var(--secondary);
}

.p7 {
    top: 15%;
    right: 35%;
    animation-delay: -6s;
}

.p8 {
    bottom: 40%;
    right: 25%;
    animation-delay: -7s;
    background: var(--secondary);
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20px, -30px) scale(1.2);
    }

    50% {
        transform: translate(-15px, 20px) scale(0.8);
    }

    75% {
        transform: translate(25px, 15px) scale(1.1);
    }
}

@keyframes particlePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
}

/* Enhanced Steps */
.step {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-muted);
    opacity: 0.4;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    background: transparent;
}

.step.active {
    opacity: 1;
    color: var(--text-primary);
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid var(--primary);
}

.step.completed {
    opacity: 1;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success);
}

.step-icon-container {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.step-loader {
    position: absolute;
    inset: 0;
    border: 2px solid var(--bg-light);
    border-top-color: transparent;
    border-radius: 50%;
    opacity: 0;
}

.step.active .step-loader {
    opacity: 1;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

.step-check-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    opacity: 0.3;
    color: var(--text-muted);
}

.step.active .step-check-icon {
    opacity: 1;
    color: var(--primary);
}

.step.completed .step-check-icon {
    opacity: 1;
    color: var(--success);
}

.step.completed .step-loader {
    opacity: 0;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.step-label {
    font-weight: 500;
}

.step-status {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.step.active .step-status {
    color: var(--primary-light);
}

.step.completed .step-status {
    color: var(--success);
}

/* Analysis Stats */
.analysis-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
    font-family: var(--font-body);
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

/* =============================================
   RESULT SCREEN
   ============================================= */
#result {
    background: transparent;
    padding: var(--spacing-md);
    padding-bottom: calc(var(--spacing-2xl) + env(safe-area-inset-bottom));
    overflow-y: auto;
}

.result-content {
    max-width: 500px;
    margin: 0 auto;
}

/* Result Header */
.result-header {
    text-align: center;
    padding: var(--spacing-xl) 0;
    margin-bottom: var(--spacing-lg);
}

.archetype-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--bg-glass);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.archetype-icon {
    width: 14px;
    height: 14px;
}

.archetype-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

/* Match Indicator */
.match-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.match-circle {
    position: relative;
    width: 60px;
    height: 60px;
}

.circular-chart {
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: var(--bg-light);
    stroke-width: 3;
}

.circle {
    fill: none;
    stroke: url(#gradient);
    stroke: var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
    animation: circleAnim 1.5s ease-out forwards;
}

@keyframes circleAnim {
    from {
        stroke-dasharray: 0, 100;
    }
}

.match-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-light);
}

.match-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Diagnosis Card */
.diagnosis-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.diagnosis-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.diagnosis-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-light);
}

.diagnosis-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.diagnosis-text p {
    margin-bottom: var(--spacing-md);
}

.diagnosis-text strong {
    color: var(--text-primary);
}

.diagnosis-text em {
    color: var(--primary-light);
    font-style: italic;
}

.insight-box {
    display: flex;
    gap: var(--spacing-md);
    background: rgba(239, 68, 68, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
    border-left: 3px solid var(--danger);
}

.insight-icon {
    width: 20px;
    height: 20px;
    color: var(--danger);
    flex-shrink: 0;
}

.insight-box p {
    margin: 0;
    font-size: 0.875rem;
}

.danger {
    color: var(--danger);
}

.success {
    color: var(--success);
}

/* CTA Section */
.cta-section {
    margin-top: var(--spacing-xl);
}

.solution-intro {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.solution-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
}

.solution-intro h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
}

/* Product Card */
.product-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--warning);
    color: #000;
    font-size: 0.7rem;
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
}

.product-badge i {
    width: 12px;
    height: 12px;
}

/* Product Image */
.product-image {
    text-align: center;
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
}

.ebook-img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(34, 197, 94, 0.3));
    animation: floatProduct 3s ease-in-out infinite;
}

@keyframes floatProduct {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.product-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.product-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--spacing-lg);
}

/* Benefits List */
.product-benefits {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.product-benefits li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
}

.product-benefits i {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 1px;
}

/* Price Section */
.price-section {
    text-align: center;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-original {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.strikethrough {
    text-decoration: line-through;
    margin-left: var(--spacing-xs);
}

.price-current {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-xs);
}

.price-current span:first-child {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success);
}

.price-currency {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Urgency Timer */
.urgency-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--warning);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-md);
}

.urgency-timer i {
    width: 16px;
    height: 16px;
    animation: pulse 1s infinite;
}

.timer-value {
    font-weight: 700;
    font-family: monospace;
}

/* Checkout Button */
.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-lg);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-glow);
    animation: ctaPulse 2s infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(34, 197, 94, 0.6);
    }
}

.btn-checkout:hover {
    transform: translateY(-2px);
}

.btn-checkout i {
    width: 20px;
    height: 20px;
}

/* Guarantee */
.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.guarantee i {
    width: 14px;
    height: 14px;
    color: var(--success);
}

/* Product Includes Section */
.product-includes {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.1));
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.includes-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.includes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.include-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: var(--spacing-xs);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
}

.include-item i {
    width: 16px;
    height: 16px;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.include-item strong {
    color: var(--text-primary);
    display: block;
}

/* Testimonials */
.testimonials-section {
    margin-top: var(--spacing-xl);
}

.testimonials-title {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.testimonial-location {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 0.875rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
    font-style: italic;
}

/* =============================================
   UTILITIES & ANIMATIONS
   ============================================= */
.hidden {
    display: none !important;
}

.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

/* Haptic Feedback Animation */
.haptic {
    animation: haptic 0.1s ease;
}

@keyframes haptic {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.98);
    }
}

/* Thinking Dots */
.thinking-dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0% {
        content: '';
    }

    25% {
        content: '.';
    }

    50% {
        content: '..';
    }

    75% {
        content: '...';
    }
}

/* Safe Area Padding for Bottom */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .btn-checkout {
        padding-bottom: calc(var(--spacing-md) + env(safe-area-inset-bottom));
    }
}

/* Desktop Adjustments (though mobile-first) */
@media (min-width: 768px) {
    body {
        display: flex;
        justify-content: center;
        background: #030a05;
    }

    .screen {
        max-width: 430px;
        margin: 0 auto;
        box-shadow: 0 0 100px rgba(34, 197, 94, 0.1);
    }

    .splash-title {
        font-size: 2.5rem;
    }

    .question-text {
        font-size: 1.75rem;
    }
}

/* =============================================
   ETAPA 1: TELA DE REVELAÇÃO DO ARQUÉTIPO
   ============================================= */
#result-archetype {
    background: transparent;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
    overflow: hidden;
}

.archetype-reveal-content {
    text-align: center;
    z-index: 10;
    max-width: 400px;
    padding: var(--spacing-lg);
}

/* Glow Background Effect */
.reveal-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: revealPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes revealPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Large Archetype Badge */
.archetype-badge-large {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(16, 185, 129, 0.3));
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-xl);
    border: 1px solid rgba(34, 197, 94, 0.4);
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(34, 197, 94, 0.6);
    }
}

.archetype-icon-lg {
    width: 18px;
    height: 18px;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Archetype Name - Dramatic Reveal */
.archetype-name-reveal {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 50%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xl);
    text-shadow: none;
    animation: nameReveal 1s ease-out;
}

@keyframes nameReveal {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Large Match Indicator */
.match-indicator-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.match-circle-large {
    position: relative;
    width: 140px;
    height: 140px;
}

.circular-chart-large {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circular-chart-large .circle-bg {
    fill: none;
    stroke: rgba(34, 197, 94, 0.2);
    stroke-width: 2.5;
}

.circular-chart-large .circle-animated {
    fill: none;
    stroke: url(#gradient-circle) var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.match-percent-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

.match-label-large {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Insight Teaser */
.insight-teaser {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(239, 68, 68, 0.1));
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    border: 1px solid rgba(16, 185, 129, 0.3);
    text-align: left;
}

.teaser-icon {
    width: 24px;
    height: 24px;
    color: var(--secondary);
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.insight-teaser p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.insight-teaser strong {
    color: var(--secondary-light);
}

/* Reveal Diagnosis Button */
.btn-reveal-diagnosis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: var(--gradient-primary);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: var(--spacing-lg) var(--spacing-2xl);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.4);
    width: 100%;
    max-width: 320px;
    animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 0 40px rgba(34, 197, 94, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 60px rgba(34, 197, 94, 0.6);
        transform: scale(1.02);
    }
}

.btn-reveal-diagnosis:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 80px rgba(34, 197, 94, 0.6);
}

.btn-icon-reveal {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.btn-reveal-diagnosis:hover .btn-icon-reveal {
    transform: translateX(5px);
}

.reveal-micro-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-lg);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.reveal-micro-text .micro-icon {
    width: 12px;
    height: 12px;
    color: var(--success);
}

/* =============================================
   ETAPA 2: ESTILOS MELHORADOS PARA OFERTA
   ============================================= */

/* Compact Header Reminder */
.result-header-compact {
    margin-bottom: var(--spacing-lg);
}

.archetype-reminder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: var(--bg-glass);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.reminder-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.reminder-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
}

.reminder-badge {
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

/* Enhanced Solution Intro */
.solution-intro-enhanced {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.solution-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 215, 0, 0.3);
    animation: keyGlow 2s ease-in-out infinite;
}

@keyframes keyGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
    }
}

.solution-intro-enhanced .solution-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.solution-intro-enhanced h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
}

.solution-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Enhanced Product Card */
.product-card-enhanced {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 2px solid rgba(34, 197, 94, 0.4);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.product-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmerCard 3s infinite;
}

@keyframes shimmerCard {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Hot Badge */
.product-badge-hot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: var(--radius-full);
    animation: hotPulse 1.5s ease-in-out infinite;
}

@keyframes hotPulse {

    0%,
    100% {
        transform: translateX(-50%) translateY(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) translateY(-50%) scale(1.05);
    }
}

.product-badge-hot i {
    width: 14px;
    height: 14px;
}

/* Enhanced Titles */
.product-title-enhanced {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
    text-align: center;
}

.product-subtitle-enhanced {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.product-subtitle-enhanced strong {
    color: var(--secondary-light);
}

/* Enhanced Benefits */
.product-benefits-enhanced {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.product-benefits-enhanced li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-benefits-enhanced li i {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

/* Enhanced Price Section */
.price-section-enhanced {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
}

.price-current-enhanced {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-xs);
    margin: var(--spacing-sm) 0;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.price-value-large {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Savings Badge */
.savings-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: var(--success);
    font-size: 0.8rem;
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    margin-top: var(--spacing-sm);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.savings-badge i {
    width: 14px;
    height: 14px;
}

/* Enhanced Urgency Timer */
.urgency-timer-enhanced {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.timer-icon-wrapper {
    width: 36px;
    height: 36px;
    background: rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: timerPulse 1s ease-in-out infinite;
}

@keyframes timerPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.timer-icon-wrapper i {
    width: 18px;
    height: 18px;
    color: var(--danger);
}

.timer-text {
    display: flex;
    flex-direction: column;
}

.timer-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.timer-value-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--danger);
    font-family: monospace;
}

/* Enhanced Checkout Button */
.btn-checkout-enhanced {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    padding: var(--spacing-lg) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    animation: checkoutPulse 2s ease-in-out infinite;
}

@keyframes checkoutPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 8px 40px rgba(16, 185, 129, 0.6);
        transform: scale(1.02);
    }
}

.btn-checkout-enhanced:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 50px rgba(16, 185, 129, 0.5);
}

.btn-checkout-enhanced i {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.btn-checkout-enhanced:hover i {
    transform: translateX(5px);
}

/* Enhanced Guarantee */
.guarantee-enhanced {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.guarantee-enhanced i {
    width: 18px;
    height: 18px;
    color: var(--success);
}

.guarantee-enhanced span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* =============================================
   SOCIAL PROOF TRANSITION
   ============================================= */
.social-proof-transition {
    text-align: center;
    padding: var(--spacing-xl);
    max-width: 360px;
    margin: 0 auto;
    animation: proofFadeIn 0.6s ease-out;
}

@keyframes proofFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.proof-header {
    margin-bottom: var(--spacing-xl);
}

.proof-header-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-light);
    margin-bottom: var(--spacing-md);
    animation: proofIconPulse 2s ease-in-out infinite;
}

@keyframes proofIconPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.proof-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
}

.proof-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-xl);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.proof-stats-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-light);
}

.proof-stats span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.proof-testimonial {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.proof-testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

.proof-quote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin: 0 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

.proof-author {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.proof-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.proof-loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.proof-loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    animation: proofLoadingSlide 1.5s ease-in-out infinite;
}

@keyframes proofLoadingSlide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.proof-loading span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =============================================
   ETAPA 2: DIAGNOSIS SCREEN STYLES
   ============================================= */

.diagnosis-content {
    max-width: 420px;
    padding: var(--spacing-lg);
    z-index: 10;
}

.diagnosis-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.solution-teaser {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.teaser-icon-lg {
    width: 32px;
    height: 32px;
    color: var(--success);
    animation: pulse 2s ease-in-out infinite;
}

.solution-teaser p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

.solution-teaser strong {
    color: var(--success);
}

.btn-show-offer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: var(--gradient-primary);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: var(--spacing-lg) var(--spacing-2xl);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.4);
    width: 100%;
    max-width: 320px;
    animation: ctaPulse 2s ease-in-out infinite;
}

.btn-show-offer:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 80px rgba(34, 197, 94, 0.6);
}

.cta-micro-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-lg);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cta-micro-text .micro-icon {
    width: 14px;
    height: 14px;
    color: var(--primary-light);
}

/* =============================================
   ETAPA 3: CLEAN OFFER SCREEN STYLES
   ============================================= */

.offer-content {
    max-width: 420px;
    padding: var(--spacing-lg);
    z-index: 10;
}

/* Compact Header */
.offer-header-compact {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.archetype-reminder-small {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--bg-glass);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.reminder-name-small {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
}

.reminder-badge-small {
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-full);
}

/* Clean Product Card */
.product-card-clean {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 2px solid rgba(34, 197, 94, 0.4);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: visible;
}

.product-card-clean::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmerCard 3s infinite;
}

/* Product Image */
.product-image-container {
    margin-bottom: var(--spacing-lg);
}

.ebook-img-large {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(34, 197, 94, 0.3));
}

/* Clean Titles */
.product-title-clean {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-subtitle-clean {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--spacing-lg);
}

.product-subtitle-clean strong {
    color: var(--secondary-light);
}

/* Clean Includes Grid */
.product-includes-clean {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.include-item-clean {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.include-item-clean i {
    width: 16px;
    height: 16px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.include-item-clean strong {
    color: var(--text-primary);
}

/* Clean Price Section */
.price-section-clean {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.price-original-clean {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-current-clean {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.savings-badge-clean {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.savings-badge-clean i {
    width: 12px;
    height: 12px;
}

/* Clean Timer Section */
.timer-section-clean {
    margin-bottom: var(--spacing-lg);
}

.timer-container-clean {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.timer-icon-clean {
    width: 20px;
    height: 20px;
    color: var(--danger);
    animation: pulse 1s ease-in-out infinite;
}

.timer-label-clean {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.timer-value-clean {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--danger);
    font-family: monospace;
}

/* Clean Checkout Button */
.btn-checkout-clean {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: var(--spacing-lg);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    animation: checkoutPulse 2s ease-in-out infinite;
}

.btn-checkout-clean:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 50px rgba(16, 185, 129, 0.5);
}

.btn-checkout-clean i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-checkout-clean:hover i {
    transform: translateX(5px);
}

/* Clean Guarantee */
.guarantee-clean {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.guarantee-clean i {
    width: 16px;
    height: 16px;
    color: var(--success);
}

/* =============================================
   COMPACT TESTIMONIALS
   ============================================= */

.testimonials-compact {
    margin-top: var(--spacing-xl);
}

.testimonials-title-compact {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.testimonial-mini {
    display: flex;
    gap: var(--spacing-sm);
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-avatar-mini {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-content-mini {
    flex: 1;
}

.testimonial-stars-mini {
    color: var(--accent);
    font-size: 0.7rem;
    display: block;
    margin-bottom: 2px;
}

.testimonial-content-mini p {
    font-size: 0.8rem;
    color: var(--text-primary);
    margin: 0 0 4px;
    line-height: 1.4;
}

.testimonial-author-mini {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* =============================================
   SCREEN CENTERING - ALL SCREENS
   ============================================= */

/* Diagnosis Screen - Center Content */
#result-diagnosis {
    background: transparent;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
    overflow-y: auto;
}

/* Offer Screen - Center Content */
#result-offer {
    background: transparent;
    justify-content: flex-start;
    align-items: center;
    padding: var(--spacing-lg);
    padding-top: var(--spacing-xl);
    overflow-y: auto;
}

/* =============================================
   MOBILE RESPONSIVE STYLES
   ============================================= */

@media screen and (max-width: 480px) {

    /* ===== ALL SCREENS - Consistent Sizing ===== */

    /* Splash Screen */
    #splash {
        padding: var(--spacing-md);
    }

    .splash-content {
        max-width: 100%;
        width: 100%;
        padding: var(--spacing-md);
    }

    .splash-title {
        font-size: 1.6rem;
    }

    .splash-subtitle {
        font-size: 0.9rem;
    }

    .trust-badges {
        gap: var(--spacing-sm);
    }

    .badge {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.7rem;
    }

    .btn-primary {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
    }

    /* Questions Screen */
    #questions {
        padding: var(--spacing-md);
    }

    .question-container {
        max-width: 100%;
        padding: 0;
    }

    .question-text {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .question-eyebrow {
        font-size: 0.7rem;
    }

    .question-hint {
        font-size: 0.75rem;
        padding: var(--spacing-sm);
    }

    .answer-option {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .answer-text {
        font-size: 0.9rem;
    }

    .answer-icon {
        width: 20px;
        height: 20px;
    }

    .progress-container {
        margin-bottom: var(--spacing-lg);
    }

    /* Analysis Screen */
    #analysis {
        padding: var(--spacing-md);
    }

    .analysis-content {
        max-width: 100%;
        width: 100%;
        padding: var(--spacing-md);
    }

    .analysis-title {
        font-size: 1.2rem;
    }

    .analysis-subtitle {
        font-size: 0.8rem;
    }

    .step {
        font-size: 0.8rem;
        gap: var(--spacing-sm);
    }

    .step-label {
        font-size: 0.8rem;
    }

    .step-status {
        font-size: 0.7rem;
    }

    .analysis-stats {
        gap: var(--spacing-md);
        padding: var(--spacing-sm);
    }

    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    /* Archetype Reveal Screen */
    #result-archetype {
        padding: var(--spacing-md);
    }

    .archetype-reveal-content {
        max-width: 100%;
        width: 100%;
        padding: var(--spacing-md);
    }

    .archetype-badge-large {
        font-size: 0.75rem;
        padding: var(--spacing-xs) var(--spacing-md);
    }

    .archetype-name-reveal {
        font-size: 2rem;
    }

    .match-circle-large {
        width: 100px;
        height: 100px;
    }

    .match-percent-large {
        font-size: 1.5rem;
    }

    .match-label-large {
        font-size: 0.85rem;
    }

    .insight-teaser {
        padding: var(--spacing-md);
    }

    .insight-teaser p {
        font-size: 0.9rem;
    }

    .btn-reveal-diagnosis {
        max-width: 100%;
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
    }

    /* Diagnosis & Offer Screens */
    .diagnosis-content,
    .offer-content {
        max-width: 100%;
        width: 100%;
        padding: var(--spacing-md);
    }

    /* Archetype Header */
    .archetype-reminder {
        flex-wrap: wrap;
        padding: var(--spacing-xs) var(--spacing-sm);
        gap: var(--spacing-xs);
    }

    .reminder-label,
    .reminder-name {
        font-size: 0.75rem;
    }

    /* Diagnosis Card */
    .diagnosis-card {
        padding: var(--spacing-md);
    }

    .diagnosis-text {
        font-size: 0.9rem;
    }

    /* Insight Box */
    .insight-box {
        padding: var(--spacing-sm);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    /* Solution Teaser */
    .solution-teaser {
        padding: var(--spacing-md);
    }

    .solution-teaser p {
        font-size: 0.9rem;
    }

    .btn-show-offer {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
    }

    /* Product Card */
    .product-card-clean {
        padding: var(--spacing-md);
    }

    .product-title-clean {
        font-size: 1.3rem;
    }

    .product-subtitle-clean {
        font-size: 0.85rem;
    }

    /* Product Grid - Single Column on Small Mobile */
    .product-includes-clean {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }

    .include-item-clean {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    /* Product Image */
    .ebook-img-large {
        max-width: 140px;
    }

    /* Price Adjustments */
    .price-current-clean {
        font-size: 1.6rem;
    }

    /* Timer Adjustments */
    .timer-container-clean {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
        padding: var(--spacing-sm);
    }

    .timer-label-clean {
        font-size: 0.75rem;
    }

    .timer-value-clean {
        font-size: 1.1rem;
    }

    /* Button Adjustments */
    .btn-checkout-clean {
        padding: var(--spacing-md);
        font-size: 1rem;
    }

    /* Testimonials Compact */
    .testimonial-mini {
        padding: var(--spacing-sm);
    }

    .testimonial-avatar-mini {
        width: 32px;
        height: 32px;
    }

    .testimonial-content-mini p {
        font-size: 0.75rem;
    }

    /* Social Proof Transition */
    .social-proof-transition {
        padding: var(--spacing-md);
        max-width: 100%;
    }

    .proof-title {
        font-size: 1.2rem;
    }

    .proof-stats {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.8rem;
    }

    .proof-quote {
        font-size: 0.9rem;
    }

    /* Open Loop Transition */
    .open-loop-transition {
        padding: var(--spacing-md);
    }

    .open-loop-text {
        font-size: 1rem;
    }
}

/* Extra Small Devices (320px) */
@media screen and (max-width: 360px) {

    /* All Content Containers */
    #splash,
    #questions,
    #analysis,
    #result-archetype,
    #result-diagnosis,
    #result-offer {
        padding: var(--spacing-sm);
    }

    .splash-content,
    .analysis-content,
    .archetype-reveal-content,
    .diagnosis-content,
    .offer-content {
        padding: var(--spacing-sm);
    }

    /* Typography */
    .splash-title {
        font-size: 1.4rem;
    }

    .question-text {
        font-size: 1.1rem;
    }

    .archetype-name-reveal {
        font-size: 1.6rem;
    }

    .product-title-clean {
        font-size: 1.2rem;
    }

    .price-current-clean {
        font-size: 1.4rem;
    }

    /* Elements */
    .product-card-clean {
        padding: var(--spacing-sm);
    }

    .ebook-img-large {
        max-width: 120px;
    }

    .testimonial-mini {
        flex-direction: column;
        align-items: flex-start;
    }

    .answer-option {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .answer-text {
        font-size: 0.85rem;
    }
}
