/* ==========================================================================
   Lombard-X SaaS Landing Page Stylesheet
   Core Brand Colors:
   - Primary Light Theme (Default): Cream background with Antique Gold accents
   - Secondary Dark Theme: Obsidian Black background with Metallic Gold accents
   ========================================================================== */

/* Custom Reset & Base Variables */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --container-max-width: 1200px;
    --danger-color: #ef4444;
    --success-color: #10b981;
}

body {
    /* DEFAULT: LIGHT THEME */
    --brand-gold: #C5A028;
    --brand-gold-glow: rgba(197, 160, 40, 0.2);
    --brand-gold-hover: #A37F1A;
    --brand-charcoal: #1f1e1c;
    --brand-charcoal-dark: #121110;
    --brand-charcoal-light: #ece9e3;
    
    --bg-dark: #fcfbf7;
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(197, 160, 40, 0.16);
    --card-border-hover: rgba(197, 160, 40, 0.45);
    
    --text-white: #1f1e1c;
    --text-primary: #3d3b38;
    --text-muted: #7d7973;
    --text-gold: #917112;
    
    --nav-bg: rgba(252, 251, 247, 0.85);
    --nav-bg-scrolled: rgba(252, 251, 247, 0.96);
    --nav-border: rgba(197, 160, 40, 0.08);
    
    --stats-bg: rgba(236, 233, 227, 0.45);
    --stats-border: rgba(197, 160, 40, 0.05);
    
    --input-bg: #ffffff;
    --input-border: rgba(197, 160, 40, 0.15);
    --input-focus-border: var(--brand-gold);
    --input-text: #1f1e1c;
    
    --btn-text-primary: #ffffff;
    --btn-border: rgba(197, 160, 40, 0.15);
    --btn-border-hover: rgba(197, 160, 40, 0.3);
    
    --card-progress-overlay-bg: rgba(252, 251, 247, 0.8);
    --divider-color: rgba(197, 160, 40, 0.1);
    --faq-border: rgba(197, 160, 40, 0.08);
    --toggle-border: rgba(197, 160, 40, 0.15);
    
    --table-header-bg: #ece9e3;
    --table-row-hover: rgba(197, 160, 40, 0.05);
    --shadow-premium: 0 10px 40px rgba(197, 160, 40, 0.06);
}

body.dark-theme {
    /* SECONDARY: DARK THEME */
    --brand-gold: #D4AF37;
    --brand-gold-glow: rgba(212, 175, 55, 0.25);
    --brand-gold-hover: #fce881;
    --brand-charcoal: #0f0d0e;
    --brand-charcoal-dark: #070606;
    --brand-charcoal-light: #252223;
    
    --bg-dark: #110f10;
    --card-bg: rgba(37, 34, 35, 0.6);
    --card-border: rgba(212, 175, 55, 0.15);
    --card-border-hover: rgba(212, 175, 55, 0.45);
    
    --text-white: #ffffff;
    --text-primary: #f2f0eb;
    --text-muted: #9e9a93;
    --text-gold: #D4AF37;
    
    --nav-bg: rgba(17, 15, 16, 0.85);
    --nav-bg-scrolled: rgba(17, 15, 16, 0.96);
    --nav-border: rgba(255, 255, 255, 0.04);
    
    --stats-bg: rgba(25, 22, 23, 0.5);
    --stats-border: rgba(255, 255, 255, 0.03);
    
    --input-bg: #211e1f;
    --input-border: rgba(255, 255, 255, 0.1);
    --input-focus-border: var(--brand-gold);
    --input-text: #ffffff;
    
    --btn-text-primary: #121110;
    --btn-border: rgba(255, 255, 255, 0.1);
    --btn-border-hover: rgba(255, 255, 255, 0.2);
    
    --card-progress-overlay-bg: rgba(17, 15, 16, 0.8);
    --divider-color: rgba(255, 255, 255, 0.06);
    --faq-border: rgba(255, 255, 255, 0.04);
    --toggle-border: rgba(255, 255, 255, 0.1);
    
    --table-header-bg: #252223;
    --table-row-hover: rgba(212, 175, 55, 0.06);
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Global Language Styles (managed by body[data-lang]) */
body[data-lang="az"] .lang-en { display: none !important; }
body[data-lang="en"] .lang-az { display: none !important; }

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.5s ease, color 0.5s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.max-w-lg { max-width: 720px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: 2.5rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-extrabold { font-weight: 800; }
.text-white { color: var(--text-white); }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--text-gold); }
.text-danger { color: var(--danger-color); }
.margin-bottom-sm { margin-bottom: 0.5rem; }
.margin-bottom-md { margin-bottom: 1rem; }
.margin-bottom-lg { margin-bottom: 2rem; }
.margin-top-md { margin-top: 1rem; }
.margin-top-lg { margin-top: 2rem; }
.w-full { width: 100%; }
.inline-block { display: inline-block; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }

/* Text Gradient Effect */
.text-gradient {
    background: linear-gradient(135deg, var(--brand-gold) 30%, #e2c054 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* Button Component Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-hover) 100%);
    color: var(--btn-text-primary);
    box-shadow: 0 4px 20px var(--brand-gold-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(197, 160, 40, 0.45);
}

.btn-secondary {
    background-color: var(--brand-charcoal-light);
    color: var(--text-white);
    border: 1px solid var(--btn-border);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: var(--brand-gold-glow);
    border-color: var(--brand-gold);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--text-gold);
    border: 1.5px solid var(--brand-gold);
}

.btn-primary-outline:hover {
    background-color: var(--brand-gold);
    color: var(--btn-text-primary);
    box-shadow: 0 4px 15px var(--brand-gold-glow);
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-normal);
}

.glass-panel:hover {
    border-color: var(--card-border-hover);
}

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--nav-border);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 0.2rem 0;
    background-color: var(--nav-bg-scrolled);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    width: 170px;
    height: 48px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-normal);
    pointer-events: none; /* Let clicks pass to the logo anchor tag */
}

/* Dynamic color theme for logo inside object tag fallback */
.fallback-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-white);
    letter-spacing: 2px;
}
.fallback-logo .text-gold {
    color: var(--brand-gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-gold);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Toggle buttons for language and theme */
.lang-toggle-btn {
    background-color: var(--brand-charcoal-light);
    border: 1px solid var(--toggle-border);
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.lang-toggle-btn:hover {
    background-color: var(--brand-gold);
    color: var(--btn-text-primary);
    border-color: var(--brand-gold);
}

.theme-toggle-btn {
    background-color: var(--brand-charcoal-light);
    border: 1px solid var(--toggle-border);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
    background-color: var(--brand-gold);
    color: var(--btn-text-primary);
    border-color: var(--brand-gold);
}

.nav-btn-mobile { display: none; }

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
}

.hero-bg-shapes .shape-1 {
    width: 450px;
    height: 450px;
    background-color: var(--brand-gold);
    top: -100px;
    right: -50px;
}

.hero-bg-shapes .shape-2 {
    width: 500px;
    height: 500px;
    background-color: var(--brand-gold-hover);
    bottom: -150px;
    left: -100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-new {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: var(--brand-gold-glow);
    border: 1px solid rgba(197, 160, 40, 0.25);
    border-radius: 50px;
    color: var(--text-gold);
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1.8rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3.2rem;
}

/* SaaS Metrics Hero Row */
.saas-metrics {
    display: flex;
    gap: 2.5rem;
    border-top: 1px solid var(--divider-color);
    padding-top: 2rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-gold);
}

.metric-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Glassmorphic CRM Dashboard Visual inside Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card-wrapper {
    position: relative;
    width: 360px;
    height: 580px;
    perspective: 1000px;
}

.visual-card {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0.2deg); }
    50% { transform: translateY(-10px) rotate(-0.2deg); }
}

.card-header-app {
    padding: 1rem 1.2rem 0.5rem 1.2rem;
    background-color: var(--table-header-bg);
    border-bottom: 1px solid var(--divider-color);
}

.app-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.app-status-bar .status-icons {
    display: flex;
    gap: 6px;
    align-items: center;
}

.app-brand-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.app-badge-status {
    font-size: 0.6rem;
    padding: 2px 8px;
    background-color: var(--brand-gold-glow);
    border: 1px solid var(--brand-gold);
    color: var(--text-gold);
    border-radius: 20px;
    font-weight: 700;
}

.app-screen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    gap: 1.1rem;
    overflow-y: auto;
}

.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.dash-stat-mini {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--divider-color);
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
}
body.dark-theme .dash-stat-mini {
    background: rgba(0, 0, 0, 0.2);
}

.dash-stat-mini .lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
}

.dash-stat-mini .val {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-white);
}

.dash-pledges-box {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--divider-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
body.dark-theme .dash-pledges-box {
    background: rgba(0, 0, 0, 0.2);
}

.dash-pledges-box .box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-white);
    border-bottom: 1px solid var(--divider-color);
    padding-bottom: 0.4rem;
}

.dash-pledges-box .action-link {
    color: var(--text-gold);
    cursor: pointer;
}

.pledge-rows {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pledge-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(197, 160, 40, 0.05);
    transition: var(--transition-fast);
}
body.dark-theme .pledge-row-item {
    background: rgba(255, 255, 255, 0.02);
}

.pledge-row-item:hover {
    background: rgba(197, 160, 40, 0.08);
}

.p-details {
    display: flex;
    flex-direction: column;
}

.p-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 4px;
}

.p-meta {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.p-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.p-amount .amt {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-white);
}

.status-badge {
    font-size: 0.55rem;
    padding: 1px 6px;
    border-radius: 20px;
    font-weight: 700;
}

.status-badge.paid {
    background-color: rgba(16, 185, 129, 0.12);
    color: var(--success-color);
}

.status-badge.active-status {
    background-color: var(--brand-gold-glow);
    color: var(--text-gold);
}

.status-badge.overdue {
    background-color: rgba(239, 68, 68, 0.12);
    color: var(--danger-color);
}

.overdue-row {
    border-left: 2px solid var(--danger-color);
}

.dash-mini-chart {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--divider-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
body.dark-theme .dash-mini-chart {
    background: rgba(0, 0, 0, 0.2);
}

.chart-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-white);
}

.bar-chart-preview {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 50px;
    padding: 0 0.5rem;
}

.bar-chart-preview .bar {
    width: 14%;
    background: linear-gradient(to top, var(--brand-gold-hover), var(--brand-gold));
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}

/* Feature Grid Styling */
.features-section,
.estimator-section,
.passengers-section,
.drivers-section,
.faq-section {
    padding: 90px 0;
}

.section-tag {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--text-white);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
}

.feature-card {
    padding: 2.2rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.f-icon {
    font-size: 2.2rem;
    color: var(--brand-gold);
    margin-bottom: 1.5rem;
}

.f-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-white);
}

.f-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Simulator / Estimator Layout */
.simulator-container {
    align-items: start;
    gap: 3rem;
}

.sim-panel-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--divider-color);
    padding-bottom: 0.6rem;
}

.calculator-card, .results-card {
    padding: 2.5rem;
}

/* Form & Input Fields */
.input-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-white);
}

.form-input, .form-input-compact {
    background-color: var(--input-bg);
    border: 1.5px solid var(--input-border);
    color: var(--input-text);
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    width: 100%;
}

.form-input-compact {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    width: 120px;
    text-align: right;
}

.form-input:focus, .form-input-compact:focus {
    outline: none;
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 3px var(--brand-gold-glow);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23917112' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
}

/* Custom Range Sliders */
.slider-input {
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--brand-charcoal-light);
    outline: none;
    transition: background 450ms ease-in;
}

.slider-input::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-gold);
    cursor: pointer;
    box-shadow: 0 2px 8px var(--brand-gold-glow);
    transition: transform var(--transition-fast);
}

.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.slider-val-bubble {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-gold);
    background-color: var(--brand-gold-glow);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Calculated Outputs Summary */
.outputs-summary {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.output-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.output-row .lbl {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.output-row .val {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.output-row.highlight .val {
    font-size: 1.45rem;
    font-weight: 800;
}

.output-row.total {
    border-top: 1.5px dashed var(--divider-color);
    padding-top: 1rem;
}

.output-row.total .lbl {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

.output-row.total .val {
    font-size: 1.65rem;
    font-weight: 900;
}

.divider {
    border: none;
    border-top: 1px solid var(--divider-color);
    margin: 0.5rem 0;
}

/* Amortization Schedule Table Preview */
.schedule-preview {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.schedule-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
}

.table-container {
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid var(--divider-color);
    border-radius: var(--radius-sm);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    text-align: left;
}

.schedule-table th {
    background-color: var(--table-header-bg);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.65rem 0.8rem;
    position: sticky;
    top: 0;
    z-index: 5;
}

.schedule-table td {
    padding: 0.55rem 0.8rem;
    border-bottom: 1px solid var(--divider-color);
    color: var(--text-primary);
}

.schedule-table tbody tr {
    transition: background-color var(--transition-fast);
}

.schedule-table tbody tr:hover {
    background-color: var(--table-row-hover);
}

/* Custom systems visual grid */
.image-mockup-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.custom-systems-svg {
    background-color: var(--brand-charcoal-dark);
    display: block;
    width: 100%;
    border-radius: var(--radius-md);
}

/* Features List for custom system panel */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.2rem;
    align-items: start;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--brand-gold-glow);
    color: var(--text-gold);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.feature-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-white);
}

.feature-text {
    color: var(--text-muted);
}

/* Demo Application Form Wrapper styling */
.driver-register-card {
    padding: 2.8rem;
    position: relative;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.3rem;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-terms {
    display: flex;
    gap: 0.6rem;
    align-items: start;
}

.form-terms input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--brand-gold);
    cursor: pointer;
}

.form-terms label {
    cursor: pointer;
}

.error-msg {
    color: var(--danger-color);
    font-size: 0.72rem;
    height: 12px;
    display: block;
}

.form-success {
    text-align: center;
    padding: 2rem 0;
}

.success-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 0.8rem;
}

.success-desc {
    color: var(--text-primary);
    line-height: 1.6;
}

/* Benefits Grid inside Demo Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefit-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-white);
}

.benefit-desc {
    color: var(--text-muted);
}

/* FAQ Accordion Styling */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--faq-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--card-bg);
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--brand-gold);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.3rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-white);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-arrow {
    font-size: 0.85rem;
    color: var(--brand-gold);
    transition: transform var(--transition-normal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0 1.8rem;
}

.faq-answer p {
    padding-bottom: 1.3rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Active FAQ Item State */
.faq-item.active {
    border-color: var(--brand-gold);
    box-shadow: var(--shadow-premium);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Footer Section */
.footer-section {
    background-color: var(--brand-charcoal-dark);
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--divider-color);
    color: #9e9a93; /* Keep footer links slightly muted default */
}

.footer-grid {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 3.5rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 44px;
    width: 160px;
    object-fit: contain;
}

.footer-text {
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--brand-gold);
    color: var(--btn-text-primary);
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--brand-gold);
    padding-left: 3px;
}

.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-item {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.contact-item i {
    color: var(--brand-gold);
}

.footer-bottom {
    padding-top: 1rem;
}

/* Animations Trigger */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .saas-metrics {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    
    .hamburger-menu {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--nav-bg-scrolled);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition-normal);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .nav-btn-mobile {
        display: inline-flex;
        margin-top: 1rem;
    }
    
    .nav-btn-desktop {
        display: none;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .saas-metrics {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .driver-register-card {
        padding: 1.8rem;
    }
}
