/* ================================================================
   GEMMA WELLNESS  Stratified Assessment Styles
   ================================================================ */

/* ------------------------------------------------------------------
   CSS VARIABLES
   ------------------------------------------------------------------ */
:root {
    --bg-primary: #f8f5e6;
    --bg-secondary: #f0ece0;
    --bg-card: #ffffff;
    --bg-modal: rgba(58, 54, 48, 0.45);

    --text-primary: #3a3630;
    --text-secondary: #6b6f6c;
    --text-muted: #9a948e;
    --text-light: #b4afa8;

    --accent-teal: #6b9e9d;
    --accent-warm: #d4a373;
    --accent-sage: #8a9a8c;
    --accent-rose: #c9a9a6;
    --accent-forest: #5a7247;

    --border-light: #e8e4d8;
    --border-medium: #d5d0c4;

    --shadow-sm: 0 1px 3px rgba(58, 54, 48, 0.06);
    --shadow-md: 0 4px 16px rgba(58, 54, 48, 0.08);
    --shadow-lg: 0 8px 32px rgba(58, 54, 48, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ------------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------------ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ------------------------------------------------------------------
   APP CONTAINER
   ------------------------------------------------------------------ */
.app-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    position: relative;
}

/* ------------------------------------------------------------------
   VIEWS
   ------------------------------------------------------------------ */
.view {
    display: none;
    flex-direction: column;
    min-height: 100vh;
    padding: 24px 0 80px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.view.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------------------------------
   LANDING
   ------------------------------------------------------------------ */
.brand-hero {
    text-align: center;
    padding: 48px 0 32px;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-teal);
    letter-spacing: -0.02em;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-top: 4px;
}

.brand-small {
    text-align: center;
    padding: 16px 0 8px;
}

.brand-small .logo-mark {
    font-size: 1.5rem;
}

.landing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.landing-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 12px;
}

.landing-title em {
    font-style: italic;
    color: var(--accent-teal);
}

.landing-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 300;
}

.landing-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 520px;
}

.frame-contract {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
    border-left: 3px solid var(--accent-teal);
}

.frame-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
}

.landing-lead {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.landing-pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.pillar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
}

.pillar-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-sage));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pillar-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: left;
}

.pillar-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.privacy-promise {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    padding: 12px 16px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
}

.privacy-promise i {
    color: var(--accent-teal);
    font-size: 0.9rem;
}

.time-estimate {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), #5a8a89);
    color: white;
    box-shadow: 0 2px 8px rgba(107, 158, 157, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(107, 158, 157, 0.4);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--border-light);
}

.btn-secondary11 {
    position: relative;
    z-index: 2;              /* CRITICAL: above the fire ring */
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
    padding: 12px 28px;
    border-radius: 10px;     /* 13px (ring) - 3px (inset) = 10px */
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease;
}

.btn-secondary11:hover {
    background: var(--border-light);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
}

.btn-ghost:hover {
    background: var(--bg-secondary);
}

.btn-danger {
    background: #c47070;
    color: white;
}

.btn-danger:hover {
    background: #b06060;
}

.btn-text-danger {
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 8px 12px;
}

.btn-text-danger:hover {
    color: #c47070;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* Wrapper around your button */

/* ============================================
   FIRE WRAPPER (holds everything)
   ============================================ */
.btn-fire-wrap {
    position: relative;
    display: inline-block;
}

/* OPTIONAL: Outer glow — delete this ::before rule if you still don't want it
.btn-fire-wrap::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    background: linear-gradient(90deg, #dc2626, #f97316, #facc15);
    filter: blur(16px);
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
    z-index: 0;
}
*/
/* ============================================
   FIRE RING (the moving border)
   ============================================ */
.btn-fire-ring {
    position: absolute;
    inset: -3px;              /* 3px thicker than the button */
    border-radius: 13px;      /* match button radius + 3px */
    overflow: hidden;         /* CRITICAL: clips the giant gradient */
    z-index: 1;
}

.btn-fire-ring::before {
    content: '';
    position: absolute;
    inset: -100%;             /* CRITICAL: huge element so we only see a slice */
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        #ef4444 60deg,
        #f97316 120deg,
        #facc15 180deg,
        #f97316 240deg,
        #ef4444 300deg,
        transparent 360deg
    );
    animation: spin 3s linear infinite;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; filter: blur(16px); }
    50% { opacity: 0.8; filter: blur(20px); }
}

/* ------------------------------------------------------------------
   PROGRESS
   ------------------------------------------------------------------ */
.progress-wrapper {
    margin-bottom: 24px;
}

.progress-track {
    width: 100%;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-sage));
    border-radius: 2px;
    transition: width var(--transition-base);
    width: 0%;
}

.progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.progress-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.layer-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--bg-secondary);
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.layer-badge.layer-1 {
    background: rgba(107, 158, 157, 0.12);
    color: var(--accent-teal);
}

.layer-badge.layer-2 {
    background: rgba(212, 163, 115, 0.12);
    color: var(--accent-warm);
}

.layer-badge.layer-3 {
    background: rgba(138, 154, 140, 0.12);
    color: var(--accent-sage);
}

.layer-badge.layer-4 {
    background: rgba(90, 114, 71, 0.12);
    color: var(--accent-forest);
}

.progress-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.step-indicators {
    display: flex;
    gap: 4px;
    margin-top: 10px;
    justify-content: center;
}

.step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-medium);
    transition: all var(--transition-fast);
}

.step-dot.active {
    background: var(--accent-teal);
    transform: scale(1.3);
}

.step-dot.completed {
    background: var(--accent-sage);
}

/* ------------------------------------------------------------------
   QUESTIONS
   ------------------------------------------------------------------ */
.question-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.question-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 28px;
    min-height: 80px;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
}

.option-card:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-sm);
    transform: translateX(2px);
}

.option-card:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(107, 158, 157, 0.15);
}

.option-card.selected {
    border-color: var(--accent-teal);
    background: linear-gradient(135deg, rgba(107, 158, 157, 0.06), rgba(107, 158, 157, 0.02));
    box-shadow: 0 2px 8px rgba(107, 158, 157, 0.1);
}

.option-key {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all var(--transition-fast);
}

.option-card.selected .option-key {
    background: var(--accent-teal);
    color: white;
}

.option-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
    flex: 1;
}

.option-card.selected .option-text {
    color: var(--text-primary);
}

/* ------------------------------------------------------------------
   NAV BAR
   ------------------------------------------------------------------ */
.nav-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    margin-top: auto;
    border-top: 1px solid var(--border-light);
}

.nav-spacer {
    flex: 1;
}

/* ------------------------------------------------------------------
   MODAL
   ------------------------------------------------------------------ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: var(--bg-modal);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.modal-content h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ------------------------------------------------------------------
   PROCESSING
   ------------------------------------------------------------------ */
.processing-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.breathing-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    animation: breathe 4s ease-in-out infinite;
}

.breathing-core {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-sage));
    animation: pulse 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); border-color: var(--border-medium); }
    50% { transform: scale(1.15); border-color: var(--accent-teal); }
}

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

.processing-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.processing-status {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.processing-wisdom {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.5;
    transition: opacity 400ms ease;
}

/* ------------------------------------------------------------------
   RESULTS
   ------------------------------------------------------------------ */
.results-scroll {
    padding: 24px 0 40px;
}

.result-hero {
    text-align: center;
    padding: 32px 20px 28px;
    margin-bottom: 24px;
}

.result-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.archetype-name {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.flow-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1.5px solid;
    margin-bottom: 12px;
}

.clarity-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1.5px solid;
    margin-bottom: 16px;
}

.archetype-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

.age-context {
    margin-top: 20px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-sage);
}

.age-context p {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ------------------------------------------------------------------
   RESULT SECTIONS
   ------------------------------------------------------------------ */
.result-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-sage));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.dam-section .section-icon {
    background: linear-gradient(135deg, #b87070, #c47070);
}

.opening-section .section-icon {
    background: linear-gradient(135deg, var(--accent-warm), #c9a9a6);
}

.practice-section .section-icon {
    background: linear-gradient(135deg, var(--accent-forest), #7a9a6c);
}

.tension-section .section-icon {
    background: linear-gradient(135deg, #c9a06c, var(--accent-warm));
}

.shadow-section .section-icon {
    background: linear-gradient(135deg, #8a8a8a, #a0a0a0);
}

.product-section .section-icon {
    background: linear-gradient(135deg, #9a8ab4, #b4a0c8);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.section-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.shadow-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-style: italic;
}

/* ------------------------------------------------------------------
   PRACTICE BOX
   ------------------------------------------------------------------ */
.practice-box {
    background: linear-gradient(135deg, rgba(90, 114, 71, 0.06), rgba(90, 114, 71, 0.02));
    border-radius: var(--radius-md);
    padding: 20px;
    border-left: 3px solid var(--accent-forest);
}

.practice-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-forest);
    margin-bottom: 4px;
}

.practice-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* ------------------------------------------------------------------
   DIMENSION CHART
   ------------------------------------------------------------------ */
.dimension-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.dimension-canvas {
    max-width: 100%;
    height: auto;
}

.dimension-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
}

.dimension-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.dimension-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* ------------------------------------------------------------------
   PRODUCT SECTION
   ------------------------------------------------------------------ */
.product-intro {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 16px;
}

.product-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 18px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.product-card:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-sm);
}

.product-tag {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-teal);
    margin-bottom: 6px;
}

.product-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

/* ------------------------------------------------------------------
   ACTION BAR
   ------------------------------------------------------------------ */
.action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 24px 0;
}

.disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
    padding: 0 20px 20px;
    line-height: 1.5;
}

/* ------------------------------------------------------------------
   TOAST
   ------------------------------------------------------------------ */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-primary);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    z-index: 200;
    opacity: 0;
    transition: all var(--transition-base);
    pointer-events: none;
    max-width: 90vw;
    text-align: center;
}

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

/* ------------------------------------------------------------------
   ANIMATIONS
   ------------------------------------------------------------------ */
.slide-out-left {
    animation: slideOutLeft var(--transition-slow) forwards;
}

.slide-in-left {
    animation: slideInLeft var(--transition-slow) forwards;
}

.slide-out-right {
    animation: slideOutRight var(--transition-slow) forwards;
}

.slide-in-right {
    animation: slideInRight var(--transition-slow) forwards;
}

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

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

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

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

/* ------------------------------------------------------------------
   PRINT STYLES
   ------------------------------------------------------------------ */
@media print {
    .app-container {
        max-width: 100%;
        padding: 0;
    }

    .view {
        display: none !important;
    }

    #resultsView {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .nav-bar,
    .action-bar,
    .product-section,
    .progress-wrapper,
    .brand-small,
    .modal,
    .toast {
        display: none !important;
    }

    .result-section {
        box-shadow: none;
        border: 1px solid var(--border-light);
        break-inside: avoid;
    }

    .result-hero {
        page-break-after: avoid;
    }
}

/* ------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------ */
@media (max-width: 480px) {
    .landing-title {
        font-size: 1.6rem;
    }

    .question-text {
        font-size: 1.15rem;
    }

    .archetype-name {
        font-size: 1.8rem;
    }

    .option-card {
        padding: 14px;
    }

    .result-section {
        padding: 18px;
    }

    .action-bar {
        flex-direction: column;
    }

    .action-bar .btn {
        width: 100%;
    }
}