/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary: #4F46E5;
    --primary-light: #818CF8;
    --primary-dark: #3730A3;
    --accent: #06B6D4;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --bg-dark: #0F0F1A;
    --bg-card: #1A1A2E;
    --bg-card-hover: #1E1E35;
    --bg-input: #16162A;
    --text-primary: #F1F1F6;
    --text-secondary: #A0A0B8;
    --text-muted: #6B6B80;
    --border: #2A2A40;
    --border-focus: #4F46E5;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-ml: 'Noto Sans Malayalam', sans-serif;
    --font-en: 'Inter', sans-serif;
    --minimal-color: #10B981;
    --mild-color: #F59E0B;
    --moderate-color: #F97316;
    --severe-color: #EF4444;
}

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

html {
    scroll-behavior: smooth;
}

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

body.en-mode {
    font-family: var(--font-en);
}

/* ===========================
   Background Pattern
   =========================== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(79, 70, 229, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===========================
   Top Bar
   =========================== */
#topBar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.top-bar-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-family: var(--font-en);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

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

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.user-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-width: 150px;
}

.dropdown button {
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.dropdown button:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ===========================
   Section Base
   =========================== */
.section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding-top: 70px;
}

.hidden {
    display: none !important;
}

/* ===========================
   Hero Section
   =========================== */
.hero-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    text-align: center;
}

.hero-badge-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-verified {
    background: rgba(16, 185, 129, 0.12);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-clinical {
    background: rgba(6, 182, 212, 0.12);
    color: #22D3EE;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.badge-icon {
    font-size: 0.9rem;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 30px;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.trust-number {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trust-item span:last-child {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ===========================
   Pricing Card
   =========================== */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 0 0 20px;
    margin-bottom: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    text-align: left;
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.pricing-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
}

.timer-icon {
    animation: pulse 2s infinite;
}

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

.pricing-body {
    padding: 20px 24px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.original-price {
    font-size: 1.4rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.current-price {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--success), #34D399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.discount-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.check {
    color: var(--success);
    font-weight: 700;
    font-size: 1rem;
}

.free-trial-note {
    text-align: center;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0 24px;
}

/* ===========================
   CTA Button
   =========================== */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 24px rgba(79, 70, 229, 0.35);
    margin-bottom: 24px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.5);
}

.cta-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.cta-btn:hover .cta-arrow {
    transform: translateX(4px);
}

.disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===========================
   Auth Section
   =========================== */
.auth-container {
    max-width: 440px;
    margin: 0 auto;
    padding: 60px 24px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.auth-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-en);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.auth-error {
    background: rgba(239, 68, 68, 0.1);
    color: #FCA5A5;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 16px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.auth-submit-btn:hover {
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-toggle {
    text-align: center;
    margin-top: 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.auth-toggle button {
    background: none;
    border: none;
    color: var(--primary-light);
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    font-size: 0.88rem;
    margin-left: 4px;
}

.auth-toggle button:hover {
    text-decoration: underline;
}

/* ===========================
   Test Section
   =========================== */
.test-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 24px;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.progress-bar-container {
    position: relative;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    flex: 1;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 0;
}

.progress-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
    min-width: 40px;
    text-align: right;
}

.question-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.4s ease;
}

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

.question-number {
    font-size: 0.78rem;
    color: var(--primary-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.question-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.option-btn {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    text-align: left;
    transition: all 0.25s ease;
    line-height: 1.5;
}

.option-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.option-btn.selected {
    background: rgba(79, 70, 229, 0.12);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15);
}

.option-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.25s ease;
    position: relative;
}

.option-btn.selected .option-radio {
    border-color: var(--primary);
    background: var(--primary);
}

.option-btn.selected .option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

/* ===========================
   Test Navigation
   =========================== */
.test-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    border: none;
}

.nav-prev {
    background: var(--glass);
    border: 1px solid var(--glass-border) !important;
    color: var(--text-secondary);
}

.nav-prev:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.nav-next, .nav-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    margin-left: auto;
}

.nav-next:hover, .nav-submit:hover {
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

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

/* ===========================
   Payment Section
   =========================== */
.payment-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 24px;
}

.payment-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.payment-lock {
    margin-bottom: 28px;
}

.lock-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: bounce 2s infinite;
}

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

.payment-lock h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.payment-lock p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.payment-pricing {
    margin-bottom: 28px;
}

.payment-price-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
}

.payment-original {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.payment-current {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--success), #34D399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.payment-discount {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
}

.payment-features {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    text-align: left;
}

.payment-feature {
    flex: 1;
    display: flex;
    gap: 10px;
    padding: 14px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.pf-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.payment-feature strong {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 2px;
}

.payment-feature p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.pay-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
}

.payment-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ===========================
   Result Section
   =========================== */
.result-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Report Header Card */
.report-header-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-xl);
    padding: 28px 28px 20px;
}

.report-logo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.report-logo {
    font-size: 1.2rem;
    font-weight: 800;
}

.report-badge-row {
    display: flex;
    gap: 8px;
}

.report-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(79, 70, 229, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.report-badge.green {
    background: rgba(16, 185, 129, 0.12);
    color: #34D399;
    border-color: rgba(16, 185, 129, 0.2);
}

.report-main-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.report-meta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.rmi-icon {
    font-size: 0.9rem;
}

/* Result Cards */
.result-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.result-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

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

.result-card-title h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

/* Score Overview Grid */
.score-overview-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
}

.score-display {
    text-align: center;
}

.score-circle {
    position: relative;
    width: 130px;
    height: 130px;
}

.score-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 8;
}

.score-fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1.5s ease, stroke 0.5s ease;
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#scoreNumber {
    font-size: 2.2rem;
    font-weight: 800;
}

.score-total {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.score-info {
    text-align: left;
}

.score-category {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.score-severity {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.score-percentile {
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 6px 12px;
    background: var(--glass);
    border-radius: 8px;
    display: inline-block;
}

/* Result Meter */
.result-meter {
    margin-bottom: 0;
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.meter-bar {
    position: relative;
    display: flex;
    height: 10px;
    border-radius: 5px;
    overflow: visible;
    margin-bottom: 8px;
}

.meter-segment { height: 100%; }
.meter-segment.minimal { flex: 13; background: var(--minimal-color); border-radius: 5px 0 0 5px; }
.meter-segment.mild { flex: 6; background: var(--mild-color); }
.meter-segment.moderate { flex: 9; background: var(--moderate-color); }
.meter-segment.severe { flex: 35; background: var(--severe-color); border-radius: 0 5px 5px 0; }

.meter-pointer {
    position: absolute;
    top: -4px;
    width: 4px;
    height: 18px;
    background: white;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    transition: left 1.5s ease;
    left: 0;
}

.meter-numbers {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Area Breakdown */
.area-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.area-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.area-item {
    display: grid;
    grid-template-columns: 140px 1fr 30px;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
}

.area-label {
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.area-bar-track {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.area-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.area-score {
    text-align: right;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Concern Areas */
.concern-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.concern-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.concern-title {
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.concern-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Report Content */
.report-section {
    margin-bottom: 20px;
}

.report-section:last-child {
    margin-bottom: 0;
}

.report-section h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.report-section p, .report-section li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.report-section ul {
    list-style: none;
    padding: 0;
}

.report-section li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.report-section li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--primary-light);
    font-weight: 700;
}

/* Recommendation Items */
.rec-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--glass);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 10px;
}

.rec-item.warning {
    border-left-color: var(--warning);
}

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

.rec-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rec-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Result Actions */
.result-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    border: none;
}

.action-btn:not(.secondary) {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.action-btn.secondary {
    background: var(--glass);
    border: 1px solid var(--glass-border) !important;
    color: var(--text-secondary);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Helpline Box */
.helpline-box {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--radius-lg);
    text-align: left;
}

.helpline-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.helpline-box strong {
    display: block;
    color: #FCA5A5;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.helpline-box p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 3px 0;
}

/* Report Disclaimer */
.report-disclaimer {
    text-align: center;
    padding: 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.report-disclaimer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===========================
   Loading Overlay
   =========================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 26, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    backdrop-filter: blur(8px);
}

.loader {
    text-align: center;
}

.loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===========================
   Toast
   =========================== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.88rem;
    box-shadow: var(--shadow-md);
    z-index: 300;
    opacity: 0;
    transition: all 0.3s ease;
}

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

/* ===========================
   Responsive
   =========================== */
@media (max-width: 640px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-desc {
        font-size: 0.88rem;
    }

    .trust-indicators {
        gap: 16px;
    }

    .trust-number {
        font-size: 1.3rem;
    }

    .pricing-card {
        border-radius: var(--radius-lg);
    }

    .pricing-body {
        padding: 16px 18px;
    }

    .current-price {
        font-size: 2.2rem;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .question-card {
        padding: 24px 20px;
    }

    .payment-features {
        flex-direction: column;
    }

    .payment-card {
        padding: 28px 20px;
    }

    .payment-current {
        font-size: 2.6rem;
    }

    .result-card {
        padding: 20px 16px;
    }

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

    .score-overview-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .score-info {
        text-align: center;
    }

    .score-circle {
        margin: 0 auto;
    }

    .area-item {
        grid-template-columns: 100px 1fr 30px;
        gap: 8px;
    }

    .area-label {
        font-size: 0.75rem;
    }

    .report-header-card {
        padding: 20px 16px 16px;
    }

    .report-main-title {
        font-size: 1.1rem;
    }

    .report-meta-row {
        gap: 12px;
    }
}
