/* ============================================
   FIRSTRANK PERCEL SERVICE - STYLES
   ============================================ */

/* CSS Variables */
:root {
    --primary: #00D4FF;
    --primary-dark: #0A1628;
    --primary-darker: #112240;
    --text-dark: #0A1628;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-3xl: 2.5rem;
    --transition: all 0.3s ease;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-sm {
    max-width: 896px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 50;
    top: 1.5rem;
    transition: var(--transition);
}

.navbar.scrolled {
    top: 1rem;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
}

.nav-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-3xl);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-2xl);
    transition: var(--transition);
}

.navbar.scrolled .nav-glass {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-2xl);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
    letter-spacing: 0.025em;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    color: white;
    border-radius: var(--radius-md);
    transition: background 0.3s;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    inset: 6rem 1rem auto 1rem;
    z-index: 40;
    animation: fadeSlideIn 0.3s ease;
}

.mobile-menu-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: var(--shadow-2xl);
}

.mobile-menu-content a {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-xl);
    font-weight: 500;
    transition: var(--transition);
}

.mobile-menu-content a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   HERO SECTION - ANIMATED TRUCK SCENE
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Hero Background */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg,
            #000510 0%,
            #0A1628 30%,
            #0d1b2a 60%,
            #1a2d45 100%);
}

/* Animated stars background */
.hero-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 230px 80px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 380px 60px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 450px 180px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 520px 100px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 600px 140px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 680px 50px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 750px 200px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 830px 90px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 900px 160px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 980px 70px, rgba(255, 255, 255, 0.7), transparent);
    background-size: 1000px 250px;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
}

/* Truck Scene Container */
.truck-scene {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    overflow: hidden;
}

/* City Silhouette */
.city-silhouette {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    height: 200px;
    opacity: 0.6;
}

.city-silhouette svg {
    width: 200%;
    height: 100%;
    animation: cityScroll 60s linear infinite;
}

@keyframes cityScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* City lights twinkling */
.city-lights rect {
    animation: lightFlicker 2s ease-in-out infinite;
}

.city-lights rect:nth-child(odd) {
    animation-delay: 0.5s;
}

.city-lights rect:nth-child(3n) {
    animation-delay: 1s;
}

@keyframes lightFlicker {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.3;
    }
}

/* Road */
.road {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
}

@media (min-width: 768px) {
    .road {
        height: 90px;
    }
}

@media (min-width: 1024px) {
    .road {
        height: 100px;
    }
}

.road-surface {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            #1a1a1a 0%,
            #2a2a2a 20%,
            #1f1f1f 80%,
            #151515 100%);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
}

.road-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3a3a3a;
}

.road-surface::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3a3a3a;
}

/* Road lines animation */
.road-lines {
    position: absolute;
    top: 50%;
    left: 0;
    width: 300%;
    height: 6px;
    transform: translateY(-50%);
    display: flex;
    gap: 60px;
    animation: roadMove 1.5s linear infinite;
}

.road-lines span {
    flex-shrink: 0;
    width: 80px;
    height: 6px;
    background: #FFD93D;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 217, 61, 0.5);
}

@keyframes roadMove {
    0% {
        transform: translateY(-50%) translateX(0);
    }

    100% {
        transform: translateY(-50%) translateX(-140px);
    }
}

/* Truck Container */
.truck-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

@media (min-width: 768px) {
    .truck-container {
        bottom: 60px;
    }
}

@media (min-width: 1024px) {
    .truck-container {
        bottom: 70px;
    }
}

.truck {
    position: relative;
    animation: truckBounce 0.3s ease-in-out infinite;
}

@keyframes truckBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Truck Shadow */
.truck-shadow {
    position: absolute;
    bottom: -25px;
    left: 10%;
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
    filter: blur(5px);
    animation: shadowPulse 0.3s ease-in-out infinite;
}

@keyframes shadowPulse {

    0%,
    100% {
        transform: scaleX(1);
        opacity: 0.6;
    }

    50% {
        transform: scaleX(0.95);
        opacity: 0.4;
    }
}

/* Truck SVG */
.truck-svg {
    width: 280px;
    height: 125px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

@media (min-width: 768px) {
    .truck-svg {
        width: 400px;
        height: 180px;
    }
}

@media (min-width: 1024px) {
    .truck-svg {
        width: 500px;
        height: 225px;
    }
}

@media (min-width: 1280px) {
    .truck-svg {
        width: 550px;
        height: 250px;
    }
}

/* Wheel rotation */
.wheel {
    transform-origin: center;
    animation: wheelSpin 0.5s linear infinite;
}

.wheel-1 {
    transform-origin: 70px 140px;
}

.wheel-2 {
    transform-origin: 130px 140px;
}

.wheel-3 {
    transform-origin: 320px 140px;
}

@keyframes wheelSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Headlight glow */
.headlight {
    animation: headlightPulse 2s ease-in-out infinite;
}

@keyframes headlightPulse {

    0%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 8px #FFE066);
    }

    50% {
        opacity: 0.9;
        filter: drop-shadow(0 0 15px #FFE066);
    }
}

/* Headlight beam */
.headlight-beam {
    position: absolute;
    right: -100px;
    top: 50%;
    width: 200px;
    height: 60px;
    background: linear-gradient(90deg,
            rgba(255, 224, 102, 0.3) 0%,
            rgba(255, 224, 102, 0.1) 50%,
            transparent 100%);
    clip-path: polygon(0 40%, 100% 0%, 100% 100%, 0 60%);
    animation: beamFlicker 3s ease-in-out infinite;
}

@keyframes beamFlicker {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.9;
    }
}

/* Exhaust smoke animation */
.smoke {
    animation: smokeRise 2s ease-out infinite;
}

.smoke-1 {
    animation-delay: 0s;
}

.smoke-2 {
    animation-delay: 0.5s;
}

.smoke-3 {
    animation-delay: 1s;
}

@keyframes smokeRise {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    100% {
        transform: translate(-30px, -20px) scale(2);
        opacity: 0;
    }
}

/* ============================================
   MOBILE RESPONSIVENESS FOR TRUCK SCENE
   ============================================ */

/* Extra small screens (320px and below) */
@media (max-width: 320px) {
    .truck-svg {
        width: 200px;
        height: 90px;
    }

    .truck-container {
        bottom: 30px;
    }

    .road {
        height: 50px;
    }

    .road-lines span {
        width: 40px;
        height: 3px;
    }

    .city-silhouette {
        bottom: 40px;
        height: 100px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 0.875rem;
    }
}

/* Small screens (321px - 480px) */
@media (min-width: 321px) and (max-width: 480px) {
    .truck-svg {
        width: 240px;
        height: 110px;
    }

    .truck-container {
        bottom: 35px;
    }

    .road {
        height: 60px;
    }

    .road-lines span {
        width: 50px;
        height: 4px;
    }

    .city-silhouette {
        bottom: 50px;
        height: 120px;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text p {
        font-size: 0.9375rem;
    }
}

/* Medium small screens (481px - 640px) */
@media (min-width: 481px) and (max-width: 640px) {
    .truck-svg {
        width: 300px;
        height: 135px;
    }

    .truck-container {
        bottom: 45px;
    }

    .road {
        height: 70px;
    }

    .city-silhouette {
        bottom: 60px;
        height: 140px;
    }
}

/* Tablet screens (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
    .truck-svg {
        width: 380px;
        height: 170px;
    }

    .truck-container {
        bottom: 55px;
    }

    .road {
        height: 85px;
    }

    .city-silhouette {
        bottom: 70px;
        height: 170px;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1rem 0;
    width: 100%;
}

@media (min-width: 480px) {
    .hero-content {
        padding: 4.5rem 1rem 0;
    }
}

@media (min-width: 640px) {
    .hero-content {
        padding: 5rem 1.5rem 0;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 5rem 2rem 0;
    }
}

.hero-text {
    max-width: 48rem;
}

.hero-text h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-text h1 {
        font-size: 4.5rem;
    }
}

.hero-text p {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 2.5rem;
    max-width: 36rem;
    line-height: 1.75;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .hero-text p {
        font-size: 1.25rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
    display: none;
    z-index: 20;
}

@media (min-width: 640px) {
    .scroll-indicator {
        display: block;
    }
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.scroll-dot {
    width: 0.25rem;
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }
}

/* ============================================
   TRACKING WIDGET
   ============================================ */
.tracking-section {
    position: relative;
    z-index: 20;
    margin-top: -4rem;
    padding: 0 1rem 3rem;
}

@media (min-width: 640px) {
    .tracking-section {
        margin-top: -6rem;
        padding-bottom: 4rem;
    }
}

.tracking-card {
    max-width: 56rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(229, 231, 235, 0.5);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .tracking-card {
        padding: 2rem;
    }
}

.tracking-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 212, 255, 0.05), transparent, rgba(59, 130, 246, 0.05));
    pointer-events: none;
}

.tracking-content {
    position: relative;
    z-index: 10;
}

.tracking-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .tracking-content h2 {
        font-size: 1.5rem;
    }
}

.icon-truck {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.tracking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .tracking-form {
        flex-direction: row;
    }
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid #e5e7eb;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    transition: var(--transition);
    outline: none;
}

@media (min-width: 640px) {
    .input-wrapper input {
        padding: 1rem 1rem 1rem 3rem;
        font-size: 1.125rem;
    }
}

.input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.tracking-error {
    padding: 1rem;
    background: rgba(254, 242, 242, 0.8);
    backdrop-filter: blur(4px);
    color: #b91c1c;
    border-radius: var(--radius-xl);
    border: 1px solid #fecaca;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeSlideIn 0.3s ease;
}

.tracking-error svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.tracking-error span {
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .tracking-error span {
        font-size: 1rem;
    }
}

.tracking-result {
    animation: fadeSlideIn 0.3s ease;
}

/* Map Container */
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #f3f4f6;
    height: 400px;
    margin-bottom: 1.5rem;
}

.map-container .leaflet-container {
    height: 100%;
    width: 100%;
}

/* Result Info */
.result-info {
    padding: 1rem;
    background: linear-gradient(to bottom right, rgba(249, 250, 251, 0.8), rgba(239, 246, 255, 0.5));
    backdrop-filter: blur(4px);
    border-radius: var(--radius-xl);
    border: 1px solid #f3f4f6;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .result-info {
        padding: 1.5rem;
    }
}

.result-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .result-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.result-header .label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.result-header .code {
    font-size: 1.125rem;
    font-family: monospace;
    font-weight: 700;
    color: var(--text-dark);
    word-break: break-all;
}

@media (min-width: 640px) {
    .result-header .code {
        font-size: 1.25rem;
    }
}

.result-route {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

@media (min-width: 640px) {
    .result-route {
        grid-template-columns: 1fr auto 1fr;
        gap: 1.5rem;
    }
}

.result-route .label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.result-route .label svg {
    width: 0.75rem;
    height: 0.75rem;
}

.result-route .value {
    font-weight: 500;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .result-route .value {
        font-size: 1rem;
    }
}

.result-route .arrow {
    display: none;
    justify-content: center;
    align-items: center;
    color: #d1d5db;
}

@media (min-width: 640px) {
    .result-route .arrow {
        display: flex;
    }
}

.result-route .arrow svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .timeline {
        padding-left: 2rem;
        gap: 2rem;
    }
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -1.75rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    border: 4px solid white;
}

@media (min-width: 640px) {
    .timeline-dot {
        left: -2.625rem;
        width: 1.25rem;
        height: 1.25rem;
    }
}

.timeline-dot.active {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2);
}

.timeline-dot.inactive {
    background: #d1d5db;
}

.timeline-content h4 {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.875rem;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .timeline-content h4 {
        font-size: 1rem;
    }
}

.timeline-content .location {
    color: #4b5563;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .timeline-content .location {
        font-size: 1rem;
    }
}

.timeline-content .description {
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

@media (min-width: 640px) {
    .timeline-content .description {
        font-size: 0.875rem;
    }
}

.timeline-content .time {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

@media (min-width: 640px) {
    .timeline-content .time {
        font-size: 0.875rem;
    }
}

.timeline-content .time span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.timeline-content .time svg {
    width: 0.75rem;
    height: 0.75rem;
}

.notice-box {
    padding: 1rem;
    background: rgba(239, 246, 255, 0.8);
    backdrop-filter: blur(4px);
    color: #1e40af;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    border: 1px solid #bfdbfe;
    margin-top: 1.5rem;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    overflow: hidden;
}

.partners-title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
}

.partners-wrapper {
    position: relative;
    width: 100%;
}

.partners-fade-left,
.partners-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4rem;
    z-index: 10;
    pointer-events: none;
}

.partners-fade-left {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.partners-fade-right {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.partners-scroll {
    overflow: hidden;
    width: 100%;
}

.partners-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 7rem;
    margin: 0 1.5rem;
}

.partner>div,
.partner>img {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: var(--radius-xl);
    border: 1px solid #f3f4f6;
    padding: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    object-fit: contain;
}

.partner:hover>div,
.partner:hover>img {
    box-shadow: var(--shadow-lg);
    transform: scale(1.1);
}

.partner span {
    font-size: 0.75rem;
    font-weight: 500;
    color: #4b5563;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 4rem 0;
    background: #f9fafb;
}

@media (min-width: 640px) {
    .services-section {
        padding: 6rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

.section-header p {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 42rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .section-header p {
        font-size: 1.25rem;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.service-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(229, 231, 235, 0.5);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

@media (min-width: 640px) {
    .service-card {
        padding: 2rem;
    }
}

.service-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-0.5rem);
}

.service-icon {
    display: inline-block;
    padding: 0.75rem;
    background: linear-gradient(to bottom right, #eff6ff, #ecfeff);
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .service-icon {
        padding: 1rem;
    }
}

.service-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary);
}

@media (min-width: 640px) {
    .service-icon svg {
        width: 3rem;
        height: 3rem;
    }
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .service-card h3 {
        font-size: 1.5rem;
    }
}

.service-card p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .service-card p {
        font-size: 1rem;
    }
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap 0.3s;
}

@media (min-width: 640px) {
    .service-link {
        font-size: 1rem;
    }
}

.service-link svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
}

.service-link:hover {
    gap: 0.5rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 6rem 0;
    background: var(--primary-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.features-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 30px 30px;
}

.features-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-item {}

.feature-icon {
    display: inline-flex;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    color: var(--primary-dark);
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: #9ca3af;
    line-height: 1.75;
    transition: color 0.3s;
}

.feature-item:hover p {
    color: #d1d5db;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works-section {
    padding: 6rem 0;
    background: white;
}

.steps-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.steps-line {
    display: none;
    position: absolute;
    top: 3rem;
    left: 16%;
    right: 16%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

@media (min-width: 768px) {
    .steps-line {
        display: block;
    }
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-circle {
    position: relative;
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(10, 22, 40, 0.2);
    z-index: 10;
}

.step-circle svg {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
}

.step-number {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.875rem;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step p {
    color: #4b5563;
    max-width: 16rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f9fafb, white);
    position: relative;
    overflow: hidden;
}

.trusted-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.trusted-badge svg {
    width: 1rem;
    height: 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(229, 231, 235, 0.5);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-0.5rem);
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: rgba(0, 212, 255, 0.1);
    transition: color 0.3s;
}

.testimonial-card:hover .quote-icon {
    color: rgba(0, 212, 255, 0.2);
}

.quote-icon svg {
    width: 3rem;
    height: 3rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: #fbbf24;
    color: #fbbf24;
}

.testimonial-card>p {
    color: #374151;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(229, 231, 235, 0.5);
}

.testimonial-author img {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: #f3f4f6;
}

.testimonial-author h4 {
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-author span {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
}

.testimonial-author .company {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 6rem 0;
    background: #f9fafb;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(229, 231, 235, 0.5);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-dark);
    transition: background 0.3s;
}

@media (min-width: 768px) {
    .faq-question {
        padding: 1.5rem 2rem;
    }
}

.faq-question:hover {
    background: rgba(249, 250, 251, 0.5);
}

.faq-question svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 24rem;
    opacity: 1;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #4b5563;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .faq-answer p {
        padding: 0 2rem 1.5rem;
    }
}

.faq-cta {
    margin-top: 3rem;
    text-align: center;
}

.faq-cta p {
    color: #4b5563;
    margin-bottom: 1rem;
}

.faq-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: gap 0.3s;
}

.faq-cta a:hover {
    gap: 0.75rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, var(--primary-dark), var(--primary-darker), var(--primary-dark));
}

.cta-orbs {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(60px);
    animation: pulse 4s infinite;
}

.orb-1 {
    top: 5rem;
    left: 5rem;
    width: 24rem;
    height: 24rem;
    background: var(--primary);
}

.orb-2 {
    bottom: 5rem;
    right: 5rem;
    width: 24rem;
    height: 24rem;
    background: #3b82f6;
    animation-delay: 1s;
}

.cta-grid {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: linear-gradient(var(--primary) 1px, transparent 1px), linear-gradient(90deg, var(--primary) 1px, transparent 1px);
    background-size: 50px 50px;
}

.cta-card {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-2xl);
}

@media (min-width: 768px) {
    .cta-card {
        padding: 4rem;
    }
}

.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius-xl);
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
    margin-bottom: 2rem;
}

.cta-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary);
}

.cta-card h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-card h2 {
        font-size: 3rem;
    }
}

.cta-card>p {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-features {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    color: #d1d5db;
}

@media (min-width: 640px) {
    .cta-features {
        flex-direction: row;
    }
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-features .dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #4ade80;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 6rem 0;
    background: #f9fafb;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-info>p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    padding: 0.75rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    color: var(--primary);
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-item h3 {
    font-weight: 700;
    color: var(--text-dark);
}

.contact-item p {
    color: #4b5563;
}

.contact-item span {
    font-size: 0.875rem;
    color: #6b7280;
}

.contact-form-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid #f3f4f6;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 5rem 0 2.5rem;
    border-top: 1px solid #1f2937;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.75;
}

.footer-links h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #9ca3af;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-newsletter h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-newsletter p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    color: white;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #6b7280;
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form button {
    background: var(--primary);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #40e0ff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #9ca3af;
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

.social-links svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: #40e0ff;
    box-shadow: 0 10px 30px -5px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: #e5e7eb;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #d1d5db;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

.btn-lg svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
}

.badge-pending {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.badge-picked-up {
    background: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.badge-in-transit {
    background: #e0e7ff;
    color: #3730a3;
    border-color: #c7d2fe;
}

.badge-out-for-delivery {
    background: #f3e8ff;
    color: #6b21a8;
    border-color: #e9d5ff;
}

.badge-delivered {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.badge-on-hold {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-0.5rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.3;
    }
}

/* ============================================
   CUSTOMER SERVICE FAB
   ============================================ */
.customer-service-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4), 0 0 0 0 rgba(0, 212, 255, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: fab-pulse 2s infinite;
}

.customer-service-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.customer-service-fab svg {
    width: 1.5rem;
    height: 1.5rem;
}

@keyframes fab-pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4), 0 0 0 0 rgba(0, 212, 255, 0.4);
    }

    50% {
        box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4), 0 0 0 10px rgba(0, 212, 255, 0);
    }
}

@media (min-width: 640px) {
    .customer-service-fab {
        bottom: 2rem;
        right: 2rem;
        width: 4rem;
        height: 4rem;
    }

    .customer-service-fab svg {
        width: 1.75rem;
        height: 1.75rem;
    }
}

/* Scrollable Timeline */
.scrollable-timeline {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-light);
}

.scrollable-timeline::-webkit-scrollbar {
    width: 6px;
}

.scrollable-timeline::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.scrollable-timeline::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 4px;
}
/* ============================================
   LOADING STATE
   ============================================ */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    top: 50%;
    left: 50%;
    margin-top: -0.625rem;
    margin-left: -0.625rem;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   MAP MARKER RESET
   ============================================ */
.custom-map-marker {
    background: none !important;
    border: none !important;
}

