:root {
    /* Branding Colors */
    --primary: #0a192f;
    /* Deep Navy */
    --secondary: #112240;
    /* Lighter Navy */
    --tertiary: #233554;
    /* Accent Navy */
    --accent: #64ffda;
    /* Cyan/Teal Accent */
    --white: #e6f1ff;
    --text-gray: #8892b0;
    --text-light: #ccd6f6;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 320px;
    --radius: 8px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--primary);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    height: 80%;
    background-image: url('./logo-transparent.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.02;
    /* Reduced opacity from 0.05 for better readability */
    pointer-events: none;
    z-index: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-weight: 600;
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background: #4cdbb6;
    transform: translateY(-2px);
}

/* Global Classes */
.w-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.margin-t-0 {
    margin-top: 0;
}

.text-accent {
    color: var(--accent);
}

.mb-2 {
    margin-bottom: 2rem;
}


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    animation: bounce 2s infinite;
    cursor: pointer;
    text-decoration: none;
    z-index: 10;
}

.scroll-indicator span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Header */

header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    /* Changed from absolute to fixed */
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.95);
    /* Slightly more opaque for scrolling */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.hero-small {
    min-height: 50vh;
    align-items: center;
}

.mb-large {
    margin-bottom: 100px;
}

.mt-large {
    margin-top: 50px;
}


header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 300px;
    width: auto;
    object-fit: contain;
}

.nav-pill {
    display: flex;
    gap: 30px;
    border: 1px solid var(--accent);
    border-radius: 50px;
    padding: 8px 25px;
    background: rgba(10, 25, 47, 0.5);
    /* Slight background for better visibility */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.nav-pill a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.nav-pill a:hover,
.nav-pill a.active {
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background:
        linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.95)),
        url('./public/hero-new.png');
    /* Trucking Placeholder */
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
}

.tagline {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Blog Article Styles */
.blog-article {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    background: var(--secondary);
    min-height: 100vh;
}

.blog-article .container {
    max-width: 800px;
}

.blog-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.blog-breadcrumb a {
    color: var(--accent);
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-header {
    margin-bottom: 3rem;
}

.blog-category {
    color: var(--accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.blog-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin: 1rem 0;
    line-height: 1.2;
}

.blog-meta {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.blog-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-content h2 {
    color: var(--accent);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    list-style: disc;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    border: 1px solid var(--accent);
    text-align: center;
}

.blog-cta h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.blog-cta p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
}

.related-articles h3 {
    margin-bottom: 1.5rem;
}

/* Mobile Blog Styles */
@media (max-width: 768px) {
    .blog-article {
        padding-top: 40px;
        /* Header is relative on mobile */
    }

    .blog-title {
        font-size: 1.6rem;
    }

    .blog-content {
        font-size: 1rem;
    }
}

/* Services Grid (Home) */
.services-section {
    padding: 100px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 3rem;
}

.card {
    background: var(--secondary);
    padding: 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: var(--tertiary);
}

.card-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Service Table (Services Page) */
.pricing-table-container {
    overflow-x: auto;
    background: var(--secondary);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th,
td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--tertiary);
}

th {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
}

td {
    color: var(--text-light);
}

tr:hover td {
    background: var(--tertiary);
}

.price-tag {
    font-weight: 700;
    color: var(--white);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
    border-top: 1px solid var(--tertiary);
    border-bottom: 1px solid var(--tertiary);
}

.testimonial-card {
    background: var(--secondary);
    padding: 2.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}

.testimonial-author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.author-info h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin: 0;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.about-image-placeholder {
    background: var(--tertiary);
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder span {
    font-size: 4rem;
    opacity: 0.2;
}

/* Footer */
footer {
    background: #020c1b;
    padding: 50px 0;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--secondary);
    padding: 2rem;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

input,
textarea {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    border: 1px solid var(--tertiary);
    border-radius: 4px;
    color: var(--white);
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* ================================
   MOBILE RESPONSIVE STYLES
   ================================ */

@media (max-width: 768px) {
    :root {
        --header-height: auto;
    }

    header {
        position: relative;
        height: auto;
        padding-bottom: 10px;
        background: rgb(10, 25, 47);
        /* Solid bg for mobile */
    }

    .hero {
        padding-top: 20px;
        background-position: center top;
    }

    /* Promo Banner Mobile Override */
    .promo-banner {
        position: relative !important;
        text-align: left;
        padding-right: 40px;
        /* Space for close button */
    }

    .promo-banner a {
        display: inline-block;
        font-size: 0.9rem;
    }

    .promo-close {
        top: 50%;
        transform: translateY(-50%);
    }

    /* Header Stack Layout */
    header .container {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        /* Increased side padding */
    }

    /* Ensure content isn't flush with edge */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .logo-img {
        height: 80px;
    }

    .nav-wrapper {
        width: 100%;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
        padding: 8px 15px !important;
        border-radius: 8px !important;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .header-taglines {
        font-size: 0.85rem !important;
    }

    .header-taglines div:last-child {
        font-size: 0.75rem !important;
    }

    header .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        margin-bottom: 10px;
        /* Add space below button */
    }

    /* Hero Section */
    .hero {
        padding-top: 20px;
        /* Header is relative now, so just standard padding */
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    /* Grid adjustments */
    .grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Footer */
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    /* Services Page */
    .pricing-table-container {
        padding: 0.5rem;
    }

    th,
    td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

/* Admin Panel Mobile Fix */
@media (max-width: 900px) {
    .admin-layout {
        flex-direction: column !important;
    }

    .admin-sidebar {
        width: 100% !important;
        min-width: unset !important;
        max-width: unset !important;
    }
}


/* Checkbox Group Layout Fix */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.checkbox-item input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-item span {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-light);
    /* Ensure visibility */
}

/* Ensure mobile stacking */
@media (max-width: 480px) {
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   PORTAL UTILITY CLASSES (Driver Portal & Admin)
   These replace inline styles for better maintainability
   ================================================ */

/* Layout */
.portal-flex {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.portal-flex-wrap {
    flex-wrap: wrap;
}

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

.portal-full-width {
    width: 100%;
}

/* Card/Panel Styles */
.portal-card {
    background: var(--secondary);
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.portal-card-dark {
    background: var(--primary);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--tertiary);
}

/* Form Elements */
.portal-input,
.portal-select,
.portal-textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary);
    border: 1px solid var(--tertiary);
    color: var(--text-light);
    border-radius: 4px;
}

.portal-input:focus,
.portal-select:focus,
.portal-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.portal-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    display: block;
    margin-bottom: 0.5rem;
}

/* Table Styles */
.portal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.portal-table th,
.portal-table td {
    padding: 1rem;
    text-align: left;
}

.portal-table thead tr {
    border-bottom: 1px solid var(--tertiary);
}

.portal-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Status Colors */
.status-success {
    color: #06d6a0;
}

.status-warning {
    color: #ffd166;
}

.status-error {
    color: #ff6b6b;
}

.status-info {
    color: var(--accent);
}

/* Button Variants */
.btn-danger {
    background: transparent;
    border: 1px solid #ef476f;
    color: #ef476f;
}

.btn-danger:hover {
    background: rgba(239, 71, 111, 0.1);
}

.btn-success {
    background: #06d6a0;
    border: none;
    color: var(--primary);
}

.btn-warning {
    background: #ffd166;
    border: none;
    color: var(--primary);
}

/* Progress Bar */
.portal-progress {
    background: var(--tertiary);
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
}

.portal-progress-bar {
    background: var(--accent);
    height: 100%;
    width: 0%;
    transition: width 0.3s;
}

/* Chat Widget */
.chat-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.chat-window {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: var(--secondary);
    border: 1px solid var(--tertiary);
    border-radius: 12px;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.chat-window.open {
    display: flex;
}

.chat-header {
    background: var(--tertiary);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    background: var(--primary);
    padding: 10px;
    border-radius: 8px;
    max-width: 80%;
    border: 1px solid var(--tertiary);
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    background: var(--accent);
    color: var(--primary);
}

.chat-input-area {
    padding: 10px;
    border-top: 1px solid var(--tertiary);
    display: flex;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* File Notes */
.file-note {
    color: #ffd166;
    font-style: italic;
    font-size: 0.85rem;
}

/* Access Message Overlay */
.access-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.access-overlay.show {
    display: flex;
}

/* Dashboard Stats Grid */
.stats-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: var(--primary);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--tertiary);
}

.stat-card h4 {
    margin: 0;
    color: var(--accent);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.membership-badge {
    background: var(--tertiary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Mark All Read Button */
.btn-link {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.8rem;
    cursor: pointer;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Hidden by default utility */
.hidden {
    display: none !important;
}

/* ================================================
   PRICING CARD STYLES (Homepage Cleanup)
   ================================================ */
.pricing-card-wrapper {
    position: relative;
    border: 2px solid var(--tertiary);
}

.pricing-card-featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    z-index: 10;
}

@media (max-width: 768px) {
    .pricing-card-featured {
        transform: none;
        margin: 1rem 0;
    }
}

.pricing-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
}

.pricing-badge-starter {
    background: var(--tertiary);
}

.pricing-badge-pro {
    background: var(--accent);
    color: var(--primary);
}

.pricing-badge-fleet {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.pricing-header {
    text-align: center;
    padding: 1rem 0;
}

.pricing-price {
    font-size: 2.5rem;
    margin: 1rem 0 0.25rem;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-gray);
}

.pricing-sub {
    color: var(--text-gray);
    font-size: 0.9rem;
}

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

.pricing-divider.accent {
    border-color: var(--accent);
}

.pricing-list {
    color: var(--text-light);
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-list li {
    padding: 0.5rem 0;
}

.pricing-btn {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
}

.pricing-popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--primary);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* ================================
   NEW UTILITY CLASSES (Refactor)
   ================================ */

/* Promo Banner */
.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: linear-gradient(90deg, #64ffda 0%, #00bfa5 100%);
    color: #0a192f;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.promo-banner a {
    color: #0a192f;
    text-decoration: none;
}

.promo-banner span {
    text-decoration: underline;
    margin-left: 8px;
}

.promo-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #0a192f;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
}

/* Checklist Page Layout */
.hero-min-height {
    min-height: 40vh;
}

.grid-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.checklist-card {
    border: 2px solid var(--accent);
    padding: 2.5rem;
}

/* Checklist Form Elements */
.checklist-select {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--tertiary);
    /* Fixed var name from --border */
    background: var(--primary);
    color: var(--text-light);
}

.checklist-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

.checkbox-label {
    margin-left: 8px;
}

@media (max-width: 768px) {
    .grid-split {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ================================
   NEW UTILITY CLASSES (Refactor)
   ================================ */
.font-bold {
    font-weight: 700;
}

.w-full {
    width: 100%;
}

.mt-sm {
    margin-top: 0.5rem;
}

.mt-md {
    margin-top: 1rem;
}

.mt-lg {
    margin-top: 2rem;
}

.mb-sm {
    margin-bottom: 0.5rem;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.text-white {
    color: #e6f1ff;
}

.bg-gradient-guarantee {
    background: linear-gradient(90deg, var(--primary) 0%, var(--tertiary) 100%);
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
}

.speed-badge-container {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 50px;
    border: 1px solid var(--accent);
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .grid-3-col {
        grid-template-columns: 1fr;
    }
}

.startup-section-bg {
    background: linear-gradient(135deg, var(--tertiary) 0%, var(--primary) 100%);
}

.startup-card-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--secondary);
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
}

.startup-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.referral-banner-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: 1px solid var(--accent);
    border-radius: 16px;
    padding: 2rem 3rem;
    gap: 2rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.trust-stat-num {
    font-size: 2.5rem;
    color: var(--accent);
}

.trust-stat-label {
    font-size: 1rem;
    color: var(--text-gray);
}

/* FMCSA Clearinghouse Specific */
.hero-clearinghouse {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.95)), url('https://images.unsplash.com/photo-1542315264-8ee15db4c29d?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.alert-box-critical {
    background: #112240;
    border-left: 5px solid #ff4d4d;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.alert-content {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.text-danger {
    color: #ff4d4d;
}

.form-input-dark {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid var(--tertiary);
    background: var(--secondary);
    color: white;
}

.checkbox-label-flex {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    cursor: pointer;
}

.text-light-blue {
    color: #ccd6f6;
}

/* Authority Setup Specific */
.hero-authority {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.95)), url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?q=80&w=2075&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.package-details-card {
    background: var(--secondary);
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.package-badge-corner {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: var(--primary);
    padding: 10px 25px;
    font-weight: bold;
    border-bottom-left-radius: 16px;
}

.timeline-box {
    text-align: center;
    border: 1px dashed var(--tertiary);
    padding: 2rem;
    border-radius: 8px;
}

/* Dispatching Specific */
.hero-dispatch {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.95)), url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.pricing-highlight-section {
    background: var(--tertiary);
    padding: 60px 0;
    margin-bottom: 4rem;
    text-align: center;
}

.pricing-highlight-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 1rem;
}

.pricing-highlight-text {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Services Page Specific */
#promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: linear-gradient(90deg, #64ffda 0%, #00bfa5 100%);
    color: #0a192f;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#close-banner {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #0a192f;
    font-size: 18px;
    cursor: pointer;
}

.card-border-accent {
    border: 1px solid var(--accent);
}

.card-border-tertiary {
    border: 2px solid var(--tertiary);
    position: relative;
}

.card-border-highlight {
    border: 2px solid var(--accent);
    position: relative;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--primary);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-starter {
    background: var(--tertiary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.badge-pro {
    background: var(--accent);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
}

.badge-fleet {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.check-list {
    margin-top: 1rem;
    color: var(--text-light);
    padding-left: 0;
    list-style: none;
}

.check-list li {
    padding: 0.5rem 0;
}

/* Driver Files Specific */
.hero-driver {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.95)), url('https://images.unsplash.com/photo-1556740738-b6a63e27c4df?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.audit-alert-box {
    background: #112240;
    border-left: 5px solid var(--accent);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.checkbox-column-gap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Login Page Specific */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--primary);
}

.login-card {
    background: var(--secondary);
    padding: 2.5rem;
    border-radius: var(--radius);
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.error-msg {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
    text-align: center;
}

.text-right-sm {
    text-align: right;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.text-gray-sm-link {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.login-footer-link {
    text-align: center;
    margin-top: 1rem;
}

.text-gray-sm {
    color: var(--text-gray);
    font-size: 0.9rem;
}