/* MINDSET SOMBRA - Design System */
/* Tokens exatos do Pencil */

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

:root {
    /* Cores */
    --black: #000000;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #DDDDDD;
    --gray-400: #BBBBBB;
    --gray-500: #999999;
    --gray-600: #777777;
    --gray-700: #555555;
    --gray-800: #222222;
    --gray-900: #0A0A0A;
    --gold: #D4AF37;
    --red: #FF4444;
    
    /* Cores com contraste aprovado WCAG AA */
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted: #AAAAAA;
    
    /* Tipografia */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espaçamento */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 20px;
    --space-xl: 24px;
    --space-2xl: 32px;
    --space-3xl: 40px;
    --space-4xl: 48px;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

body {
    font-family: var(--font);
    background-color: var(--black);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#app {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
}

/* ============================================
   INTRO SCREEN
   ============================================ */

.screen-intro {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.intro-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,1) 100%);
}

.intro-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-lg);
    padding: var(--space-3xl);
}

.brand-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    letter-spacing: 4px;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
}

.brand-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    letter-spacing: 3px;
}

.intro-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

.btn-glow {
    background-color: var(--white);
    color: var(--black);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 2px;
    padding: 18px 32px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 40px 15px rgba(255, 255, 255, 0.35);
    transform: scale(1.02);
}

.btn-glow:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.25); }
    50% { box-shadow: 0 0 40px 15px rgba(255, 255, 255, 0.4); }
}

/* ============================================
   NAME SCREEN
   ============================================ */

.screen-name {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: var(--black);
}

.name-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-lg);
    padding: var(--space-3xl);
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.name-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.name-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 280px;
}

.name-input-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
    max-width: 300px;
}

.name-input {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-sm);
    padding: 0 var(--space-md);
    font-family: var(--font);
    font-size: 16px;
    color: var(--white);
    outline: none;
    transition: border-color 0.2s;
}

.name-input::placeholder {
    color: var(--gray-500);
}

.name-input:focus {
    border-color: var(--gold);
}

.name-input.input-error {
    border-color: var(--red);
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.input-error-msg {
    font-size: 12px;
    color: var(--red);
    min-height: 16px;
}

.btn-back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-back:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.btn-white {
    background-color: var(--white);
    color: var(--black);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-white:hover {
    background-color: var(--gray-200);
}

.btn-white:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.name-privacy {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* ============================================
   QUESTION SCREEN
   ============================================ */

.screen-question {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.question-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.question-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.question-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,1) 100%);
}

.question-header {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-4xl) var(--space-lg) var(--space-md) var(--space-lg);
}

.header-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.header-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.logo-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--gray-800);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: width 0.4s ease-out-quint;
}

.progress-encouragement {
    font-size: 12px;
    font-style: italic;
    color: var(--gold);
    text-align: center;
    font-weight: 500;
}

.question-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-3xl) var(--space-lg) var(--space-lg) var(--space-lg);
}

.question-number {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
}

.question-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 52px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0 var(--space-md);
    cursor: pointer;
    transition: all 0.2s;
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
}

.option-btn:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.option-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    flex-shrink: 0;
}

.option-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
}

/* ============================================
   FEEDBACK SCREEN
   ============================================ */

.screen-feedback {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.feedback-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    padding: var(--space-3xl) var(--space-lg) var(--space-lg) var(--space-lg);
    align-items: center;
}

.score-box {
    width: 200px;
    height: 200px;
    background: var(--gray-900);
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.score-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.score-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
}

.score-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
}

.feedback-card {
    width: 100%;
    max-width: 342px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feedback-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.feedback-text {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
}

.btn-continue {
    width: 200px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-continue:hover {
    background: var(--gray-200);
}

.btn-continue:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.btn-gold {
    width: 240px;
    height: 48px;
    background: var(--gold);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-gold:hover {
    background: #E5C04A;
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.screen-loading {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.loading-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loading-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.loading-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.loading-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    padding: var(--space-3xl);
}

.loading-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
}

.loading-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
    animation: pulse 2s ease-in-out infinite;
}

.loading-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

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

.loading-name {
    font-size: 14px;
    font-weight: 400;
    color: var(--gold);
    text-align: center;
}

.loading-dots {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    animation: dotPulse 1.4s ease-in-out infinite;
}

.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot: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); }
}

/* ============================================
   RESULTS SCREEN
   ============================================ */

.screen-results {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.results-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space-4xl) var(--space-lg) var(--space-sm) var(--space-lg);
}

.results-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
}

.results-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.results-logo-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.results-scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    padding: var(--space-md) var(--space-lg) var(--space-xl) var(--space-lg);
    overflow-y: auto;
}

.results-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
}

.score-circle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-md) 0;
}

.score-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--gray-900);
    border: 2px solid var(--gray-800);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-circle-percent {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
}

.score-circle-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
}

.score-circle-sub {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

.diagnosis-card {
    width: 100%;
    max-width: 350px;
    background: var(--gray-900);
    border: 1px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.diagnosis-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

.diagnosis-text {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
}

.categories {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.category {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.category-row {
    display: flex;
    justify-content: space-between;
}

.category-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

.category-pct {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
}

.category-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-800);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.category-bar-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 3px;
    transition: width 0.8s ease-out;
}

.btn-cta-results {
    width: 100%;
    max-width: 350px;
    height: 52px;
    background: var(--white);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    margin-top: var(--space-md);
}

.btn-cta-results:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ============================================
   OFFER SCREEN
   ============================================ */

.screen-offer {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.offer-hero {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.offer-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.offer-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.offer-title-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-3xl);
    z-index: 2;
}

.offer-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
}

.offer-main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    letter-spacing: 3px;
}

.offer-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    text-align: center;
}

.offer-scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    padding: var(--space-xl) var(--space-lg) var(--space-3xl) var(--space-lg);
    overflow-y: auto;
}

.offer-card {
    width: 100%;
    max-width: 350px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.offer-card.problem {
    border-color: rgba(255, 0, 0, 0.2);
}

.offer-card-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.offer-card-title.red { color: var(--red); }
.offer-card-title.gold { color: var(--gold); }

.offer-card-text {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ecosystem-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    max-width: 350px;
}

.ecosystem-grid {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eco-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-md);
}

.eco-check {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
}

.eco-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.eco-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
}

.eco-desc {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
}

.eco-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.price-box {
    width: 100%;
    max-width: 350px;
    background: var(--gray-900);
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

.price-was {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.price-now {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
}

.price-sub {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

.price-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
}

.btn-cta-vitalicio {
    width: 100%;
    max-width: 350px;
    height: 56px;
    background: var(--white);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.btn-cta-vitalicio:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.btn-cta-mensal {
    width: 100%;
    max-width: 350px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-cta-mensal:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.guarantee {
    width: 100%;
    max-width: 350px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

.guarantee-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    text-align: center;
}

.guarantee-text {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    text-align: center;
}

.urgency {
    width: 100%;
    max-width: 350px;
    background: #1A0000;
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

.urgency-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 1px;
    text-align: center;
}

.urgency-text {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
    text-align: center;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden { display: none !important; }

.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

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

.slide-up {
    animation: slideUp 0.5s ease-out forwards;
}

/* ============================================
   APP CAROUSEL
   ============================================ */

.gallery-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    max-width: 350px;
}

.app-carousel {
    width: 100%;
    max-width: 390px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 12px 0;
}

.carousel-track:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.carousel-track::-webkit-scrollbar {
    height: 6px;
}

.carousel-track::-webkit-scrollbar-track {
    background: var(--gray-900);
    border-radius: 3px;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.carousel-img {
    flex: 0 0 170px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-800);
    scroll-snap-align: center;
}

.carousel-hint {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

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

/* ============================================
   WEAK AREAS CARD
   ============================================ */

.weak-areas-card {
    width: 100%;
    max-width: 350px;
    background: var(--gray-900);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.weak-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 1px;
}

.weak-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-800);
}

.weak-item:last-child {
    border-bottom: none;
}

.weak-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.weak-pct {
    font-size: 14px;
    font-weight: 700;
    color: var(--red);
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .pulse-glow {
        animation: none;
    }
    
    .loading-logo {
        animation: none;
    }
    
    .loading-dot {
        animation: none;
        opacity: 1;
    }
    
    .fade-in,
    .slide-up {
        animation: none;
        opacity: 1;
    }
    
    .category-bar-fill {
        transition: none;
    }
    
    .btn-glow:hover,
    .btn-white:hover,
    .btn-continue:hover,
    .option-btn:hover {
        transform: none;
    }
}

/* ============================================
   FOCUS VISIBLE
   ============================================ */

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

button:focus:not(:focus-visible) {
    outline: none;
}
