/* ==========================================
   FIBER BAREFOOT QUIZ - PREMIUM STYLES
   Identidade Visual Fiber Official
   Versão 2.0 - Design Premium
   ========================================== */

/* ==========================================
   SECTION 1: CSS RESET & NORMALIZE
   ========================================== */

/*! normalize.css v8.0.1 | MIT License */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
}

main {
    display: block;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

/* Box Sizing Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================
   SECTION 2: CSS CUSTOM PROPERTIES (VARIABLES)
   Fiber Brand Identity
   ========================================== */

:root {
    /* ===== FIBER BRAND COLORS ===== */
    --fiber-black: #1C1C1C;
    --fiber-black-light: #2A2A2A;
    --fiber-black-dark: #0D0D0D;
    --fiber-pink: #B8243F;
    --fiber-pink-light: #D63A56;
    --fiber-pink-dark: #8E1C31;
    --fiber-pink-glow: rgba(184, 36, 63, 0.4);
    --fiber-white: #FFFFFF;
    --fiber-gray-100: #F8F9FA;
    --fiber-gray-200: #EFEFEF;
    --fiber-gray-300: #DEE2E6;
    --fiber-gray-400: #CED4DA;
    --fiber-gray-500: #ADB5BD;
    --fiber-gray-600: #6C757D;
    --fiber-gray-700: #495057;
    --fiber-gray-800: #343A40;
    --fiber-gray-900: #212529;

    /* ===== SEMANTIC COLORS ===== */
    --color-primary: var(--fiber-pink);
    --color-primary-hover: var(--fiber-pink-light);
    --color-primary-active: var(--fiber-pink-dark);
    --color-secondary: var(--fiber-black);
    --color-success: #10B981;
    --color-success-light: #34D399;
    --color-warning: #F59E0B;
    --color-warning-light: #FBBF24;
    --color-danger: #EF4444;
    --color-danger-light: #F87171;
    --color-info: #3B82F6;
    --color-info-light: #60A5FA;

    /* ===== RESULT LEVEL COLORS ===== */
    --level-critical: #EF4444;
    --level-critical-bg: rgba(239, 68, 68, 0.1);
    --level-sleeping: #F59E0B;
    --level-sleeping-bg: rgba(245, 158, 11, 0.1);
    --level-waking: #3B82F6;
    --level-waking-bg: rgba(59, 130, 246, 0.1);
    --level-free: #10B981;
    --level-free-bg: rgba(16, 185, 129, 0.1);

    /* ===== BACKGROUND COLORS ===== */
    --bg-body: var(--fiber-black);
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-card-solid: var(--fiber-black-light);
    --bg-input: rgba(255, 255, 255, 0.05);
    --bg-input-focus: rgba(255, 255, 255, 0.08);
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-strong: rgba(255, 255, 255, 0.1);

    /* ===== TEXT COLORS ===== */
    --text-primary: var(--fiber-white);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-disabled: rgba(255, 255, 255, 0.3);
    --text-inverse: var(--fiber-black);

    /* ===== BORDER COLORS ===== */
    --border-default: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --border-focus: var(--fiber-pink);
    --border-active: var(--fiber-pink);

    /* ===== SHADOWS ===== */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.4);
    --shadow-2xl: 0 20px 40px rgba(0, 0, 0, 0.5);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px var(--fiber-pink-glow);
    --shadow-glow-lg: 0 0 40px var(--fiber-pink-glow);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.4);

    /* ===== BORDER RADIUS ===== */
    --radius-none: 0;
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-3xl: 32px;
    --radius-full: 9999px;

    /* ===== SPACING SCALE ===== */
    --space-0: 0;
    --space-px: 1px;
    --space-0-5: 2px;
    --space-1: 4px;
    --space-1-5: 6px;
    --space-2: 8px;
    --space-2-5: 10px;
    --space-3: 12px;
    --space-3-5: 14px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;
    --space-9: 36px;
    --space-10: 40px;
    --space-11: 44px;
    --space-12: 48px;
    --space-14: 56px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-28: 112px;
    --space-32: 128px;

    /* ===== TYPOGRAPHY ===== */
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Montserrat', var(--font-sans);
    --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Font Weights */
    --font-thin: 100;
    --font-extralight: 200;
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* Letter Spacing */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.18em;

    /* ===== TRANSITIONS ===== */
    --transition-none: none;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* ===== Z-INDEX SCALE ===== */
    --z-negative: -1;
    --z-0: 0;
    --z-10: 10;
    --z-20: 20;
    --z-30: 30;
    --z-40: 40;
    --z-50: 50;
    --z-100: 100;
    --z-overlay: 1000;
    --z-modal: 1100;
    --z-tooltip: 1200;
    --z-max: 9999;

    /* ===== CONTAINER WIDTHS ===== */
    --container-xs: 320px;
    --container-sm: 480px;
    --container-md: 640px;
    --container-lg: 768px;
    --container-xl: 1024px;
    --container-2xl: 1280px;

    /* ===== ANIMATION DURATIONS ===== */
    --duration-75: 75ms;
    --duration-100: 100ms;
    --duration-150: 150ms;
    --duration-200: 200ms;
    --duration-300: 300ms;
    --duration-500: 500ms;
    --duration-700: 700ms;
    --duration-1000: 1000ms;

    /* ===== BLUR VALUES ===== */
    --blur-none: 0;
    --blur-sm: 4px;
    --blur-md: 8px;
    --blur-lg: 16px;
    --blur-xl: 24px;
    --blur-2xl: 40px;
    --blur-3xl: 64px;
}

/* ==========================================
   SECTION 3: BASE STYLES
   ========================================== */

html {
    font-size: 16px;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background: var(--bg-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(184, 36, 63, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(184, 36, 63, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    pointer-events: none;
    z-index: var(--z-negative);
}

/* Noise Texture Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: var(--z-negative);
}

/* Selection */
::selection {
    background: var(--fiber-pink);
    color: var(--fiber-white);
}

::-moz-selection {
    background: var(--fiber-pink);
    color: var(--fiber-white);
}

/* Focus Styles */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--fiber-pink);
    outline-offset: 2px;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--fiber-black-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--fiber-gray-700);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--fiber-pink);
}

/* Links */
a {
    color: var(--fiber-pink);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--fiber-pink-light);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   SECTION 4: TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    color: var(--text-primary);
    margin: 0;
}

h1 {
    font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
    font-weight: var(--font-extrabold);
    letter-spacing: var(--tracking-tight);
}

h2 {
    font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
    font-weight: var(--font-bold);
    letter-spacing: var(--tracking-tight);
}

h3 {
    font-size: clamp(var(--text-xl), 4vw, var(--text-2xl));
    font-weight: var(--font-semibold);
}

h4 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
}

h5 {
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
}

h6 {
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
}

p {
    margin: 0;
    color: var(--text-secondary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--fiber-white) 0%, var(--fiber-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-pink {
    background: linear-gradient(135deg, var(--fiber-pink) 0%, var(--fiber-pink-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
}

/* ==========================================
   SECTION 5: LAYOUT & CONTAINERS
   ========================================== */

.container {
    width: 100%;
    max-width: var(--container-md);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-sm {
    max-width: var(--container-sm);
}

.container-lg {
    max-width: var(--container-lg);
}

.container-xl {
    max-width: var(--container-xl);
}

/* ==========================================
   SECTION 6: SCREEN MANAGEMENT (CRITICAL!)
   ========================================== */

.screen {
    display: none !important;
    min-height: 100vh;
    min-height: 100dvh;
    padding: var(--space-8) 0;
    opacity: 0;
    visibility: hidden;
    position: relative;
}

.screen.active {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    animation: screenFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes screenFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes screenFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.98);
    }
}

/* ==========================================
   SECTION 7: BUTTONS - CLEAN MODERN DESIGN
   ========================================== */

/* Base Button Reset */
.btn,
button,
.btn-primary,
.btn-secondary,
.btn-large,
.btn-continue {
    font-family: 'Poppins', sans-serif !important;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

/* Primary Button - Clean Pink */
.btn-primary {
    background: #E11D48 !important;
    color: #FFFFFF !important;
    padding: 18px 36px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35) !important;
}

.btn-primary:hover {
    background: #BE123C !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45) !important;
}

.btn-primary:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.3) !important;
}

/* Large Button - Hero Style */
.btn-large {
    padding: 20px 48px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 14px !important;
    min-width: 260px !important;
}

/* Secondary Button - Outline Style */
.btn-secondary {
    background: transparent !important;
    color: #E11D48 !important;
    padding: 16px 32px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: 2px solid #E11D48 !important;
    border-radius: 12px !important;
    text-transform: none !important;
}

.btn-secondary:hover {
    background: #E11D48 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}

/* Continue Button - Quiz Navigation */
.btn-continue {
    width: 100% !important;
    background: #E11D48 !important;
    color: #FFFFFF !important;
    padding: 18px 32px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    margin-top: 24px !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35) !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
}

.btn-continue:hover:not(:disabled) {
    background: #BE123C !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45) !important;
}

.btn-continue:disabled {
    background: #374151 !important;
    color: #9CA3AF !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

/* Button Icons */
.btn svg,
.btn-primary svg,
.btn-large svg,
.btn-continue svg {
    width: 18px !important;
    height: 18px !important;
    transition: transform 0.2s ease !important;
}

.btn:hover svg,
.btn-primary:hover svg,
.btn-large:hover svg,
.btn-continue:hover svg {
    transform: translateX(3px) !important;
}

/* Ghost Button */
.btn-ghost {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    padding: 14px 28px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Full Width */
.btn-block {
    width: 100% !important;
}

/* Button Sizes */
.btn-sm {
    padding: 12px 24px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
}

.btn-lg {
    padding: 20px 40px !important;
    font-size: 15px !important;
    border-radius: 14px !important;
}

.btn-xl {
    padding: 22px 48px !important;
    font-size: 16px !important;
    border-radius: 16px !important;
}

/* Continue Button (Quiz) - Premium Style */
.btn-continue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px 40px;
    margin-top: 24px;
    background: linear-gradient(135deg, var(--fiber-pink) 0%, #d42d4a 100%);
    color: var(--fiber-white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 4px 20px rgba(184, 36, 63, 0.35),
        0 2px 5px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-continue::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transition: left 0.6s ease;
}

.btn-continue:hover:not(:disabled)::before {
    left: 100%;
}

.btn-continue:hover:not(:disabled) {
    background: linear-gradient(135deg, #d42d4a 0%, #e8355a 100%);
    transform: translateY(-4px);
    box-shadow:
        0 10px 30px rgba(184, 36, 63, 0.45),
        0 4px 10px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-continue:disabled {
    background: var(--fiber-gray-700);
    color: var(--fiber-gray-500);
    cursor: not-allowed;
}

/* ==========================================
   SECTION 8: CARDS
   ========================================== */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    backdrop-filter: blur(var(--blur-lg));
    -webkit-backdrop-filter: blur(var(--blur-lg));
    transition: all var(--transition-normal);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
}

.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-xl));
    -webkit-backdrop-filter: blur(var(--blur-xl));
    border: 1px solid var(--border-default);
}

.card-solid {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-default);
}

.card-glow {
    box-shadow: var(--shadow-glow);
    border-color: var(--fiber-pink);
}

/* ==========================================
   SECTION 9: FORM ELEMENTS
   ========================================== */

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.form-input {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--bg-input);
    border: 2px solid var(--border-default);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-input:hover {
    border-color: var(--border-hover);
}

.form-input:focus {
    background: var(--bg-input-focus);
    border-color: var(--fiber-pink);
    box-shadow: 0 0 0 4px var(--fiber-pink-glow);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--fiber-pink);
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ==========================================
   SECTION 10: HERO SECTION
   ========================================== */

#hero {
    background: radial-gradient(ellipse at center, var(--fiber-black-light) 0%, var(--fiber-black) 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, var(--fiber-pink-glow) 0%, transparent 40%);
    animation: heroGlow 15s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes heroGlow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(10%, 10%) rotate(120deg);
    }
    66% {
        transform: translate(-10%, 5%) rotate(240deg);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: var(--z-10);
    padding: var(--space-12) 0;
}

.hero-icon {
    font-size: 5rem;
    margin-bottom: var(--space-8);
    animation: heroFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px var(--fiber-pink-glow));
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

#hero h1 {
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(var(--text-base), 3vw, var(--text-lg));
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto var(--space-10);
    line-height: var(--leading-relaxed);
}

/* Hero Badges - Modern Pill Style */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(184, 36, 63, 0.5);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 16px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Hero Lead Form - Capture before Quiz */
.hero-lead-form {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 32px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-lead-form .form-row {
    margin-bottom: 16px;
}

.hero-lead-form .form-row:last-of-type {
    margin-bottom: 20px;
}

.hero-lead-form .form-group {
    text-align: left;
}

.hero-lead-form .form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.hero-lead-form .form-group input {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
}

.hero-lead-form .form-group input:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
}

.hero-lead-form .form-group input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--fiber-pink);
    box-shadow:
        0 0 0 4px rgba(184, 36, 63, 0.15),
        0 4px 20px rgba(184, 36, 63, 0.1);
}

.hero-lead-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Hero Form Checkbox */
.hero-lead-form .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

.hero-lead-form .form-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hero-lead-form .form-checkbox input[type="checkbox"]:checked {
    background: var(--fiber-pink);
    border-color: var(--fiber-pink);
}

.hero-lead-form .form-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-weight: bold;
}

.hero-lead-form .form-checkbox label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    line-height: 1.5;
}

.hero-lead-form .btn-primary {
    width: 100%;
    margin-top: 8px;
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-10);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    color: var(--fiber-white);
    border: 3px solid var(--fiber-black);
    margin-left: -10px;
    transition: transform var(--transition-fast);
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:hover {
    transform: scale(1.15);
    z-index: var(--z-10);
}

/* Hero Decorations */
.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: var(--radius-full);
    background: var(--fiber-pink);
    opacity: 0.1;
    filter: blur(var(--blur-xl));
}

.floating-circle.c1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
    animation: circleFloat1 20s ease-in-out infinite;
}

.floating-circle.c2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
    animation: circleFloat2 25s ease-in-out infinite;
}

.floating-circle.c3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: circleFloat3 15s ease-in-out infinite;
}

@keyframes circleFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes circleFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.15); }
}

@keyframes circleFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.15; }
}

/* ==========================================
   SECTION 11: QUIZ SECTION
   ========================================== */

#quiz {
    background: var(--fiber-black);
    padding-top: var(--space-6);
}

#quiz.active {
    justify-content: flex-start;
}

/* Progress Container - Modern Glass Card */
.progress-container {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
    position: sticky;
    top: 16px;
    z-index: 100;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-text {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
}

.progress-percent {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--fiber-pink);
}

/* Progress Bar - Rounded Pill */
.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--fiber-pink) 0%, #e8355a 50%, var(--fiber-pink) 100%);
    background-size: 200% 100%;
    border-radius: 50px;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: 0 0 20px rgba(184, 36, 63, 0.5);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.unlock-info {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.unlock-icon {
    font-size: var(--text-sm);
}

/* Questions Wrapper */
.questions-wrapper {
    position: relative;
    min-height: 400px;
}

.question-slide {
    display: none;
    animation: questionSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.question-slide.active {
    display: block;
}

@keyframes questionSlideIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Question Card */
.question-card {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-xl));
    -webkit-backdrop-filter: blur(var(--blur-xl));
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-card);
}

.question-title {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-xl), 4vw, var(--text-2xl));
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: var(--leading-snug);
}

.question-subtitle {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

/* Test Demo Animation */
.test-demo {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-8);
}

.demo-animation {
    position: relative;
    padding: var(--space-10);
    background: radial-gradient(circle, var(--fiber-pink-glow) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.foot-icon {
    font-size: 5rem;
    animation: footWiggle 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes footWiggle {
    0%, 100% { transform: rotate(-8deg) scale(1); }
    50% { transform: rotate(8deg) scale(1.05); }
}

.spread-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 70px;
    font-size: var(--text-2xl);
    color: var(--fiber-pink);
    font-weight: var(--font-bold);
    animation: arrowSpread 2s ease-in-out infinite;
}

@keyframes arrowSpread {
    0%, 100% { gap: 70px; opacity: 0.5; }
    50% { gap: 100px; opacity: 1; }
}

/* Options Grid */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Option Buttons - Clean Card Style */
.option-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: #1F2937;
    border: 1px solid #374151;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    width: 100%;
    position: relative;
}

.option-btn::before {
    display: none;
}

.option-btn::after {
    display: none;
}

.option-btn:hover {
    background: #283548;
    border-color: #E11D48;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.option-btn:hover .option-icon {
    transform: scale(1.1);
}

.option-btn:hover::after {
    opacity: 1;
}

.option-btn.selected {
    background: #2D1F2F;
    border-color: #E11D48;
    box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.2);
}

.option-btn.selected::before,
.option-btn.selected::after {
    display: none;
}

.option-icon {
    font-size: 28px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.option-content {
    flex: 1;
}

.option-text {
    font-size: 15px;
    font-weight: 500;
    color: #FFFFFF;
    display: block;
    line-height: 1.4;
}

.option-detail {
    font-size: 13px;
    color: #9CA3AF;
    margin-top: 4px;
    display: block;
}

/* Checkbox Options (Multi-select) */
.options-multi .option-btn {
    padding-left: var(--space-5);
}

.checkbox-icon {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-default);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    background: var(--bg-glass);
}

.checkbox-icon::after {
    content: '✓';
    color: var(--fiber-white);
    font-size: 14px;
    font-weight: var(--font-bold);
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-fast);
}

.option-checkbox.selected .checkbox-icon {
    background: var(--fiber-pink);
    border-color: var(--fiber-pink);
}

.option-checkbox.selected .checkbox-icon::after {
    opacity: 1;
    transform: scale(1);
}

/* Unlock Cards */
.unlock-card {
    display: none;
    margin-top: var(--space-6);
    padding: var(--space-5);
    background: linear-gradient(135deg, rgba(184, 36, 63, 0.1) 0%, rgba(184, 36, 63, 0.05) 100%);
    border: 1px solid rgba(184, 36, 63, 0.3);
    border-radius: var(--radius-lg);
    animation: unlockCardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.unlock-card.show {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

@keyframes unlockCardIn {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.unlock-card-icon {
    font-size: var(--text-2xl);
    flex-shrink: 0;
}

.unlock-card-content strong {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--fiber-pink);
    margin-bottom: var(--space-1);
}

.unlock-card-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: 0;
    line-height: var(--leading-relaxed);
}

/* ==========================================
   SECTION 12: ANALYZING SECTION
   ========================================== */

#analyzing {
    background: linear-gradient(135deg, var(--fiber-black) 0%, var(--fiber-black-dark) 100%);
}

.analyzing-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.analyzing-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    margin-bottom: var(--space-10);
}

.pulse-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid var(--fiber-pink);
    border-radius: var(--radius-full);
    animation: pulseRingAnim 2s ease-out infinite;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid var(--fiber-pink);
    border-radius: var(--radius-full);
    animation: pulseRingAnim 2s ease-out infinite 0.5s;
}

@keyframes pulseRingAnim {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

#analyzing h2 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-10);
}

.analyzing-progress {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.analyzing-bar {
    flex: 1;
    height: 8px;
    background: var(--fiber-gray-800);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.analyzing-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--fiber-pink) 0%, var(--fiber-pink-light) 100%);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 0.3s ease;
}

.analyzing-percent {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--fiber-pink);
    min-width: 48px;
}

.analyzing-steps {
    text-align: left;
    margin-bottom: var(--space-10);
    background: var(--bg-glass);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
}

.analyze-step {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3) 0;
    color: var(--text-muted);
    transition: all var(--transition-normal);
    border-bottom: 1px solid var(--border-default);
}

.analyze-step:last-child {
    border-bottom: none;
}

.analyze-step.active {
    color: var(--text-primary);
}

.analyze-step.done {
    color: var(--color-success);
}

.step-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    background: var(--bg-glass);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-default);
}

.analyze-step.done .step-icon {
    background: var(--color-success);
    border-color: var(--color-success);
}

.analyze-step.active .step-icon {
    border-color: var(--fiber-pink);
    animation: stepPulse 1s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--fiber-pink-glow); }
    50% { box-shadow: 0 0 0 6px transparent; }
}

.step-text {
    font-size: var(--text-sm);
}

.analyzing-fact {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
    text-align: left;
}

.fact-icon {
    font-size: var(--text-2xl);
    flex-shrink: 0;
}

.analyzing-fact p {
    font-size: var(--text-sm);
    margin: 0;
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ==========================================
   SECTION 13: RESULT SECTION
   ========================================== */

#result {
    background: var(--fiber-black);
}

#result.active {
    justify-content: flex-start;
    padding-top: var(--space-10);
}

.result-content {
    max-width: 600px;
    margin: 0 auto;
}

.result-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--bg-glass);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--text-secondary);
}

/* Score Card */
.score-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-card);
}

.score-level {
    padding: var(--space-8);
    text-align: center;
}

.score-level.critical {
    background: linear-gradient(135deg, var(--level-critical) 0%, rgba(239, 68, 68, 0.8) 100%);
}

.score-level.sleeping {
    background: linear-gradient(135deg, var(--level-sleeping) 0%, rgba(245, 158, 11, 0.8) 100%);
}

.score-level.waking {
    background: linear-gradient(135deg, var(--level-waking) 0%, rgba(59, 130, 246, 0.8) 100%);
}

.score-level.free {
    background: linear-gradient(135deg, var(--level-free) 0%, rgba(16, 185, 129, 0.8) 100%);
}

.score-level-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-3);
}

.score-level-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    margin: 0;
}

.score-details {
    padding: var(--space-8);
}

.score-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.score-value {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: var(--font-black);
    color: var(--text-primary);
    line-height: 1;
}

.score-max {
    font-size: var(--text-lg);
    color: var(--text-muted);
}

.score-bar {
    height: 12px;
    background: var(--fiber-gray-800);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-3);
}

.score-fill {
    height: 100%;
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-fill.critical { background: linear-gradient(90deg, var(--level-critical), rgba(239, 68, 68, 0.7)); }
.score-fill.sleeping { background: linear-gradient(90deg, var(--level-sleeping), rgba(245, 158, 11, 0.7)); }
.score-fill.waking { background: linear-gradient(90deg, var(--level-waking), rgba(59, 130, 246, 0.7)); }
.score-fill.free { background: linear-gradient(90deg, var(--level-free), rgba(16, 185, 129, 0.7)); }

.score-percent {
    text-align: center;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--text-primary);
}

/* Result Explanation */
.result-explanation {
    background: var(--bg-glass);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-6);
}

.result-explanation h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.result-explanation p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.result-explanation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.result-explanation li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    font-size: var(--text-base);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-default);
}

.result-explanation li:last-child {
    border-bottom: none;
}

.result-explanation li span:first-child {
    flex-shrink: 0;
    font-size: var(--text-lg);
}

/* Good News Section */
.good-news {
    background: linear-gradient(135deg, rgba(184, 36, 63, 0.1) 0%, rgba(184, 36, 63, 0.05) 100%);
    border: 1px solid rgba(184, 36, 63, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
}

.good-news h3 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--fiber-pink);
    margin-bottom: var(--space-4);
}

.good-news p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin: 0;
    line-height: var(--leading-relaxed);
}

/* Product Recommendation */
.product-recommendation {
    background: var(--bg-glass);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
}

.product-recommendation h3 {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

.recommended-product {
    display: flex;
    gap: var(--space-6);
    align-items: flex-start;
}

.product-image-placeholder {
    width: 140px;
    height: 140px;
    background: var(--bg-card-solid);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    flex-shrink: 0;
    border: 1px solid var(--border-default);
}

.product-info {
    flex: 1;
}

.product-name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-warning);
    margin-bottom: var(--space-3);
}

.product-description {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.product-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4) 0;
}

.product-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: var(--space-1) 0;
}

.product-benefits li::before {
    content: '✓';
    color: var(--fiber-pink);
    font-weight: var(--font-bold);
}

.product-price {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--fiber-pink);
}

.product-price-old {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: var(--space-2);
}

.product-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    padding: var(--space-4) var(--space-8);
    background: var(--fiber-pink);
    color: var(--fiber-white);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    text-decoration: none;
    border-radius: var(--radius-none);
    transition: all var(--transition-normal);
}

.product-link:hover {
    background: var(--fiber-pink-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--fiber-white);
}

/* Result CTA */
.result-cta {
    margin-top: 32px;
    text-align: center;
}

/* ==========================================
   SECTION 16: SUCCESS SECTION
   ========================================== */

#success {
    background: var(--fiber-black);
}

.success-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: var(--space-6);
    animation: successIconPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    filter: drop-shadow(0 10px 20px rgba(16, 185, 129, 0.3));
}

@keyframes successIconPop {
    0% { transform: scale(0) rotate(-180deg); }
    100% { transform: scale(1) rotate(0deg); }
}

#success h2 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--font-extrabold);
    margin-bottom: var(--space-3);
}

.success-message {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-12);
}

.success-message strong {
    color: var(--fiber-pink);
}

/* Success Next Steps */
.success-next {
    background: var(--bg-glass);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    text-align: center;
}

.success-next h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-6);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Product Cards - Clean Modern Style */
.product-card {
    background: #1F2937;
    border: 1px solid #374151;
    border-radius: 16px;
    padding: 0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.product-card::before {
    display: none;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #E11D48;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.product-card .product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    background: #E11D48;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    z-index: 10;
}

.product-card .product-image {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    overflow: hidden;
    position: relative;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    padding: 14px 14px 6px;
    color: #FFFFFF;
}

.product-card p {
    font-size: 13px;
    color: #9CA3AF;
    margin: 0;
    padding: 0 16px 12px;
    line-height: 1.5;
}

.product-card .product-price {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #E11D48;
    padding: 0 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 8px;
    padding-top: 12px;
}

/* Share Section */
.success-share {
    text-align: center;
}

.success-share p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

.share-btn {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.share-btn:hover {
    transform: scale(1.15) translateY(-4px);
}

.share-btn.whatsapp {
    background: #25D366;
    color: var(--fiber-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.share-btn.facebook {
    background: #1877F2;
    color: var(--fiber-white);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.share-btn.copy {
    background: var(--fiber-gray-700);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.share-btn svg {
    width: 24px;
    height: 24px;
}

/* ==========================================
   SECTION 17: RESPONSIVE DESIGN
   ========================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-5);
    }

    .hero-icon {
        font-size: 4rem;
    }

    .hero-badges {
        gap: var(--space-2);
    }

    .badge {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
    }

    .question-card {
        padding: var(--space-6);
    }

    .option-btn {
        padding: var(--space-4) var(--space-5);
    }

    .option-icon {
        font-size: var(--text-2xl);
    }

    .recommended-product {
        flex-direction: column;
        text-align: center;
    }

    .product-info {
        width: 100%;
    }

    .product-benefits {
        text-align: left;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    :root {
        --text-4xl: 2rem;
        --text-5xl: 2.5rem;
    }

    .container {
        padding: 0 var(--space-4);
    }

    .screen {
        padding: var(--space-6) 0;
    }

    .hero-content {
        padding: var(--space-8) 0;
    }

    .hero-icon {
        font-size: 3.5rem;
    }

    .progress-container {
        padding: var(--space-4);
    }

    .question-card {
        padding: var(--space-5);
        border-radius: var(--radius-lg);
    }

    .question-title {
        font-size: var(--text-lg);
    }

    .option-btn {
        padding: var(--space-3) var(--space-4);
        gap: var(--space-3);
    }

    .option-icon {
        font-size: var(--text-xl);
    }

    .option-text {
        font-size: var(--text-sm);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .share-btn {
        width: 48px;
        height: 48px;
    }
}

/* ==========================================
   SECTION 18: PRINT STYLES
   ========================================== */

@media print {
    body {
        background: white;
        color: black;
    }

    .screen {
        display: block !important;
        page-break-after: always;
    }

    .btn,
    .share-buttons,
    .hero-decoration {
        display: none !important;
    }
}

/* ==========================================
   SECTION 19: ACCESSIBILITY
   ========================================== */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .screen.active {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --border-default: rgba(255, 255, 255, 0.5);
        --text-secondary: rgba(255, 255, 255, 0.9);
    }
}

/* ==========================================
   SECTION 20: UTILITY CLASSES
   ========================================== */

/* Display */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

/* Flexbox */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Font Weights */
.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

/* Font Sizes */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }

/* Colors */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-pink { color: var(--fiber-pink); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-danger { color: var(--color-danger); }

/* Margin */
.m-0 { margin: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding */
.p-0 { padding: 0; }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }

/* Width */
.w-full { width: 100%; }
.max-w-sm { max-width: var(--container-sm); }
.max-w-md { max-width: var(--container-md); }
.max-w-lg { max-width: var(--container-lg); }

/* Border Radius */
.rounded-none { border-radius: var(--radius-none); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Transitions */
.transition { transition: all var(--transition-normal); }
.transition-fast { transition: all var(--transition-fast); }
.transition-slow { transition: all var(--transition-slow); }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Z-Index */
.z-0 { z-index: var(--z-0); }
.z-10 { z-index: var(--z-10); }
.z-20 { z-index: var(--z-20); }
.z-50 { z-index: var(--z-50); }

/* Animations */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================
   END OF STYLESHEET
   Total Lines: 2000+
   ========================================== */
