/* CSS Variables for SaaS Aesthetic */
:root {
    --primary-red: #E11D48;
    --secondary-brown: #451A03;
    --accent-gold: #D97706;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --success: #10B981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --quiz-blue: #0284C7;
    --quiz-blue-dark: #075985;
    --quiz-blue-light: #F0F9FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--gray-800);
    line-height: 1.5;
    padding-bottom: 90px;
}

#app {
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    position: relative;
}

/* Global Header - Sticky and Clean */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--gray-50);
}

.app-logo {
    height: 32px;
    object-fit: contain;
}

.exit-btn {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    color: var(--gray-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.exit-btn:hover {
    color: var(--primary-red);
    background-color: #FEF2F2;
    border-color: #FEE2E2;
}

/* Hero Section */
.hero-section {
    padding: 24px 20px;
    margin-bottom: 10px;
}



.hero-section h1 {
    font-size: 1.75rem;
    line-height: 1.15;
    color: var(--gray-900);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.hero-section h1 .welcome-text {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.hero-section h1 .brand-text {
    color: #9F1239;
}

.hero-section h1 .brand-subtext {
    color: #9F1239;
    font-size: 1.15rem;
    font-weight: 700;
}

.hero-section p {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Method Sections & Titles */
.method-section {
    padding: 0 20px 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--gray-100);
}

.method-section:nth-last-of-type(1) {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title-large {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-title-large h2 {
    font-size: 1.75rem;
    color: var(--gray-900);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.title-icon-clean {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.title-icon-clean.green {
    color: var(--success);
}

.title-icon-clean.gold {
    color: var(--accent-gold);
}

.title-icon-clean.blue {
    color: #0284C7;
}

.timing-header i {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.recipe-card-modern {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.04);
}

/* Ingredients List Redesign */
.ingredients-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.ingredient-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.ingredient-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.ingredient-number {
    display: inline-block;
    padding: 4px 12px;
    background-color: #F0FDF4;
    color: var(--success);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.ingredient-info h4 {
    font-size: 1.15rem;
    color: var(--gray-900);
    font-weight: 750;
    margin-bottom: 4px;
}

.ingredient-info p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 8px;
    font-weight: 500;
}

.ingredient-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background-color: #F8FAFC;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #F1F5F9;
}

.ingredient-tip i {
    width: 14px;
    height: 14px;
    color: var(--success);
    margin-top: 3px;
    flex-shrink: 0;
}

.ingredient-tip span {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.4;
    font-weight: 500;
}

/* Prep Steps */
.prep-steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prep-step-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 24px;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.prep-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.step-label {
    display: inline-block;
    padding: 4px 12px;
    background-color: #FFFBEB;
    color: var(--accent-gold);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.prep-step-card h3 {
    font-size: 1.15rem;
    color: var(--gray-900);
    margin-bottom: 10px;
    font-weight: 750;
}

.prep-step-card p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Timing Card Red */
.timing-card-red {
    background: linear-gradient(135deg, #991B1B 0%, #7F1D1D 100%);
    border-radius: 28px;
    padding: 32px;
    color: var(--white);
    box-shadow: 0 20px 25px -5px rgba(127, 29, 29, 0.15);
}

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



.timing-header h2 {
    font-size: 1.75rem;
    color: var(--white);
    font-weight: 800;
}

.timing-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.95;
}

.timing-alert {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 20px;
    margin-top: 10px;
}

.timing-alert p {
    font-size: 0.85rem;
    margin-bottom: 0;
    opacity: 1;
}

.timing-alert strong {
    color: var(--white);
}

/* Pillars Section Modern (Bottom) */
.pillars-section-modern {
    padding: 0 20px 60px;
    background-color: var(--white);
    border-top: none;
}

.pillars-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.5;
}

.pillars-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.pillar-card-modern {
    background: var(--white);
    padding: 24px 20px;
    border-radius: 24px;
    border: 1px solid var(--gray-100);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.pillar-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    border-color: var(--gray-200);
}

.pillar-card-modern:active {
    transform: translateY(-2px);
}

.pillar-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.pillar-card-modern:hover .pillar-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.pillar-icon-box i {
    width: 22px;
    height: 22px;
}

.pillar-info-modern h3 {
    font-size: 1.15rem;
    color: var(--gray-900);
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.pillar-info-modern span {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    line-height: 1.3;
}

.red-light {
    background-color: #FEF2F2;
    color: var(--primary-red);
}

.gold-light {
    background-color: #FFFBEB;
    color: var(--accent-gold);
}

.green-light {
    background-color: #F0FDF4;
    color: var(--success);
}

.purple-light {
    background-color: #FAF5FF;
    color: #A855F7;
}

.blue-light {
    background-color: #F0F9FF;
    color: #0284C7;
}

.title-icon-clean.brown {
    color: var(--secondary-brown);
}

/* WhatsApp Community Section */
.whatsapp-section {
    padding: 0 20px 48px;
    margin-top: -10px;
}

.whatsapp-card {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border: 1px solid #BBF7D0;
    border-radius: 32px;
    padding: 32px 24px;
    position: relative;
    box-shadow: 0 15px 30px -10px rgba(16, 185, 129, 0.15);
    text-align: center;
    transition: all 0.3s ease;
}

.whatsapp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -10px rgba(16, 185, 129, 0.2);
}

.whatsapp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background-color: var(--success);
    color: var(--white);
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.whatsapp-badge i {
    width: 12px;
    height: 12px;
}

.whatsapp-card h3 {
    font-size: 1.85rem;
    color: #064E3B;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.whatsapp-card p {
    font-size: 0.95rem;
    color: #065F46;
    line-height: 1.6;
    margin-bottom: 24px;
}

.whatsapp-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    align-items: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #047857;
    font-weight: 600;
    font-size: 0.9rem;
}

.benefit-item i {
    width: 18px;
    height: 18px;
    color: var(--success);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--success);
    color: var(--white);
    padding: 18px 24px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
}

.whatsapp-btn:hover {
    background-color: #059669;
    box-shadow: 0 15px 25px -5px rgba(16, 185, 129, 0.5);
}

.whatsapp-footer-text {
    font-size: 0.8rem !important;
    opacity: 0.7;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    color: #065F46;
}

/* Curiosity Card Style (Secret Ingredient) */
.section-divider {
    height: 1px;
    background-color: var(--gray-100);
    margin: 0 20px 48px;
}

.curiosity-card {
    margin: 0 20px 48px;
    padding: 32px 24px;
    background: linear-gradient(135deg, #FDF8F6 0%, #F5EBE7 100%);
    border: 1px solid #E5D5D0;
    border-radius: 32px;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(69, 26, 3, 0.05);
}

/* Compact Version for Ingredients Section */
.curiosity-card.curiosity-compact {
    margin: 0;
    padding: 16px 20px;
    background: #F8FAFC;
    border: 1px dashed #10B981;
    border-radius: 24px;
    box-shadow: none;
}

.curiosity-card.curiosity-compact .curiosity-badge {
    background-color: #10B981;
    margin-bottom: 10px;
    padding: 4px 8px;
    font-size: 0.6rem;
    border-radius: 6px;
    gap: 4px;
}

.curiosity-card.curiosity-compact .curiosity-badge i {
    width: 12px;
    height: 12px;
}

.curiosity-card.curiosity-compact h4 {
    font-size: 1.15rem;
    color: #065F46;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.3;
}

.curiosity-card.curiosity-compact p {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.5;
}

.curiosity-card.curiosity-compact strong {
    color: #065F46;
    font-weight: 700;
}

.curiosity-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: var(--secondary-brown);
    color: var(--white);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.curiosity-badge i {
    width: 14px;
    height: 14px;
}

.curiosity-card h3 {
    font-size: 1.15rem;
    color: #451A03;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.curiosity-card p {
    font-size: 1rem;
    color: #5D4037;
    line-height: 1.6;
    margin-bottom: 24px;
}

.curiosity-card strong {
    color: #451A03;
    font-weight: 700;
}

.curiosity-scientific {
    background: rgba(255, 255, 255, 0.6);
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(69, 26, 3, 0.1);
    margin-bottom: 24px;
}

.curiosity-scientific p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #6D4C41;
}

.curiosity-result {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--secondary-brown);
    padding: 14px 20px;
    border-radius: 16px;
    color: #EFEBE9;
}

.curiosity-result i {
    width: 20px;
    height: 20px;
    color: #A1887F;
    flex-shrink: 0;
}

.curiosity-result span {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
}

.curiosity-result strong {
    color: #FFFFFF;
    font-weight: 700;
}

/* Tab Management */
.tab-content {
    display: none;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bottom Nav SaaS Floating Style */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background-color: var(--white);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    z-index: 100;
    border-top: 1px solid var(--gray-50);
    padding-bottom: 15px;
}

.nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.nav-item i {
    width: 20px;
    height: 20px;
}

.nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
}

.nav-item.active {
    color: var(--primary-red);
}

.nav-item.active i {
    color: var(--primary-red);
}

/* Secondary Headers */
.section-header {
    padding: 24px 20px 10px;
}

.section-header h1 {
    font-size: 1.75rem;
    color: var(--gray-900);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1rem;
}

/* Progress Bar - Modern SaaS Style */
.protocol-progress-wrapper {
    margin-top: 24px;
    padding: 24px;
    background-color: #FFFFFF;
    border-radius: 24px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.protocol-progress-wrapper .progress-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

#progress-text {
    font-size: 0.9rem;
    font-weight: 800;
    color: #9F1239;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.days-remaining {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
}

#days-remaining-count {
    color: var(--gray-900);
    font-weight: 700;
}

.protocol-progress-bar {
    width: 100%;
    height: 10px;
    background-color: #F1F5F9;
    border-radius: 100px;
    overflow: hidden;
    position: relative;
    border: 1px solid #E2E8F0;
}

.protocol-progress-fill {
    height: 100%;
    width: 0%;
    background-color: #9F1239;
    border-radius: 100px;
    transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.progress-milestones {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 4px;
    position: relative;
}

.milestone-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--gray-300);
    transition: all 0.3s ease;
    position: relative;
}

.milestone-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.milestone-dot.active {
    background-color: #9F1239;
    transform: scale(1.1);
}

.milestone-dot.active::after {
    border-color: rgba(159, 18, 57, 0.2);
    width: 16px;
    height: 16px;
}

/* Protocol Timeline - Refined & Premium */
.timeline {
    padding: 24px 20px 40px;
}

.timeline-phase-card {
    background: var(--white);
    border-radius: 28px;
    border: 1px solid var(--gray-100);
    padding: 24px;
    margin-bottom: 32px;
    position: relative;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

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

.phase-badge {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phase-badge i {
    width: 28px;
    height: 28px;
    color: #9F1239;
    /* Dark Red - Truque da Gelatina Standard */
}

.phase-title-box h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 2px;
    letter-spacing: -0.02em;
}

.phase-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9F1239;
    /* Unified Dark Red */
}

.phase-description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-50);
}

.phase-protocol-box {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px dashed var(--gray-200);
}

.phase-protocol-box i {
    width: 18px;
    height: 18px;
    color: var(--gray-400);
}

.phase-protocol-box p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0;
}

/* Phase Specific Colors - Unified to Theme */
.phase-1,
.phase-2,
.phase-3 {
    border-top: 4px solid #9F1239;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.day-btn {
    padding: 12px 0;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 72px;
    cursor: pointer;
}

.day-btn:hover {
    border-color: #CBD5E1;
    background-color: #F8FAFC;
}

.day-btn span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
}

.day-btn i,
.day-btn svg {
    width: 22px;
    height: 22px;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-btn i svg {
    transition: all 0.2s ease;
}

.day-btn.completed {
    background-color: #F8FAFC;
    border-color: #E2E8F0;
}

.day-btn.completed svg {
    fill: #9F1239 !important;
    stroke: #FFFFFF !important;
    stroke-width: 2.5;
    border-radius: 50%;
}

.day-btn.completed i {
    color: #FFFFFF;
}

/* Advanced Tips Section - Subtle Green Redesign */
.advanced-tips-container {
    margin: 20px;
    padding: 32px 24px;
    background-color: #F0FDF4;
    border-radius: 24px;
    border: 1px solid #DCFCE7;
}

.tip-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: #DCFCE7;
    color: #15803D;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.tip-badge i {
    width: 14px;
    height: 14px;
}

.tips-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tip-entry h3 {
    font-size: 1.15rem;
    color: #166534;
    margin-bottom: 6px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tip-entry h3 i {
    width: 18px;
    height: 18px;
    color: #22C55E;
}

.tip-entry p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
}

.tip-example-subtle {
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    font-size: 0.85rem;
    color: #166534;
    border-left: 3px solid #22C55E;
    font-weight: 500;
}

/* Bonus List - Image Reference Style */
.bonus-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px 20px 40px;
}

.bonus-item-list {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 28px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

.bonus-item-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--gray-200);
}

.bonus-icon-side {
    width: 38px;
    height: 38px;
    background-color: #FEF2F2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9F1239;
    flex-shrink: 0;
}

.bonus-icon-side i {
    width: 18px;
    height: 18px;
}

.bonus-info-mini {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.bonus-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: #9F1239;
    /* Dark Red Standard */
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bonus-info-mini h3 {
    font-size: 0.95rem;
    color: var(--gray-900);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.bonus-action-circle {
    width: 32px;
    height: 32px;
    background-color: #F8FAFC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.2s;
    flex-shrink: 0;
}

.bonus-item-list:hover .bonus-action-circle {
    background-color: #F1F5F9;
    color: var(--gray-900);
}

.bonus-action-circle i {
    width: 18px;
    height: 18px;
}

/* FAQ / Support */
.faq-container {
    padding: 20px;
}

.faq-item {
    margin-bottom: 12px;
    border-radius: 14px;
    border: 1px solid var(--gray-100);
    background: var(--white);
    overflow: hidden;
    transition: all 0.2s;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--gray-600);
}

.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 300px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.contact-info {
    margin: 20px;
    padding: 24px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    background-color: var(--gray-50);
}

.contact-info h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-top: 12px;
}

.support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--gray-900);
    color: var(--white);
    text-decoration: none;
    padding: 20px;
    border-radius: 16px;
    font-weight: 800;
    margin: 0 20px 40px;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.support-btn:hover {
    background-color: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(15, 23, 42, 0.3);
}

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

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
    animation: fadeInModal 0.3s ease forwards;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 440px;
    border-radius: 32px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin: auto;
    /* Centering helper for scrolling flex parents */
    animation: slideUpModal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpModal {
    from {
        transform: translateY(20px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-900);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px 32px 32px;
}

.modal-body h2 {
    font-size: 1.25rem;
    color: var(--gray-900);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    padding-right: 40px;
}

.modal-body p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 28px;
}

.modal-meta {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-item {
    font-size: 0.9rem;
    line-height: 1.4;
}

.meta-item strong {
    color: var(--gray-900);
    display: block;
    margin-bottom: 2px;
}

.meta-item span {
    color: var(--gray-600);
}

.modal-footer {
    padding: 16px 32px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}

.modal-footer p {
    font-size: 0.75rem;
    font-style: italic;
    color: var(--gray-400);
    margin: 0;
    text-align: center;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* --- Bonus Tab Enhancements (Premium Mini Apps) --- */
.bonus-apps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px 20px;
    margin-bottom: 32px;
}

.bonus-app-card {
    position: relative;
    border-radius: 28px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

/* Specific Themes for Bonus Apps */
.hydration-app {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1px solid #BAE6FD;
}

.hydration-app .app-icon-box {
    background: #0284C7;
    color: white;
}

.metabolic-app {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border: 1px solid #FECACA;
}

.metabolic-app .app-icon-box {
    background: #E11D48;
    color: white;
}

.bonus-app-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

.app-card-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    margin-bottom: -4px;
}

.bonus-app-card .app-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1);
}

.bonus-app-card .app-icon-box i {
    width: 24px;
    height: 24px;
}

.bonus-app-card .app-info h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 12px;
}

.bonus-app-card .app-info p {
    font-size: 0.95rem;
    color: var(--gray-500);
    font-weight: 500;
    line-height: 1.5;
}

.app-access-btn {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gray-900);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.hydration-app:hover .app-access-btn {
    background: #0284C7;
    color: white;
}

.metabolic-app:hover .app-access-btn {
    background: #E11D48;
    color: white;
}

.menopause-app:hover .app-access-btn {
    background: #F472B6;
    color: white;
}

.section-divider-thin {
    height: 1px;
    background-color: var(--gray-100);
    margin: 0 20px 32px;
    opacity: 0.5;
}

.materials-title-section {
    padding: 0 20px;
    margin-bottom: 12px;
}

.materials-title-section h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

#bonus-container.bonus-grid {
    padding-top: 0;
}

/* Hydration Quiz Styles */
.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.quiz-overlay.active {
    display: flex;
}

.quiz-screen {
    display: none;
    flex-direction: column;
    min-height: 100%;
    padding: 16px 20px;
    animation: quizSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-screen.active {
    display: flex;
}

@keyframes quizSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quiz-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.quiz-back-btn,
.metabolic-back-btn,
.menopause-back-btn {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    color: var(--gray-600);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.quiz-back-btn:hover,
.metabolic-back-btn:hover {
    background: var(--gray-100);
}

.quiz-step {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quiz-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    width: 100%;
}

.quiz-category {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 12px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.hydration-quiz-container .quiz-category {
    background: #F0F9FF;
    color: #0284C7;
    border: 1px solid #BAE6FD;
}

.metabolic-quiz-container .quiz-category {
    background: #FEF2F2;
    color: #E11D48;
    border: 1px solid #FECACA;
}

#menopause-quiz-container .quiz-category {
    background: #FDF2F8;
    color: #9D174D;
    border: 1px solid #FBCFE8;
}

.quiz-value-display {
    font-size: 5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 40px;
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.quiz-value-display small {
    font-size: 1.5rem;
    color: var(--gray-300);
    margin-left: 8px;
}

.slider-container {
    width: 100%;
    padding: 0 10px;
    margin-bottom: 32px;
}

.quiz-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 12px;
    background: var(--gray-100);
    border-radius: 10px;
    outline: none;
}

.quiz-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    background: var(--quiz-blue);
    border: 4px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
    transition: all 0.2s;
}

.quiz-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.quiz-next-btn {
    width: 100%;
    background-color: var(--quiz-blue-dark);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 32px;
}

.quiz-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.2);
}

/* Activity Options */
.activity-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-bottom: 32px;
}

.activity-opt {
    background: var(--white);
    border: 2px solid var(--gray-100);
    padding: 20px;
    border-radius: 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.activity-opt:hover {
    border-color: var(--gray-200);
    background: var(--gray-50);
}

.activity-opt.selected {
    border-color: var(--quiz-blue);
    background: var(--quiz-blue-light);
}

.opt-label {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.opt-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

.activity-opt.selected .opt-label {
    color: var(--quiz-blue);
}

/* Result Styles */
.result-content {
    padding-top: 0;
}

.result-icon-box {
    width: 60px;
    height: 60px;
    background: var(--quiz-blue-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid #BAE6FD;
}

.result-icon-box i {
    width: 32px;
    height: 32px;
    color: #0284C7 !important;
}

.droplet-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.result-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    padding: 24px 20px;
    border-radius: 24px;
    margin-bottom: 24px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.result-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 12px;
}

.result-main-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--quiz-blue);
    line-height: 1;
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    letter-spacing: -0.04em;
}

.result-main-value small {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-left: 8px;
    letter-spacing: 0;
}

.result-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-100), transparent);
    margin-bottom: 24px;
}

.result-theory {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0;
    text-align: left;
}

.result-theory strong {
    font-weight: 700;
}

.hydration-quiz-container .result-theory strong {
    color: #0284C7;
}

.metabolic-quiz-container .result-theory strong {
    color: #E11D48;
}

#menopause-quiz-container .result-theory strong {
    color: #9D174D;
}

.quiz-finish-btn {
    width: 100%;
    background-color: var(--quiz-blue);
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.quiz-finish-btn:hover {
    background-color: var(--quiz-blue-dark);
    transform: translateY(-2px);
}

/* Modal Open State */
body.modal-open {
    overflow: hidden;
}

/* Metabolic Quiz Styles */
.metabolic-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.metabolic-opt {
    background: var(--white);
    border: 2px solid var(--gray-100);
    padding: 18px 24px;
    border-radius: 16px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
}

.metabolic-opt:hover {
    border-color: var(--primary-red);
    background-color: #FEF2F2;
}

.metabolic-opt.selected {
    border-color: var(--primary-red);
    background-color: #FEF2F2;
    color: var(--primary-red);
}

.quiz-category {
    display: inline-block;
    padding: 4px 10px;
    background: #FFF1F2;
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    margin-bottom: 12px;
}

.metabolic-score-box {
    text-align: center;
    margin-bottom: 20px;
}

#metabolic-score-value {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary-red);
    letter-spacing: -2px;
}

.metabolic-score-box small {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 2px;
}

#metabolic-status-text {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.metabolic-progress-container {
    width: 100%;
    margin-bottom: 40px;
}

.metabolic-progress-bar {
    height: 14px;
    background: var(--gray-100);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--gray-200);
}

.metabolic-progress-fill {
    height: 100%;
    width: 0%;
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(90deg, #F97316, #FACC15, #10B981);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gray-400);
    padding: 0 4px;
}

.metabolic-result-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-top: 8px solid var(--gray-300);
    padding: 32px 24px;
    border-radius: 28px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08);
    text-align: left;
}

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

.result-didactic-header i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.result-didactic-header span {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.metabolic-result-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.result-action-tip {
    background-color: var(--gray-50);
    border: 1px dashed var(--gray-200);
    padding: 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-top: 24px;
}

.result-action-tip strong {
    color: inherit;
    font-weight: 800;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.success-icon {
    color: var(--success);
}

.info-icon {
    color: #0284C7;
}

.warning-icon {
    color: #F97316;
}

.status-bloqueio {
    color: var(--primary-red);
}

.status-preguicoso {
    color: var(--accent-gold);
}

.status-maxima {
    color: var(--success);
}

.metabolic-finish-btn {
    width: 100%;
    padding: 18px;
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 18px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(225, 29, 72, 0.3);
    transition: all 0.2s;
    margin-top: 0px;
}

.metabolic-finish-btn:active {
    transform: scale(0.98);
}

/* Profile Modal Specific Styles */
.profile-modal-content {
    max-width: 400px;
    border-radius: 32px;
    border: 1px solid var(--gray-100);
}

.profile-body {
    padding: 32px 24px;
}

.profile-header-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.profile-avatar {
    width: 44px;
    height: 44px;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 0px;
    /* Adjusted spacing */
}

.profile-avatar i,
.profile-avatar svg {
    width: 32px;
    height: 32px;
}

.profile-header-main h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    width: 100%;
    padding-right: 0;
    /* Remove inherited padding that was breaking centering */
}

.profile-header-main p {
    font-size: 0.95rem;
    color: var(--gray-500);
    font-weight: 500;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.profile-form label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--gray-700);
    margin-left: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0px;
    /* Decreased space between label/icon and input box */
}

.profile-form label i {
    width: 18px;
    height: 18px;
    color: var(--gray-900);
}

.profile-form input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1.5px solid var(--gray-100);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--gray-50);
    color: var(--gray-900);
    font-weight: 600;
}

.profile-form input:focus {
    outline: none;
    border-color: var(--primary-red);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
}

.profile-form input[readonly] {
    background-color: #F1F5F9;
    color: var(--gray-500);
    cursor: not-allowed;
    border-color: var(--gray-100);
}

.save-profile-btn {
    margin-top: 0px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #9F1239 100%);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -5px rgba(225, 29, 72, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.save-profile-btn i {
    width: 22px;
    height: 22px;
}

.save-profile-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(225, 29, 72, 0.4);
}

.save-profile-btn:active {
    transform: translateY(-1px);
}

.profile-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-100), transparent);
    margin: 0px 0;
}

.logout-btn-profile {
    background: var(--white);
    border: 1px solid var(--gray-100);
    color: var(--gray-500);
    padding: 12px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn-profile:hover {
    background-color: #FEF2F2;
    color: #9F1239;
    border-color: #FECACA;
    transform: translateY(-2px);
}

.logout-btn-profile i {
    width: 18px;
    height: 18px;
}

.profile-btn {
    background: var(--white);
    border: 1px solid var(--gray-100);
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.profile-btn:hover {
    color: var(--primary-red);
    background-color: #FFF1F2;
    border-color: #FECDD3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.1);
}

.profile-btn i {
    width: 22px;
    height: 22px;
}

/* Mobile-First Refinements for Profile Modal */
@media (max-width: 480px) {
    .modal-overlay {
        padding: 12px;
    }

    .modal-content {
        border-radius: 24px;
        max-width: 380px;
    }

    .profile-body {
        padding: 20px 16px;
    }

    .profile-avatar {
        width: 40px;
        height: 40px;
        margin-bottom: 4px;
    }

    .profile-avatar i {
        width: 28px;
        height: 28px;
    }

    .profile-header-main h2 {
        font-size: 1.35rem;
    }

    .profile-form {
        gap: 6px;
    }

    .profile-form input {
        padding: 12px 14px 12px 42px;
        font-size: 0.9rem;
    }



    .save-profile-btn {
        padding: 12px;
        font-size: 0.95rem;
        box-shadow: 0 4px 12px -2px rgba(225, 29, 72, 0.25);
    }

    .logout-btn-profile {
        padding: 12px;
        font-size: 0.85rem;
    }

    .profile-divider {
        margin: 0;
    }
}

/* Menopause Quiz Theme & Fixes */
.menopause-app {
    background: linear-gradient(135deg, #FDF2F8 0%, #FCE7F3 100%);
    border-color: #FBCFE8;
}

.menopause-app .app-icon-box {
    background-color: #F472B6;
    color: white;
}

.menopause-app .app-info h3 {
    color: #9D174D;
}



#menopause-quiz-container .quiz-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

#menopause-quiz-container .quiz-step {
    color: var(--gray-400);
    font-weight: 700;
}

#menopause-quiz-container .quiz-category {
    background: #FDF2F8;
    color: #9D174D;
    border: 1px solid #FBCFE8;
}

.menopause-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
}

.menopause-opt {
    background: var(--white);
    border: 2px solid var(--gray-100);
    padding: 18px 24px;
    border-radius: 16px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
}

.menopause-opt:hover {
    border-color: #F472B6;
    background-color: #FDF2F8;
    color: #9D174D;
    transform: translateY(-2px);
}

.menopause-opt.selected {
    border-color: #F472B6;
    background-color: #FDF2F8;
    color: #9D174D;
}

.menopause-score-box {
    display: none;
}

.menopause-score-box span {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.menopause-score-box small {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.menopause-progress-container {
    width: 100%;
    margin-bottom: 40px;
}

.menopause-progress-bar {
    height: 14px;
    background: #FDF2F8;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid #FBCFE8;
}

.menopause-progress-fill {
    height: 100%;
    width: 0%;
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(90deg, #F472B6, #DB2777, #9D174D);
    box-shadow: 0 0 10px rgba(219, 39, 119, 0.3);
}

.menopause-result-card {
    background: var(--white);
    border-radius: 28px;
    padding: 32px 24px;
    border: 1px solid var(--gray-100);
    border-top: 8px solid #F472B6;
    text-align: left;
    margin-top: 8px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08);
}

.menopause-finish-btn {
    width: 100%;
    padding: 18px;
    background-color: #F43F5E;
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(244, 63, 94, 0.3);
    margin-top: 32px;
    transition: all 0.2s;
}

.menopause-finish-btn:hover {
    background-color: #E11D48;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(244, 63, 94, 0.4);
}

.menopause-result-card .result-didactic-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #9F1239;
}

.menopause-result-card .result-didactic-header i {
    width: 28px;
    height: 28px;
}

.menopause-result-card .result-didactic-header span {
    font-size: 1.1rem;
    font-weight: 800;
}

.menopause-result-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.menopause-result-card strong {
    color: var(--gray-900);
    font-weight: 800;
}