/* Main CSS for Pickup Truckit - Desktop & Tablet */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #f59e0b;
    --secondary-dark: #d97706;
    --accent-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background-light: #f9fafb;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-white);
}

/* Navigation */
.navbar {
    background: var(--background-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 90px;
    width: auto;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

.login-btn {
    background: var(--primary-color);
    color: var(--background-white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.login-btn::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s ease;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    position: relative;
}

/* Truck Animation Background */
#truck-animation-background {
    position: fixed;
    top: 0; /* Start after hero section */
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    opacity: 0.5;
    background-color: transparent;
    pointer-events: none;
}

/* Roads */
.road { 
    stroke: #cccccc; 
    stroke-width: 8; 
    opacity: 0.4; 
}

.center-line { 
    stroke: #dddddd; 
    stroke-width: 1; 
    stroke-dasharray: 10, 15; 
    opacity: 0.5; 
}

/* Trucks and Animation Elements */
.truck, .customer-pickup, .customer-dropoff-marker {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.truck {
    background-color: #ffd54f;
    color: #424242;
    z-index: 10;
    border: 1px solid #c8a440;
    opacity: 0.8;
}

.item-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    background-color: #607d8b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    z-index: 11;
}

.customer-pickup {
    background-color: #81c784; 
    color: white; 
    z-index: 5; 
    border: 1px solid #66bb6a; 
    opacity: 0.8;
}

.customer-dropoff-marker {
    background-color: #e57373; 
    color: white; 
    z-index: 5; 
    border: 1px solid #ef5350; 
    opacity: 0.8;
}

.customer-dropoff-marker i { 
    font-size: 12px; 
}

#route-svg-layer {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    pointer-events: none; 
    z-index: 1;
}

.route-line { 
    stroke: #78909c; 
    stroke-width: 2.5; 
    stroke-dasharray: 3, 3; 
    opacity: 0.6; 
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--background-white);
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    padding: 4rem 0;
}

/* Dramatic Animated Curves Background */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    filter: blur(1px);
}

.hero::before {
    width: 500px;
    height: 500px;
    top: -200px;
    left: -200px;
    animation-name: dramaticWave1;
}

.hero::after {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
    animation-name: dramaticWave2;
    animation-duration: 10s;
}

.hero-curves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Full-Length Sweeping Curves */
.hero-curves::before,
.hero-curves::after {
    content: '';
    position: absolute;
    background: linear-gradient(45deg, rgba(245, 158, 11, 0.4) 0%, transparent 50%, rgba(255, 255, 255, 0.3) 100%);
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    border-radius: 50px;
    box-shadow: 0 0 60px rgba(245, 158, 11, 0.3);
}

.hero-curves::before {
    width: 150%;
    height: 100px;
    top: 20%;
    left: -25%;
    transform: rotate(-15deg);
    animation: sweepCurve1 12s infinite;
}

.hero-curves::after {
    width: 120%;
    height: 80px;
    bottom: 30%;
    right: -20%;
    transform: rotate(20deg);
    animation: sweepCurve2 15s infinite reverse;
}

.curve-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    filter: blur(0.5px);
}

.curve-element:nth-child(odd) {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.15) 60%, transparent 100%);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
}

.curve-element:nth-child(even) {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.5) 0%, rgba(245, 158, 11, 0.2) 40%, transparent 100%);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.4);
}

.curve-element:nth-child(3n) {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0.15) 50%, transparent 100%);
    box-shadow: 0 0 45px rgba(59, 130, 246, 0.3);
}

.curve-1 {
    width: 300px;
    height: 300px;
    top: 5%;
    left: 3%;
    animation: dramaticFloat1 10s infinite;
}

.curve-2 {
    width: 250px;
    height: 250px;
    top: 55%;
    right: 5%;
    animation: dramaticFloat2 12s infinite reverse;
}

.curve-3 {
    width: 180px;
    height: 180px;
    top: 8%;
    right: 12%;
    animation: dramaticFloat3 8s infinite;
}

.curve-4 {
    width: 280px;
    height: 280px;
    bottom: 10%;
    left: 8%;
    animation: dramaticFloat4 15s infinite reverse;
}

.curve-5 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 65%;
    animation: dramaticFloat5 11s infinite;
}

.curve-6 {
    width: 120px;
    height: 120px;
    top: 75%;
    left: 40%;
    animation: dramaticFloat3 9s infinite reverse;
}

.curve-7 {
    width: 200px;
    height: 200px;
    top: 15%;
    left: 45%;
    animation: dramaticFloat1 13s infinite reverse;
}

/* Particle Effects */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(245, 158, 11, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.particle-1 {
    top: 20%;
    left: 15%;
    animation: particleFloat1 8s infinite;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    right: 20%;
    animation: particleFloat2 10s infinite;
    animation-delay: 1s;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.particle-3 {
    top: 30%;
    left: 70%;
    animation: particleFloat3 12s infinite;
    animation-delay: 2s;
    background: rgba(59, 130, 246, 0.8);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.5);
}

.particle-4 {
    bottom: 25%;
    left: 25%;
    animation: particleFloat1 9s infinite reverse;
    animation-delay: 3s;
}

.particle-5 {
    top: 10%;
    right: 35%;
    animation: particleFloat2 11s infinite reverse;
    animation-delay: 4s;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.particle-6 {
    bottom: 40%;
    right: 10%;
    animation: particleFloat3 7s infinite;
    animation-delay: 5s;
    background: rgba(59, 130, 246, 0.8);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.5);
}

@keyframes particleFloat1 {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translate(30px, -40px) scale(1.5);
        opacity: 1;
    }
    50% {
        transform: translate(-20px, -80px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translate(-50px, -30px) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes particleFloat2 {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-60px, 100px) scale(2);
        opacity: 1;
    }
}

@keyframes particleFloat3 {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.8;
    }
    33% {
        transform: translate(80px, -60px) scale(1.8);
        opacity: 0.4;
    }
    66% {
        transform: translate(-40px, 40px) scale(0.6);
        opacity: 1;
    }
}

/* Dramatic Animation Keyframes */
@keyframes dramaticWave1 {
    0%, 100% {
        transform: translate(0px, 0px) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    33% {
        transform: translate(120px, -80px) scale(1.3) rotate(120deg);
        opacity: 0.6;
    }
    66% {
        transform: translate(-100px, 60px) scale(0.8) rotate(240deg);
        opacity: 0.4;
    }
}

@keyframes dramaticWave2 {
    0%, 100% {
        transform: translate(0px, 0px) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translate(-150px, -100px) scale(1.4) rotate(180deg);
        opacity: 0.7;
    }
}

@keyframes sweepCurve1 {
    0%, 100% {
        transform: translateX(-50%) rotate(-15deg) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateX(25%) rotate(-10deg) scale(1.2);
        opacity: 0.7;
    }
}

@keyframes sweepCurve2 {
    0%, 100% {
        transform: translateX(30%) rotate(20deg) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateX(-20%) rotate(25deg) scale(1.1);
        opacity: 0.6;
    }
}

@keyframes dramaticFloat1 {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(100px, -60px) scale(1.5);
        opacity: 0.7;
    }
    50% {
        transform: translate(-80px, -120px) scale(0.7);
        opacity: 0.5;
    }
    75% {
        transform: translate(-150px, 40px) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes dramaticFloat2 {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(140px, -90px) scale(1.6);
        opacity: 0.9;
    }
}

@keyframes dramaticFloat3 {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.4;
    }
    33% {
        transform: translate(-120px, 80px) scale(1.8);
        opacity: 0.8;
    }
    66% {
        transform: translate(90px, 50px) scale(0.6);
        opacity: 0.6;
    }
}

@keyframes dramaticFloat4 {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-110px, -130px) scale(1.4);
        opacity: 0.7;
    }
}

@keyframes dramaticFloat5 {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(80px, -100px) scale(1.7);
        opacity: 0.9;
    }
    75% {
        transform: translate(-60px, 70px) scale(0.5);
        opacity: 0.4;
    }
}



.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.hero-logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.25rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content .highlight {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--background-white);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--background-white);
    border: 2px solid var(--background-white);
}

.btn-secondary:hover {
    background: var(--background-white);
    color: var(--primary-color);
}

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

.hero-logo-large {
    text-align: center;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-logo-img {
    height: 600px;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3)) 
            drop-shadow(0 0 40px rgba(245, 158, 11, 0.4))
            brightness(1.1) contrast(1.1);
    position: relative;
    z-index: 3;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 1rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--background-white);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
}

.how-it-works .section-header {
    margin-bottom: 1rem;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.how-it-works-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
    margin-top: 3rem;
}

.how-it-works-animation {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: var(--shadow-xl);
}

.animation-description {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(37, 99, 235, 0.03);
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
}

.animation-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}

.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--background-white);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid #e5e7eb;
}

.step-item.active {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(37, 99, 235, 0.05) 100%);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    color: #6b7280;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Steps Grid - Customer and Driver Pages */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #e5e7eb;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-color);
}

.step-card .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Video Showcase Styles */
.video-showcase {
    display: flex;
    justify-content: center;
    margin: 0rem 0 3rem 0rem;
    padding: 0rem 0 2rem 0rem;
}

.video-container {
    text-align: center;
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 900px; /* Bigger container */
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-container h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 600;
}

.showcase-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 400px; /* 50% bigger minimum height */
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-container p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, #059669 100%);
    color: var(--background-white);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Target Audience Sections */
.target-section {
    padding: 5rem 0;
}

/* .target-section:nth-child(odd) {
} */

.target-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.target-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.target-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.target-features {
    list-style: none;
    margin-bottom: 2rem;
}

.target-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.target-features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.25rem;
}

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

.target-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 1rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--background-white);
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--background-white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--background-white);
}

.footer-tagline {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--background-white);
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: var(--primary-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--background-white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 1rem;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: none;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--background-white);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* Form Styling */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    color: var(--background-white);
    font-weight: 500;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast-info {
    background: var(--primary-color);
}

.toast-success {
    background: var(--accent-color);
}

.toast-error {
    background: #ef4444;
}

.toast-warning {
    background: var(--secondary-color);
}

/* Navbar scroll effect */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Loading states */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: var(--background-white);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Hero Animation Container */
.animation-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: var(--shadow-xl);
}

/* Journey Animation */
.journey-animation {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
}

.map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%),
        linear-gradient(0deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
    background-size: 50px 50px, 50px 50px;
    opacity: 0.3;
}

/* Street Map */
.street-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.street {
    position: absolute;
    background: #d1d5db;
    border: 2px solid #9ca3af;
    z-index: 1;
}

/* Continuous street system from left to right */
.street-horizontal-1 {
    top: 35%;
    left: 0%;
    width: 100%;
    height: 12px;
}

.street-horizontal-2 {
    top: 65%;
    left: 0%;
    width: 100%;
    height: 12px;
}

.street-vertical-1 {
    top: 20%;
    left: 30%;
    width: 12px;
    height: 60%;
}

.street-vertical-2 {
    top: 20%;
    left: 70%;
    width: 12px;
    height: 60%;
}

.intersection {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #9ca3af;
    border-radius: 3px;
    z-index: 2;
}

.intersection-1 {
    top: calc(35% - 4px);
    left: calc(30% - 4px);
}

.intersection-2 {
    top: calc(35% - 4px);
    left: calc(70% - 4px);
}

.intersection-3 {
    top: calc(65% - 4px);
    left: calc(30% - 4px);
}

.intersection-4 {
    top: calc(65% - 4px);
    left: calc(70% - 4px);
}

/* Location Points */
.location {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.customer-location {
    top: 15%;
    left: 15%;
}

.delivery-location {
    top: 45%;
    right: 15%;
}

/* Location Elements */
.customer-house,
.destination-pin {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-lg);
    margin-bottom: 0.5rem;
    position: relative;
}

.customer-house {
    background: var(--secondary-color);
}

.destination-pin {
    background: var(--accent-color);
}

.request-pulse {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
    box-shadow: var(--shadow-md);
    opacity: 0;
    animation: requestPulse 8s ease-in-out infinite;
}

.pulse-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 36px;
    height: 36px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
    opacity: 0;
}

@keyframes requestPulse {
    0%, 10% {
        opacity: 1;
        transform: scale(1);
    }
    20%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.location-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

/* Moving Truck */
.moving-truck-container {
    position: absolute;
    width: 50px;
    height: 50px;
    z-index: 10;
    opacity: 0;
}

.truck-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.item-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: all 0.5s ease;
}

/* Truck animation now handled by JavaScript for dynamic paths */

@keyframes itemPickup {
    /* Item badge hidden at start */
    0%, 30% {
        opacity: 0;
        transform: scale(0.8);
    }
    
    /* Badge appears when truck picks up item */
    35%, 70% {
        opacity: 1;
        transform: scale(1);
    }
    
    /* Badge disappears when item is delivered */
    75%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Status Display */
.journey-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.status-icon {
    font-size: 0.75rem;
    color: var(--primary-color);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Status Display */
.status-display {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 0 0 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.current-status {
    flex: 1;
}

.status-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    animation: statusUpdate 12s ease-in-out infinite;
}

@keyframes statusUpdate {
    0%, 15% { content: "Step 1: Customer posts request..."; }
    25%, 35% { content: "Step 2: Finding available trucks..."; }
    45%, 55% { content: "Step 3: Truck en route to pickup..."; }
    65%, 85% { content: "Step 4: Moving to destination..."; }
    90%, 100% { content: "Complete! Job finished successfully."; }
}

.stats-mini {
    display: flex;
    gap: 1rem;
}

.stat-mini {
    text-align: center;
}

.stat-mini .stat-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-mini .stat-label {
    font-size: 0.6rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive adjustments for animations */
@media (max-width: 768px) {
    .animation-container {
        height: 350px;
    }
    
    .journey-animation {
        height: 300px;
    }
    
    .customer-house,
    .destination-pin {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .request-pulse {
        width: 20px;
        height: 20px;
        font-size: 0.625rem;
    }
    
    .location-label {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }
    
    .moving-truck-container {
        width: 40px;
        height: 40px;
    }
    
    .truck-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .item-badge {
        width: 20px;
        height: 20px;
        font-size: 0.625rem;
    }
    
    .street {
        border-width: 1px;
    }
    
    .street-horizontal-1,
    .street-horizontal-2 {
        height: 6px;
    }
    
    .street-vertical-1 {
        width: 6px;
    }
    
    .intersection {
        width: 12px;
        height: 12px;
    }
    
    /* How It Works Mobile */
    .how-it-works-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .how-it-works-animation {
        height: 350px;
    }
    
    .step-item {
        padding: 1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
    
    /* Hero Logo Mobile */
    .hero-logo-large {
        padding: 1rem;
    }
    
    .hero-logo-img {
        width: 400px;
        height: 400px;
    }
    
    /* Animation Description Mobile */
    .animation-description {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .animation-description p {
        font-size: 0.875rem;
    }
} 