/**
 * ====================================================================
 * TAPSTIQ CENTRAL UNIFIED CUSTOM STYLESHEET
 * ====================================================================
 * File: theme/assets/css/custom.css
 * Consolidated single stylesheet for Admin, Customer Portal & Public Pages.
 * 0 Duplication • High Performance • Full Mobile & Desktop Support
 * ====================================================================
 */

/* ====================================================================
   1. GLOBAL ROOT VARIABLES & DESIGN TOKENS
   ==================================================================== */
:root {
    --brand-dark: #0f3d23;
    --brand: #3b9346;
    --brand-mid: #1a6b3a;
    --brand-light: #eef7f0;
    --accent: #eed378;
    --ink: #1a2332;
    --muted: #64748b;
    --line: #e3e7ef;
    --bg-soft: #f7f9fc;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
}

* {
    box-sizing: border-box;
}

/* Base Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

/* ====================================================================
   2. SCOPED CUSTOMER PORTAL LAYOUT (Sticky Footer & Content Offset)
   ==================================================================== */
body.customer-portal {
    background: var(--bg-soft);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-content-wrap {
    flex: 1 0 auto;
    padding-top: 96px;
    padding-bottom: 60px;
}

/* ====================================================================
   3. COMMON BADGES & LABELS (Admin & Customer Portal)
   ==================================================================== */
.bg-label-primary, .badge.bg-label-primary {
    background-color: #e0e7ff !important;
    color: #3730a3 !important;
    border: 1px solid #c7d2fe !important;
}

.bg-label-secondary, .badge.bg-label-secondary {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}

.bg-label-success, .badge.bg-label-success {
    background-color: #dcfce7 !important;
    color: #166534 !important;
    border: 1px solid #86efac !important;
}

.bg-label-info, .badge.bg-label-info {
    background-color: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}

.bg-label-warning, .badge.bg-label-warning {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fcd34d !important;
}

.bg-label-danger, .badge.bg-label-danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border: 1px solid #fca5a5 !important;
}

.bg-label-dark, .badge.bg-label-dark {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #334155 !important;
}

/* Compliance status badges */
.badge-comp-valid {
    background-color: #d1fae5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
    font-weight: 600;
}

.badge-comp-warning {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
    font-weight: 600;
}

.badge-comp-danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
    font-weight: 600;
}

.badge-comp-missing {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 600;
}

/* ====================================================================
   4. COMMON FORMS, INPUTS & CONTROLS
   ==================================================================== */
.form-control,
.form-select {
    border: 1.5px solid #94a3b8 !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-radius: 8px !important;
    font-weight: 500;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #3b9346 !important;
    box-shadow: 0 0 0 3px rgba(59, 147, 70, 0.18) !important;
    background-color: #ffffff !important;
    outline: none !important;
}

.form-control::placeholder {
    color: #94a3b8 !important;
    font-weight: 400;
}

.form-control:disabled,
.form-select:disabled {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #94a3b8 !important;
}

/* Flatpickr Datepicker Calendar & Inputs */
.flatpickr-input,
.flatpickr-date {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233b9346' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3Csvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.85rem center !important;
    background-size: 18px 18px !important;
    cursor: pointer !important;
    background-color: #ffffff !important;
}

.flatpickr-calendar {
    box-shadow: 0 0.5rem 1.25rem rgba(15, 61, 35, 0.15) !important;
    border: 1px solid rgba(59, 147, 70, 0.2) !important;
    border-radius: 0.75rem !important;
    z-index: 1095 !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #3b9346 !important;
    border-color: #3b9346 !important;
}

.flatpickr-day.today {
    border-color: #3b9346 !important;
}

/* Select2 Dropdown Enhancements */
.select2-container--default .select2-selection--single {
    height: 38px;
    border: 1.5px solid #94a3b8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    font-size: 0.875rem;
    background-color: #ffffff;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1e293b;
    line-height: normal;
    padding-left: 0;
    font-weight: 500;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 8px;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #3b9346 !important;
    box-shadow: 0 0 0 0.2rem rgba(59, 147, 70, 0.2) !important;
}

.select2-dropdown {
    border: 1.5px solid #3b9346;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 1060;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #3b9346 !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__group {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    background-color: #f8fafc;
    padding: 5px 10px;
    letter-spacing: 0.5px;
}

/* ====================================================================
   5. TOP NAVIGATION BAR (High Performance)
   ==================================================================== */
.tm-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%) 1;
    box-shadow: 0 2px 10px rgba(15, 61, 35, 0.05);
}

.tm-nav.scrolled {
    box-shadow: 0 4px 16px rgba(15, 61, 35, 0.08);
    background: #ffffff;
}

.tm-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tm-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.tm-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(59, 147, 70, 0.25);
}

.tm-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tm-menu a {
    color: #3a4253;
    font-weight: 500;
    font-size: 14.5px;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tm-menu a:hover,
.tm-menu a.active {
    color: var(--brand);
    background: var(--brand-light);
    font-weight: 600;
}

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

.tm-nav-link-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-weight: 600;
    font-size: 14.5px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.tm-nav-link-login:hover {
    color: var(--brand);
    background: var(--brand-light);
}

.tm-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
    color: #ffffff !important;
    padding: 9px 20px !important;
    border-radius: 10px !important;
    font-size: 14.5px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(59, 147, 70, 0.25);
    transition: all 0.2s ease;
}

.tm-cta:hover {
    background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand-dark) 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(59, 147, 70, 0.35);
    color: #ffffff !important;
}

.btn-add-vehicle-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
    color: #ffffff !important;
    padding: 8px 18px !important;
    border-radius: 10px !important;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(59, 147, 70, 0.25);
    transition: all 0.2s ease;
    border: none;
}

.btn-add-vehicle-nav:hover {
    background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand-dark) 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(59, 147, 70, 0.35);
    color: #ffffff !important;
}

.user-dropdown-btn {
    background: #ffffff;
    border: 1px solid var(--line);
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-dropdown-btn:hover {
    border-color: var(--brand);
    background: var(--brand-light);
}

.user-avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f3d23, #3b9346);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

/* Animated Hamburger Button on Mobile */
.tm-burger {
    display: none;
    width: 44px;
    height: 44px;
    background: #1a6b3a;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 14px rgba(26, 107, 58, 0.28);
    transition: all 0.25s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1052;
}

.tm-burger:hover {
    background: #14592f;
    transform: scale(1.02);
}

.tm-burger-icon {
    width: 20px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.tm-burger-icon span {
    display: block;
    width: 20px;
    height: 2.2px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.25s ease;
    transform-origin: center;
}

.tm-burger.active .tm-burger-icon span:nth-child(1) {
    transform: translateY(5.9px) rotate(45deg);
}

.tm-burger.active .tm-burger-icon span:nth-child(2) {
    opacity: 0;
}

.tm-burger.active .tm-burger-icon span:nth-child(3) {
    transform: translateY(-5.9px) rotate(-45deg);
}

/* Mobile Dropdown Drawer (Fast, Zero Overlay) */
.tm-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    padding: 18px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 1051;
    max-height: calc(100vh - 85px);
    overflow-y: auto;
}

.tm-mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tm-mobile-menu a.tm-mob-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    background: #f4f7f5;
    color: #1a2332;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.tm-mobile-menu a.tm-mob-link.active,
.tm-mobile-menu a.tm-mob-link:hover {
    background: #eaf5ec;
    color: #1a6b3a;
    border-color: rgba(59, 147, 70, 0.25);
    transform: translateX(3px);
}

.tm-mobile-menu a.tm-mob-link i {
    font-size: 18px;
    color: #8b9991;
    transition: color 0.2s ease;
}

.tm-mobile-menu a.tm-mob-link:hover i,
.tm-mobile-menu a.tm-mob-link.active i {
    color: #1a6b3a;
}

.tm-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.tm-mobile-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f4f7f5;
    color: #1a2332 !important;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 20px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.tm-mobile-login-btn:hover {
    background: #eaf5ec;
    color: #1a6b3a !important;
}

.tm-mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 20px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(59, 147, 70, 0.28);
    border: none;
    transition: all 0.2s ease;
}

.tm-mobile-cta-btn:hover {
    background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand-dark) 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(59, 147, 70, 0.35);
}

.tm-mobile-cta-btn i {
    font-size: 18px;
    line-height: 1;
}

/* ====================================================================
   6. COMMON CARDS, TABLES & DATATABLES
   ==================================================================== */
.card {
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    background: #ffffff;
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--line);
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.card-datatable {
    padding: 0 0.5rem 1rem 0.5rem;
}

.card-datatable thead th,
.card-datatable table thead th {
    background-color: #f8fafc;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-bottom: 2px solid #e2e8f0;
    padding-top: 14px;
    padding-bottom: 14px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.page-item .page-link {
    border-radius: 8px !important;
    margin: 0 2px;
    color: #1a6b3a;
    font-size: 0.85rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.page-item.active .page-link {
    background-color: #3b9346 !important;
    border-color: #3b9346 !important;
    color: #ffffff !important;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1.5px solid #cbd5e1;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #3b9346;
    box-shadow: 0 0 0 0.2rem rgba(59, 147, 70, 0.15);
}

/* ====================================================================
   7. PAGE SPECIFIC: ADD & EDIT TAPSTIQ QR
   ==================================================================== */
.category-card {
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    width: 100%;
    display: flex;
    align-items: center;
}

.category-card:hover {
    border-color: #3b9346 !important;
    background: #f8fafc;
}

.category-card.selected {
    border-color: #3b9346 !important;
    background: #f0fdf4 !important;
    box-shadow: 0 4px 12px rgba(59, 147, 70, 0.12);
}

.category-card input[type="radio"] {
    accent-color: #3b9346;
    cursor: pointer;
}

#vehicleRepeaterTable {
    border: 1.5px solid #cbd5e1 !important;
}

#vehicleRepeaterTable th,
#vehicleRepeaterTable td {
    border-color: #e2e8f0 !important;
}

.row-num-badge {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ====================================================================
   8. PAGE SPECIFIC: TAPSTIQ QR INDEX
   ==================================================================== */
.view-toggle-btn.active {
    background-color: #3b9346 !important;
    border-color: #3b9346 !important;
    color: #ffffff !important;
}

.view-toggle-btn {
    color: #1a6b3a;
    border-color: #cbd5e1;
}

.view-toggle-btn:hover {
    background-color: #eef7f0;
    color: #1a6b3a;
    border-color: #3b9346;
}

/* ====================================================================
   9. PAGE SPECIFIC: DOCUMENT VAULT & MULTI-UPLOAD
   ==================================================================== */
.table-doc-upload thead th {
    background-color: #f8fafc;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-bottom: 2px solid #e2e8f0;
    padding-top: 12px;
    padding-bottom: 12px;
    vertical-align: middle;
}

.table-doc-upload tbody td {
    vertical-align: middle;
    padding: 12px 10px;
    border-color: #f1f5f9;
}

.table-doc-upload tbody tr:hover {
    background-color: #f8fafc;
}

.file-upload-btn-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.file-upload-btn-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.row-counter-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: #e2e8f0;
    color: #334155;
}

.table-doc-upload textarea.notes-input {
    min-height: 38px;
    height: 38px;
    resize: vertical;
    font-size: 0.85rem;
    line-height: 1.35;
    padding: 0.35rem 0.6rem;
    border: 1.5px solid #94a3b8;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.table-doc-upload textarea.notes-input:focus {
    border-color: #3b9346;
    box-shadow: 0 0 0 0.2rem rgba(59, 147, 70, 0.25);
    min-height: 60px;
}

/* ====================================================================
   10. PAGE SPECIFIC: UPGRADE PLAN
   ==================================================================== */
.upgrade-hero {
    background: linear-gradient(135deg, #0f3d23 0%, #1a6b3a 60%, #3b9346 100%);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.upgrade-hero::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.upgrade-hero h2 {
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.upgrade-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
    max-width: 550px;
}

.plan-card {
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.25s ease;
    border: 2px solid #3b9346;
    box-shadow: 0 4px 20px rgba(59, 147, 70, 0.1);
}

.plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(59, 147, 70, 0.18);
}

.plan-card-header {
    padding: 0.9rem 1.1rem;
    background: linear-gradient(135deg, #0f3d23 0%, #1a6b3a 100%);
    color: #ffffff;
    border-bottom: none;
}

.plan-card-header .plan-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.3rem;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.plan-card-header .plan-name {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}

.plan-card-body {
    padding: 1rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price-block {
    margin-bottom: 0.65rem;
}

.price-annual {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
}

.price-annual small {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
}

.price-lifetime {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

.plan-stats-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.55rem 0.75rem;
    margin-bottom: 0.75rem;
}

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

.plan-stat-row:not(:last-child) {
    border-bottom: 1px dashed #e2e8f0;
}

.plan-stat-col {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    color: #64748b;
}

.plan-stat-col .stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3b9346;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.plan-stat-col .stat-label {
    color: #64748b;
    font-weight: 500;
}

.plan-stat-col .stat-val {
    color: #0f172a;
    font-weight: 700;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.65rem 0;
    flex: 1;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.2rem 0;
    font-size: 0.76rem;
    color: #475569;
}

.feature-list li i {
    color: #3b9346;
    font-size: 0.88rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.btn-current-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.65rem 1rem;
    background: #f1f5f9;
    color: #0f3d23;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: auto;
}

.btn-upgrade {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, #3b9346 0%, #1a6b3a 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(59, 147, 70, 0.3);
    transition: all 0.25s ease;
    margin-top: auto;
}

.btn-upgrade:hover {
    background: linear-gradient(135deg, #1a6b3a 0%, #0f3d23 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 147, 70, 0.4);
    color: #ffffff;
}

.billing-toggle {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 3px;
    border: 1px solid #e2e8f0;
}

.billing-toggle .toggle-btn {
    padding: 5px 14px;
    border: none;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.billing-toggle .toggle-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ====================================================================
   11. PAGE SPECIFIC: CUSTOMER PROFILE
   ==================================================================== */
.profile-hero {
    background: linear-gradient(135deg, #0f3d23 0%, #1a6b3a 60%, #3b9346 100%);
    border-radius: 20px;
    padding: 1.75rem 1.75rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.profile-hero::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.profile-card {
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.profile-card:hover {
    box-shadow: 0 6px 24px rgba(59, 147, 70, 0.08);
    border-color: #cbd5e1;
}

.profile-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-card-header .icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f0fdf4;
    color: #166534;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.profile-card-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
}

.profile-card-body {
    padding: 1.5rem;
    flex: 1;
}

.btn-submit-profile {
    background: linear-gradient(135deg, #3b9346 0%, #1a6b3a 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(59, 147, 70, 0.25);
}

.btn-submit-profile:hover {
    background: linear-gradient(135deg, #1a6b3a 0%, #0f3d23 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(59, 147, 70, 0.35);
    color: #ffffff;
}

/* ====================================================================
   12. PUBLIC & LANDING PAGE STYLES
   ==================================================================== */
.tm-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tm-hero {
    position: relative;
    padding: 140px 24px 80px;
    background: linear-gradient(135deg, #f0f8f2 0%, #ffffff 55%, #fef9ea 100%);
    overflow: hidden;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
}

.orb-1 {
    width: 140px;
    height: 140px;
    top: 15%;
    right: 8%;
    background: linear-gradient(135deg, rgba(209, 250, 229, 0.5) 0%, rgba(167, 243, 208, 0.2) 100%);
}

.orb-2 {
    width: 95px;
    height: 95px;
    top: 60%;
    left: 4%;
    background: linear-gradient(135deg, rgba(238, 211, 120, 0.35) 0%, rgba(209, 250, 229, 0.25) 100%);
}

.tm-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.tm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 147, 70, 0.1);
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
    border: 1px solid rgba(59, 147, 70, 0.2);
}

.pulse-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    display: inline-block;
}

.tm-hero h1 {
    font-size: 46px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 18px;
    letter-spacing: -1px;
}

.tm-hero h1 .accent {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tm-hero p.lead {
    font-size: 16px;
    color: var(--muted);
    margin: 0 0 30px;
    max-width: 540px;
    line-height: 1.7;
}

.tm-btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary-tm {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
    color: #fff;
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(59, 147, 70, 0.3);
    transition: all 0.2s ease;
    border: none;
}

.btn-primary-tm:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(59, 147, 70, 0.4);
    color: #fff;
}

.btn-ghost-tm {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--ink);
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid var(--line);
    transition: all 0.2s ease;
}

.btn-ghost-tm:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
}

.tm-hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tm-stat .num {
    font-size: 24px;
    font-weight: 800;
    color: var(--brand-dark);
    display: block;
    line-height: 1;
}

.tm-stat .label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
    font-weight: 500;
}

/* Hero Phone Mockup Visual */
.tm-hero-visual {
    position: relative;
    text-align: center;
}

.tm-hero-visual .frame {
    position: relative;
    display: inline-block;
    padding: 16px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 50px rgba(15, 61, 35, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.95);
}

.phone-mockup-inner {
    width: 300px;
    background: #ffffff;
    border-radius: 26px;
    padding: 22px 18px 18px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.scan-ring {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--brand-light);
    border: 2px solid var(--brand);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin: 0 auto 14px;
    box-shadow: 0 8px 20px rgba(59, 147, 70, 0.2);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-light);
    color: var(--brand);
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.plate-text {
    font-size: 21px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.car-model {
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 18px;
}

.device-btn-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
    color: #fff;
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-bottom: 9px;
    box-shadow: 0 4px 14px rgba(59, 147, 70, 0.28);
}

.device-btn-ghost {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand-light);
    color: var(--brand);
    border: 1px solid var(--line);
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}

/* Floating Pill Badges */
.floating-pill {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 16px;
    box-shadow: 0 12px 28px rgba(15, 61, 35, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    z-index: 3;
}

.floating-pill.pill-left {
    top: 15%;
    left: -35px;
}

.floating-pill.pill-right {
    bottom: 12%;
    right: -30px;
}

.pill-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.pill-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}

.pill-desc {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.2;
}

/* Features, Scenarios, Vault & How-It-Works Sections */
.tm-section {
    padding: 80px 24px;
    position: relative;
    z-index: 2;
}

.tm-section.soft {
    background: var(--bg-soft);
}

.tm-section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.tm-section-head .eyebrow {
    display: inline-block;
    color: var(--brand);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.tm-section-head h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.tm-section-head p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
    line-height: 1.7;
}

.tm-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.tm-feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px 24px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
}

.tm-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 61, 35, 0.1);
    border-color: var(--brand);
}

.tm-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 147, 70, 0.12) 0%, rgba(59, 147, 70, 0.04) 100%);
    color: var(--brand);
    font-size: 26px;
    margin-bottom: 18px;
}

.tm-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 10px;
}

.tm-feature-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.65;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.use-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.use-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 61, 35, 0.09);
    border-color: var(--brand);
}

.use-card-header {
    padding: 26px 22px 18px;
}

.use-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.badge-block {
    background: var(--danger-light);
    color: var(--danger);
}

.badge-alert {
    background: var(--warning-light);
    color: var(--warning);
}

.badge-vault {
    background: var(--brand-light);
    color: var(--brand);
}

.use-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.35;
}

.use-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

.use-visual {
    padding: 16px 22px 22px;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    margin-top: auto;
}

.scenario-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 12px;
}

.scenario-box i {
    font-size: 24px;
    color: var(--brand);
    flex-shrink: 0;
}

.scenario-text {
    font-size: 12.5px;
    color: var(--ink);
    font-weight: 700;
}

.scenario-text span {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: 11px;
}

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

.tm-why-content h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 16px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.tm-why-content>p {
    color: var(--muted);
    font-size: 15px;
    margin: 0 0 24px;
    line-height: 1.7;
}

.tm-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tm-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14.5px;
    color: #3a4253;
}

.tm-why-list li i {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 2px;
}

.vault-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--line);
    box-shadow: 0 16px 36px rgba(15, 61, 35, 0.08);
}

.vault-item-row {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}

.vault-item-row:hover {
    transform: translateX(3px);
    border-color: var(--brand);
}

.vault-doc-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vault-doc-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.vault-doc-title {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--ink);
}

.vault-doc-sub {
    font-size: 11.5px;
    color: var(--muted);
}

.status-pill {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
}

.pill-active {
    background: var(--brand-light);
    color: var(--brand);
}

.pill-warn {
    background: var(--warning-light);
    color: var(--warning);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    text-align: center;
}

.how-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px 20px;
    transition: all 0.25s ease;
}

.how-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15, 61, 35, 0.08);
    border-color: var(--brand);
}

.how-icon-box {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 18px;
    box-shadow: 0 6px 16px rgba(59, 147, 70, 0.18);
}

.how-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.how-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

/* FAQ Accordion */
.tm-faq-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.tm-faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.tm-faq-item:hover {
    border-color: rgba(59, 147, 70, 0.35);
}

.tm-faq-item.active {
    border-color: var(--brand);
    box-shadow: 0 8px 24px rgba(15, 61, 35, 0.08);
}

.tm-faq-q {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}

.tm-faq-q:hover, .tm-faq-item.active .tm-faq-q {
    color: var(--brand);
}

.tm-faq-q .q-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.25s ease;
}

.tm-faq-item.active .tm-faq-q .q-icon {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
    color: #fff;
    transform: rotate(45deg);
}

.tm-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.tm-faq-a-inner {
    padding: 0 22px 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.tm-faq-item.active .tm-faq-a {
    max-height: 300px;
}

/* Call to Action Banner */
.tm-cta-wrapper {
    padding: 0 24px;
}

.tm-cta-banner {
    padding: 70px 24px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 50%, var(--brand) 100%);
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    max-width: 1200px;
    margin: 0 auto 80px;
    box-shadow: 0 20px 50px rgba(15, 61, 35, 0.22);
}

.tm-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.tm-cta-inner h2 {
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -0.6px;
    line-height: 1.22;
}

.tm-cta-inner p {
    font-size: 15.5px;
    opacity: 0.9;
    margin: 0 0 30px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.btn-accent-tm {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--brand-dark);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.btn-accent-tm:hover {
    transform: translateY(-2px);
    color: var(--brand-dark);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
    background: #f8fafc;
}

/* ====================================================================
   13. COMMON PUBLIC FOOTER
   ==================================================================== */
.tm-footer {
    background: #0a1f13;
    color: #a9b5ab;
    padding: 60px 24px 30px;
    margin-top: auto;
}

.tm-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.tm-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
    text-decoration: none;
}

.tm-footer p.tag {
    color: #7c8a81;
    font-size: 13.5px;
    max-width: 400px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.tm-footer-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tm-footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #d1fae5;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 500;
}

.tm-footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.tm-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tm-footer-col ul li {
    margin-bottom: 8px;
}

.tm-footer-col a {
    color: #94a3b8;
    font-size: 13.5px;
    transition: color 0.2s ease;
    text-decoration: none;
}

.tm-footer-col a:hover {
    color: var(--accent);
}

.tm-footer .divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 24px auto;
}

.tm-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.tm-footer .copy {
    font-size: 12.5px;
    color: #6b786e;
}

/* ====================================================================
   14. UNIFIED RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ==================================================================== */
@media (max-width: 992px) {
    .tm-menu {
        display: none !important;
    }

    .btn-add-vehicle-nav,
    .tm-nav-actions .dropdown,
    .tm-desktop-action {
        display: none !important;
    }

    .tm-burger {
        display: flex !important;
    }

    .tm-nav-inner {
        padding: 12px 18px !important;
    }

    .tm-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .tm-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .tm-hero h1 {
        font-size: 36px;
    }

    .tm-hero p.lead {
        margin-left: auto;
        margin-right: auto;
    }

    .tm-btn-group,
    .tm-hero-stats {
        justify-content: center;
    }

    .use-cases-grid,
    .how-grid,
    .tm-why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .floating-pill {
        display: none;
    }
}

@media (max-width: 767px) {
    .upgrade-hero {
        padding: 1.25rem 1rem;
    }

    .upgrade-hero h2 {
        font-size: 1.15rem;
    }

    .price-annual {
        font-size: 1.15rem;
    }
}

@media (max-width: 600px) {
    .tm-hero {
        padding: 120px 18px 60px;
    }

    .tm-hero h1 {
        font-size: 30px;
    }

    .tm-cta-inner h2 {
        font-size: 26px;
    }

    .tm-footer-grid {
        grid-template-columns: 1fr;
    }

    .user-name-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .tm-brand span {
        font-size: 20px;
    }

    .tm-logo-icon {
        width: 38px;
        height: 38px;
        font-size: 20px;
        border-radius: 10px;
    }

    .tm-burger {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }
}
