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

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

:root {
    /* Dark Green & Silver Theme */
    --primary: #cbd5e1;           /* Silver */
    --primary-dark: #94a3b8;      /* Darker silver */
    --secondary: #2d5a3d;         /* Dark green */
    --success: #2d8a4e;           /* Green */
    --danger: #c53030;            /* Red */
    --warning: #f59e0b;           /* Amber (for actual warnings) */
    --background: #0d1f14;        /* Very dark green */
    --surface: #1a3325;           /* Dark green surface */
    --surface-light: #254a35;     /* Medium dark green */
    --text: #f5f5f0;              /* Cream/off-white */
    --text-muted: #a8b5a0;        /* Muted green-gray */
    --border: #3d5c47;            /* Green-gray border */
    --accent: #e2e8f0;            /* Light silver accent */
    --owl-amber: #cbd5e1;         /* Silver for Oliver */
    --fun-gradient: linear-gradient(135deg, #cbd5e1 0%, #2d5a3d 50%, #e2e8f0 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #132a1c 0%, #0d1f14 100%);
    color: var(--text);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Modern Navbar */
.navbar {
    background: rgba(13, 31, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #cbd5e1, #f1f5f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.navbar-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: none;
}

@media (min-width: 768px) {
    .navbar-tagline {
        display: block;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.section {
    display: none;
    overflow: visible;
}

.section.active {
    display: block;
}

#landing-section {
    overflow: visible;
}

/* Mascot Styles */
.mascot-container {
    text-align: center;
    margin-bottom: 30px;
}

.mascot {
    font-size: 6rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s;
}

.mascot:hover {
    transform: scale(1.1) rotate(10deg);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.mascot-speech-bubble {
    position: relative;
    background: linear-gradient(135deg, #2d5a3d, #1a3325);
    color: white;
    padding: 18px 24px;
    border-radius: 24px;
    max-width: 450px;
    margin: 20px auto 0;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    box-shadow: 0 8px 30px rgba(45, 90, 61, 0.4);
    animation: fadeInUp 0.8s ease-out;
}

.mascot-speech-bubble:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--primary);
}

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

.mini-mascot {
    font-size: 3rem;
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

.section-header-with-mascot {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(96, 165, 250, 0.06) 100%);
    border-radius: 16px;
    border: 2px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.08);
}

.section-header-with-mascot h2 {
    margin: 0;
}

.section-header-with-mascot .description {
    margin: 5px 0 0 0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 30px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(96, 165, 250, 0.06) 100%);
    border-radius: 24px;
    border: 2px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #cbd5e1, #f1f5f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    min-width: 140px;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
}

.feature-item span:last-child {
    font-weight: 600;
    color: var(--text);
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    padding: 12px 30px;
    background: var(--surface);
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

.tab-btn:hover {
    transform: translateY(-2px);
}

.form-container {
    display: none;
    background: var(--surface);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 520px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.form-container.active {
    display: block;
}

.form-container h2 {
    margin-bottom: 25px;
    color: var(--text);
    font-size: 1.8rem;
    text-align: center;
}

/* Enhanced Registration Form */
#register-form {
    max-width: 580px;
    padding: 35px 45px 45px;
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-mascot {
    font-size: 3rem;
    margin-bottom: 10px;
}

.register-header h2 {
    margin-bottom: 8px;
    font-size: 1.6rem;
}

.register-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.register-section {
    margin-bottom: 25px;
}

.register-label {
    display: block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.register-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.register-field {
    display: flex;
    flex-direction: column;
}

.field-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.slider-container {
    padding: 5px 0;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.slider-labels .slider-value {
    background: var(--primary);
    color: #1a3325;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
}

#register-form .btn-large {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 10px;
}

#register-form .input-field {
    margin-bottom: 12px;
}

@media (max-width: 600px) {
    #register-form {
        padding: 25px 20px 35px;
        max-width: 100%;
    }

    .register-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .register-header h2 {
        font-size: 1.4rem;
    }

    .register-mascot {
        font-size: 2.5rem;
    }
}

.input-field {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: var(--surface);
}

textarea.input-field {
    resize: vertical;
    min-height: 100px;
}

.label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.slider {
    width: 100%;
    margin-bottom: 8px;
}

.slider-value {
    text-align: center;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #1a3325;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: var(--surface-light);
    color: var(--text);
}

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

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    opacity: 0.9;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    opacity: 0.9;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-warning:hover {
    opacity: 0.9;
}

.error-message {
    color: var(--danger);
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Phone Verification Form */
.verify-header {
    text-align: center;
    margin-bottom: 24px;
}

.verify-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.verify-header h3 {
    color: var(--text);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.verify-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.verify-header span {
    color: var(--accent);
    font-weight: 600;
}

.verification-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 8px;
    font-weight: 600;
}

.resend-text {
    text-align: center;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.resend-text a {
    color: var(--accent);
    text-decoration: none;
}

.resend-text a:hover {
    text-decoration: underline;
}

#verify-form .btn {
    width: 100%;
    margin-bottom: 10px;
}

/* Phone Verification Section in Settings */
.phone-verification-section {
    margin-top: 20px;
}

.phone-verification-section h3 {
    color: var(--text);
    margin-bottom: 8px;
}

.phone-input-group {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.phone-input-group .input-field {
    flex: 1;
}

.phone-input-group .btn {
    white-space: nowrap;
}

.phone-verified {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 10px;
    color: #4ade80;
}

.verified-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.phone-not-set {
    color: var(--text-muted);
    font-style: italic;
}

.verify-info {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.verify-info span {
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 600px) {
    .phone-input-group {
        flex-direction: column;
    }

    .phone-verified {
        flex-wrap: wrap;
    }
}

/* User Navbar */
.user-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-greeting {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.user-name-display {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
}

.btn-logout {
    padding: 10px 24px;
    background: var(--surface-light);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: white;
    transform: translateY(-2px);
}

/* App Navigation */
.app-nav {
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow-x: auto;
}

.nav-links {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.nav-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: var(--background);
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
    min-width: 90px;
    font-weight: 500;
}

.nav-link:hover {
    background: var(--surface-light);
    border-color: var(--primary);
    color: var(--text);
    transform: translateY(-2px);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.nav-text {
    white-space: nowrap;
}

.user-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--surface);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    text-align: center;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.2);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.stat-card h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-value.saved {
    color: var(--success);
}

.decision-section {
    display: none;
    background: var(--surface);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.decision-section.active {
    display: block;
}

.decision-section h2 {
    margin-bottom: 10px;
    color: var(--text);
}

.description {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Modern AI Result Box */
.result-box {
    margin-top: 25px;
    padding: 0;
    background: transparent;
    border-radius: 24px;
    border: none;
    overflow: visible;
    position: relative;
    animation: resultFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ================================
   STYLED AI RESPONSE (Preserves Content)
   ================================ */

.ai-styled-response {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.5) 0%, rgba(30, 41, 59, 0.6) 100%);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 20px;
    padding: 28px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.ai-styled-response::before {
    content: '🦉';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 1.8rem;
    opacity: 0.15;
}

/* Section Dividers */
.ai-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.3), transparent);
    margin: 20px 0;
}

/* Section Titles */
.ai-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin: 8px 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
}

.ai-section-title.recommendation {
    color: var(--accent);
    border-bottom-color: rgba(96, 165, 250, 0.3);
}

.ai-section-title.reasoning {
    color: var(--secondary);
    border-bottom-color: rgba(16, 185, 129, 0.3);
}

.ai-section-title.impulse-risk {
    color: #f87171;
    border-bottom-color: rgba(239, 68, 68, 0.3);
}

.ai-section-title.regret-risk {
    color: var(--warning);
    border-bottom-color: rgba(251, 191, 36, 0.3);
}

.ai-section-title .ai-section-icon {
    font-size: 1.2rem;
}

/* Risk Pills */
.ai-risk-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 4px 0;
}

.ai-risk-pill.high {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
}

.ai-risk-pill.medium {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(251, 191, 36, 0.1));
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: #fbbf24;
}

.ai-risk-pill.low {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.ai-risk-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: riskPulse 2s ease-in-out infinite;
}

.ai-risk-pill.high .ai-risk-dot {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.ai-risk-pill.medium .ai-risk-dot {
    background: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.ai-risk-pill.low .ai-risk-dot {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

@keyframes riskPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* Score Visual Display */
.ai-score-visual {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 20px;
    border-radius: 12px;
    margin: 12px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-score-num {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 60px;
}

.ai-score-track {
    flex: 1;
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    overflow: hidden;
}

.ai-score-fill {
    height: 100%;
    border-radius: 7px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-score-fill.high {
    background: linear-gradient(90deg, #fbbf24, #ef4444);
}

.ai-score-fill.medium {
    background: linear-gradient(90deg, #22c55e, #fbbf24);
}

.ai-score-fill.low {
    background: linear-gradient(90deg, #2d5a3d, #2d8a4e);
}

.ai-score-label {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Inline Score Badge */
.ai-score-badge {
    display: inline-flex;
    align-items: baseline;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--accent);
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(59, 130, 246, 0.1));
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.ai-score-badge .ai-score-max {
    font-size: 0.7em;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 2px;
}

.ai-score-inline {
    color: var(--accent);
    font-weight: 600;
}

/* Bullet Items */
.ai-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--accent);
}

.ai-bullet-dot {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* Verdict Styling */
.ai-verdict {
    display: inline;
    font-weight: 600;
    font-size: 1.05em;
}

.ai-verdict.no {
    color: #f87171;
}

.ai-verdict.yes {
    color: #4ade80;
}

.ai-verdict.wait {
    color: #fbbf24;
}

/* Scale and Regret Notes */
.ai-scale-note {
    color: var(--text-muted);
    font-size: 0.85em;
    font-style: italic;
}

.ai-regret-note {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(251, 191, 36, 0.15);
    border-radius: 20px;
    font-size: 0.85em;
    color: var(--warning);
    margin-left: 4px;
}

.followup-section {
    display: none;
    margin-top: 30px;
    padding: 28px;
    background: var(--background);
    border-radius: 16px;
    border: 2px solid var(--border);
}

.followup-section h3 {
    margin-bottom: 15px;
    color: var(--text);
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-group .btn {
    width: auto;
    flex: 1;
}

.regret-section {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

.regret-section p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.regret-section button {
    margin-right: 10px;
    width: auto;
}

/* History Section */
.history-container {
    background: var(--surface);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.history-item {
    background: var(--background);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.history-item.purchased {
    border-left-color: var(--danger);
}

.history-item.saved {
    border-left-color: var(--success);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
}

.history-type {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: #1a3325;
    border-radius: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
}

.history-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.history-item h4 {
    margin-bottom: 8px;
    color: var(--text);
}

.history-price {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

.history-context {
    color: var(--text-muted);
    margin-top: 8px;
}

.history-status {
    margin-top: 10px;
    padding: 8px;
    background: var(--surface-light);
    border-radius: 4px;
    font-size: 0.9rem;
}

.history-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-edit {
    background: var(--primary);
    color: #1a3325;
}

.btn-edit:hover {
    background: var(--primary-dark);
}

.btn-delete {
    background: var(--danger);
    color: white;
}

.btn-delete:hover {
    opacity: 0.9;
}

.btn-save {
    background: var(--success);
    color: white;
}

.btn-save:hover {
    opacity: 0.9;
}

.btn-cancel {
    background: var(--surface-light);
    color: var(--text);
}

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

.history-edit-mode {
    margin-top: 10px;
}

.edit-field {
    margin-bottom: 15px;
}

.edit-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.edit-field .input-field {
    margin-bottom: 0;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 8px;
}

.badge-purchased {
    background: var(--danger);
    color: white;
}

.badge-saved {
    background: var(--success);
    color: white;
}

.badge-regret {
    background: var(--warning);
    color: white;
}

/* Account Settings */
.settings-container {
    background: var(--surface);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 12px 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features {
        gap: 15px;
    }

    .feature-item {
        min-width: 100px;
        padding: 15px;
    }

    .user-navbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .user-info {
        flex-direction: column;
        text-align: center;
    }

    .btn-logout {
        width: 100%;
    }

    /* App Navigation Mobile */
    .app-nav {
        padding: 10px;
    }

    .nav-links {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    .nav-links::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .nav-link {
        min-width: 80px;
        padding: 10px 12px;
        flex-shrink: 0;
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-text {
        font-size: 0.8rem;
    }

    .user-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 15px;
    }

    .stat-card {
        padding: 10px 6px;
    }

    .stat-icon {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .stat-card h3 {
        font-size: 0.65rem;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    .stat-value {
        font-size: 1rem;
    }

    .btn-group {
        flex-direction: column;
    }

    .form-container {
        padding: 25px 20px;
        max-width: 100%;
        border-radius: 12px;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }

    .input-field {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .btn {
        padding: 12px 20px;
        font-size: 16px; /* Prevents zoom on iOS */
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.3;
        min-height: 48px;
    }

    .btn-large {
        padding: 14px 16px;
        font-size: 15px;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile mascot adjustments */
    .mascot {
        font-size: 4rem;
    }

    .mascot-speech-bubble {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .section-header-with-mascot {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .mini-mascot {
        font-size: 2.5rem;
    }
}

/* ==========================
   CHAT MODE STYLES
   ========================== */

.chat-container {
    display: flex;
    flex-direction: column;
    height: 600px;
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.chat-header {
    padding: 20px;
    background: var(--background);
    border-bottom: 2px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.4rem;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    display: flex;
    gap: 12px;
    max-width: 80%;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced slide-in for AI messages */
.chat-message.assistant {
    animation: slideInAssistant 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInAssistant {
    from {
        opacity: 0;
        transform: translateX(-20px) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* Enhanced slide-in for user messages */
.chat-message.user {
    animation: slideInUser 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message.assistant {
    align-self: flex-start;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.message-avatar.user {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.message-avatar.assistant {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 2px solid var(--accent);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

.message-content {
    background: var(--background);
    padding: 14px 18px;
    border-radius: 16px;
    line-height: 1.7;
    word-wrap: break-word;
    font-size: 0.95rem;
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

/* Modern AI Response Styling */
.chat-message.assistant .message-content {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.9) 0%, rgba(30, 41, 59, 0.95) 100%);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 16px 16px 16px 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

.chat-message.assistant .message-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.3), transparent);
}

/* AI Response Text Formatting */
.chat-message.assistant .message-content strong {
    color: var(--accent);
    font-weight: 600;
}

.chat-message.assistant .message-content em {
    color: var(--secondary);
    font-style: italic;
}

/* Modern AI Response Formatting Elements */
.ai-bullet {
    display: block;
    padding: 8px 12px 8px 16px;
    margin: 6px 0;
    background: rgba(59, 130, 246, 0.08);
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
    line-height: 1.5;
}

.ai-numbered {
    display: block;
    padding: 8px 12px;
    margin: 6px 0;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 8px;
    line-height: 1.5;
}

.ai-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--secondary), #059669);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    margin-right: 10px;
}

.ai-keyword {
    display: inline-block;
    padding: 2px 10px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.15));
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--accent);
    text-transform: capitalize;
}

.ai-risk {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-risk-low, .ai-risk-Low {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.ai-risk-medium, .ai-risk-Medium {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1));
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
}

.ai-risk-high, .ai-risk-High {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.ai-score {
    display: inline-flex;
    align-items: baseline;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--accent);
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.1));
    padding: 2px 10px;
    border-radius: 8px;
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.ai-score-max {
    font-size: 0.7em;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 1px;
}

.message-timestamp {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-align: right;
}

.chat-message.user .message-timestamp {
    color: rgba(255, 255, 255, 0.7);
}

/* Modern Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 6px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.9) 0%, rgba(30, 41, 59, 0.95) 100%);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 16px 16px 16px 4px;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.typing-indicator::before {
    content: 'Oliver is thinking';
    position: absolute;
    top: -22px;
    left: 0;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.typing-dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 50%;
    animation: typingPulse 1.4s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

.typing-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typingPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-8px) scale(1.1);
        opacity: 1;
    }
}

.chat-input-container {
    padding: 20px;
    background: var(--background);
    border-top: 2px solid var(--border);
}

.chat-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    resize: none;
    min-height: 44px;
    max-height: 120px;
    font-family: inherit;
    transition: all 0.3s;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.chat-send-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.chat-send-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(14, 165, 233, 0.4);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.chat-action-btn {
    padding: 8px 16px;
    background: var(--surface-light);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-action-btn:hover {
    background: var(--border);
    border-color: var(--primary);
}

.empty-chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
    padding: 40px;
}

.empty-chat-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-chat h3 {
    margin-bottom: 10px;
    color: var(--text);
}

.starter-prompts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
    max-width: 600px;
}

.starter-prompt {
    padding: 12px 16px;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    font-size: 0.9rem;
}

.starter-prompt:hover {
    background: var(--border);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Scrollbar styling */
.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--background);
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--surface-light);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .chat-container {
        height: calc(100vh - 280px);
        min-height: 350px;
        max-height: 500px;
        border-radius: 12px;
    }

    .chat-header {
        padding: 12px 15px;
    }

    .chat-header h2 {
        font-size: 1.1rem;
    }

    .chat-status {
        font-size: 0.75rem;
    }

    .chat-messages {
        padding: 12px;
        gap: 10px;
    }

    .chat-message {
        max-width: 88%;
        gap: 8px;
    }

    .starter-prompts {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 15px;
    }

    .starter-prompt {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .empty-chat {
        padding: 20px;
    }

    .empty-chat-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .empty-chat h3 {
        font-size: 1rem;
    }

    .empty-chat p {
        font-size: 0.85rem;
    }

    .chat-input-container {
        padding: 12px;
    }

    .chat-input-wrapper {
        flex-direction: row;
        gap: 8px;
    }

    .chat-input {
        padding: 10px 12px;
        font-size: 16px;
        min-height: 40px;
    }

    .chat-send-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        width: auto;
        min-width: 70px;
    }

    /* Mobile AI Response Styles */
    .message-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .message-content {
        padding: 10px 12px;
        font-size: 0.85rem;
        line-height: 1.5;
        border-radius: 12px;
    }

    .chat-message.user .message-content {
        border-radius: 12px 12px 4px 12px;
    }

    .chat-message.assistant .message-content {
        border-radius: 12px 12px 12px 4px;
    }

    .typing-indicator {
        padding: 10px 14px;
    }

    .typing-indicator::before {
        font-size: 0.6rem;
        top: -18px;
    }

    .typing-dot {
        width: 7px;
        height: 7px;
    }

    /* Mobile AI formatting elements */
    .ai-bullet {
        padding: 6px 10px 6px 12px;
        margin: 4px 0;
        font-size: 0.9em;
    }

    .ai-numbered {
        padding: 6px 10px;
        margin: 4px 0;
        font-size: 0.9em;
    }

    .ai-num {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        margin-right: 8px;
    }

    .ai-keyword {
        padding: 1px 8px;
        font-size: 0.85em;
    }

    .ai-risk {
        padding: 2px 10px;
        font-size: 0.8em;
    }

    .ai-score {
        font-size: 1.1em;
        padding: 1px 8px;
    }

    /* Mobile Result Box */
    .result-box {
        border-radius: 16px;
    }

    /* Mobile AI Styled Response */
    .ai-styled-response {
        padding: 20px;
        border-radius: 16px;
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .ai-styled-response::before {
        font-size: 1.4rem;
        top: 14px;
        right: 16px;
    }

    .ai-section-title {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
        gap: 10px;
        margin: 6px 0 12px 0;
    }

    .ai-section-title .ai-section-icon {
        font-size: 1rem;
    }

    .ai-risk-pill {
        padding: 5px 12px;
        font-size: 0.8rem;
    }

    .ai-risk-dot {
        width: 8px;
        height: 8px;
    }

    .ai-score-visual {
        padding: 12px 14px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .ai-score-num {
        font-size: 2.2rem;
        min-width: 50px;
    }

    .ai-score-track {
        height: 12px;
        min-width: 100px;
    }

    .ai-score-badge {
        padding: 3px 10px;
        font-size: 1em;
    }

    .ai-bullet-item {
        padding: 10px 12px;
        gap: 10px;
        font-size: 0.9em;
    }

    .ai-divider {
        margin: 16px 0;
    }
}

/* Image Upload Styles */
.image-upload-section {
    margin: 20px 0;
    padding: 20px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.image-help-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 5px 0 15px 0;
}

.image-upload-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.image-preview {
    margin-top: 15px;
}

.image-preview-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.image-preview-container img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    border: 2px solid var(--border);
    display: block;
}

.remove-image-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.remove-image-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Premium Feature Badge and Button Styles */
.premium-badge-small {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    vertical-align: middle;
}

.btn-premium-feature {
    position: relative;
}

.premium-icon {
    font-size: 0.8em;
    margin-left: 4px;
}

/* Premium Upgrade Modal */
.premium-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}

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

.premium-modal {
    background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.premium-modal-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.premium-modal h3 {
    color: var(--text);
    font-size: 1.4rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-modal p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.premium-modal-buttons .btn {
    min-width: 120px;
}

@media (max-width: 600px) {
    .premium-modal {
        padding: 24px;
        margin: 16px;
    }

    .premium-modal-buttons {
        flex-direction: column;
    }

    .premium-modal-buttons .btn {
        width: 100%;
    }

    .premium-badge-small {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
}

@media (max-width: 600px) {
    .image-upload-buttons {
        flex-direction: column;
    }

    .btn-small {
        width: 100%;
    }
}

/* Celebration Popup */
.celebration-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.celebration-popup.show {
    opacity: 1;
}

.celebration-content {
    background: var(--fun-gradient);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: celebrationBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: white;
}

@keyframes celebrationBounce {
    0% {
        transform: scale(0.3) rotate(-10deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.celebration-mascot {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: celebrationSpin 0.8s ease-out;
}

@keyframes celebrationSpin {
    from {
        transform: rotate(0deg) scale(0);
    }
    to {
        transform: rotate(360deg) scale(1);
    }
}

.celebration-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.celebration-content p {
    font-size: 1.3rem;
    margin: 10px 0;
}

.celebration-content strong {
    font-size: 2rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.celebration-message {
    margin-top: 20px;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Mobile celebration */
@media (max-width: 768px) {
    .celebration-content {
        padding: 40px 30px;
        margin: 0 20px;
    }

    .celebration-content h2 {
        font-size: 2rem;
    }

    .celebration-mascot {
        font-size: 4rem;
    }
}

/* Advanced Menu Dropdown */
.advanced-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    margin: 16px auto;
    max-width: 800px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advanced-menu-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.advanced-option {
    background: var(--surface-light);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.advanced-option:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Hero subtitle for login */
.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 8px 0 16px 0;
}

/* ==================== */
/* Landing Page Styles  */
/* ==================== */

/* Landing Header */
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-icon {
    font-size: 2rem;
}

.brand-name {
    color: var(--text);
}

.btn-header-login {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-header-login:hover {
    background: var(--surface);
    color: var(--text);
    border-color: var(--text-secondary);
}

/* Landing Hero */
.landing-hero {
    text-align: center;
    padding: 40px 20px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.landing-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
    white-space: normal;
    overflow: visible;
    word-wrap: break-word;
}

.landing-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Tool Preview Card */
.tool-preview {
    max-width: 500px;
    margin: 30px auto;
    padding: 0 20px;
}

.tool-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.tool-mascot {
    font-size: 1.5rem;
}

.btn-large {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 12px;
}

/* Preview overlay for landing page */
.preview-overlay {
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-overlay:hover {
    transform: scale(1.01);
}

.preview-fields-disabled {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.preview-disabled {
    background: var(--background);
    opacity: 0.6;
    pointer-events: none;
    color: var(--text-muted);
}

.preview-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.2), rgba(45, 90, 61, 0.1));
    border: 1px dashed var(--secondary);
    border-radius: 8px;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 12px;
}

.preview-lock {
    font-size: 1.1rem;
}

/* How It Works */
.how-it-works {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.how-it-works h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 40px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #1a3325;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    color: var(--text);
}

.step-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Example Section */
.example-section {
    max-width: 600px;
    margin: 60px auto;
    padding: 0 20px;
}

.example-section h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.example-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.example-question {
    padding: 16px 20px;
    background: var(--surface-light);
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.example-answer {
    padding: 20px;
    display: flex;
    gap: 16px;
}

.oliver-avatar {
    font-size: 2rem;
    flex-shrink: 0;
}

.oliver-response {
    flex: 1;
}

.oliver-response strong {
    font-size: 1.1rem;
    color: #ef4444;
}

.oliver-response p {
    margin: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.oliver-history {
    background: var(--surface-light);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem !important;
    border-left: 3px solid var(--warning);
}

.regret-score {
    margin-top: 12px;
    font-weight: 600;
}

.score-high {
    color: #ef4444;
    font-size: 1.1rem;
}

/* Why Section / Comparison Grid */
.why-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.why-section h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 40px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.comparison-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.comparison-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.comparison-item h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
}

.comparison-problem {
    color: #ef4444;
    font-size: 0.9rem;
    margin: 0 0 8px;
}

.comparison-solution {
    color: #22c55e;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.cta-section .btn-large {
    width: auto;
    padding: 16px 48px;
}

.cta-note {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==================== */
/* Auth Modal Styles    */
/* ==================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    max-width: 620px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.2s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text);
}

/* Form Grid for Register */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group .label {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.form-group .slider {
    margin-top: 8px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .container {
        padding: 15px 10px;
        max-width: 100%;
        box-sizing: border-box;
    }

    #landing-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .landing-hero {
        padding: 15px 10px 10px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .landing-title {
        font-size: 1.5rem !important;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
        text-align: center;
    }

    .landing-subtitle {
        font-size: 0.85rem;
        padding: 0 5px;
    }

    .tool-preview {
        padding: 0 10px;
    }

    .tool-card {
        padding: 20px 15px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }
}

/* Extra small screens */
@media (max-width: 380px) {
    .landing-header {
        padding: 10px 8px;
    }

    .brand {
        font-size: 1rem;
        gap: 5px;
    }

    .brand-icon {
        font-size: 1.2rem;
    }

    .btn-header-login {
        padding: 6px 10px;
        font-size: 12px;
    }

    .landing-title {
        font-size: 1.2rem !important;
        padding: 0 5px;
    }

    .landing-subtitle {
        font-size: 0.8rem;
    }

    .btn-large {
        font-size: 13px;
        padding: 10px 12px;
    }

    .preview-cta {
        font-size: 0.8rem;
        padding: 8px;
    }

    .preview-cta span {
        font-size: 0.85rem;
    }

    .user-stats {
        gap: 5px;
    }

    .stat-card {
        padding: 8px 4px;
    }

    .stat-icon {
        font-size: 1rem;
    }

    .stat-card h3 {
        font-size: 0.55rem;
    }

    .stat-value {
        font-size: 0.85rem;
    }

    /* Extra small chat styles */
    .chat-container {
        height: calc(100vh - 250px);
        min-height: 300px;
        max-height: 450px;
    }

    .chat-header {
        padding: 10px 12px;
    }

    .chat-header h2 {
        font-size: 1rem;
    }

    .chat-messages {
        padding: 10px;
        gap: 8px;
    }

    .chat-message {
        max-width: 92%;
        gap: 6px;
    }

    .message-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    .message-content {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .chat-input-container {
        padding: 10px;
    }

    .chat-input {
        padding: 8px 10px;
        font-size: 16px;
    }

    .chat-send-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 60px;
    }

    .starter-prompt {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .empty-chat-icon {
        font-size: 2rem;
    }
}

/* ==========================
   SUBSCRIPTION & MONETIZATION STYLES
   ========================== */

/* Usage Banner */
.usage-banner {
    background: linear-gradient(135deg, var(--warning) 0%, #f59e0b 100%);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.usage-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.usage-text {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-upgrade-small {
    background: #1e293b;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-upgrade-small:hover {
    background: #0f172a;
    transform: scale(1.05);
}

/* Subscription Container */
.subscription-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

/* Current Plan Card */
.current-plan-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.plan-header h3 {
    margin: 0;
    color: var(--text);
}

.plan-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.plan-badge.free {
    background: var(--surface-light);
    color: var(--text-muted);
}

.plan-badge.premium {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
}

.status-active {
    color: var(--success);
    margin: 0;
}

.status-warning {
    color: var(--warning);
    margin: 0;
}

.status-error {
    color: var(--danger);
    margin: 0;
}

/* Usage Stats Card */
.usage-stats-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.usage-stats-card h3 {
    margin: 0 0 1rem 0;
    color: var(--text);
    font-size: 1rem;
}

.usage-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.usage-item {
    display: grid;
    grid-template-columns: 120px 1fr 80px;
    align-items: center;
    gap: 1rem;
}

.usage-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.usage-bar-container {
    height: 8px;
    background: var(--surface-light);
    border-radius: 4px;
    overflow: hidden;
}

.usage-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.usage-bar.warning {
    background: var(--warning);
}

.usage-bar.full {
    background: var(--danger);
}

.usage-count {
    color: var(--text);
    font-size: 0.85rem;
    text-align: right;
}

/* Plans Comparison */
.plans-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.plan-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.premium-plan {
    border-color: var(--warning);
    background: linear-gradient(180deg, var(--surface) 0%, rgba(251, 191, 36, 0.1) 100%);
}

.plan-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.plan-card-header h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text);
    font-size: 1.25rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.premium-plan .plan-price {
    color: var(--warning);
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text);
    font-size: 0.9rem;
}

.plan-features .check {
    color: var(--success);
    font-weight: 700;
}

.plan-features .cross {
    color: var(--text-muted);
    opacity: 0.5;
}

.plan-card-footer {
    text-align: center;
}

.current-plan-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--surface-light);
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 500;
}

.current-plan-label.premium {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
}

.btn-upgrade {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    border: none;
    font-weight: 700;
}

.btn-upgrade:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: scale(1.02);
}

/* Subscription Management */
.subscription-management {
    background: var(--surface);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.subscription-management h3 {
    margin: 0 0 1rem 0;
    color: var(--text);
}

.subscription-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .plans-comparison {
        grid-template-columns: 1fr;
    }

    .usage-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .usage-count {
        text-align: left;
    }

    .subscription-actions {
        flex-direction: column;
    }

    .subscription-actions button {
        width: 100%;
    }
}

/* Upgrade Modal (for limit reached) */
.upgrade-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

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

.upgrade-modal-content {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.upgrade-modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.upgrade-modal h3 {
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

.upgrade-modal p {
    color: var(--text-muted);
    margin: 0 0 1.5rem 0;
}

.upgrade-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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