@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&display=swap');

/* ══════════════════════════════════════
   DESIGN SYSTEM — DriveBook Premium
   ══════════════════════════════════════ */

:root {
    /* Surfaces */
    --bg: #F6F5F2;
    --bg-warm: #F0EEEA;
    --bg-cool: #ECEEF2;
    --bg-alt: #F3F4F6;
    --card: #FFFFFF;
    --card-elevated: #FFFFFF;
    --glass: rgba(255,255,255,0.72);
    --glass-border: rgba(255,255,255,0.45);

    /* Brand */
    --ink: #0C1222;
    --ink-2: #1A2540;
    --ink-3: #293556;

    /* Gold spectrum */
    --gold: #BF9B30;
    --gold-bright: #D4AD3E;
    --gold-deep: #9E7E1E;
    --gold-wash: rgba(191,155,48,0.08);
    --gold-glow: rgba(191,155,48,0.14);
    --gold-g: rgba(191,155,48,0.06);
    --gold-shadow: 0 4px 20px rgba(191,155,48,0.20);

    /* Text */
    --text: #1F2937;
    --text-2: #4B5563;
    --text-3: #6B7280;
    --text-4: #9CA3AF;
    --text-5: #D1D5DB;
    --dim: #6B7280;
    --muted: #9CA3AF;

    /* Status */
    --green: #059669;
    --green-bg: #ECFDF5;
    --green-wash: #F0FDF4;
    --ok: #059669;
    --ok-bg: #ECFDF5;
    --amber: #D97706;
    --amber-bg: #FFFBEB;
    --warn: #D97706;
    --warn-bg: #FFFBEB;
    --red: #DC2626;
    --red-bg: #FEF2F2;
    --err: #DC2626;
    --err-bg: #FEF2F2;
    --c-err-bg: #FDF0F1;
    --blue: #2563EB;
    --blue-bg: #EFF6FF;
    --info: #2563EB;
    --info-bg: #EFF6FF;
    --purple: #7C3AED;
    --purple-bg: #F5F3FF;

    /* Borders */
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --border-focus: var(--gold);
    --line: #E5E7EB;
    --line-l: #F3F4F6;

    /* Radius */
    --r-sm: 8px;
    --r: 10px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-2xl: 24px;
    --r-full: 9999px;

    /* Shadows */
    --sh-xs: 0 1px 2px rgba(0,0,0,0.04);
    --sh-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --sh: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
    --sh-md: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -4px rgba(0,0,0,0.04);
    --sh-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --sh-xl: 0 25px 50px -12px rgba(0,0,0,0.15);

    /* Typography */
    --ff: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --fd: 'Fraunces', Georgia, serif;

    /* Motion */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --tr: 0.2s var(--ease);
    --tr-md: 0.35s var(--ease);
    --tr-slow: 0.5s var(--ease);
}

/* ══════ RESET ══════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--ff);
    color: var(--text);
    background: var(--bg);
    font-size: 14.5px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5 { font-family: var(--fd); font-weight: 600; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
::selection { background: var(--gold-glow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ══════ LAYOUT ══════ */
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.text-center { text-align: center; }
.text-muted { color: var(--text-4); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* ══════ BUTTONS ══════ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 22px; border: none; border-radius: var(--r);
    font-family: var(--ff); font-size: 13.5px; font-weight: 600;
    cursor: pointer; transition: all var(--tr); text-decoration: none;
    white-space: nowrap; line-height: 1.4; position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    color: #fff; box-shadow: var(--gold-shadow);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(191,155,48,0.30);
    color: #fff;
}
.btn-primary::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0; transition: opacity var(--tr);
}
.btn-primary:hover::after { opacity: 1; }

.btn-dark {
    background: var(--ink);
    color: #fff;
}
.btn-dark:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); }

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

.btn-ghost {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); color: #fff; }

.btn-success { background: var(--green); color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-warning { background: var(--amber); color: #fff; }

.btn-sm { padding: 7px 15px; font-size: 12px; border-radius: var(--r-sm); }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--r-md); }
.btn-xl { padding: 16px 40px; font-size: 16px; border-radius: var(--r-md); letter-spacing: 0.01em; }
.btn-block { width: 100%; }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn .spinner { width: 14px; height: 14px; border-width: 2px; }

/* ══════ CARDS ══════ */
.card {
    background: var(--card);
    border-radius: var(--r-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--sh-xs);
    padding: 24px;
    transition: all var(--tr-md);
}
.card:hover { box-shadow: var(--sh); }

.card-glass {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid var(--glass-border);
}

.card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px; padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}
.card-title { font-size: 0.95rem; font-weight: 600; font-family: var(--ff); color: var(--ink); }

/* ══════ FORMS ══════ */
.form-group { margin-bottom: 18px; }
.form-label {
    display: block; font-size: 12.5px; font-weight: 600;
    color: var(--text-2); margin-bottom: 5px; letter-spacing: 0.01em;
}
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    font-family: var(--ff); font-size: 14px;
    color: var(--text); background: #fff;
    transition: border var(--tr), box-shadow var(--tr);
    outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-wash);
}
.form-input::placeholder { color: var(--text-4); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-hint { font-size: 11.5px; color: var(--text-4); margin-top: 3px; }
.form-error { font-size: 11.5px; color: var(--red); margin-top: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* Switch */
.switch { position: relative; display: inline-flex; width: 42px; height: 24px; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-track {
    position: absolute; inset: 0; background: var(--border);
    border-radius: 12px; transition: background var(--tr);
}
.switch-track::after {
    content: ''; position: absolute; top: 2px; left: 2px;
    width: 20px; height: 20px; background: #fff; border-radius: 50%;
    box-shadow: var(--sh-sm); transition: transform var(--ease-bounce) 0.3s;
}
.switch input:checked + .switch-track { background: var(--gold); }
.switch input:checked + .switch-track::after { transform: translateX(18px); }

/* File upload */
.file-zone {
    border: 2px dashed var(--border); border-radius: var(--r-lg);
    padding: 32px; text-align: center; cursor: pointer;
    transition: all var(--tr); background: var(--bg);
}
.file-zone:hover, .file-zone.dragover {
    border-color: var(--gold); background: var(--gold-wash);
}
.file-zone-icon { font-size: 36px; margin-bottom: 10px; opacity: 0.4; }
.file-zone-text { font-size: 13px; color: var(--text-3); }
.file-zone input[type="file"] { display: none; }

/* ══════ BADGES ══════ */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: var(--r-full);
    font-size: 11px; font-weight: 600; letter-spacing: 0.01em;
}
.badge-pending { background: var(--amber-bg); color: var(--amber); }
.badge-confirmed { background: var(--blue-bg); color: var(--blue); }
.badge-in_progress { background: #E0F2FE; color: #0284C7; }
.badge-arrived { background: #ECFCCB; color: #3F6212; }
.badge-completed { background: var(--green-bg); color: var(--green); }
.badge-cancelled { background: var(--red-bg); color: var(--red); }
.badge-disputed { background: var(--purple-bg); color: var(--purple); }

.tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 6px;
    font-size: 11.5px; font-weight: 500;
    background: var(--bg-warm); color: var(--text-3);
}
.tag-gold { background: var(--gold-wash); color: var(--gold-deep); }

/* ══════ TABLES ══════ */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table thead th {
    padding: 10px 14px; text-align: left;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--text-4); border-bottom: 2px solid var(--border);
    white-space: nowrap; background: var(--bg);
}
.table tbody td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
.table tbody tr { transition: background var(--tr); }
.table tbody tr:hover { background: var(--gold-wash); }

.table-search { margin-bottom: 14px; position: relative; }
.table-search input { padding-left: 36px; }
.table-search::before {
    content: '🔍'; position: absolute; left: 12px; top: 50%;
    transform: translateY(-50%); font-size: 14px; opacity: 0.4;
}

/* ══════ ALERTS ══════ */
.alert {
    padding: 13px 18px; border-radius: var(--r-md);
    font-size: 13.5px; margin-bottom: 18px;
    display: flex; align-items: center; gap: 10px;
    line-height: 1.5;
}
.alert-success { background: var(--green-bg); color: var(--green); border: 1px solid #A7F3D0; }
.alert-danger { background: var(--red-bg); color: var(--red); border: 1px solid #FECACA; }
.alert-warning { background: var(--amber-bg); color: var(--amber); border: 1px solid #FDE68A; }
.alert-info { background: var(--blue-bg); color: var(--blue); border: 1px solid #BFDBFE; }

/* ══════ AVATARS ══════ */
.avatar {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; font-weight: 700; flex-shrink: 0;
    overflow: hidden; background: var(--gold-glow); color: var(--gold-deep);
}
.avatar-sm { width: 32px; height: 32px; font-size: 11px; }
.avatar-md { width: 40px; height: 40px; font-size: 14px; }
.avatar-lg { width: 52px; height: 52px; font-size: 18px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ══════ EMPTY STATE ══════ */
.empty-state { text-align: center; padding: 48px 20px; }
.empty-state-icon { font-size: 48px; margin-bottom: 14px; opacity: 0.35; line-height: 1; }
.empty-state h3 { font-family: var(--ff); font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.empty-state p { color: var(--text-4); font-size: 13.5px; margin-bottom: 20px; max-width: 300px; margin-left: auto; margin-right: auto; }

/* ══════ SKELETON ══════ */
.skeleton {
    background: linear-gradient(90deg, var(--border-light) 25%, var(--bg) 50%, var(--border-light) 75%);
    background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--r);
}
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-text:last-child { width: 60%; }
.skeleton-card { height: 180px; border-radius: var(--r-lg); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ══════ TABS ══════ */
.tabs {
    display: flex; gap: 0; background: var(--bg-warm);
    border-radius: var(--r-md); padding: 4px; margin-bottom: 20px;
}
.tab {
    padding: 8px 18px; font-size: 13px; font-weight: 500;
    color: var(--text-3); border-radius: var(--r-sm);
    cursor: pointer; transition: all var(--tr);
    background: none; border: none; font-family: var(--ff);
}
.tab:hover { color: var(--text); }
.tab.active {
    background: var(--card); color: var(--ink);
    font-weight: 600; box-shadow: var(--sh-xs);
}

/* ══════ DROPDOWN ══════ */
.dropdown { position: relative; display: inline-block; }
.dropdown-menu {
    position: absolute; top: calc(100% + 6px); right: 0;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--r-md); box-shadow: var(--sh-lg);
    min-width: 200px; z-index: 100;
    opacity: 0; transform: translateY(-6px) scale(0.98);
    pointer-events: none; transition: all var(--tr);
}
.dropdown.open .dropdown-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.dropdown-item {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; font-size: 13.5px; color: var(--text-2);
    cursor: pointer; transition: background var(--tr);
}
.dropdown-item:hover { background: var(--gold-wash); color: var(--gold-deep); }
.dropdown-divider { height: 1px; background: var(--border-light); margin: 4px 0; }

/* ══════ TOOLTIP ══════ */
[data-tooltip] { position: relative; }
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute; bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--ink); color: #fff;
    padding: 6px 12px; border-radius: 8px;
    font-size: 11px; font-weight: 500;
    white-space: nowrap; opacity: 0;
    pointer-events: none; transition: all var(--tr); z-index: 50;
    box-shadow: var(--sh-md);
}
[data-tooltip]:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══════ BREADCRUMB ══════ */
.breadcrumb {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--text-4); margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { opacity: 0.3; }
.breadcrumb-current { color: var(--ink); font-weight: 500; }

/* ══════ TIMELINE ══════ */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
    content: ''; position: absolute; left: 8px; top: 4px; bottom: 4px;
    width: 2px; background: var(--border-light);
}
.timeline-item { position: relative; padding-bottom: 20px; }
.timeline-dot {
    position: absolute; left: -24px; top: 4px;
    width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid var(--gold); background: var(--card); z-index: 1;
}
.timeline-dot.done { background: var(--gold); }
.timeline-date { font-size: 11px; color: var(--text-4); margin-bottom: 2px; }
.timeline-content { font-size: 13.5px; }

/* ══════ PROGRESS ══════ */
.progress { height: 6px; background: var(--border-light); border-radius: 3px; overflow: hidden; }
.progress-bar {
    height: 100%; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transition: width var(--tr-slow);
}

.completion-ring { position: relative; width: 80px; height: 80px; }
.completion-ring svg { transform: rotate(-90deg); }
.completion-ring-text {
    position: absolute; inset: 0; display: flex;
    align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; color: var(--ink); font-family: var(--fd);
}

/* ══════ NOTIF ══════ */
.notif-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px; font-size: 10px; font-weight: 700;
}
.notif-badge-gold { background: var(--gold); color: #fff; }
.notif-badge-red { background: var(--red); color: #fff; }

.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-dot.online { background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,0.15); }
.status-dot.offline { background: var(--text-4); }

/* Counter */
.counter { font-family: var(--fd); font-variant-numeric: tabular-nums; }

/* ══════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all var(--tr);
}
.navbar.scrolled { box-shadow: var(--sh-sm); }
.navbar-inner {
    max-width: 1120px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px; padding: 0 20px;
}
.navbar-brand {
    font-family: var(--fd); font-size: 24px; font-weight: 700;
    color: var(--ink); letter-spacing: -0.03em;
}
.navbar-brand span { color: var(--gold); }
.navbar-links { display: flex; align-items: center; gap: 28px; }
.navbar-links a {
    color: var(--text-3); font-size: 13.5px; font-weight: 500;
    position: relative; transition: color var(--tr);
}
.navbar-links a:hover { color: var(--ink); }
.navbar-links a::after {
    content: ''; position: absolute; bottom: -3px; left: 0;
    width: 0; height: 2px; background: var(--gold);
    border-radius: 1px; transition: width var(--tr-md);
}
.navbar-links a:hover::after { width: 100%; }

.navbar-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.navbar-burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 1px; transition: all var(--tr); }
@media (max-width: 768px) {
    .navbar-burger { display: block; }
    .navbar-links {
        position: fixed; top: 64px; left: 0; right: 0;
        background: var(--card); flex-direction: column;
        padding: 20px; gap: 14px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%); opacity: 0;
        transition: all var(--tr-md); pointer-events: none;
    }
    .navbar-links.active { transform: translateY(0); opacity: 1; pointer-events: all; }
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
    background: var(--ink); padding-top: 64px;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 30%, rgba(191,155,48,0.06) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 80% 80%, rgba(37,99,235,0.03) 0%, transparent 50%),
        linear-gradient(168deg, #0C1222 0%, #152243 45%, #0F1A33 100%);
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2l2 3.25-2 3.25zM0 0h2v20H0V0z' fill='%23BF9B30' fill-opacity='0.015' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.6;
}
.hero-content { position: relative; z-index: 1; max-width: 600px; padding: 64px 0; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 8px;
    background: rgba(191,155,48,0.08);
    border: 1px solid rgba(191,155,48,0.12);
    border-radius: var(--r-full);
    font-size: 11px; font-weight: 700;
    color: var(--gold-bright); letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 24px;
}
.hero-eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold-bright); animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(191,155,48,0.4); } 50% { opacity: 0.4; box-shadow: 0 0 0 6px rgba(191,155,48,0); } }

.hero h1 {
    color: #fff; font-size: clamp(2.5rem, 5.5vw, 4rem);
    line-height: 1.05; margin-bottom: 20px; letter-spacing: -0.03em;
}
.hero h1 em {
    font-style: italic; color: var(--gold-bright);
    text-decoration: underline; text-decoration-color: rgba(191,155,48,0.3);
    text-underline-offset: 6px; text-decoration-thickness: 2px;
}
.hero-sub { color: rgba(255,255,255,0.45); font-size: 16px; line-height: 1.75; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 56px; }
.hero-stat-val { font-family: var(--fd); font-size: 30px; font-weight: 700; color: var(--gold-bright); display: block; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 2px; }

/* ══════ STAT CARDS ══════ */
.stat-card {
    background: var(--card); border-radius: var(--r-lg); padding: 22px;
    border: 1px solid var(--border-light); box-shadow: var(--sh-xs);
    transition: all var(--tr-md); position: relative; overflow: hidden;
}
.stat-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0; transition: opacity var(--tr);
}
.stat-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.stat-card:hover::before { opacity: 1; }
.stat-card-icon {
    width: 44px; height: 44px; border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px; font-size: 20px;
}
.stat-card-icon.gold { background: var(--gold-wash); }
.stat-card-icon.blue { background: var(--blue-bg); }
.stat-card-icon.green { background: var(--green-bg); }
.stat-card-icon.purple { background: var(--purple-bg); }
.stat-card-value { font-family: var(--fd); font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.stat-card-label { font-size: 12px; color: var(--text-4); font-weight: 500; }

/* ══════════════════════════════════════
   SIDEBAR & DASHBOARD
   ══════════════════════════════════════ */
.sidebar {
    background: linear-gradient(180deg, #0C1222 0%, #111E38 100%);
    color: #fff; position: fixed; left: 0; top: 0; bottom: 0;
    width: 244px; overflow-y: auto; z-index: 100;
    display: flex; flex-direction: column;
    border-right: 1px solid rgba(255,255,255,0.04);
}
.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

.sidebar-brand {
    padding: 20px 20px 18px; font-family: var(--fd);
    font-size: 21px; font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidebar-brand a { color: #fff; text-decoration: none; }
.sidebar-brand span { color: var(--gold-bright); }

.sidebar-section {
    padding: 20px 20px 6px; font-size: 10px;
    text-transform: uppercase; letter-spacing: 2px;
    color: rgba(255,255,255,0.2); font-weight: 700;
}
.sidebar-nav { list-style: none; padding: 4px 8px; }
.sidebar-nav li { margin-bottom: 1px; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; color: rgba(255,255,255,0.4);
    font-size: 13px; font-weight: 500; border-radius: var(--r-sm);
    transition: all var(--tr); position: relative;
}
.sidebar-nav a:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.04); }
.sidebar-nav a.active {
    color: var(--gold-bright); background: rgba(191,155,48,0.08);
}
.sidebar-nav a.active::before {
    content: ''; position: absolute; left: -8px; top: 8px; bottom: 8px;
    width: 3px; background: var(--gold); border-radius: 2px;
}
.sidebar-nav .icon { width: 18px; text-align: center; font-size: 14px; }

.dashboard-main {
    margin-left: 244px; padding: 28px 32px;
    min-height: 100vh; background: var(--bg);
}
.dashboard-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px; gap: 16px; flex-wrap: wrap;
}
.dashboard-title { font-size: 1.5rem; font-weight: 700; font-family: var(--fd); }

.sidebar-toggle {
    display: none; background: var(--card); border: 1px solid var(--border);
    border-radius: var(--r); padding: 8px 14px; font-size: 13px;
    cursor: pointer; margin-bottom: 14px; font-family: var(--ff);
}
@media (max-width: 1024px) {
    .sidebar { transform: translateX(-100%); transition: transform var(--tr-md); }
    .sidebar.open { transform: translateX(0); }
    .dashboard-main { margin-left: 0; padding: 18px 14px; }
    .sidebar-toggle { display: block; }
}

/* ══════ FEATURES ══════ */
.features-grid, .services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px;
}
.feature-card, .service-card {
    background: var(--card); border-radius: var(--r-lg);
    padding: 30px 24px; border: 1px solid var(--border-light);
    transition: all var(--tr-md); position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--gold-bright), var(--gold), transparent);
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover, .service-card:hover {
    box-shadow: var(--sh-lg); transform: translateY(-4px); border-color: transparent;
}
.feature-icon, .service-icon {
    width: 50px; height: 50px; border-radius: var(--r-md);
    background: var(--gold-wash); display: flex; align-items: center;
    justify-content: center; font-size: 24px; margin-bottom: 18px;
}
.service-card { text-align: center; }
.service-icon { margin: 0 auto 18px; }
.feature-card h3, .service-card h3 {
    font-family: var(--ff); font-weight: 600; font-size: 0.95rem; margin-bottom: 8px;
}
.feature-card p, .service-card p { color: var(--text-3); font-size: 13.5px; line-height: 1.6; }

/* ══════ REVIEWS ══════ */
.stars { display: inline-flex; gap: 1px; color: var(--gold); font-size: 15px; }
.stars .empty { color: var(--border); }
.review-card {
    background: var(--card); border-radius: var(--r-md);
    padding: 22px; border: 1px solid var(--border-light);
    margin-bottom: 12px; transition: box-shadow var(--tr);
}
.review-card:hover { box-shadow: var(--sh); }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review-author { font-weight: 600; font-size: 14px; }
.review-date { font-size: 11px; color: var(--text-4); }
.review-comment { color: var(--text-2); line-height: 1.6; font-size: 13.5px; }
.review-response { margin-top: 14px; padding: 14px; background: var(--bg); border-radius: var(--r-sm); border-left: 3px solid var(--gold); }
.review-response-label { font-size: 11px; font-weight: 700; color: var(--gold-deep); margin-bottom: 4px; }

/* ══════ VEHICLES ══════ */
.vehicle-card {
    background: var(--card); border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--border-light); box-shadow: var(--sh-xs);
    transition: all var(--tr-md);
}
.vehicle-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.vehicle-card-img { width: 100%; height: 180px; object-fit: cover; background: var(--border-light); }
.vehicle-card-body { padding: 18px; }
.vehicle-card-title { font-size: 1rem; margin-bottom: 4px; }
.vehicle-card-info { display: flex; gap: 12px; color: var(--text-4); font-size: 12px; margin-bottom: 10px; }
.vehicle-feature { display: inline-flex; padding: 3px 8px; background: var(--bg); border-radius: 4px; font-size: 11px; color: var(--text-3); margin: 2px; }
.vehicle-option { cursor: pointer; border: 2px solid var(--border); border-radius: var(--r-md); padding: 14px; transition: all var(--tr); }
.vehicle-option:hover { border-color: var(--gold-wash); background: var(--gold-wash); }
.vehicle-option.selected { border-color: var(--gold); background: var(--gold-wash); }

/* ══════ BOOKING WIDGET ══════ */
.booking-widget {
    background: var(--card); border-radius: var(--r-xl);
    box-shadow: var(--sh-xl); padding: 32px;
    border: 1px solid var(--border-light);
}
.booking-widget-title { font-family: var(--fd); font-size: 1.4rem; margin-bottom: 24px; text-align: center; }
.booking-step { display: none; }
.booking-step.active { display: block; animation: fadeUp 0.3s var(--ease); }
.booking-steps-indicator { display: flex; justify-content: center; gap: 6px; margin-bottom: 24px; }
.step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all var(--tr); }
.step-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }
.step-dot.done { background: var(--green); }

.price-display {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    color: #fff; border-radius: var(--r-md); padding: 24px; text-align: center; margin: 20px 0;
    position: relative; overflow: hidden;
}
.price-display::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 60%; height: 200%;
    background: radial-gradient(ellipse, rgba(191,155,48,0.08), transparent 60%);
}
.price-display .price-amount { font-family: var(--fd); font-size: 2.4rem; font-weight: 700; color: var(--gold-bright); position: relative; }
.price-display .price-label { font-size: 12px; color: rgba(255,255,255,0.45); position: relative; }
.price-detail { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; color: rgba(255,255,255,0.5); position: relative; }
.price-detail.total { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px; margin-top: 6px; font-weight: 600; color: #fff; }

/* ══════ AUTOCOMPLETE ══════ */
.autocomplete-wrapper { position: relative; }
.autocomplete-results {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 0 0 var(--r) var(--r); box-shadow: var(--sh-lg);
    max-height: 220px; overflow-y: auto; z-index: 50; display: none;
}
.autocomplete-results.visible { display: block; }
.autocomplete-item { padding: 10px 14px; cursor: pointer; font-size: 13.5px; border-bottom: 1px solid var(--border-light); transition: background var(--tr); }
.autocomplete-item:hover { background: var(--gold-wash); }
.autocomplete-item .address-main { font-weight: 500; }
.autocomplete-item .address-sub { font-size: 11px; color: var(--text-4); }

/* ══════ MAP ══════ */
.map-container { width: 100%; height: 380px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }

/* ══════ AUTH ══════ */
.auth-page { min-height: 100vh; display: flex; }
.auth-left {
    flex: 1; background: var(--ink); display: flex; align-items: center;
    justify-content: center; padding: 48px; position: relative; overflow: hidden;
}
.auth-left::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(191,155,48,0.06), transparent 60%);
}
.auth-left-content { position: relative; z-index: 1; color: #fff; max-width: 380px; }
.auth-left-content h1 { color: #fff; font-size: 2.2rem; margin-bottom: 14px; }
.auth-left-content p { color: rgba(255,255,255,0.45); font-size: 15px; line-height: 1.7; }
.auth-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px; overflow-y: auto; }
.auth-form { width: 100%; max-width: 400px; }
.auth-form h2 { margin-bottom: 6px; }
.auth-form .subtitle { color: var(--text-4); font-size: 14px; margin-bottom: 28px; }
.auth-divider { text-align: center; margin: 22px 0; position: relative; }
.auth-divider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--border); }
.auth-divider span { background: var(--bg); padding: 0 14px; position: relative; color: var(--text-4); font-size: 12px; }
.check-list { list-style: none; margin-top: 28px; }
.check-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: rgba(255,255,255,0.55); font-size: 13.5px; }
.check-list li::before { content: '✓'; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(191,155,48,0.1); color: var(--gold-bright); font-size: 10px; font-weight: 700; flex-shrink: 0; }
@media (max-width: 768px) { .auth-left { display: none; } .auth-right { padding: 28px 16px; } }

.chauffeur-hero { min-height: 60vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 64px; }

/* ══════ CHAT WIDGET ══════ */
.chat-bubble { position: fixed; bottom: 24px; right: 24px; z-index: 9000; }
.chat-btn { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #fff; border: none; font-size: 24px; cursor: pointer; box-shadow: var(--sh-lg); transition: all var(--tr); display: flex; align-items: center; justify-content: center; }
.chat-btn:hover { transform: scale(1.08); box-shadow: var(--sh-xl); }
.chat-panel { position: fixed; bottom: 92px; right: 24px; width: 360px; max-height: 480px; background: var(--card); border-radius: var(--r-xl); box-shadow: var(--sh-xl); border: 1px solid var(--border); z-index: 9001; display: none; flex-direction: column; overflow: hidden; }
.chat-panel.open { display: flex; animation: fadeUp 0.25s var(--ease); }
.chat-panel-head { padding: 16px 18px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; }
.chat-panel-head h4 { font-family: var(--ff); font-size: 14px; font-weight: 600; color: #fff; }
.chat-panel-body { flex: 1; overflow-y: auto; padding: 16px; max-height: 300px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 80%; padding: 10px 14px; border-radius: var(--r-md); font-size: 13.5px; line-height: 1.5; }
.chat-msg.client { background: var(--gold-wash); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg.chauffeur { background: var(--bg); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-panel-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border-light); }
.chat-panel-input input { flex: 1; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 13px; font-family: var(--ff); outline: none; }
.chat-panel-input input:focus { border-color: var(--gold); }
.chat-panel-input button { background: var(--gold); color: #fff; border: none; border-radius: var(--r-sm); padding: 8px 14px; font-weight: 600; cursor: pointer; font-size: 13px; }
@media (max-width: 480px) { .chat-panel { right: 12px; left: 12px; width: auto; bottom: 84px; } }

/* ══════ FOOTER ══════ */
.footer { background: var(--ink); color: rgba(255,255,255,0.35); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-brand { font-family: var(--fd); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-brand span { color: var(--gold-bright); }
.footer-desc { font-size: 13.5px; line-height: 1.7; }
.footer h4 { color: rgba(255,255,255,0.6); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; font-family: var(--ff); font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.3); font-size: 13px; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.04); padding-top: 22px; text-align: center; font-size: 12px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

/* ══════ MODAL ══════ */
.modal-overlay { position: fixed; inset: 0; background: rgba(12,18,34,0.5); backdrop-filter: blur(4px); z-index: 9000; display: none; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--sh-xl); max-width: 540px; width: 92%; max-height: 88vh; overflow-y: auto; padding: 32px; animation: fadeUp 0.25s var(--ease); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.modal-close { width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--bg); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--text-4); transition: all var(--tr); }
.modal-close:hover { background: var(--red-bg); color: var(--red); }

/* ══════ TOAST ══════ */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--card); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 14px 18px; display: flex; align-items: center; gap: 10px; min-width: 280px; max-width: 400px; animation: slideIn 0.3s var(--ease); border-left: 4px solid var(--gold); font-size: 13.5px; }
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }

.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════ PAGINATION ══════ */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 22px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: var(--r-sm); font-size: 13px; font-weight: 500; border: 1px solid var(--border); color: var(--text-2); transition: all var(--tr); }
.pagination a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-wash); }
.pagination .active { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #fff; border-color: var(--gold); font-weight: 600; box-shadow: var(--gold-shadow); }

/* ══════ ANIMATIONS ══════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
.fade-up { animation: fadeUp 0.5s var(--ease) both; }
.fade-up-d1 { animation-delay: 0.08s; }
.fade-up-d2 { animation-delay: 0.16s; }
.fade-up-d3 { animation-delay: 0.24s; }

/* ══════ PRINT ══════ */
@media print {
    .sidebar, .navbar, .chat-bubble, .chat-panel, .toast-container, .sidebar-toggle, .btn { display: none !important; }
    .dashboard-main { margin-left: 0 !important; padding: 0 !important; }
    body { background: #fff; color: #000; font-size: 12px; }
    .card { box-shadow: none; border: 1px solid #ddd; }
}

/* ══════ COOKIE BANNER ══════ */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--ink); color: rgba(255,255,255,0.7);
    padding: 16px 24px; z-index: 9999;
    font-size: 13px; border-top: 1px solid rgba(255,255,255,0.05);
    animation: slideUp 0.4s var(--ease);
}
.cookie-banner .container {
    display: flex; align-items: center;
    justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ══════ LEGAL PAGES ══════ */
.legal-content h2 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--ink); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 12px; }
.legal-content ul { margin: 8px 0 16px 24px; }
.legal-content li { margin-bottom: 6px; }

/* ══════ CONTACT PAGE ══════ */
.contact-info .card { transition: all var(--tr-md); }
.contact-info .card:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

/* ══════ INVOICE PRINT ══════ */
@media print {
    .invoice-actions, .sidebar, .navbar, .dashboard-header,
    .sidebar-toggle, .breadcrumb { display: none !important; }
    .dashboard-main { margin: 0 !important; padding: 20px !important; }
    .invoice-container { box-shadow: none !important; border: none !important; }
}

/* ══════ ENHANCED TABLE SEARCH ══════ */
.search-bar {
    position: relative; max-width: 320px; margin-bottom: 16px;
}
.search-bar input {
    width: 100%; padding: 9px 14px 9px 38px;
    border: 1.5px solid var(--border); border-radius: var(--r);
    font-family: var(--ff); font-size: 13.5px;
    transition: border var(--tr), box-shadow var(--tr);
    outline: none; background: var(--card);
}
.search-bar input:focus {
    border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash);
}
.search-bar::before {
    content: '🔍'; position: absolute; left: 12px; top: 50%;
    transform: translateY(-50%); font-size: 14px; opacity: 0.35;
    pointer-events: none;
}

/* ══════ WHATSAPP BUTTON ══════ */
.whatsapp-float {
    position: fixed; bottom: 24px; left: 24px; z-index: 9000;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center;
    justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.3);
    transition: all 0.2s var(--ease); text-decoration: none; font-size: 28px;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.4); }

/* ══════ STAT TREND BADGES ══════ */
.trend { font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 4px; margin-top: 6px; }
.trend-up { background: var(--green-bg); color: var(--green); }
.trend-down { background: var(--red-bg); color: var(--red); }

/* ══════ LOADING OVERLAY ══════ */
.loading-overlay {
    position: fixed; inset: 0; background: rgba(246,245,242,0.85);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000; backdrop-filter: blur(4px);
}
.loading-spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--border); border-top-color: var(--gold);
    border-radius: 50%; animation: spin 0.7s linear infinite;
}

/* ══════ ENHANCED RESPONSIVE ══════ */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .footer-grid { gap: 24px; }
    .features-grid { gap: 12px; }
    .feature-card { padding: 22px 18px; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .btn-xl { padding: 14px 24px; font-size: 14px; }
}

/* ══════════════════════════════════════
   ENHANCED VISUALS — Premium Polish
   ══════════════════════════════════════ */

/* ══════ GLASS CARDS ══════ */
.card-premium {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(191,155,48,0.12);
    box-shadow: var(--sh), 0 0 0 1px rgba(191,155,48,0.04);
}
.card-premium:hover {
    border-color: rgba(191,155,48,0.2);
    box-shadow: var(--sh-md), 0 0 0 1px rgba(191,155,48,0.08);
}

/* ══════ GRADIENT TEXT ══════ */
.text-gradient {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-deep));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ══════ GLOW EFFECTS ══════ */
.glow-gold { box-shadow: 0 0 20px rgba(191,155,48,0.15), 0 0 60px rgba(191,155,48,0.05); }
.glow-green { box-shadow: 0 0 20px rgba(5,150,105,0.15); }

/* ══════ ANIMATED BORDER ══════ */
.border-shimmer {
    position: relative;
    overflow: hidden;
}
.border-shimmer::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), var(--gold), transparent);
    animation: borderShimmer 3s ease infinite;
}
@keyframes borderShimmer { 0% { left: -100%; } 100% { left: 100%; } }

/* ══════ FLOATING LABELS ══════ */
.form-floating {
    position: relative;
}
.form-floating .form-input {
    padding-top: 18px;
    padding-bottom: 6px;
}
.form-floating .form-label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    transition: all 0.2s ease;
    pointer-events: none;
    font-size: 14px;
    color: var(--text-4);
    margin: 0;
}
.form-floating .form-input:focus + .form-label,
.form-floating .form-input:not(:placeholder-shown) + .form-label {
    top: 8px;
    transform: translateY(0);
    font-size: 10px;
    color: var(--gold);
    font-weight: 700;
}

/* ══════ HERO PARTICLES ══════ */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-bright);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}
@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.1; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1.5); }
}

/* ══════ PRICING CARD HOVER ══════ */
.pricing-card {
    transition: all var(--tr-md);
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-xl), 0 0 40px rgba(191,155,48,0.12);
}
.pricing-popular {
    border-color: var(--gold);
    box-shadow: var(--sh-lg), 0 0 0 1px var(--gold);
}

/* ══════ FEATURE CARD IMPROVEMENTS ══════ */
.feature-card .feature-icon {
    transition: all var(--tr-md);
}
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: var(--gold-shadow);
}

/* ══════ TESTIMONIAL CARD ══════ */
.testimonial-card {
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 16px;
    font-family: Georgia, serif;
    font-size: 80px;
    color: var(--gold-wash);
    line-height: 1;
    pointer-events: none;
}
.testimonial-card:hover {
    border-color: rgba(191,155,48,0.15);
}

/* ══════ STAT CARD HOVER GLOW ══════ */
.stat-card:hover .stat-card-icon {
    transform: scale(1.08);
    transition: transform var(--tr);
}
.stat-card:hover .stat-card-icon.gold { box-shadow: 0 4px 16px rgba(191,155,48,0.2); }
.stat-card:hover .stat-card-icon.green { box-shadow: 0 4px 16px rgba(5,150,105,0.2); }
.stat-card:hover .stat-card-icon.blue { box-shadow: 0 4px 16px rgba(37,99,235,0.2); }
.stat-card:hover .stat-card-icon.purple { box-shadow: 0 4px 16px rgba(124,58,237,0.2); }

/* ══════ SIDEBAR POLISH ══════ */
.sidebar-nav a {
    position: relative;
}
.sidebar-nav a.active::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--gold-bright);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold-bright);
}

/* ══════ BTN SHINE EFFECT ══════ */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before {
    left: 100%;
}

/* ══════ SMOOTH SCROLLBAR ══════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-4); }

/* ══════ HERO CTA PULSE ══════ */
.hero .btn-primary {
    animation: ctaPulse 3s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: var(--gold-shadow); }
    50% { box-shadow: 0 6px 30px rgba(191,155,48,0.35); }
}

/* ══════ PRICING BADGE ══════ */
.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: #fff;
    padding: 5px 20px;
    border-radius: 0 0 10px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(191,155,48,0.3);
}

/* ══════ SECTION DIVIDER ══════ */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0;
    border: none;
}

/* ══════ NUMBER HIGHLIGHT ══════ */
.number-highlight {
    font-family: var(--fd);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(180deg, var(--ink), var(--ink-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ══════ TRUST BADGES ROW ══════ */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: var(--card);
    border-radius: var(--r-full);
    border: 1px solid var(--border-light);
    box-shadow: var(--sh-xs);
    transition: all var(--tr);
}
.trust-badge:hover {
    box-shadow: var(--sh);
    transform: translateY(-1px);
}

/* ══════ SOCIAL ICONS ══════ */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.4);
    font-size: 16px;
    transition: all var(--tr);
    text-decoration: none;
}
.social-link:hover {
    background: rgba(191,155,48,0.15);
    color: var(--gold-bright);
    transform: translateY(-2px);
}

/* ══════ ANIMATIONS PREMIUM ══════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }

.fade-up { animation: fadeUp 0.7s var(--ease) both; }
.fade-up-delay { animation: fadeUp 0.7s var(--ease) 0.15s both; }
.fade-up-delay-2 { animation: fadeUp 0.7s var(--ease) 0.3s both; }
.float { animation: float 3s ease-in-out infinite; }

/* ══════ HERO PREMIUM ══════ */
.hero {
    background: linear-gradient(180deg, var(--ink) 0%, #0a0f1d 100%);
    padding: 160px 0 100px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(191,155,48,0.06), transparent);
}
.hero::after {
    content: ''; position: absolute; top: -50%; left: -25%; width: 150%; height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(191,155,48,0.03) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 740px; margin: 0 auto; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600; color: var(--gold);
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 24px; animation: fadeUp 0.6s var(--ease) both;
}
.hero-eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold); animation: pulse 2s infinite;
}
.hero h1 {
    font-family: var(--fd); font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: #fff; line-height: 1.1; margin-bottom: 20px;
    animation: fadeUp 0.7s var(--ease) 0.1s both;
}
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero-sub {
    font-size: 17px; color: rgba(255,255,255,0.45);
    line-height: 1.7; max-width: 560px; margin: 0 auto 36px;
    animation: fadeUp 0.7s var(--ease) 0.2s both;
}
.hero-actions {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    animation: fadeUp 0.7s var(--ease) 0.3s both;
}
.hero-stats {
    display: flex; gap: 48px; justify-content: center; margin-top: 56px;
    animation: fadeUp 0.7s var(--ease) 0.4s both;
}
.hero-stat-val { display: block; font-size: 22px; font-weight: 700; color: #fff; }
.hero-stat-label { display: block; font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 4px; }

/* ══════ FEATURES GRID ══════ */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature-card {
    background: var(--bg); border-radius: var(--r-lg);
    padding: 28px 24px; transition: all var(--tr-md);
    border: 1px solid transparent; position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--gold-bright), var(--gold));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.feature-card:hover { border-color: var(--gold-wash); transform: translateY(-3px); box-shadow: var(--sh-md); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .feature-icon {
    width: 48px; height: 48px; border-radius: var(--r);
    background: var(--gold-wash); display: flex;
    align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 16px;
}
.feature-card h3 { font-family: var(--ff); font-size: 15px; margin-bottom: 8px; color: var(--ink); }
.feature-card p { font-size: 13.5px; color: var(--text-3); line-height: 1.6; }

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* ══════ SECTION SPACING ══════ */
.section { padding: 96px 0; }
.section h2 { font-family: var(--fd); font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--ink); margin-bottom: 12px; }

/* ══════ FOOTER PREMIUM ══════ */
.footer {
    background: var(--ink); padding: 64px 0 0; color: rgba(255,255,255,0.5);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px;
}
.footer-brand {
    font-family: var(--fd); font-size: 1.3rem; font-weight: 700;
    color: #fff; margin-bottom: 12px;
}
.footer-brand span { color: var(--gold); }
.footer-desc { font-size: 13.5px; line-height: 1.65; max-width: 280px; }
.footer h4 {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: rgba(255,255,255,0.3); margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 13.5px; text-decoration: none; transition: color var(--tr); }
.footer-links a:hover { color: var(--gold-bright); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0; text-align: center; font-size: 12.5px;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════ BTN ENHANCEMENTS ══════ */
.btn-xl {
    padding: 16px 36px; font-size: 15px; border-radius: var(--r-lg);
    font-weight: 700; letter-spacing: -0.01em;
}
.btn-ghost {
    background: transparent; color: rgba(255,255,255,0.6);
    border: 1.5px solid rgba(255,255,255,0.12);
    padding: 14px 28px; border-radius: var(--r-lg);
    font-weight: 600; font-size: 14px; cursor: pointer;
    transition: all var(--tr);
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); }

/* ══════ BUSINESS CARD LINK ══════ */
.tool-card {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px; border-radius: var(--r);
    border: 1px solid var(--border-light);
    transition: all var(--tr-md); cursor: pointer;
    text-decoration: none; color: var(--text);
}
.tool-card:hover { border-color: var(--gold); background: var(--gold-wash); transform: translateX(4px); }
.tool-card-icon { font-size: 24px; flex-shrink: 0; }
.tool-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.tool-card p { font-size: 12px; color: var(--text-4); }
