/* --- High-Depth Design Variables --- */
:root {
    --bg-dark: #060e1f;
    --bg-gradient: radial-gradient(circle at center, #0a1f43 0%, #060e1f 100%);
    --primary-glow: #2563eb;
    --primary-luminous: #3b82f6;
    --text-main: #ffffff;
    --text-cyan: #22d3ee;
    --text-luminous-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.05);
    --danger-subtle: #991b1b;
    --warning-luminous: #fbbf24;
    --success-luminous: #10b981;
}

/* --- Base & Reset --- */
* {
    box-sizing: border-box; margin: 0; padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: -0.01em;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
    position: relative;
    overflow-x: hidden;
}

/* --- Dynamic Background --- */
.main-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-gradient); z-index: -2;
}

/* Decorative orbs inspired by image_0.png */
.decorative-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.3; z-index: -1;
}
.orb-1 { width: 400px; height: 400px; top: -100px; right: -100px; background: var(--primary-glow); }
.orb-2 { width: 600px; height: 600px; bottom: -200px; left: -200px; background: var(--warning-luminous); opacity: 0.15;}

/* --- Layout Containers --- */
.view-container {
    padding: 2rem; display: flex; flex-direction: column; align-items: center; width: 100%;
}
.full-height { min-height: 100vh; justify-content: center; }
.hidden { display: none !important; }
.mt-2 { margin-top: 1.5rem; }
.dashboard-content { width: 100%; max-width: 1000px; display: flex; flex-direction: column; gap: 2rem; }
.flex-end { display: flex; justify-content: flex-end; width: 100%; }

/* --- Glassmorphism Cards & Panels --- */
.glass-card, .glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 16px;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.glass-card:hover { transform: translateY(-3px); box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4); }

/* --- Auth Specifics --- */
.auth-card { max-width: 480px; width: 100%; text-align: center; }
.auth-card .tabs { justify-content: center; }

/* --- Dashboard Specifics --- */
.dashboard-header {
    width: 100%; max-width: 1000px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem; margin-bottom: 2rem;
}
.full-bleed-title { text-align: center; margin: 2rem 0; }
.large-section { width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.actions-footer { display: flex; justify-content: center; width: 100%; margin-top: 2rem; padding-bottom: 2rem; }

/* --- Typography (Luminous Dark Theme) --- */
h1, h2, h3, h4, h5 { color: var(--text-main); margin-bottom: 0.75rem; font-weight: 700; }
.full-bleed-title h1 { font-size: 3rem; text-shadow: 0 0 20px rgba(255, 255, 255, 0.2); }
.full-bleed-title h1 span.cyan { color: var(--text-cyan); }
.brand-title { color: var(--text-cyan); font-size: 2rem; margin-bottom: 0.5rem; }
.subtitle { color: var(--text-luminous-muted); font-size: 1.1rem; margin-bottom: 2.5rem; font-weight: 300; }
.text-luminous-muted { color: var(--text-luminous-muted); font-size: 1rem; margin-bottom: 1.5rem; font-weight: 300; }
.luminous-glow { text-shadow: 0 0 10px rgba(59, 130, 246, 0.8); }

/* --- Luminous State Colors --- */
.status-luminous-warning { color: var(--warning-luminous); font-weight: bold; font-size: 1.1rem; }
.big-number { font-size: 2.5rem; font-weight: 800; color: #ffffff; text-shadow: 0 0 15px rgba(255, 255, 255, 0.3); }

/* --- Metric & Prediction Styling --- */
.metric-box { padding: 2rem; text-align: center; }
.prediction-box { padding: 2rem; }
.timeline-luminous { list-style: none; margin-top: 1rem; }
.timeline-luminous li {
    padding: 0.75rem 0; border-bottom: var(--glass-border);
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-luminous-muted); font-size: 1.05rem;
}
.timeline-luminous li span { color: #ffffff; }
.timeline-luminous li strong { color: var(--primary-luminous); font-size: 1.2rem; }

/* --- Form Elements (Minimal Luminous) --- */
.form-group { margin-bottom: 1.5rem; text-align: left;}
label { display: block; margin-bottom: 0.6rem; color: #a1a1aa; font-weight: 500; font-size: 0.95rem;}
input[type="email"], input[type="password"], input[type="text"], input[type="file"] {
    width: 100%; padding: 1rem;
    background: rgba(0, 0, 0, 0.2); border: var(--glass-border); border-radius: 8px;
    color: #ffffff; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus { outline: none; border-color: var(--primary-luminous); box-shadow: 0 0 10px rgba(59, 130, 246, 0.3); }

/* File upload styling is basic, but functional. More detailed styling requires extra structure. */
.upload-area { margin-bottom: 1rem; }

/* Inline form for address */
.inline-form { display: flex; gap: 1rem; padding: 1rem; }
.inline-form input { flex: 1; padding: 0.75rem; }
.inline-btn { width: auto; padding: 0.75rem 1.5rem; white-space: nowrap; }

/* --- Buttons (Luminous & Subtle) --- */
button { cursor: pointer; padding: 1rem 2rem; border-radius: 12px; font-weight: 700; font-size: 1rem; transition: all 0.2s ease; outline: none; border: none;}

.btn-luminous-primary {
    background: linear-gradient(135deg, var(--primary-luminous) 0%, var(--primary-glow) 100%);
    color: #ffffff; width: 100%; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
.btn-luminous-primary:hover { box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6); }
.btn-luminous-primary:disabled { background: #475569; box-shadow: none; cursor: not-allowed; }

.btn-luminous-secondary {
    background: transparent; color: #ffffff; border: var(--glass-border);
}
.btn-luminous-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: #ffffff; }

.btn-subtle-danger {
    background: transparent; color: var(--danger-subtle); border: 1px solid var(--danger-subtle); width: auto; font-size: 0.9rem; padding: 0.75rem 1.5rem;
}
.btn-subtle-danger:hover { background: rgba(153, 27, 27, 0.1); border-color: #ef4444; color: #ef4444; }

/* --- Tabs (Deep Theme) --- */
.tabs { display: flex; margin-bottom: 2rem; border-bottom: var(--glass-border); }
.tab { flex: 1; background: none; color: var(--text-luminous-muted); border-radius: 0; padding: 1rem; font-weight: 600;}
.tab.active { color: var(--primary-luminous); border-bottom: 3px solid var(--primary-luminous); margin-bottom: -1px; }

/* --- Solution Cards (Inspired by featured works from image_1.png) --- */
.luminous-solution-card {
    display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; margin-top: 1.25rem;
    transition: background 0.2s;
}
.luminous-solution-card:hover { background: rgba(34, 211, 238, 0.05); }
.card-icon { font-size: 2rem; color: var(--text-cyan); flex-shrink: 0;}
.card-content h5 { margin-bottom: 0.25rem; color: var(--text-main); font-size: 1.2rem; }
.card-content p { color: var(--text-luminous-muted); font-size: 0.95rem; font-weight: 300;}
.solutions-header { font-size: 1.4rem; color: var(--text-main); margin: 2rem 0 1rem 0; font-weight: 600;}
