/* Fleet360 Custom Styles */
:root {
    /* Color Palette */
    --navy-blue: #0B2A46;
    --bright-blue: #2F7CF6;
    --light-gray: #F2F5F9;
    --white: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    
    /* Dark Mode Colors */
    --dark-bg: #1a1a1a;
    --dark-surface: #2d2d2d;
    --dark-text: #f8f9fa;
    --dark-muted: #adb5bd;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 1rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    /* Transitions */
    --transition: all 0.3s ease-in-out;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --white: var(--dark-bg);
    --light-gray: var(--dark-surface);
    --text-dark: var(--dark-text);
    --text-muted: var(--dark-muted);
}

/* Global Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.section-title {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Navigation */
.navbar {
    background-color: var(--navy-blue) !important;
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: var(--font-weight-medium);
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Dark Mode Toggle */
#darkModeToggle {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
    transition: var(--transition);
}

#darkModeToggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--bright-blue) 100%);
    color: var(--white);
    padding: 8rem 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 500px;
}

.hero-ctas .btn {
    padding: 0.875rem 2rem;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.hero-ctas .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* KPI Cards */
.kpi-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.kpi-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    display: block;
}

.kpi-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--bright-blue);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--bright-blue), var(--navy-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-icon svg {
    color: var(--white);
    width: 2rem;
    height: 2rem;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

/* Use Case Cards */
.use-case-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    border-left: 4px solid var(--bright-blue);
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    width: 3rem;
    height: 3rem;
    background: var(--bright-blue);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.use-case-icon svg {
    color: var(--white);
    width: 1.5rem;
    height: 1.5rem;
}

.use-case-content > div {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
}

.problem {
    background: #fff5f5;
    border-left: 3px solid var(--danger);
}

.solution {
    background: #f0f9ff;
    border-left: 3px solid var(--bright-blue);
}

.result {
    background: #f0fff4;
    border-left: 3px solid var(--success);
}

/* Process Timeline */
.process-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.process-step {
    flex: 1;
    text-align: center;
    min-width: 200px;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
}

.process-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--bright-blue), var(--navy-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    position: relative;
}

.process-icon::before {
    content: attr(data-step);
    position: absolute;
    top: -10px;
    right: -10px;
    width: 2rem;
    height: 2rem;
    background: var(--white);
    color: var(--navy-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 0.875rem;
    box-shadow: var(--shadow);
}

.process-icon svg {
    color: var(--white);
    width: 2.5rem;
    height: 2.5rem;
}

.process-step:hover .process-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.process-arrow {
    color: var(--bright-blue);
    font-size: 2rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
}

/* ROI Calculator */
.roi-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.form-range {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
}

.range-value {
    text-align: center;
    font-weight: var(--font-weight-bold);
    font-size: 1.125rem;
    margin-top: 0.5rem;
    color: var(--white);
}

.roi-results {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.savings-chart-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    text-align: center;
}

.savings-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.savings-item {
    text-align: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.savings-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.savings-value {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--bright-blue);
}

/* Integration Grid */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.integration-item {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 2rem 1rem;
    text-align: center;
    transition: var(--transition);
}

.integration-item:hover {
    border-color: var(--bright-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.integration-logo {
    font-weight: var(--font-weight-semibold);
    color: var(--navy-blue);
}

.api-badge {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.api-icon {
    width: 3rem;
    height: 3rem;
    color: var(--bright-blue);
    margin-bottom: 1rem;
}

/* Security Badges */
.security-badge {
    text-align: center;
    padding: 2rem 1rem;
}

.security-badge svg {
    width: 3rem;
    height: 3rem;
    color: var(--bright-blue);
    margin-bottom: 1rem;
}

.security-badge h5 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-card cite {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.testimonial-metric {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--bright-blue);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* FAQ */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-button {
    background: var(--white);
    border: none;
    font-weight: var(--font-weight-semibold);
    color: var(--navy-blue);
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--bright-blue);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(47, 124, 246, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    background: var(--white);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-control,
.form-select {
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bright-blue);
    box-shadow: 0 0 0 0.25rem rgba(47, 124, 246, 0.25);
}

.form-label {
    font-weight: var(--font-weight-medium);
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--bright-blue);
    border-color: var(--bright-blue);
}

/* Footer */
.footer {
    background-color: var(--navy-blue) !important;
    color: var(--white);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    margin-left: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--bright-blue);
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--bright-blue);
    border-color: var(--bright-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--navy-blue);
    border-color: var(--navy-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-primary {
    color: var(--bright-blue);
    border-color: var(--bright-blue);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--bright-blue);
    border-color: var(--bright-blue);
    transform: translateY(-2px);
}

.btn-outline-light {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Utilities */
.text-primary {
    color: var(--bright-blue) !important;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 6rem 0 4rem;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .kpi-card {
        margin-bottom: 1rem;
    }
    
    .hero-ctas .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Dark Mode Styles */
[data-theme="dark"] {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .use-case-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .roi-results {
    background-color: var(--dark-surface);
    color: var(--dark-text);
}

[data-theme="dark"] .section-title {
    color: var(--dark-text);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background-color: var(--dark-surface);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--dark-text);
}

[data-theme="dark"] .form-label {
    color: var(--dark-text);
}

[data-theme="dark"] .accordion-button {
    background-color: var(--dark-surface);
    color: var(--dark-text);
}

[data-theme="dark"] .accordion-body {
    background-color: var(--dark-surface);
    color: var(--dark-text);
}

[data-theme="dark"] .integration-item {
    background-color: var(--dark-surface);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .api-badge {
    background-color: var(--dark-surface);
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--bright-blue);
    outline-offset: 2px;
}

button:focus,
.btn:focus {
    outline: 2px solid var(--bright-blue);
    outline-offset: 2px;
}


.page-wrapper {
  margin-top: 72px; /* ajuster si besoin */
}



.hero-gradient {
  background: linear-gradient(180deg, #0A2342 0%, #004E92 100%);
  color: #ffffff;
}