/* ==============================================================================
   FATIHA GLOBAL UTAMA LOGISTIK - Enterprise Landing Page & Auth Stylesheet
   Modern, Ultra-Crisp Corporate Logistics Aesthetic (Navy, Royal Blue & Glass)
   ============================================================================== */

:root {
    --primary-navy: #003366;
    --primary-blue: #0056b3;
    --accent-blue: #0066ff;
    --accent-cyan: #0ea5e9;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --text-heading: #0f172a;
    --text-body: #475569;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --border-hover: #cbd5e1;
    --blue-tint: #f0f6fe;
    --blue-tint-border: #dbeafe;
    --badge-bg: #e0edff;
    --badge-text: #004494;
    --success: #10b981;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 9999px;
    --shadow-subtle: 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 51, 102, 0.08), 0 8px 10px -6px rgba(0, 51, 102, 0.04);
    --shadow-lg: 0 20px 35px -10px rgba(0, 51, 102, 0.12), 0 10px 15px -5px rgba(0, 51, 102, 0.04);
    --shadow-floating: 0 25px 50px -12px rgba(0, 51, 102, 0.25);
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==============================================================================
   TYPOGRAPHY & GLOBAL UTILITIES
   ============================================================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 48px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-navy);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 51, 102, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.35);
    color: #ffffff;
}

.btn-outline {
    background-color: #ffffff;
    color: var(--primary-navy);
    border-color: var(--border-light);
    box-shadow: var(--shadow-subtle);
}

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

.btn-accent {
    background-color: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.25);
}

.btn-accent:hover {
    background-color: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 102, 255, 0.35);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 1.05rem;
}

/* ==============================================================================
   NAVBAR
   ============================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-symbol {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.brand-subtext {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-heading);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-heading);
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero-section {
    position: relative;
    padding: 70px 0 90px;
    background: linear-gradient(180deg, #f8fafc 0%, #edf4fc 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--badge-bg);
    color: var(--badge-text);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}

.hero-pill-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-heading);
    transition: var(--transition);
}

.hero-pill-feature:hover {
    transform: translateY(-2px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.hero-pill-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--blue-tint);
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-visual-wrapper {
    position: relative;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
}

.hero-image-card img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hero-floating-pill {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    padding: 14px 20px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.hero-floating-pill span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==============================================================================
   ABOUT US SECTION
   ============================================================================== */
.about-section {
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 0.9fr;
    gap: 32px;
    align-items: stretch;
}

.about-info-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-info-col p {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin: 16px 0 28px;
}

.about-visual-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-img-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 160px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-img-box:hover img {
    transform: scale(1.05);
}

.about-accent-box {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
    border-radius: var(--radius-md);
    padding: 24px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.about-accent-badge {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #93c5fd;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-accent-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
}

.about-standards-col {
    background: var(--blue-tint);
    border: 1px solid var(--blue-tint-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.standards-header {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.standards-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.standard-stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
}

.standard-stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

.standards-affiliations {
    padding-top: 20px;
    border-top: 1px solid var(--blue-tint-border);
}

.affiliation-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

.affil-badge {
    padding: 6px 14px;
    background: #ffffff;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary-navy);
    border: 1px solid var(--border-light);
}

.affiliation-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==============================================================================
   END TO END PROCESS
   ============================================================================== */
.process-section {
    background: var(--bg-light);
}

.process-stepper-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.process-step-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    position: relative;
}

.process-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.step-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--blue-tint);
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    background: var(--badge-bg);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==============================================================================
   OUR SPECIALTY
   ============================================================================== */
.specialty-section {
    background: #ffffff;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.specialty-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.specialty-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.specialty-img-wrap {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.specialty-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.specialty-card:hover .specialty-img-wrap img {
    transform: scale(1.05);
}

.specialty-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.specialty-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.specialty-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.specialty-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.specialty-link:hover {
    color: var(--accent-blue);
    gap: 10px;
}

/* ==============================================================================
   TRUSTED PARTNER ACROSS INDONESIA (MAP)
   ============================================================================== */
.map-section {
    background: linear-gradient(180deg, #f0f6fe 0%, #e2eeff 100%);
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
}

.map-stats-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.map-stat-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.95);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
}

.map-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary-navy);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.map-stat-info h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
}

.map-stat-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.map-visual-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    position: relative;
}

.indonesia-map-svg {
    width: 100%;
    height: auto;
    max-height: 380px;
}

/* Pulse nodes */
.hub-node {
    fill: var(--primary-blue);
    cursor: pointer;
    transition: var(--transition);
}

.hub-pulse {
    animation: hubPulseAnim 2s infinite ease-out;
    transform-origin: center;
}

@keyframes hubPulseAnim {
    0% { r: 6; opacity: 1; }
    100% { r: 18; opacity: 0; }
}

/* ==============================================================================
   OUR TRACKING SYSTEM (INTERACTIVE TRACKING)
   ============================================================================== */
.tracking-section {
    position: relative;
    padding: 60px 0 75px;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-light);
}

.tracking-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.tracking-search-box {
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.tracking-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.tracking-input {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-pill);
    outline: none;
    transition: var(--transition);
    background: var(--bg-light);
}

.tracking-input:focus {
    border-color: var(--accent-blue);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.15);
}

.tracking-demo-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.demo-awb-tag {
    cursor: pointer;
    background: var(--blue-tint);
    color: var(--primary-navy);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-weight: 600;
    transition: var(--transition);
}

.demo-awb-tag:hover {
    background: var(--primary-navy);
    color: #ffffff;
}

.tracking-feature-list {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tracking-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
}

.tracking-feat-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.tracking-mockup-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-floating);
    border: 8px solid #ffffff;
}

/* ==============================================================================
   LOGISTICS OPERATIONAL FLOW
   ============================================================================== */
.flow-section {
    background: var(--bg-light);
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.flow-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.flow-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.flow-img-wrap {
    height: 140px;
    overflow: hidden;
}

.flow-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.flow-card:hover .flow-img-wrap img {
    transform: scale(1.05);
}

.flow-body {
    padding: 16px;
    text-align: center;
}

.flow-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.flow-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==============================================================================
   CTA BANNER & FOOTER
   ============================================================================== */
.cta-banner {
    position: relative;
    background: url('/images/fatiha_highway_banner.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 90px 0;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 36, 77, 0.94) 0%, rgba(0, 48, 102, 0.85) 50%, rgba(0, 36, 77, 0.94) 100%);
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 32px;
}

.cta-office-info {
    margin-top: 36px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    color: #ffffff;
}

/* Footer */
.footer {
    background: #001f3f;
    color: #94a3b8;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.footer-link {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--accent-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* ==============================================================================
   INTEGRATED LOGIN PAGE STYLES (/login)
   ============================================================================== */
.login-page-body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #091e3a 0%, #002b66 50%, #001833 100%);
    position: relative;
    padding: 32px 16px !important;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

.login-page-body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.25) 0%, rgba(0, 102, 255, 0) 70%);
    top: -150px;
    right: -150px;
    border-radius: 50%;
    pointer-events: none;
}

.login-page-body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(14, 165, 233, 0) 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.login-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 540px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 36px 30px;
    margin: auto;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.login-wrapper-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1020px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 22px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.9);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    overflow: hidden;
    margin: auto;
    transition: all 0.3s ease;
}

.login-form-col {
    padding: 30px 32px 26px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #e2e8f0;
    background: #ffffff;
}

.login-role-col {
    padding: 28px 28px;
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand-header {
    text-align: center;
    margin-bottom: 24px;
}

.login-brand-header .brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
}

.login-persona-selector {
    margin-bottom: 22px;
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 14px;
}

.persona-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #1e3a8a;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.persona-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.persona-chip {
    padding: 8px 13px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.persona-chip:hover {
    border-color: #0284c7;
    background: #f8fafc;
    transform: translateY(-1px);
}

.persona-chip.active {
    background: #003366;
    color: #ffffff;
    border-color: #003366;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.persona-chip:focus-visible {
    outline: 2px solid #0284c7;
    outline-offset: 2px;
}

/* Dynamic single-line preview below chips */
.persona-quick-desc {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #1e40af;
}

.persona-quick-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    background: #dbeafe;
    color: #1e40af;
    white-space: nowrap;
}

/* Role Guide Explanation Component */
.login-role-guide {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed #cbd5e1;
}

.role-guide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.role-guide-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
}

.role-guide-note {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
}

.role-guide-cards {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.role-item-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 11px 13px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    outline: none;
}

.role-item-card:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.role-item-card.highlighted {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.role-item-card.role-admin.highlighted {
    background: #eff6ff;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.role-item-card.role-dispatcher.highlighted {
    background: #ecfdf5;
    border-color: #059669;
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.25);
}

.role-item-card.role-hub.highlighted {
    background: #fffbeb;
    border-color: #d97706;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.25);
}

.role-item-card.role-driver.highlighted {
    background: #fff7ed;
    border-color: #ea580c;
    box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.25);
}

.role-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    gap: 8px;
    flex-wrap: wrap;
}

.role-badge {
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-admin { color: #1e40af; }
.badge-dispatcher { color: #065f46; }
.badge-hub { color: #92400e; }
.badge-driver { color: #9a3412; }

.scope-pill {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 9999px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
}

.scope-all { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.scope-region { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.scope-hub { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.scope-own { background: #ffedd5; color: #9a3412; border: 1px solid #fed7aa; }

.role-item-desc {
    margin: 0;
    font-size: 0.77rem;
    line-height: 1.45;
    color: #475569;
}

@media (max-width: 540px) {
    .login-page-body {
        padding: 16px 10px !important;
        align-items: flex-start;
    }
    .login-card {
        padding: 22px 16px;
        border-radius: 16px;
        max-width: 100%;
    }
    .login-brand-header {
        margin-bottom: 18px;
    }
    .login-brand-header h2 {
        font-size: 1.15rem !important;
    }
    .login-brand-header p {
        font-size: 0.8rem !important;
    }
    .persona-chips {
        gap: 6px;
    }
    .persona-chip {
        flex: 1 1 calc(50% - 6px);
        padding: 8px 8px;
        font-size: 0.78rem;
        justify-content: center;
        text-align: center;
    }
    .form-control {
        font-size: 16px !important;
        padding: 10px 14px;
    }
    .role-item-card {
        padding: 10px 11px;
    }
    .role-item-desc {
        font-size: 0.74rem;
    }
}

@media (max-width: 360px) {
    .persona-chip {
        flex: 1 1 100%;
    }
    .role-item-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.form-control-wrap {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-heading);
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
}

.toggle-pwd-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
}

.form-extra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-body);
}

.forgot-link {
    color: var(--primary-blue);
    font-weight: 600;
}

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

.login-alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 18px;
    display: none;
}

.login-alert.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.login-alert.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.login-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.login-back-btn:hover {
    color: var(--primary-navy);
}

/* ==============================================================================
   LIVE TRACKING MODAL OVERLAY
   ============================================================================== */
.tracking-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tracking-modal-backdrop.open {
    display: flex;
}

.tracking-modal-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-floating);
    border: 1px solid var(--border-light);
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.4rem;
    padding: 4px;
    line-height: 1;
}

.modal-body {
    padding: 24px;
}

/* Timeline stepper */
.timeline-list {
    margin-top: 20px;
    position: relative;
    padding-left: 28px;
}

.timeline-list::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--border-light);
}

.timeline-entry {
    position: relative;
    margin-bottom: 20px;
}

.timeline-node {
    position: absolute;
    left: -28px;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--primary-blue);
}

.timeline-entry.active .timeline-node {
    background: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.2);
}

.timeline-time {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.timeline-action {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-body);
}

/* ==============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .map-grid {
        grid-template-columns: 1fr;
    }
    .tracking-split {
        grid-template-columns: 1fr;
    }
    .process-stepper-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==============================================================================
   RESPONSIVE BOTTOM NAVIGATION BAR FOR LANDING PAGE
   (Sleek Frosted Glass, Touch Ergonomic, Safe-Area Supported)
   ============================================================================== */
.landing-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    z-index: 1000;
    padding: 4px 6px max(4px, env(safe-area-inset-bottom, 0px)) 6px;
    justify-content: space-around;
    align-items: center;
}

.landing-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    padding: 5px 4px;
    border-radius: 10px;
    flex: 1;
    max-width: 68px;
    min-height: 48px;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.landing-bottom-item svg {
    width: 20px;
    height: 20px;
    transition: transform 0.18s ease, stroke 0.18s ease;
}

.landing-bottom-item:active {
    transform: scale(0.92);
}

.landing-bottom-item.active {
    color: #0056b3;
    font-weight: 800;
    background: rgba(0, 86, 179, 0.08);
}

.landing-bottom-item.active svg {
    transform: scale(1.12);
    stroke: #0056b3;
}

.landing-bottom-login {
    color: #003366;
    font-weight: 700;
}

@media (max-width: 860px) {
    .nav-menu {
        display: none !important;
    }
    .mobile-toggle {
        display: none !important;
    }
    .landing-bottom-nav {
        display: flex !important;
    }
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .footer {
        padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-features-grid {
        grid-template-columns: 1fr;
    }
    .specialty-grid {
        grid-template-columns: 1fr;
    }
    .process-stepper-grid {
        grid-template-columns: 1fr;
    }
    .flow-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}
