@import url('../shared/design-system.css');

:root{
    --brand:#0d6efd;
    --brand-dark:#0b5ed7;
    --brand-light:#eef5ff;
    --brand-tint:#dce7ff;
    --ink: var(--text-primary);
    --ink-soft: var(--text-secondary);
    --muted: var(--text-muted);
    --border-soft: var(--border-color);
    --surface:#ffffff;
    --soft-bg:#f7f9fc;
    --success: var(--text-success);
    --warning: var(--tb-warning);
    --danger: var(--text-danger);
    --info:#4f8dff;

    /* Using design system tokens */
    --radius-sm: var(--radius-sm);
    --radius-md: var(--radius-md);
    --radius-lg: var(--radius-lg);
    --radius-xl: var(--radius-xl);

    --shadow-sm:0 2px 10px rgba(18,32,58,.06);
    --shadow-md:0 14px 32px rgba(18,32,58,.10);
    --shadow-lg:0 24px 64px rgba(18,32,58,.16);
    --ease-standard:cubic-bezier(.2,.8,.2,1);
    --motion-fast:150ms;
    --motion-normal:250ms;
    --motion-slow:450ms;
}

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

html{
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
    overflow-x:hidden;
    background: transparent;
}

:where(button,a,input,select,textarea):focus-visible{
    outline:3px solid rgba(13,110,253,.28);
    outline-offset:3px;
}

body{
    width:100%;
    max-width:100%;
    font-family:'Poppins',sans-serif;
    background: transparent;
    color: var(--text-primary);
    overflow-x:hidden;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled{
    cursor:not-allowed;
    opacity:.62;
}

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

/* ==========================
   PREMIUM TARGET HERO SECTION
========================== */

.tb-hero-section {
    position: relative;
    width: 100%;
    padding-top: 110px;
    padding-inline: clamp(16px, 2.5vw, 40px);
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 12% 18%, rgba(13, 110, 253, 0.05) 0%, rgba(248, 252, 255, 0.98) 100%);
    overflow: hidden;
}

.hero-container {
    width: min(100% - clamp(24px, 3.5vw, 64px), 1600px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 3vw, 68px);
    position: relative;
    z-index: 2;
}

.hero-left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--tb-navy, #0b213f);
    margin-bottom: 1.25rem;
}

.hero-title .text-brand {
    color: var(--tb-primary, #0d6efd);
    background: linear-gradient(135deg, #0d6efd 0%, #3d8bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: clamp(0.975rem, 1.15vw, 1.1rem);
    line-height: 1.6;
    color: var(--tb-ink-soft, #33415c);
    max-width: 620px;
    margin-bottom: 1.5rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: nowrap;
}

.hero-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.85rem 1.75rem;
    font-size: var(--text-md, 1rem);
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--tb-primary, #0d6efd) 0%, var(--tb-primary-dark, #0b5ed7) 100%);
    border-radius: var(--tb-radius-full, 9999px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.28);
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-primary-btn:hover, .hero-primary-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(13, 110, 253, 0.38);
    color: #ffffff !important;
}

.hero-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-size: var(--text-md, 1rem);
    font-weight: 600;
    color: var(--tb-navy, #0b213f);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--tb-border, #e6ecf9);
    border-radius: var(--tb-radius-full, 9999px);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s ease, border-color 0.25s ease;
}

.hero-secondary-btn:hover, .hero-secondary-btn:focus-visible {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: var(--tb-primary, #0d6efd);
    color: var(--tb-primary, #0d6efd);
}

/* Statistics Row - Single Horizontal Row on Desktop */
.hero-stats-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 580px;
    gap: 0;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(230, 236, 249, 0.9);
    border-radius: var(--tb-radius-md, 16px);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 16px rgba(18, 32, 58, 0.03);
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 0.75rem;
}

.stat-number {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 800;
    color: var(--tb-navy, #0b213f);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tb-muted, #667797);
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--tb-border, #e6ecf9);
    flex-shrink: 0;
}

/* Search / Pick / Deliver Quick Actions - Single Horizontal Line on Desktop */
.tb-hero-quick-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    max-width: 600px;
}

.tb-action-card {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    background: #ffffff;
    border: 1px solid var(--tb-border, #e6ecf9);
    border-radius: var(--tb-radius-md, 14px);
    box-shadow: 0 4px 14px rgba(18, 32, 58, 0.05);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease;
}

.tb-action-card:hover, .tb-action-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(18, 32, 58, 0.1);
    border-color: var(--tb-primary, #0d6efd);
    outline: none;
}

.action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--tb-primary-light, #eef5ff);
    color: var(--tb-primary, #0d6efd);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.action-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    overflow: hidden;
}

.action-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--tb-navy, #0b213f);
    white-space: nowrap;
}

.action-sub {
    font-size: 0.7rem;
    color: var(--tb-muted, #667797);
    white-space: nowrap;
}

.action-arrow {
    color: var(--tb-muted, #94a3b8);
    font-size: 0.75rem;
    padding-inline: 0.1rem;
    flex-shrink: 0;
}

/* Right Side Large Dominant Hero Visual */
.hero-right-visual {
    position: relative;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-visual-stage {
    position: relative;
    width: 100%;
    max-width: none;
}

.hero-glow {
    position: absolute;
    inset: -5%;
    background: radial-gradient(circle, rgba(70, 140, 255, 0.18) 0%, rgba(13, 110, 253, 0.08) 40%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.hero-grid-overlay {
    position: absolute;
    inset: -2%;
    background-image: radial-gradient(rgba(13, 110, 253, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(circle at center, black 50%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at center, black 50%, transparent 85%);
    z-index: 1;
    pointer-events: none;
}

.hero-image-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    border-radius: var(--tb-radius-lg, 24px);
    overflow: hidden;
}

.hero-visual {
    display: block;
    width: min(100%, 900px);
    max-width: none;
    height: auto;
    object-fit: contain;
    border-radius: var(--tb-radius-lg, 24px);
    filter: drop-shadow(0 16px 36px rgba(18, 32, 58, 0.1));
    -webkit-mask-image: radial-gradient(circle at center, black 70%, transparent 99%);
    mask-image: radial-gradient(circle at center, black 70%, transparent 99%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.hero-visual-stage:hover .hero-visual {
    transform: translateY(-4px) scale(1.015);
    filter: drop-shadow(0 24px 48px rgba(13, 110, 253, 0.22));
}

.hero-visual-stage:hover .hero-glow {
    background: radial-gradient(circle, rgba(70, 140, 255, 0.28) 0%, rgba(13, 110, 253, 0.12) 45%, transparent 70%);
    filter: blur(45px);
}

.hero-light-reflection {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 75%);
    z-index: 3;
    pointer-events: none;
    animation: lightSweep 9s ease-in-out infinite;
}

@keyframes lightSweep {
    0%, 100% {
        opacity: 0.2;
        transform: translateX(-30%);
    }
    50% {
        opacity: 0.6;
        transform: translateX(30%);
    }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-orb-1 {
    width: 140px;
    height: 140px;
    top: -20px;
    right: -20px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.2) 0%, transparent 70%);
    filter: blur(20px);
}

.hero-orb-2 {
    width: 180px;
    height: 180px;
    bottom: -30px;
    left: -20px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.14) 0%, transparent 70%);
    filter: blur(25px);
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-left-content {
        align-items: center;
        text-align: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-cta-group, .hero-stats-row, .tb-hero-quick-actions {
        justify-content: center;
    }

    .hero-stats-row {
        max-width: 100%;
    }

    .tb-hero-quick-actions {
        max-width: 100%;
    }

    .action-arrow {
        display: none;
    }

    .hero-image-frame {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .tb-hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-container {
        gap: 2rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-primary-btn, .hero-secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats-row {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem;
    }

    .stat-item {
        align-items: center;
        padding-inline: 0;
    }

    .stat-divider {
        width: 60%;
        height: 1px;
    }

    .tb-hero-quick-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .tb-action-card {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual-stage, .hero-light-reflection {
        animation: none !important;
        transform: none !important;
    }
}

/* ==========================
   PAGE-LOAD ENTRANCE MOTION
========================== */

@keyframes fade-down{
    from{ opacity:0; transform:translateY(-14px); }
    to{ opacity:1; transform:translateY(0); }
}

@keyframes fade-up{
    from{ opacity:0; transform:translateY(24px); }
    to{ opacity:1; transform:translateY(0); }
}

@keyframes pop-in{
    from{ opacity:0; transform:scale(.9); }
    to{ opacity:1; transform:scale(1); }
}

/* ==========================
   SCROLL REVEAL (on-view animation)
   script.js adds .hidden on load, then swaps
   in .show once each element enters the viewport.
========================== */

.hidden{
    opacity:0;
    transform:translateY(32px);
    transition:opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
    will-change:opacity, transform;
}

.hidden.show{
    opacity:1;
    transform:translateY(0);
}

/* Images/cards get a touch of scale for extra depth */
.post-image.hidden, .delivered-image.hidden, .trusted-image.hidden {
    transform: translateX(30px) scale(0.95);
    opacity: 0;
}

.get-image.hidden, .reach-image.hidden, .affordable-image.hidden {
    transform: translateX(-30px) scale(0.95);
    opacity: 0;
}

.post-text.hidden, .delivered-text.hidden, .trusted-text.hidden {
    transform: translateX(-30px);
    opacity: 0;
}

.get-text.hidden, .reach-text.hidden, .affordable-text.hidden {
    transform: translateX(30px);
    opacity: 0;
}

.post-image.hidden.show, .get-image.hidden.show, .reach-image.hidden.show,
.trusted-image.hidden.show, .affordable-image.hidden.show, .delivered-image.hidden.show,
.about-image.hidden.show,
.post-text.hidden.show, .get-text.hidden.show, .reach-text.hidden.show,
.trusted-text.hidden.show, .affordable-text.hidden.show, .delivered-text.hidden.show {
    transform: translate(0) scale(1);
    opacity: 1;
}

.orbit-wrap.hidden{
    transform:translateY(20px) scale(.9);
}

.orbit-wrap.hidden.show{
    transform:translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce){
    .hidden{
        opacity:1 !important;
        transform:none !important;
        transition:none !important;
    }
}

header{
    animation:fade-down .6s cubic-bezier(.2,.8,.2,1) both;
}


.register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background:var(--brand-tint);
    color:#7291d2;
    border:none;
    padding:12px 24px;
    border-radius:var(--radius-pill);
    cursor:pointer;
    font-size: var(--text-sm);
    transition:.3s;
}

.register-btn:hover{
    background:#455c80;
    color:#edebeb;
}

/* ==========================
     MOBILE MENU TOGGLE
========================== */

.menu-toggle{
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:flex-end;
    gap:5px;
    width:32px;
    height:26px;
    background:none;
    border:none;
    cursor:pointer;
    padding:0;
    z-index:1101;
}

.menu-toggle span{
    display:block;
    width:100%;
    height:3px;
    border-radius:2px;
    background:var(--brand);
    transition:.3s ease;
}

.menu-toggle.active span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
    width:100%;
}

.nav-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.4);
    opacity:0;
    visibility:hidden;
    transition:opacity .3s ease;
    z-index:990;
}

.nav-overlay.active{
    opacity:1;
    visibility:visible;
}

body.nav-open{
    overflow:hidden;
}




/* ==========================
     3D WORKFLOW SECTION
========================== */

.workflow-3d {
    padding: 50px 65px;
    text-align: center;

}

.workflow-heading {
    max-width: 800px;
    margin: 0 auto clamp(2rem, 5vw, 3rem);
}

.workflow-heading h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin: 5px 0 20px;
}

.timeline-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.journey-track {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--tb-border);
    z-index: 0;
}

.flow-item {
    position: relative;
    z-index: 1;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-num {
    width: 44px;
    height: 44px;
    background: var(--tb-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 24px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px var(--tb-border);
}

.flow-content h4 {
    font-size: var(--text-lg);
    margin-bottom: 12px;
}

.flow-content p {
    font-size: var(--text-sm);
    color: var(--tb-muted);
    line-height: 1.6;
}

.flow-icon-3d {
    margin-top: 24px;
    font-size: 32px;
    color: var(--tb-primary);
    opacity: 0.2;
    transition: all 0.4s ease;
}

.flow-item:hover .flow-icon-3d {
    opacity: 1;
    transform: translateZ(20px) scale(1.1);
}

@media(max-width: 1100px) {
    .timeline-3d {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .journey-track {
        display: none;
    }
    .flow-item {
        flex-direction: row;
        text-align: left;
        gap: 24px;
        padding: 24px;
    }
    .flow-num {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .flow-icon-3d {
        margin-top: 0;
        margin-left: auto;
    }
}

/* ==========================
   ONE PLATFORM, TWO WAYS
========================== */

.platform-ways {
    padding: 60px 40px 100px 40px;
    text-align: center;
}

.platform-ways h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.ways-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

/* One Platform cards */
.way-card {
    padding: 44px 36px;
    background: var(--tb-bg);
    border: 1px solid var(--tb-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--tb-shadow-l1);
    transform-style: preserve-3d;
    transition: transform 0.4s var(--tb-transition),
                box-shadow 0.4s var(--tb-transition),
                border-color 0.4s var(--tb-transition);
    position: relative;
    overflow: hidden;
}

.way-card:hover {
    transform: translateY(-8px) translateZ(20px);
    box-shadow: var(--tb-shadow-l3);
    border-color: rgba(13, 110, 253, 0.2);
}

.way-card h3 {
    transform: translateZ(30px);
}

.way-card p, .way-card .way-checklist, .way-card .way-btn {
    transform: translateZ(25px);
}

.way-card.highlight {
    border-color: rgba(13, 110, 253, 0.18);
}

.way-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--tb-primary), var(--tb-accent));
    border-radius: var(--tb-radius-md);
    margin-bottom: 24px;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.25);
}

.way-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.way-card > p {
    color: var(--tb-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.way-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.way-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-sm);
    color: var(--tb-ink-soft);
}

.way-checklist i {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--tb-success);
    background: rgba(34, 197, 94, 0.12);
    border-radius: 50%;
}

.way-btn {
    width: 100%;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .way-card,
    .way-card:hover {
        transition: none;
        transform: none;
    }
}

/* ==========================
   SMART ROUTE MATCHING
========================== */

.smart-matching {
    padding: 50px 65px;
    
}

@media (max-width: 768px) {
    .smart-matching {
        padding-block: var(--section-gap-mobile);
    }
}

.smart-matching-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.smart-matching-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto clamp(2rem, 5vw, 3.5rem);
}

.smart-matching-heading h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.smart-matching-heading p {
    color: var(--tb-muted);
    line-height: 1.7;
}

.route-card {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
    padding: clamp(28px, 4vw, 48px);
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--tb-shadow-l2);
}

.route-endpoint {
    flex: 0 0 auto;
    text-align: center;
    min-width: 92px;
}

.route-start .route-pin { background: linear-gradient(135deg, var(--tb-primary), var(--tb-accent)); }
.route-destination .route-target { background: linear-gradient(135deg, var(--tb-success), #16a34a); }

.route-pin,
.route-target {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.25);
}

.route-pin {
    background: linear-gradient(135deg, var(--tb-primary), var(--tb-accent));
}

.route-target {
    background: linear-gradient(135deg, var(--tb-success), #16a34a);
    box-shadow: 0 10px 22px rgba(34, 197, 94, 0.28);
}

.route-endpoint h3 {
    font-size: var(--text-md);
    margin-bottom: 2px;
}

.route-endpoint p {
    font-size: var(--text-xs);
    color: var(--tb-muted);
}

.route-track {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    position: relative;
}

.route-segment {
    flex: 1 1 0;
    min-width: 40px;
}

.route-place {
    display: block;
    font-size: 12px;
    color: var(--tb-muted);
    text-align: center;
    margin-bottom: 8px;
}

.route-line {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--tb-border);
    border-radius: 3px;
    overflow: hidden;
}

.route-progress {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--tb-primary), var(--tb-accent));
    border-radius: 3px;
    transition: width 1.1s var(--tb-transition);
}

.smart-matching.is-visible .route-progress {
    width: 100%;
}

.moving-parcel {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tb-primary);
    background: var(--tb-primary-light);
    border-radius: 50%;
    font-size: 16px;
    box-shadow: var(--tb-shadow-l2);
    transform: translateY(0) scale(0.8);
    opacity: 0;
    transition: opacity 0.6s ease 0.3s, transform 0.6s var(--tb-transition) 0.3s;
}

.smart-matching.is-visible .moving-parcel {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: parcel-bob 2.4s ease-in-out 1s infinite;
}

@keyframes parcel-bob {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1); }
}

@media (max-width: 768px) {
    .route-card {
        flex-direction: column;
    }
    .route-track {
        flex-direction: column;
        width: 100%;
        padding: 12px 0;
    }
    .route-segment {
        width: 100%;
    }
    .moving-parcel {
        transform: rotate(90deg) translateY(0) scale(0.8);
    }
    .smart-matching.is-visible .moving-parcel {
        transform: rotate(90deg) translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .route-progress,
    .moving-parcel {
        transition: none;
    }
    .smart-matching.is-visible .moving-parcel {
        animation: none;
    }
}

/* ==========================
   WHY CHOOSE TRAVELBUDDY
========================== */

.why-choose-section {
    /* padding: clamp(3rem, 6vw, 6rem) var(--container-px, 1.5rem);
    background: var(--tb-bg, #f7f9fc); */
    padding-left: 65px;
    padding-right: 65px;
}

.why-choose-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}

.why-choose-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--tb-navy, #0b213f);
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.why-choose-subtitle {
    font-size: clamp(0.975rem, 1.15vw, 1.1rem);
    line-height: 1.6;
    color: var(--tb-ink-soft, #475569);
    margin: 0 auto;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}

.why-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 1.75rem 1.5rem;
    background: #ffffff;
    border: 1px solid var(--tb-border, #e6ecf9);
    border-radius: var(--tb-radius-md, 16px);
    box-shadow: 0 4px 16px rgba(18, 32, 58, 0.04);
    transform-style: preserve-3d;
    transition: transform 0.4s var(--tb-transition),
                box-shadow 0.4s var(--tb-transition),
                border-color 0.4s var(--tb-transition);
}

.why-card:hover,
.why-card:focus-within {
    transform: translateY(-8px) translateZ(15px);
    box-shadow: 0 20px 40px rgba(18, 32, 58, 0.12);
    border-color: rgba(13, 110, 253, 0.3);
}

.why-card h3 {
    transform: translateZ(20px);
}

.why-card p {
    transform: translateZ(10px);
}

.why-icon {
    width: 44px;
    height: 44px;
    background: var(--tb-primary-light, #eef5ff);
    color: var(--tb-primary, #0d6efd);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.why-card:hover .why-icon {
    background: var(--tb-primary, #0d6efd);
    color: #ffffff;
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tb-navy, #0b213f);
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.why-card p {
    font-size: 0.925rem;
    color: var(--tb-ink-soft, #475569);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 480px;
    }

    .why-card {
        padding: 1.5rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .why-card,
    .why-card:hover,
    .why-icon {
        transition: none;
        transform: none;
    }
}

/* ==========================
   TRUST & SAFETY 3D
========================== */

.trust-safety-layout {
    padding: 10px, 60px;
}

.trust-safety-layout h2 {
    text-align: center;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--tb-navy, #0b213f);
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.safety-number {
    background: rgba(255,255,255,0.05);
    color: var(--tb-accent);
    border: 1px solid rgba(255,255,255,0.1);
}

.safety-item {
    border-bottom-color: rgba(255,255,255,0.05);
}

.safety-item h3 {
    color: #000;
}

.safety-item p {
    color: #000;
}
.orbit-hub {
    background: var(--tb-primary);
    box-shadow: 0 0 30px rgba(13,110,253,0.4);
}

/* Shared Helpers */
.text-blue { color: var(--tb-primary); }

/* ==========================
   PRIMARY / SECONDARY BUTTONS
   (Shared base for this page and every public page that layers on
   top of home/style.css — contact, support, about, and others
   explicitly reuse these classes.)
========================== */

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--tb-primary), var(--tb-accent));
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
    transition: transform 0.3s var(--tb-transition), box-shadow 0.3s var(--tb-transition);
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(13, 110, 253, 0.35);
}

.primary-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    background: var(--tb-surface);
    color: var(--tb-primary);
    border: 2px solid var(--tb-primary-light);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--tb-transition);
}

.secondary-btn:hover {
    background: var(--tb-primary-light);
    border-color: var(--tb-primary);
    transform: translateY(-2px);
}

.arrow-icon {
    display: inline-block;
    transition: transform 0.3s var(--tb-transition);
}

.primary-btn:hover .arrow-icon {
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
    .primary-btn, .secondary-btn, .primary-btn:hover, .secondary-btn:hover {
        transition: none;
        transform: none;
    }
}

/* ==========================
   ALTERNATING FEATURE SECTIONS FLOW
   (Post Your Parcel / Get a Local Courier / Delivery Shortly /
   Reach Every Customer / Trusted Local Connections / Affordable)
========================== */

.section-Flow {
    display: flex;
    flex-direction: column;
    padding: 50px var(--container-px);
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    gap: 80px;
}

.feature-section,
.post-section, .get-section, .delivered-section,
.reach-section, .trusted-section, .affordable-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
    width: 100%;
}

/* Alternating horizontal layout on Desktop (> 992px) */
@media (min-width: 993px) {
    .feature-section > *,
    .post-section > *, .get-section > *, .delivered-section > *,
    .reach-section > *, .trusted-section > *, .affordable-section > * {
        grid-row: 1;
    }
}

.feature-content,
.post-text, .get-text, .delivered-text,
.reach-text, .trusted-text, .affordable-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.feature-content h2,
.post-text h2, .get-text h2, .delivered-text h2,
.reach-text h2, .trusted-text h2, .affordable-text h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    color: var(--tb-navy, #0f172a);
    line-height: 1.25;
    margin-bottom: 16px; /* Heading to description: 16px */
}

.feature-content p,
.post-text p, .get-text p, .delivered-text p,
.reach-text p, .trusted-text p, .affordable-text p {
    color: var(--tb-muted, #64748b);
    line-height: 1.7;
    font-size: var(--text-md, 17px);
    margin-bottom: 24px; /* Description to button: 24px */
}

/* Polished image container with rounded corners, subtle border frame, and drop shadow */
.feature-image,
.post-image, .get-image, .delivered-image,
.reach-image, .trusted-image, .affordable-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    background: var(--tb-surface, #ffffff);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
    transition: transform 0.4s var(--tb-transition), box-shadow 0.4s var(--tb-transition);
}

.feature-image:hover,
.post-image:hover, .get-image:hover, .delivered-image:hover,
.reach-image:hover, .trusted-image:hover, .affordable-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 52px -16px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(13, 110, 253, 0.15);
}

.feature-image img,
.post-image img, .get-image img, .delivered-image img,
.reach-image img, .trusted-image img, .affordable-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--tb-transition);
}

.feature-image:hover img,
.post-image:hover img, .get-image:hover img, .delivered-image:hover img,
.reach-image:hover img, .trusted-image:hover img, .affordable-image:hover img {
    transform: scale(1.025);
}

/* Mobile Responsiveness (<= 992px) */
@media (max-width: 992px) {
    .section-Flow {
        gap: 56px;
        padding: 56px var(--container-px);
    }

    .feature-section,
    .post-section, .get-section, .delivered-section,
    .reach-section, .trusted-section, .affordable-section {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Standardized Mobile Stacked Order: Text on top, Image on bottom */
    .feature-content,
    .post-text, .get-text, .delivered-text,
    .reach-text, .trusted-text, .affordable-text {
        grid-column: 1 !important;
        text-align: left;
        align-items: flex-start;
        order: 1;
    }

    .feature-image,
    .post-image, .get-image, .delivered-image,
    .reach-image, .trusted-image, .affordable-image {
        grid-column: 1 !important;
        order: 2;
    }
}

@media (max-width: 576px) {
    .section-Flow {
        gap: 44px;
        padding: 44px var(--container-px);
    }

    .feature-section,
    .post-section, .get-section, .delivered-section,
    .reach-section, .trusted-section, .affordable-section {
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .post-image img, .get-image img, .delivered-image img,
    .reach-image img, .trusted-image img, .affordable-image img {
        transition: none;
    }
}

/* ==========================
   TRUST ORBIT (safety visual)
========================== */

.trust-orbit {
    padding: 80px 65px;
}

@media (max-width: 768px) {
    .trust-orbit {
        padding-block: var(--section-gap-mobile);
    }
}

.trust-safety-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.trust-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-orbit-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 24px rgba(18, 32, 58, 0.1));
}

.safety-content h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    margin-bottom: 32px;
}

.safety-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #000;
}

.safety-item {
    display: flex;
    gap: 18px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--tb-border);
    color: #000;
}

.safety-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.safety-number {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tb-primary-light);
    color: var(--tb-primary);
    font-weight: 700;
    font-size: 14px;
}

.safety-item h3 {
    font-size: var(--text-md);
    margin-bottom: 6px;
}

.safety-item p {
    font-size: var(--text-sm);
    line-height: 1.6;
}

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

@media (prefers-reduced-motion: reduce) {
    .orbit-spin, .orbit-node, .orbit-ripple, .spin .orbit-node {
        animation: none !important;
    }
}

/* ==========================
   FAQ ACCORDION
========================== */

.faq-section {
    padding: var(--section-padding) var(--container-px);
}
 
@media (max-width: 768px) {
    .faq-section {
        padding-block: var(--section-gap-mobile);
    }
}

.faq-container {
    max-width: 860px;
    margin: 0 auto;
}

.faq-heading {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.faq-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: none; /* Heuristic fix: Issue 5 */
    color: var(--tb-primary);
    background: var(--tb-primary-light);
    padding: 6px 16px;
    border-radius: var(--tb-radius-full);
    margin-bottom: 16px;
}

.faq-heading h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    margin-bottom: 12px;
}

.faq-heading p {
    color: var(--tb-muted);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-md);
    box-shadow: var(--tb-shadow-l1);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.is-open {
    border-color: rgba(13, 110, 253, 0.25);
    box-shadow: var(--tb-shadow-l2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--tb-ink);
    cursor: pointer;
}

.faq-toggle {
    position: relative;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.faq-toggle::before, .faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--tb-primary);
    transition: transform 0.3s var(--tb-transition);
}

.faq-toggle::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-toggle::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s var(--tb-transition);
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    min-height: 0;
    overflow: hidden;
}

.faq-answer-inner p {
    padding: 0 24px 22px;
    color: var(--tb-muted);
    line-height: 1.7;
    font-size: var(--text-sm);
}


/* ==========================
   NEWSLETTER
========================== */
.newsletter-section {
    padding: 0 var(--container-px) var(--section-padding);
}

.newsletter-card {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px;
    background: linear-gradient(135deg, var(--tb-navy) 0%, #071A3D 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: #fff;
    flex-wrap: wrap;
}

.news-content {
    flex: 1 1 400px;
}

.news-content h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 12px;
}

.news-content p {
    color: rgba(255,255,255,0.6);
    font-size: var(--text-md);
}

.news-form {
    flex: 0 1 440px;
    display: flex;
    gap: 12px;
}

.news-form input {
    flex: 1;
    height: 54px;
    padding: 0 20px;
    border-radius: var(--tb-radius-full);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-family: inherit;
    outline: none;
}

.news-form input:focus {
    border-color: var(--tb-primary);
    background: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .newsletter-card {
        padding: 40px 24px;
        text-align: center;
        justify-content: center;
    }
    .news-form {
        flex-direction: column;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-answer, .faq-item, .faq-toggle::after {
        transition: none;
    }
}

@media(max-width: 768px) {
    .section-Flow { gap: 2.5rem; padding-block: var(--section-gap-mobile); }
    .ways-cards { grid-template-columns: 1fr; gap: 1.25rem; }
    .trust-badges { justify-content: center; gap: 10px; }
    .trust-badges span { width: 100%; justify-content: center; }
    .timeline-3d { gap: 1.25rem; }
    .flow-item { padding: 1.25rem; }
    .workflow-3d { padding-block: var(--section-gap-mobile); }
    .testimonial-card { padding: 1.5rem; }
    .news-content h2 { font-size: 28px; }
}

/* ==========================
   APP PROMOTION BANNER
========================== */
.tb-app-promo-section {
    padding: 0 var(--container-px) var(--section-padding);
}

.app-promo-container {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-xl, 32px);
    overflow: hidden;
    background: url('../images/hero-back.jpg') no-repeat center center;
    background-size: cover;
    box-shadow: var(--tb-shadow-l4);
}

.app-promo-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(7, 26, 61, 0.94) 0%, rgba(11, 42, 99, 0.85) 45%, rgba(13, 110, 253, 0.1) 100%);
    z-index: 1;
}

.app-promo-content {
    position: relative;
    z-index: 2;
    padding: 60px 80px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.app-promo-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--tb-radius-full);
    color: #ffd700;
    font-size: 14px;
    font-weight: 700;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-heading {
    font-size: clamp(28px, 4vw, 44px);
    color: #fff;
    line-height: 1.1;
    margin: 0;
}

.promo-subtext {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0;
}

.promo-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.promo-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.promo-features i {
    color: var(--tb-success);
}

.app-promo-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 60px;
}

.download-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.store-buttons {
    display: flex;
    gap: 16px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    min-width: 170px;
}

.store-btn:hover {
    background: #1c1c1c;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.store-btn i {
    font-size: 24px;
}

.store-text {
    display: flex;
    flex-direction: column;
}

.store-label {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.8;
}

.store-name {
    font-size: 16px;
    font-weight: 700;
}

.trust-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.rating-box, .download-box {
    display: flex;
    flex-direction: column;
}

.rating-val, .download-val {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.rating-label, .download-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.trust-info .divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.qr-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-code-area {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--tb-navy);
}

.qr-text {
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================
   MOBILE APP STICKY BAR
========================== */
.tb-mobile-app-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #fff;
    border-top: 2px solid var(--tb-primary);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
    animation: tbMobileBannerIn 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes tbMobileBannerIn {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.mobile-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-promo-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-promo-icon {
    width: 40px;
    height: 40px;
    background: var(--tb-primary-light);
    color: var(--tb-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.mobile-promo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.mobile-promo-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--tb-navy);
}

.mobile-promo-sub {
    font-size: 11px;
    color: var(--tb-muted);
}

.mobile-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-install-btn {
    background: var(--tb-primary);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--tb-radius-full);
    white-space: nowrap;
}

.mobile-close-btn {
    background: none;
    border: none;
    color: var(--tb-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* App Promotion Responsiveness */
@media (max-width: 1200px) {
    .app-promo-content {
        padding: 40px;
        gap: 30px;
    }
    .app-promo-right {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .app-promo-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 24px;
    }
    .app-promo-left {
        align-items: center;
    }
    .app-promo-right {
        justify-content: center;
        flex-direction: column;
        gap: 40px;
    }
    .download-section {
        align-items: center;
    }
}

@media (min-width: 769px) {
    .tb-mobile-app-bar {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .mobile-promo-sub {
        display: none;
    }
    .mobile-promo-title {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tb-mobile-app-bar {
        animation: none;
    }
}

