/**
 * Eurotech Collision & Auto Body - Luxury Automotive Design System
 * Supports Dynamic Dual-Theme: Ultra-Crisp Light & Precision Dark Mode
 */

/* ==========================================================================
   1. Theme Variables (Light & Dark Tokens)
   ========================================================================== */

:root, [data-theme="light"] {
    --theme-mode: light;
    
    /* Surfaces */
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-darkest: #e2e8f0;
    --bg-notice: #f1f5f9;
    --bg-header: rgba(255, 255, 255, 0.94);
    
    /* Borders */
    --border: #e2e8f0;
    --border-light: #cbd5e1;
    --border-focus: #2563eb;
    
    /* Brand & Accent Colors */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-glow: rgba(37, 99, 235, 0.16);
    --primary-soft: rgba(37, 99, 235, 0.08);
    
    --accent: #d97706;
    --accent-hover: #b45309;
    --accent-glow: rgba(217, 119, 6, 0.18);
    --accent-soft: rgba(245, 158, 11, 0.1);
    
    --success: #059669;
    --success-bg: rgba(5, 150, 105, 0.1);
    --warning: #d97706;
    --danger: #dc2626;
    
    /* High-Contrast Typography */
    --text-pure: #0f172a;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    
    /* Inputs */
    --input-bg: #ffffff;
    --input-border: #cbd5e1;
    --input-text: #0f172a;
    --input-placeholder: #94a3b8;
    
    /* Shadows */
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-card-hover: 0 16px 32px -6px rgba(37, 99, 235, 0.12), 0 6px 12px -2px rgba(15, 23, 42, 0.04);
    --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.88);
    
    /* Hero Gradients */
    --hero-radial-1: radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 45%);
    --hero-radial-2: radial-gradient(circle at 85% 75%, rgba(217, 119, 6, 0.06) 0%, transparent 50%);
    --cta-bg: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --cta-text: #ffffff;
    --cta-desc: #94a3b8;
}

[data-theme="dark"] {
    --theme-mode: dark;
    
    /* Surfaces */
    --bg-base: #0b0f17;
    --bg-surface: #111827;
    --bg-card: #151e2e;
    --bg-card-hover: #1c283e;
    --bg-darkest: #070a10;
    --bg-notice: #070a12;
    --bg-header: rgba(11, 15, 23, 0.94);
    
    /* Borders */
    --border: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.16);
    --border-focus: #3b82f6;
    
    /* Brand & Accent Colors */
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-light: #60a5fa;
    --primary-glow: rgba(59, 130, 246, 0.28);
    --primary-soft: rgba(59, 130, 246, 0.15);
    
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --accent-glow: rgba(245, 158, 11, 0.25);
    --accent-soft: rgba(245, 158, 11, 0.15);
    
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.15);
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* High-Contrast Typography */
    --text-pure: #ffffff;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    /* Inputs */
    --input-bg: #111827;
    --input-border: #243046;
    --input-text: #ffffff;
    --input-placeholder: #64748b;
    
    /* Shadows */
    --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.45), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(59, 130, 246, 0.2);
    --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.25);
    --glass-bg: rgba(17, 24, 39, 0.88);
    
    /* Hero Gradients */
    --hero-radial-1: radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 45%);
    --hero-radial-2: radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    --cta-bg: linear-gradient(135deg, #0d1a33 0%, #11284a 100%);
    --cta-text: #ffffff;
    --cta-desc: #cbd5e1;
}

:root {
    --container-max: 1240px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
}

/* ==========================================================================
   2. Reset & Global Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-pure);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    font-family: 'Outfit', 'Inter', sans-serif;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
    color: var(--primary-hover);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */

.top-notice-bar {
    background: var(--bg-notice);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    font-size: 12px;
    color: var(--text-muted);
    transition: background 0.25s ease;
}
.top-notice-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.notice-left, .notice-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.notice-link {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.notice-link:hover {
    color: var(--primary);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-header);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-container {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 4px 14px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
.brand-text h1, .brand-text .brand-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--text-pure);
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
}
.brand-text span, .brand-text .brand-subtitle {
    font-size: 11px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    display: block;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}
.nav-link {
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    padding: 6px 0;
    transition: color 0.2s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-pure);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-subtle);
}
.theme-toggle-btn:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-glow);
}
.theme-toggle-btn svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

.customer-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-pure);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: var(--shadow-subtle);
    transition: all 0.2s ease;
}
.customer-nav-pill:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-pure);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}

/* ==========================================================================
   4. Buttons & Badges
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    color: #ffffff !important;
}
.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
    color: #ffffff !important;
}
.btn-secondary {
    background: var(--bg-card);
    color: var(--text-pure);
    border-color: var(--border);
    box-shadow: var(--shadow-subtle);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary-soft);
}
.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 10px;
}
.btn-sm {
    padding: 6px 14px;
    font-size: 12.5px;
}

/* Bulletproof SVG & Icon Rules */
svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.w-3  { width: 12px !important; height: 12px !important; }
.h-3  { width: 12px !important; height: 12px !important; }
.w-3\.5, .w-3-5 { width: 14px !important; height: 14px !important; }
.h-3\.5, .h-3-5 { width: 14px !important; height: 14px !important; }
.w-4  { width: 16px !important; height: 16px !important; }
.h-4  { width: 16px !important; height: 16px !important; }
.w-5  { width: 20px !important; height: 20px !important; }
.h-5  { width: 20px !important; height: 20px !important; }
.w-6  { width: 24px !important; height: 24px !important; }
.h-6  { width: 24px !important; height: 24px !important; }
.w-8  { width: 32px !important; height: 32px !important; }
.h-8  { width: 32px !important; height: 32px !important; }
.w-10 { width: 40px !important; height: 40px !important; }
.h-10 { height: 40px !important; height: 40px !important; }

.btn svg {
    width: 17px !important;
    height: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
    flex-shrink: 0 !important;
}
.btn-sm svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
}
.btn-lg svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-pending   { background: rgba(245, 158, 11, 0.15); color: #d97706; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-confirmed { background: rgba(16, 185, 129, 0.15); color: #059669; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-cancelled { background: rgba(239, 68, 68, 0.15); color: #dc2626; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-role      { background: var(--primary-soft); color: var(--primary); border: 1px solid var(--primary-glow); }
.badge-active    { background: rgba(16, 185, 129, 0.15); color: #059669; }

/* ==========================================================================
   5. Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    padding: 80px 0 100px;
    background: var(--hero-radial-1), var(--hero-radial-2), var(--bg-base);
    overflow: hidden;
    transition: background 0.25s ease;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    border: 1px solid var(--primary-glow);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.hero-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

.hero-title {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-pure);
}
.hero-title span.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.trust-badges-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}
.trust-badge-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Hero Right: Quick Estimator Panel */
.hero-card-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.hero-card-panel::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--radius-lg) + 1px);
    background: linear-gradient(135deg, var(--primary-glow), transparent 60%);
    z-index: -1;
    pointer-events: none;
}
.hero-card-title {
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--text-pure);
}
.hero-card-subtitle {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 24px;
}

/* ==========================================================================
   6. General Sections & Headers
   ========================================================================== */

.section-padding {
    padding: 85px 0;
}
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 52px;
}
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.section-title {
    font-size: 38px;
    margin-bottom: 16px;
    color: var(--text-pure);
}
.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: all 0.25s ease;
}

/* Promo Banner Section */
.promo-bar-section {
    padding: 14px 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}
.promo-bar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: var(--shadow-subtle);
    position: relative;
    overflow: hidden;
}
.promo-bar-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary) 0%, #3b82f6 100%);
}
.promo-bar-content {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.promo-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid var(--primary-glow);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.promo-bar-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
}
.promo-bar-title {
    color: var(--text-pure);
    font-weight: 700;
}
.promo-bar-sep {
    color: var(--text-dim);
}
.promo-bar-desc {
    color: var(--text-muted);
}
.promo-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Services Grid & Decent Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 26px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    position: relative;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
}
.service-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    border: 1px solid var(--primary-glow);
    flex-shrink: 0;
}
.service-badge-pill {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dim);
    background: var(--bg-surface);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
}
.service-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-pure);
}
.service-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}
.service-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid var(--primary-glow);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.service-card-btn:hover {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
    transform: translateY(-1px);
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}
.service-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Card Verification Badges (for Before & After gallery) */
.card-verify-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 11.5px;
    font-weight: 700;
    border: 1px solid var(--primary-glow);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    border-top: 3px solid var(--primary);
    box-shadow: var(--shadow-card);
}
.feature-box h3 {
    font-size: 18px;
    margin: 16px 0 10px;
    color: var(--text-pure);
}
.feature-box p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
    margin-top: 40px;
}
.process-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-card);
}
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 15px var(--primary-glow);
}
.step-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-pure);
}
.step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-stars {
    color: var(--accent);
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}
.testimonial-quote {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 24px;
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}
.author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-pure);
}
.author-city {
    font-size: 12px;
    color: var(--text-dim);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-subtle);
}
.faq-item.active {
    border-color: var(--primary);
}
.faq-trigger {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-pure);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-content {
    display: none;
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}
.faq-item.active .faq-content {
    display: block;
}

/* Callout Banner */
.cta-banner {
    background: var(--cta-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.cta-banner h2 {
    font-size: 34px;
    margin-bottom: 14px;
    color: var(--cta-text);
}
.cta-banner p {
    color: var(--cta-desc);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
}
.blog-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-card-hover);
}
.blog-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-meta {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog-title {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-pure);
    line-height: 1.4;
}
.blog-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* ==========================================================================
   7. Forms & Inputs
   ========================================================================== */

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-card);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--input-text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    font-family: inherit;
}
.form-control::placeholder {
    color: var(--input-placeholder);
}
.form-control:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ==========================================================================
   8. Customer Portal & Tables
   ========================================================================== */

.account-shell {
    padding: 60px 0;
}
.account-header-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-card);
}
.account-user-meta {
    display: flex;
    align-items: center;
    gap: 18px;
}
.user-avatar-lg {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
    flex-shrink: 0;
}
.account-name {
    font-size: 22px;
    margin-bottom: 2px;
    color: var(--text-pure);
}
.account-email {
    color: var(--text-muted);
    font-size: 14px;
}
.account-joined {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 4px;
}
.account-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.portal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-card);
}
.portal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.table-responsive {
    overflow-x: auto;
}
table.portal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}
table.portal-table th {
    background: var(--bg-card-hover);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}
table.portal-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
    vertical-align: middle;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-icon {
    color: var(--primary);
    margin-bottom: 16px;
    display: inline-block;
}

/* Auth Cards */
.auth-page-container {
    padding: 80px 24px;
    display: flex;
    justify-content: center;
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-card);
}
.auth-card-header {
    text-align: center;
    margin-bottom: 28px;
}
.auth-card-header h2 {
    font-size: 24px;
    margin-bottom: 6px;
    color: var(--text-pure);
}
.auth-card-header p {
    font-size: 13px;
    color: var(--text-muted);
}
.auth-footer-link {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   9. Footer
   ========================================================================== */

.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 70px 0 30px;
    font-size: 14px;
    color: var(--text-muted);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-title {
    font-size: 16px;
    color: var(--text-pure);
    margin-bottom: 20px;
    font-weight: 700;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    color: var(--text-muted);
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(5, 150, 105, 0.3); }
.alert-danger  { background: rgba(220, 38, 38, 0.1); color: var(--danger); border: 1px solid rgba(220, 38, 38, 0.25); }
.alert-warning { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(217, 119, 6, 0.3); }
.alert-info    { background: var(--primary-soft); color: var(--primary); border: 1px solid var(--primary-glow); }

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}
.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 580px;
    width: 100%;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-body {
    padding: 24px;
}
.close-modal {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.close-modal:hover { color: var(--text-pure); }

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.filter-tab {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all 0.2s;
    text-decoration: none;
}
.filter-tab:hover, .filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* ==========================================================================
   10. Responsive Adjustments
   ========================================================================== */

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 38px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .top-notice-bar { display: none; }
    .hero-title { font-size: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-banner { padding: 40px 24px; }
    .hero-card-panel { padding: 20px; }
    .theme-toggle-btn span.theme-text { display: none; }
}
