/* ============================================
   SolarPro Design System v2.0
   Premium Solar-themed Light + Dark (Amber)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #D97706;
    --primary-dark: #B45309;
    --primary-light: #FCD34D;
    --primary-glow: rgba(217, 119, 6, 0.18);
    --accent: #059669;
    --accent-dark: #047857;
    --bg: #F1F5F9;
    --surface: #E2E8F0;
    --surface-alt: #F8FAFC;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(217, 119, 6, 0.3);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --danger: #DC2626;
    --warning: #D97706;
    --info: #2563EB;
    --success: #059669;
    --gradient-primary: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%);
    --gradient-primary-soft: linear-gradient(135deg, rgba(245,158,11,0.1) 0%, rgba(234,88,12,0.05) 100%);
    --gradient-hero: linear-gradient(160deg, #F8FAFC 0%, #F1F5F9 40%, #E2E8F0 70%, #F8FAFC 100%);
    --gradient-accent: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 30px rgba(217, 119, 6, 0.08);
    --shadow-glow-strong: 0 0 50px rgba(217, 119, 6, 0.12);
    /* Component colors (light) */
    --badge-warning-text: #92400E;
    --badge-success-text: #065F46;
    --badge-info-text: #1E40AF;
    --badge-danger-text: #991B1B;
    --alert-success-text: #065F46;
    --alert-danger-text: #991B1B;
    --alert-info-text: #1E40AF;
    --alert-warning-text: #92400E;
    --selection-text: #1E293B;
    --table-head-bg: rgba(241, 245, 249, 0.9);
    --form-bg: rgba(255, 255, 255, 0.8);
    --form-focus-bg: rgba(255, 255, 255, 1);
    --form-check-bg: rgba(255, 255, 255, 0.8);
    --sidebar-bg: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    --topbar-bg: rgba(255, 255, 255, 0.88);
    --navbar-bg: rgba(255, 255, 255, 0.9);
    --navbar-scrolled-bg: rgba(255, 255, 255, 0.98);
    --navbar-scrolled-shadow: 0 2px 20px rgba(0,0,0,0.06);
    --plan-featured-bg: linear-gradient(180deg, rgba(245,158,11,0.06) 0%, rgba(255,255,255,0.85) 30%);
    --hamburger-color: #0F172A;
    /* Sizing tokens */
    --radius: 14px;
    --radius-lg: 18px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --font-xs: 0.75rem;
    --font-sm: 0.85rem;
    --font-base: 0.95rem;
    --font-lg: 1.1rem;
    --font-xl: 1.3rem;
}

/* === DARK THEME === */
[data-theme="dark"] {
    --primary: #F59E0B;
    --primary-dark: #D97706;
    --primary-light: #FCD34D;
    --primary-glow: rgba(245, 158, 11, 0.25);
    --accent: #10B981;
    --accent-dark: #059669;
    --bg: #0a0f1e;
    --surface: #131b2e;
    --surface-alt: #1a2540;
    --card-bg: rgba(22, 33, 55, 0.80);
    --border: rgba(248, 250, 252, 0.07);
    --border-hover: rgba(245, 158, 11, 0.25);
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    --success: #10B981;
    --gradient-primary: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    --gradient-primary-soft: linear-gradient(135deg, rgba(245,158,11,0.15) 0%, rgba(249,115,22,0.08) 100%);
    --gradient-hero: linear-gradient(160deg, #070b18 0%, #0f1729 40%, #131b2e 70%, #0a0f1e 100%);
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.12);
    --shadow-glow-strong: 0 0 60px rgba(245, 158, 11, 0.2);
    --badge-warning-text: #FBBF24;
    --badge-success-text: #34D399;
    --badge-info-text: #60A5FA;
    --badge-danger-text: #F87171;
    --alert-success-text: #34D399;
    --alert-danger-text: #F87171;
    --alert-info-text: #60A5FA;
    --alert-warning-text: #FBBF24;
    --selection-text: #fff;
    --table-head-bg: rgba(10, 15, 30, 0.7);
    --form-bg: rgba(10, 15, 30, 0.5);
    --form-focus-bg: rgba(10, 15, 30, 0.7);
    --form-check-bg: rgba(10, 15, 30, 0.5);
    --sidebar-bg: linear-gradient(180deg, #131b2e 0%, rgba(10,15,30,0.98) 100%);
    --topbar-bg: rgba(19, 27, 46, 0.85);
    --navbar-bg: rgba(10, 15, 30, 0.88);
    --navbar-scrolled-bg: rgba(10, 15, 30, 0.96);
    --navbar-scrolled-shadow: 0 4px 30px rgba(0,0,0,0.3);
    --plan-featured-bg: linear-gradient(180deg, rgba(245,158,11,0.06) 0%, rgba(22,33,55,0.80) 30%);
    --hamburger-color: #F1F5F9;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    --bs-body-color: var(--text-primary);
    --bs-secondary-color: var(--text-secondary);
    transition: background 0.3s ease, color 0.3s ease;
}

/* Override Bootstrap text utilities */
.text-muted { color: var(--text-secondary) !important; }
.form-label { color: var(--text-secondary); }
.form-check-label { color: var(--text-secondary) !important; }
.form-text { color: var(--text-muted) !important; }

/* === THEME TOGGLE === */
.theme-toggle {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.theme-toggle:hover {
    border-color: var(--border-hover);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(217,119,6,0.2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(217,119,6,0.4); }

/* === SELECTION === */
::selection { background: rgba(245,158,11,0.25); color: var(--selection-text); }

/* === GLASS CARD === */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
}
.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(245,158,11,0) 0%, rgba(245,158,11,0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: var(--transition);
    pointer-events: none;
}
.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}
.glass-card:hover::before {
    background: linear-gradient(135deg, rgba(245,158,11,0.3) 0%, rgba(249,115,22,0.1) 100%);
}

/* === BUTTONS === */
.btn-solar {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 11px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--font-sm);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}
.btn-solar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: var(--transition);
}
.btn-solar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    color: #fff;
}
.btn-solar:hover::after { opacity: 1; }
.btn-solar:active { transform: translateY(0); }

.btn-solar-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid rgba(245,158,11,0.5);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.01em;
}
.btn-solar-outline:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(245,158,11,0.3);
}
.btn-sm { padding: 7px 16px; font-size: var(--font-xs); border-radius: var(--radius-xs); }
.btn-lg { padding: 14px 34px; font-size: 1rem; }

/* === STAT CARDS === */
.stat-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px 0 0 4px;
    transition: var(--transition);
}
.stat-card::after {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 100px; height: 100px;
    background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
    border-radius: 50%;
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-hover);
}
.stat-card:hover::before { width: 5px; }
.stat-card .stat-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
    margin-bottom: 14px;
    transition: var(--transition);
}
.stat-card:hover .stat-icon { transform: scale(1.08); }
.stat-card .stat-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.stat-card .stat-label {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin-top: 4px;
    letter-spacing: 0.01em;
}
.stat-card.accent::before { background: var(--gradient-accent); }
.stat-card.accent .stat-icon { background: rgba(16,185,129,0.1); color: var(--accent); }
.stat-card.info::before { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.stat-card.info .stat-icon { background: rgba(59,130,246,0.1); color: var(--info); }
.stat-card.danger::before { background: linear-gradient(135deg, #EF4444, #DC2626); }
.stat-card.danger .stat-icon { background: rgba(239,68,68,0.1); color: var(--danger); }

/* === BADGES === */
.badge-solar {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: var(--font-xs);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}
.badge-warning { background: rgba(245,158,11,0.1); color: var(--badge-warning-text); border-color: rgba(245,158,11,0.2); }
.badge-success { background: rgba(16,185,129,0.1); color: var(--badge-success-text); border-color: rgba(16,185,129,0.2); }
.badge-info { background: rgba(59,130,246,0.1); color: var(--badge-info-text); border-color: rgba(59,130,246,0.2); }
.badge-danger { background: rgba(239,68,68,0.1); color: var(--badge-danger-text); border-color: rgba(239,68,68,0.2); }
.badge-primary { background: rgba(245,158,11,0.1); color: var(--badge-warning-text); border-color: rgba(245,158,11,0.2); }

/* === TABLES === */
.table-solar {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.table-solar thead th {
    background: var(--table-head-bg);
    color: var(--text-muted);
    font-weight: 600;
    font-size: var(--font-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    position: sticky;
    top: 0;
}
.table-solar thead th:first-child { border-radius: var(--radius-xs) 0 0 0; }
.table-solar thead th:last-child { border-radius: 0 var(--radius-xs) 0 0; }
.table-solar tbody td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--border);
    font-size: var(--font-sm);
    vertical-align: middle;
    transition: var(--transition-fast);
}
.table-solar tbody tr {
    transition: var(--transition);
    position: relative;
}
.table-solar tbody tr:hover {
    background: rgba(245, 158, 11, 0.04);
}
.table-solar tbody tr:hover td:first-child {
    box-shadow: inset 3px 0 0 var(--primary);
}
.table-solar tbody tr:last-child td { border-bottom: none; }

/* === FORMS === */
.form-solar .form-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--font-sm);
    margin-bottom: 7px;
    letter-spacing: 0.01em;
}
.form-solar .form-control,
.form-solar .form-select {
    background: var(--form-bg);
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 11px 16px;
    font-size: var(--font-sm);
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}
.form-solar .form-control:focus,
.form-solar .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12), 0 0 20px rgba(245,158,11,0.05);
    background: var(--form-focus-bg);
    color: var(--text-primary);
    outline: none;
}
.form-solar .form-control::placeholder { color: var(--text-muted); }
.form-solar .form-check-input {
    background-color: var(--form-check-bg);
    border-color: var(--border);
}
.form-solar .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
/* Validation errors */
.form-solar .form-control.is-invalid,
.form-solar .form-select.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.form-solar .invalid-feedback {
    color: var(--danger);
    font-size: var(--font-xs);
    margin-top: 5px;
    display: block;
}
.validation-errors {
    list-style: none;
    padding: 0;
    margin: 0;
}
.validation-errors li {
    padding: 4px 0;
    font-size: var(--font-sm);
}

/* === SIDEBAR LAYOUT === */
.sidebar {
    position: fixed;
    left: 0; top: 0;
    width: 264px; height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    z-index: 1040;
    overflow-y: auto;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1035;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.active { display: block; opacity: 1; }
.sidebar-brand {
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 14px;
    text-decoration: none;
    background: var(--gradient-primary-soft);
}
.sidebar-brand img {
    border-radius: 10px;
    background: #fff;
    padding: 4px 8px;
}
.sidebar-brand .brand-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff;
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}
.sidebar-brand .brand-text {
    font-size: 1.15rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.01em;
}
.sidebar-brand .brand-sub {
    font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
.sidebar-nav { padding: 18px 14px; }
.sidebar-nav .nav-section {
    font-size: 0.65rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.1em;
    padding: 14px 14px 8px; margin-top: 6px;
}
.sidebar-nav .nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-sm); font-weight: 500;
    transition: var(--transition);
    margin-bottom: 3px;
    position: relative;
}
.sidebar-nav .nav-link i { width: 20px; text-align: center; font-size: 1rem; transition: var(--transition); }
.sidebar-nav .nav-link:hover {
    background: rgba(245, 158, 11, 0.08);
    color: var(--primary);
}
.sidebar-nav .nav-link:hover i { color: var(--primary); }
.sidebar-nav .nav-link.active {
    background: rgba(245, 158, 11, 0.12);
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(245,158,11,0.06);
}
.sidebar-nav .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 60%;
    background: var(--gradient-primary);
    border-radius: 0 3px 3px 0;
}
.main-content {
    margin-left: 264px;
    min-height: 100vh;
    padding: 0;
    background: var(--bg);
}
.topbar {
    background: var(--topbar-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 100;
}
.topbar .page-title { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.topbar-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700; color: #fff;
    letter-spacing: 0.02em;
}
.content-area { padding: 28px 32px; }

/* === PUBLIC NAVBAR === */
.navbar-solar {
    background: var(--navbar-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky; top: 0; z-index: 1050;
    transition: var(--transition);
}
.navbar-solar.scrolled {
    background: var(--navbar-scrolled-bg);
    padding: 10px 0;
    box-shadow: var(--navbar-scrolled-shadow);
}
.navbar-solar .navbar-brand {
    font-weight: 900; font-size: 1.45rem; color: var(--text-primary) !important;
    display: flex; align-items: center; gap: 10px;
    letter-spacing: -0.02em;
}
.navbar-solar .navbar-brand i {
    filter: drop-shadow(0 0 8px rgba(245,158,11,0.4));
}
.navbar-solar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500; font-size: 0.92rem;
    transition: var(--transition);
    padding: 8px 18px !important;
    border-radius: var(--radius-xs);
    position: relative;
}
.navbar-solar .nav-link:hover { color: var(--text-primary) !important; }
.navbar-solar .nav-link.active {
    color: var(--primary) !important;
}
.navbar-solar .nav-link.active::after {
    content: '';
    position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 20px; height: 2px; border-radius: 2px;
    background: var(--gradient-primary);
}

/* === HERO SECTION === */
.hero-section {
    background: var(--gradient-hero);
    padding: 110px 0 90px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -40%; right: -15%;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.07) 0%, transparent 65%);
    animation: floatOrb 8s ease-in-out infinite;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.04) 0%, transparent 65%);
    animation: floatOrb 10s ease-in-out infinite reverse;
}
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}
.hero-section h1 {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 22px;
    letter-spacing: -0.03em;
}
.hero-section h1 .text-gradient {
    background: linear-gradient(135deg, #F59E0B 0%, #FB923C 50%, #F59E0B 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s linear infinite;
}
@keyframes shimmerText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.hero-section .hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.75;
}

/* === SERVICE CARDS === */
.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow-strong);
    transform: translateY(-8px);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card .service-icon {
    width: 74px; height: 74px;
    border-radius: 20px;
    background: rgba(245, 158, 11, 0.08);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
    font-size: 1.7rem; color: var(--primary);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(245,158,11,0.35);
}
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-secondary); font-size: var(--font-sm); line-height: 1.65; }
.service-card .price-tag {
    font-size: 1.5rem; font-weight: 800; color: var(--primary);
    margin-top: 18px; letter-spacing: -0.02em;
}
.service-card .price-tag small {
    font-size: var(--font-xs); font-weight: 400; color: var(--text-muted);
}

/* === PLAN CARDS === */
.plan-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 26px;
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex; flex-direction: column;
}
.plan-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}
.plan-card.featured {
    border-color: rgba(245,158,11,0.4);
    box-shadow: var(--shadow-glow);
    background: var(--plan-featured-bg);
}
.plan-card.featured::before {
    content: 'POPULAR';
    position: absolute; top: -1px; right: 20px;
    background: var(--gradient-primary);
    color: #fff; font-size: 0.6rem; font-weight: 700;
    padding: 5px 14px; border-radius: 0 0 10px 10px;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}
.plan-card .plan-price {
    font-size: 2.1rem; font-weight: 800; color: var(--text-primary);
    margin: 16px 0; letter-spacing: -0.02em;
}
.plan-card .plan-price small { font-size: var(--font-sm); color: var(--text-muted); font-weight: 400; }
.plan-card .plan-features { list-style: none; padding: 0; margin: 16px 0; flex-grow: 1; }
.plan-card .plan-features li {
    padding: 9px 0; color: var(--text-secondary); font-size: var(--font-sm);
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid var(--border);
}
.plan-card .plan-features li:last-child { border: none; }
.plan-card .plan-features li i { color: var(--accent); font-size: 0.8rem; }

/* === FOOTER === */
.footer-solar {
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    border-top: 1px solid var(--border);
    padding: 70px 0 30px;
    position: relative;
}
.footer-solar::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.4;
}
.footer-solar h5 { color: var(--text-primary); font-weight: 700; margin-bottom: 22px; font-size: 1rem; letter-spacing: -0.01em; }
.footer-solar p, .footer-solar a { color: var(--text-secondary); font-size: var(--font-sm); }
.footer-solar a { text-decoration: none; transition: var(--transition); }
.footer-solar a:hover { color: var(--primary); padding-left: 4px; }
.footer-solar .footer-links { list-style: none; padding: 0; }
.footer-solar .footer-links li { margin-bottom: 12px; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px; margin-top: 48px;
    text-align: center; color: var(--text-muted); font-size: var(--font-sm);
}

/* === SECTION HEADERS === */
.section-header {
    text-align: center;
    margin-bottom: 52px;
}
.section-header .section-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.08);
    color: var(--primary);
    padding: 7px 18px;
    border-radius: 20px;
    font-size: var(--font-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    border: 1px solid rgba(245,158,11,0.12);
}
.section-header h2 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === REVIEW CARDS === */
.review-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: var(--transition);
}
.review-card:hover { border-color: var(--border-hover); }
.review-card .stars { color: var(--primary); margin-bottom: 12px; }
.review-card .review-text { color: var(--text-secondary); font-size: var(--font-sm); font-style: italic; margin-bottom: 16px; line-height: 1.7; }
.review-card .reviewer { font-weight: 600; font-size: var(--font-sm); }

/* === ALERT === */
.alert-solar {
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    font-size: var(--font-sm);
    border: 1px solid transparent;
    display: flex; align-items: center; gap: 10px;
    backdrop-filter: blur(10px);
}
.alert-solar.alert-success { background: rgba(16,185,129,0.1); color: var(--alert-success-text); border-color: rgba(16,185,129,0.2); }
.alert-solar.alert-danger { background: rgba(239,68,68,0.1); color: var(--alert-danger-text); border-color: rgba(239,68,68,0.2); }
.alert-solar.alert-info { background: rgba(59,130,246,0.1); color: var(--alert-info-text); border-color: rgba(59,130,246,0.2); }
.alert-solar.alert-warning { background: rgba(245,158,11,0.1); color: var(--alert-warning-text); border-color: rgba(245,158,11,0.2); }

/* === PAGINATION === */
.pagination .page-link {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
    border-radius: var(--radius-xs);
    margin: 0 2px;
    font-size: var(--font-sm);
    font-family: 'Outfit', sans-serif;
}
.pagination .page-link:hover { background: rgba(245,158,11,0.1); color: var(--primary); border-color: rgba(245,158,11,0.3); }
.pagination .page-link:focus { box-shadow: 0 0 0 3px rgba(245,158,11,0.12); }
.pagination .page-item.active .page-link { background: var(--gradient-primary); border-color: transparent; color: #fff; box-shadow: 0 2px 10px rgba(245,158,11,0.3); }
.pagination .page-item.disabled .page-link { background: var(--surface); color: var(--text-muted); opacity: 0.5; }
/* Laravel tailwind pagination override */
nav[role="navigation"] > div { display: flex; align-items: center; justify-content: space-between; }
nav[role="navigation"] p { color: var(--text-muted); font-size: var(--font-sm); }

/* === SCROLL TO TOP === */
.scroll-top-btn {
    position: fixed; bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff; border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; cursor: pointer;
    box-shadow: 0 4px 20px rgba(245,158,11,0.35);
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}
.scroll-top-btn.visible { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 25px rgba(245,158,11,0.5); }

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-in { animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.show { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .navbar-solar .navbar-collapse {
        background: var(--card-bg);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 16px;
        margin-top: 10px;
        box-shadow: var(--shadow-card);
    }
}
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section { padding: 70px 0 50px; }
    .content-area { padding: 18px; }
    .topbar { padding: 12px 18px; }
    .section-header h2 { font-size: 1.8rem; }
    .section-header { margin-bottom: 36px; }
    .stat-card { padding: 20px; }
    .stat-card .stat-value { font-size: 1.5rem; }
}
@media (max-width: 576px) {
    .hero-section h1 { font-size: 1.8rem; }
    .content-area { padding: 14px; }
}

/* === LOADING BUTTON STATE === */
.btn-solar.loading,
.btn-solar-outline.loading {
    pointer-events: none;
    opacity: 0.75;
    position: relative;
}
.btn-solar.loading::after,
.btn-solar-outline.loading::after {
    content: '';
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    position: static;
    opacity: 1;
    background: none;
    inset: unset;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === TOAST NOTIFICATIONS === */
.toast-container {
    position: fixed;
    top: 24px; right: 24px;
    z-index: 9999;
    display: flex; flex-direction: column; gap: 10px;
    pointer-events: none;
}
.toast-solar {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    box-shadow: var(--shadow-card-hover);
    display: flex; align-items: center; gap: 12px;
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-primary);
    min-width: 300px;
    max-width: 420px;
    pointer-events: auto;
    animation: toastIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform: translateX(120%);
    position: relative;
    overflow: hidden;
}
.toast-solar.removing {
    animation: toastOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.toast-solar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    background: var(--gradient-primary);
    animation: toastTimer 4s linear forwards;
}
.toast-solar .toast-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.toast-solar.toast-success .toast-icon { background: rgba(16,185,129,0.1); color: var(--success); }
.toast-solar.toast-danger .toast-icon { background: rgba(239,68,68,0.1); color: var(--danger); }
.toast-solar.toast-info .toast-icon { background: rgba(59,130,246,0.1); color: var(--info); }
.toast-solar.toast-warning .toast-icon { background: rgba(245,158,11,0.1); color: var(--primary); }
.toast-solar .toast-close {
    margin-left: auto;
    background: none; border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
    transition: var(--transition-fast);
}
.toast-solar .toast-close:hover { color: var(--text-primary); }
@keyframes toastIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}
@keyframes toastTimer {
    from { width: 100%; }
    to { width: 0%; }
}

/* === EMPTY STATE === */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}
.empty-state .empty-icon {
    width: 80px; height: 80px;
    border-radius: 20px;
    background: rgba(245,158,11,0.06);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--text-muted);
}
.empty-state h5 {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.05rem;
}
.empty-state p {
    color: var(--text-muted);
    font-size: var(--font-sm);
    max-width: 360px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* === BREADCRUMBS === */
.breadcrumb-solar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: var(--font-sm);
    flex-wrap: wrap;
}
.breadcrumb-solar a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.breadcrumb-solar a:hover { color: var(--primary); }
.breadcrumb-solar .separator {
    color: var(--text-muted);
    font-size: 0.7rem;
    opacity: 0.5;
}
.breadcrumb-solar .current {
    color: var(--text-primary);
    font-weight: 600;
}

/* === BOOKING TIMELINE === */
.booking-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0;
    margin: 0;
    list-style: none;
}
.booking-timeline::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--border);
    z-index: 0;
}
.booking-timeline .tl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
}
.booking-timeline .tl-dot {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: var(--transition);
    margin-bottom: 8px;
}
.booking-timeline .tl-step.completed .tl-dot {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}
.booking-timeline .tl-step.active .tl-dot {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 6px rgba(245,158,11,0.15);
}
.booking-timeline .tl-step.cancelled .tl-dot {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
}
.booking-timeline .tl-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.booking-timeline .tl-step.completed .tl-label,
.booking-timeline .tl-step.active .tl-label {
    color: var(--text-primary);
}
.booking-timeline .tl-step.cancelled .tl-label {
    color: var(--danger);
}
@media (max-width: 576px) {
    .booking-timeline { flex-direction: column; gap: 12px; align-items: flex-start; }
    .booking-timeline::before { top: 0; bottom: 0; left: 16px; right: auto; width: 3px; height: auto; }
    .booking-timeline .tl-step { flex-direction: row; gap: 12px; }
}
