/* ==========================================================================
   AetherCache Brand Design System — Premium B2B Obsidian Glassmorphic Styles
   ========================================================================== */

/* --- Font & Design Tokens --- */
:root {
    --bg-dark: #09090b;
    --card-bg: rgba(20, 20, 25, 0.65);
    --card-border: rgba(255, 255, 255, 0.07);
    --card-border-glow: rgba(168, 85, 247, 0.2);
    
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --color-cyan: #06b6d4;
    --color-cyan-glow: rgba(6, 182, 212, 0.15);
    
    --color-purple: #a855f7;
    --color-purple-glow: rgba(168, 85, 247, 0.2);
    
    --color-emerald: #10b981;
    --color-emerald-glow: rgba(16, 185, 129, 0.15);
    
    --color-red: #ef4444;
    --color-red-glow: rgba(239, 68, 68, 0.15);
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Resets & Typography --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Ambient Backglow Effects --- */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -1;
    opacity: 0.28;
    pointer-events: none;
}

.purple-glow {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--color-purple) 0%, transparent 70%);
}

.cyan-glow {
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--color-cyan) 0%, transparent 70%);
}

/* --- Main Layout Container --- */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* --- Brand Header Navigation --- */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.brand-logo {
    color: var(--color-purple);
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
    display: flex;
    align-items: center;
}

.brand-text h1 {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #d4d4d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

/* Status Indicator Header */
.active-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-emerald);
    box-shadow: 0 0 10px var(--color-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --- Hero Showcase Section --- */
.hero-section {
    text-align: center;
    max-width: 800px;
    margin: 20px auto 10px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 30%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-purple-glow {
    background: linear-gradient(135deg, #c084fc 0%, var(--color-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.35));
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    font-weight: 350;
}

/* --- Interactive Grid Dashboard --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.dashboard-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Glassmorphic Core Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 28px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Card Header Stylings */
.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyan-bg {
    background: var(--color-cyan-glow);
    color: var(--color-cyan);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.purple-bg {
    background: var(--color-purple-glow);
    color: var(--color-purple);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.emerald-bg {
    background: var(--color-emerald-glow);
    color: var(--color-emerald);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pink-bg {
    background: rgba(244, 63, 94, 0.1);
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.card-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Card Body Layout */
.card-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

/* --- Input Fields & Form Elements --- */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Selector Wrapper styles */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    font-size: 10px;
    color: var(--text-muted);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

select {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

select option {
    background-color: #18181b;
    color: var(--text-primary);
}

select:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
}

/* Custom Sliders */
.slider-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slider-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.slider-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.custom-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
    transition: var(--transition-smooth);
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.purple-track::-webkit-slider-thumb {
    background: var(--color-purple);
    box-shadow: 0 0 10px var(--color-purple);
}

.slider-tip {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Toggle Switches */
.toggle-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.toggle-label {
    font-size: 11px;
    font-weight: 750;
    color: var(--color-purple);
    background: rgba(168, 85, 247, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(168, 85, 247, 0.15);
    text-transform: uppercase;
}

.toggle-label.inactive {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider-toggle::before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-primary);
    transition: .3s;
}

input:checked + .slider-toggle {
    background-color: var(--color-purple);
}

input:checked + .slider-toggle::before {
    transform: translateX(20px);
}

.slider-toggle.round {
    border-radius: 34px;
}

.slider-toggle.round::before {
    border-radius: 50%;
}

/* --- Cache State Gauge & Visual Bar --- */
.cache-status-container {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 16px;
}

.status-indicator-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.temp-indicator-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.temp-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.progress-bar-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 99px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 99px;
    transition: var(--transition-smooth);
}

.bg-emerald-gradient {
    background: linear-gradient(90deg, var(--color-emerald) 0%, #34d399 100%);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.bg-red-gradient {
    background: linear-gradient(90deg, var(--color-red) 0%, #f87171 100%);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.status-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

.state-warm {
    background: var(--color-emerald-glow);
    color: var(--color-emerald);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.state-cold {
    background: var(--color-red-glow);
    color: var(--color-red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-subtext {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 450;
}

/* Cost Leakage Banner */
.cost-leakage-warning {
    display: flex;
    gap: 12px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    padding: 14px 18px;
    border-radius: 12px;
    animation: slideIn 0.3s forwards;
}

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

.leakage-icon {
    color: var(--color-red);
}

.leakage-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.leakage-title {
    font-size: 13px;
    font-weight: 700;
    color: #fca5a5;
}

.leakage-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* --- Savings Grid Styles --- */
.roi-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.roi-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 18px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.border-red {
    border-color: rgba(239, 68, 68, 0.1);
}

.border-emerald {
    border-color: rgba(16, 185, 129, 0.1);
}

.roi-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.roi-num {
    font-size: 26px;
    font-weight: 800;
}

.text-red {
    color: #fca5a5;
}

.text-emerald {
    color: #a7f3d0;
}

.roi-subtext {
    font-size: 11px;
    color: var(--text-muted);
}

/* Highlighted Main Savings Box */
.highlight-box {
    grid-column: span 2;
    background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.08) 0%, rgba(20, 20, 25, 0.6) 100%);
    border: 1px solid rgba(168, 85, 247, 0.18);
    position: relative;
}

.text-purple-light {
    color: #d8b4fe;
}

.text-purple-glow {
    font-size: 34px;
    font-weight: 800;
    color: #e9d5ff;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

/* Annual Savings Banner */
.savings-impact-container {
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.1);
    padding: 20px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.impact-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.impact-badge {
    font-size: 11px;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-emerald);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.savings-impact-container h4 {
    font-size: 16px;
    color: var(--text-primary);
}

.text-emerald-glow {
    color: var(--color-emerald);
    font-weight: 800;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.impact-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.font-bold {
    font-weight: 700;
}

/* --- API Key & Endpoint Vault Card --- */
.api-key-field {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 14px 16px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.api-key-field:focus {
    border-color: #f43f5e;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.2);
}

.api-input-wrapper {
    position: relative;
}

.secure-badge {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: #fca5a5;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.api-input-tip {
    font-size: 11px;
    color: var(--text-muted);
}

.live-test-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--color-purple) 0%, #7c3aed 100%);
    border: none;
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    transition: var(--transition-smooth);
}

.live-test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.45);
}

/* Endpoint Outcome Layout */
.integration-outcome {
    margin-top: 14px;
    background: rgba(6, 182, 212, 0.04);
    border: 1px solid rgba(6, 182, 212, 0.15);
    padding: 20px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: slideIn 0.3s forwards;
}

.outcome-success-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 750;
    color: var(--color-cyan);
    background: var(--color-cyan-glow);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    align-self: flex-start;
    text-transform: uppercase;
}

.outcome-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-cyan);
    box-shadow: 0 0 5px var(--color-cyan);
}

.outcome-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.url-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 14px;
    border-radius: 8px;
}

.gateway-url-text {
    font-size: 13px;
    font-family: monospace;
    color: #c084fc;
}

.copy-url-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.copy-url-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.copy-url-btn.copied {
    background: var(--color-emerald-glow);
    color: var(--color-emerald);
    border-color: rgba(16, 185, 129, 0.3);
}

/* --- Why Us Pitch Section --- */
.value-pitch-section {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pitch-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 50%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-pitch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.pitch-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition-smooth);
}

.pitch-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
}

.pitch-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyan-text { color: var(--color-cyan); }
.purple-text { color: var(--color-purple); }
.pink-text { color: #f43f5e; }

.pitch-card h4 {
    font-size: 16px;
    font-weight: 700;
}

.pitch-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* --- Plan Pricing Section --- */
.pricing-section {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    margin-top: -12px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
    margin-top: 20px;
}

.pricing-plan-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-plan-card:hover {
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Featured Card Highlights */
.featured-plan {
    background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.08) 0%, rgba(20, 20, 25, 0.65) 100%);
    border: 1.5px solid rgba(168, 85, 247, 0.3);
}

.featured-ribbon {
    position: absolute;
    top: 18px;
    right: 20px;
    background: var(--color-purple);
    color: white;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.plan-badge {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.plan-price {
    display: flex;
    align-items: baseline;
}

.plan-price .currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
}

.plan-price .amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
}

.plan-price .duration {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 4px;
}

.plan-desc {
    font-size: 13px;
    color: var(--text-secondary);
    min-height: 40px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.plan-features li {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    gap: 10px;
}

.plan-features li span {
    color: var(--color-cyan);
}

.featured-plan .plan-features li span {
    color: var(--color-purple);
}

.plan-action-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    padding: 12px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.plan-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.bg-purple-gradient {
    background: linear-gradient(135deg, var(--color-purple) 0%, #7c3aed 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.25);
}

.bg-purple-gradient:hover {
    background: linear-gradient(135deg, #b862ff 0%, #8b5cf6 100%);
    box-shadow: 0 6px 18px rgba(168, 85, 247, 0.35);
}

/* --- Footer --- */
.app-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    font-size: 12px;
    color: var(--text-muted);
}

.status-indicator-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.status-indicator-footer .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.bg-emerald { background-color: var(--color-emerald); }

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    .dashboard-grid, .value-pitch-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 32px;
    }
}

/* --- Authentication Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    transition: var(--transition-smooth);
}

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

.modal-title-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-title-wrapper h3 {
    font-size: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-title-wrapper p {
    font-size: 14px;
    color: var(--text-secondary);
}

.google-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 12px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.google-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.separator:not(:empty)::before {
    margin-right: 1em;
}

.separator:not(:empty)::after {
    margin-left: 1em;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 12px 14px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.auth-input:focus {
    border-color: var(--color-purple);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--color-purple) 0%, #7c3aed 100%);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

.auth-btn:hover {
    background: linear-gradient(135deg, #b862ff 0%, #8b5cf6 100%);
    box-shadow: 0 6px 18px rgba(168, 85, 247, 0.35);
}

.auth-toggle-link {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.auth-toggle-link:hover {
    color: var(--color-cyan);
}

/* Header profile info styles */
.login-btn {
    background: linear-gradient(135deg, var(--color-purple) 0%, #7c3aed 100%);
    border: none;
    color: white;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
    transition: var(--transition-smooth);
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
}

/* Dynamic Subscription State Badges */
.unpaid-badge {
    font-size: 11px;
    font-weight: 750;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 99px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.paid-account-badge {
    font-size: 11px;
    font-weight: 750;
    background: var(--color-purple-glow);
    color: #e9d5ff;
    border: 1px solid rgba(168, 85, 247, 0.25);
    padding: 4px 10px;
    border-radius: 99px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.active-badge-glowing {
    font-size: 11px;
    font-weight: 750;
    background: var(--color-emerald-glow);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 10px;
    border-radius: 99px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.active-badge-glowing .pulse-dot {
    margin-right: 2px;
}

.state-unpaid {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Customer Console Styles --- */
.dashboard-welcome {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: slideIn 0.3s forwards;
    padding-top: 10px;
}

.dashboard-welcome h2 {
    font-size: 32px;
    background: linear-gradient(135deg, #ffffff 30%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    font-weight: 800;
}

.dashboard-welcome p {
    font-size: 15px;
    color: var(--text-secondary);
}

select:disabled, 
input:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.04) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    box-shadow: none !important;
}

.live-test-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 6px 4px 12px;
    border-radius: 99px;
}

.user-avatar {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-cyan) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 750;
    color: white;
}

.user-email {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.logout-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-red);
    border-color: rgba(239, 68, 68, 0.15);
}

/* Warning Safeguard note styles */
.safeguard-warning-pill {
    background: rgba(168, 85, 247, 0.04);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 12px;
    color: #e9d5ff;
    line-height: 1.45;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 10px;
}

.safeguard-warning-pill span {
    color: var(--color-purple);
    font-weight: 800;
}

/* Key Instructions styles */
.key-instructions-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.4;
    margin-top: 10px;
}

.key-instructions-title {
    font-weight: 750;
    color: var(--color-cyan);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.05em;
}

.live-telemetry-badge {
    font-size: 10px;
    font-weight: 750;
    background: rgba(16, 185, 129, 0.08);
    color: var(--color-emerald);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: auto;
}

/* --- Centered Premium Console Layout Styles --- */
.console-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 640px;
    margin: 60px auto;
    padding: 0 16px;
    animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.console-card-focused {
    width: 100%;
    background: rgba(12, 12, 17, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 100px rgba(168, 85, 247, 0.04) !important;
    padding: 40px !important;
    gap: 26px !important;
    backdrop-filter: blur(24px) !important;
}

.console-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.console-title-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.console-badge {
    font-size: 9px;
    font-weight: 850;
    color: var(--color-purple);
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.1em;
    width: fit-content;
    text-transform: uppercase;
}

#dash-active-model-display {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.text-emerald-glow {
    color: #34d399 !important;
    text-shadow: 0 0 25px rgba(16, 185, 129, 0.45);
}

.console-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
    transition: var(--transition-smooth);
    line-height: 1.4;
}

.console-toggle {
    margin-left: unset;
    align-self: center;
}

.temp-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 4px;
}

.temp-percentage {
    font-size: 12px;
    font-weight: 800;
    color: var(--color-emerald);
    transition: var(--transition-smooth);
}

.console-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    width: 100%;
}

.console-config-section {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

/* --- About Us Navigation & Badge Styles --- */
.about-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
    font-family: var(--font-heading);
    margin-right: 12px;
}

.about-nav-link:hover {
    color: var(--color-purple);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

/* About Us Top Hero Badge Banner */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.15);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 500;
    color: #e9d5ff;
    width: fit-content;
    margin: 0 auto 10px auto;
    backdrop-filter: blur(8px);
    animation: pulseBorder 3s infinite alternate;
}

.hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-purple);
    box-shadow: 0 0 8px var(--color-purple);
}

@keyframes pulseBorder {
    0% {
        border-color: rgba(168, 85, 247, 0.15);
        box-shadow: 0 0 5px rgba(168, 85, 247, 0.05);
    }
    100% {
        border-color: rgba(168, 85, 247, 0.35);
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
    }
}

/* About Us Modal Layout */
.about-modal-card {
    max-width: 520px !important;
    gap: 20px !important;
    background: rgba(15, 15, 22, 0.82) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 100px rgba(168, 85, 247, 0.05) !important;
}

.about-modal-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.about-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-section h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-cyan);
    font-weight: 750;
}

.about-section p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin-top: 6px;
}

.about-stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-stat-box .stat-num {
    font-size: 20px;
    font-weight: 800;
}

.about-stat-box .stat-label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.about-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 14px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.text-cyan-glow {
    color: #22d3ee;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.text-emerald-glow {
    color: #34d399;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* --- Embedded About Us Card --- */
.about-us-section {
    margin-bottom: 28px;
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.75) 0%, rgba(12, 12, 17, 0.8) 100%) !important;
}

.about-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 18px;
}

.about-header h3 {
    font-size: 22px;
    background: linear-gradient(135deg, #ffffff 50%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-lead {
    font-size: 14px;
    color: var(--text-secondary);
}

.about-grid-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    margin-top: 10px;
}

.about-text-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-item h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-cyan);
    font-weight: 750;
    margin-bottom: 4px;
}

.about-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.about-stats-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
}

.about-stats-column .about-stat-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.about-stats-column .about-stat-box:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.about-stats-column .stat-num {
    font-size: 24px;
    font-weight: 800;
}

.about-stats-column .stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Card 3: Savings & KPI Analytics Layout --- */
.full-width-card {
    grid-column: span 2;
}

.kpi-dashboard-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.kpi-cost-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.kpi-metrics-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
}

.kpi-item {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--transition-smooth);
}

.kpi-item:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.kpi-item .kpi-num {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.kpi-item .kpi-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kpi-item .kpi-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

.purple-border {
    border-color: rgba(168, 85, 247, 0.25);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .full-width-card {
        grid-column: span 1;
    }
    .kpi-dashboard-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .about-grid-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* --- AetherAudit Custom Header Design --- */
.audit-header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 18px;
    margin-bottom: 4px;
    width: 100%;
}

.audit-title-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.audit-savings-badge {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.18);
    padding: 8px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.05);
    transition: var(--transition-smooth);
}

.audit-savings-badge:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
    transform: translateY(-1px);
}

.audit-savings-text {
    font-size: 13px;
    font-weight: 700;
    color: #a7f3d0;
    letter-spacing: 0.02em;
}

.audit-intro-box {
    margin-top: 16px;
    background: rgba(168, 85, 247, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.08);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
    width: 100%;
}

.audit-intro-box:hover {
    border-color: rgba(168, 85, 247, 0.15);
    background: rgba(168, 85, 247, 0.05);
}

.audit-intro-icon {
    color: var(--color-purple);
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4));
    margin-top: 2px;
    display: flex;
    align-items: center;
}

.audit-intro-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.audit-intro-title {
    font-size: 14px;
    font-weight: 700;
    color: #e9d5ff;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.audit-intro-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 400;
}


