/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Design System Variables - Exactly matching React version */
:root {
    --background: 244 100% 98%;
    --foreground: 212 100% 15%;
    
    --card: 0 0% 100%;
    --card-foreground: 212 100% 15%;
    
    --primary: 212 100% 27%;
    --primary-foreground: 210 40% 98%;
    
    --secondary: 212 45% 96%;
    --secondary-foreground: 212 100% 15%;
    
    --muted: 212 20% 96%;
    --muted-foreground: 212 10% 45%;
    
    --accent: 212 35% 92%;
    --accent-foreground: 212 100% 15%;
    
    --border: 212 20% 91%;
    
    /* Swift Courier Brand Colors */
    --courier-primary: 212 100% 27%;
    --courier-primary-light: 212 100% 35%;
    --courier-secondary: 212 45% 96%;
    --courier-accent: 212 35% 92%;
    --courier-text: 212 100% 15%;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(var(--courier-primary) / 0.9), hsl(var(--courier-primary-light) / 0.8));
    --gradient-cta: linear-gradient(135deg, hsl(var(--courier-primary) / 0.8), hsl(var(--courier-primary-light) / 0.7));
    
    /* Shadows */
    --shadow-card: 0 4px 6px -1px hsl(var(--courier-primary) / 0.1), 0 2px 4px -1px hsl(var(--courier-primary) / 0.06);
    --shadow-card-hover: 0 10px 15px -3px hsl(var(--courier-primary) / 0.1), 0 4px 6px -2px hsl(var(--courier-primary) / 0.05);
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.nav {
    background-color: hsl(var(--card));
    box-shadow: 0 2px 4px -1px hsl(0 0% 0% / 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    animation: fadeInDown 0.6s ease-out;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: hsl(var(--foreground));
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: hsl(var(--primary));
}

.nav-mobile-button {
    display: block;
}

.mobile-menu-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: hsl(var(--foreground));
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-mobile {
    display: none;
}

.nav-mobile-content {
    padding: 0.5rem 0;
    border-top: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
}

.nav-mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    color: hsl(var(--foreground));
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-mobile-link:hover {
    color: hsl(var(--primary));
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .nav-mobile-button {
        display: none;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    padding: 0.5rem 1rem;
    height: 2.5rem;
    text-decoration: none;
}

.btn-hero {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-weight: 600;
    box-shadow: 0 4px 6px -1px hsl(0 0% 0% / 0.1);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: hsl(var(--primary) / 0.9);
    box-shadow: 0 10px 15px -3px hsl(0 0% 0% / 0.1);
    transform: translateY(-2px);
}

.btn-hero-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background-color: white;
    color: hsl(var(--primary));
}

.btn svg {
    width: 1rem;
    height: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-image: var(--gradient-hero), url('src/assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: hsl(0 0% 0% / 0.2);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    color: white;
    animation: fadeInUp 0.8s ease-out;
}

.hero-inner {
    max-width: 64rem;
    margin: 0 auto;
}

.hero-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-icon {
    width: 3rem;
    height: 3rem;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-highlight {
    color: white;
}

.hero-description {
    font-size: 1.25rem;
    color: hsl(0 0% 100% / 0.9);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-buttons .btn {
    font-size: 1.125rem;
    padding: 1rem 2rem;
    height: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    color: white;
}

.hero-stat {
    background-color: hsl(0 0% 100% / 0.1);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    padding: 1.5rem;
    animation: fadeIn 1s ease-out;
}

.hero-stat:nth-child(1) { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }
.hero-stat:nth-child(2) { animation-delay: 0.5s; opacity: 0; animation-fill-mode: forwards; }
.hero-stat:nth-child(3) { animation-delay: 0.7s; opacity: 0; animation-fill-mode: forwards; }

.hero-stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: hsl(0 0% 100% / 0.8);
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: hsl(var(--card));
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: slideInLeft 0.8s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.section-divider {
    height: 0.25rem;
    width: 5rem;
    background-color: hsl(var(--primary));
    border-radius: 0.125rem;
}

.about-text {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-top: 1rem;
}

.about-stat {
    text-align: center;
}

.about-stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

.about-stat-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.about-image {
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

.about-img {
    border-radius: 0.5rem;
    box-shadow: var(--shadow-card-hover);
    width: 100%;
    height: auto;
}

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--primary) / 0.2), transparent);
    border-radius: 0.5rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: hsl(var(--background));
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-divider {
    margin: 0 auto 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 32rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

.feature-card {
    background-color: hsl(var(--card));
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
    animation: scaleIn 0.5s ease-out;
    animation-fill-mode: backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: hsl(var(--primary) / 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.feature-icon-svg {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary));
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.feature-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

.features-tech {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.features-tech-image {
    order: 2;
}

.tech-img {
    border-radius: 0.5rem;
    box-shadow: var(--shadow-card-hover);
    width: 100%;
    height: auto;
}

.features-tech-content {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.tech-text {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-tech {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-tech-image {
        order: 1;
    }
    
    .features-tech-content {
        order: 2;
    }
    
    .tech-title {
        font-size: 2.25rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: hsl(var(--accent) / 0.3);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: hsl(var(--card));
    padding: 2rem;
    border-radius: 0.5rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: backwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.3s; }
.testimonial-card:nth-child(3) { animation-delay: 0.5s; }

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.testimonial-stars {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.star {
    width: 1.25rem;
    height: 1.25rem;
    color: #eab308;
    fill: currentColor;
}

.testimonial-content {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid hsl(var(--border));
    padding-top: 1rem;
}

.testimonial-name {
    font-weight: 600;
    color: hsl(var(--foreground));
}

.testimonial-role {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.testimonials-stats {
    text-align: center;
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.testimonial-stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

.testimonial-stat-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background-image: var(--gradient-cta), url('src/assets/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background-color: hsl(0 0% 0% / 0.3);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 10;
    color: white;
}

.cta-inner {
    max-width: 64rem;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: hsl(0 0% 100% / 0.9);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.cta-buttons .btn {
    font-size: 1.125rem;
    padding: 1rem 2rem;
    height: auto;
}

.cta-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 32rem;
    margin: 0 auto;
}

.cta-contact-item {
    background-color: hsl(0 0% 100% / 0.1);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    padding: 1.5rem;
    color: white;
}

.cta-contact-icon {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 1rem;
    display: block;
}

.cta-contact-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-contact-text {
    color: hsl(0 0% 100% / 0.8);
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3.75rem;
    }
    
    .cta-description {
        font-size: 1.5rem;
    }
    
    .cta-contact {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
.footer {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.footer .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    width: 2rem;
    height: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: hsl(var(--primary-foreground) / 0.8);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: hsl(var(--primary-foreground) / 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary-foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: hsl(var(--primary-foreground) / 0.2);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: hsl(var(--primary-foreground) / 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: hsl(var(--primary-foreground));
}

.footer-bottom {
    border-top: 1px solid hsl(var(--primary-foreground) / 0.2);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: hsl(var(--primary-foreground) / 0.8);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary-foreground) / 0.8);
}

.footer-contact svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-legal a {
    color: hsl(var(--primary-foreground) / 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal a:hover {
    color: hsl(var(--primary-foreground));
}

.footer-divider {
    color: hsl(var(--primary-foreground) / 0.5);
}

/* Tracking Page Styles */

/* Tracking animations */
.tracking-form-container {
    animation: fadeInUp 0.6s ease-out;
}

.tracking-results {
    animation: fadeInUp 0.8s ease-out;
}

.tracking-status-card {
    animation: scaleIn 0.5s ease-out;
}

.tracking-timeline-item {
    animation: slideInLeft 0.5s ease-out;
    animation-fill-mode: backwards;
}

.tracking-timeline-item:nth-child(1) { animation-delay: 0.1s; }
.tracking-timeline-item:nth-child(2) { animation-delay: 0.2s; }
.tracking-timeline-item:nth-child(3) { animation-delay: 0.3s; }
.tracking-timeline-item:nth-child(4) { animation-delay: 0.4s; }

.feature-card {
    animation: scaleIn 0.6s ease-out;
    animation-fill-mode: backwards;
}
.tracking-hero {
    position: relative;
    background: linear-gradient(135deg, hsl(220 70% 15%), hsl(220 50% 25%));
    padding: 6rem 0 4rem;
    text-align: center;
    overflow: hidden;
    margin-top: 4rem;
}

.tracking-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, hsl(220 70% 50% / 0.1), transparent 50%),
                radial-gradient(circle at 70% 50%, hsl(260 70% 50% / 0.1), transparent 50%);
}

.tracking-hero-content {
    position: relative;
    z-index: 1;
}

.tracking-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: hsl(0 0% 100%);
    margin-bottom: 1rem;
}

.tracking-hero-description {
    font-size: 1.125rem;
    color: hsl(0 0% 100% / 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.tracking-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, hsl(220 15% 95%), hsl(0 0% 100%));
}

.tracking-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: hsl(0 0% 100%);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px hsl(220 50% 20% / 0.1);
}

.tracking-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tracking-form-icon {
    width: 3rem;
    height: 3rem;
    color: hsl(220 70% 50%);
    margin-bottom: 1rem;
}

.tracking-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: hsl(220 50% 15%);
}

.tracking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tracking-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.tracking-input-icon {
    position: absolute;
    left: 1rem;
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(220 30% 50%);
    pointer-events: none;
}

.tracking-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid hsl(220 15% 85%);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tracking-input:focus {
    outline: none;
    border-color: hsl(220 70% 50%);
    box-shadow: 0 0 0 3px hsl(220 70% 50% / 0.1);
}

.tracking-help {
    text-align: center;
    margin-top: 1rem;
}

.tracking-help-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(220 30% 50%);
}

.tracking-help-icon {
    width: 1rem;
    height: 1rem;
}

.tracking-results {
    max-width: 900px;
    margin: 3rem auto 0;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tracking-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tracking-results-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: hsl(220 50% 15%);
}

.tracking-results-number {
    font-size: 1rem;
    font-weight: 600;
    color: hsl(220 70% 50%);
    background: hsl(220 70% 97%);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.tracking-status-card {
    background: hsl(0 0% 100%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px hsl(220 50% 20% / 0.08);
    margin-bottom: 2rem;
}

.tracking-status-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid hsl(220 15% 95%);
}

.tracking-status-icon {
    width: 3rem;
    height: 3rem;
    color: hsl(142 76% 36%);
    flex-shrink: 0;
}

.tracking-status-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(220 50% 15%);
    margin-bottom: 0.25rem;
}

.tracking-status-description {
    font-size: 1rem;
    color: hsl(220 30% 50%);
}

.tracking-status-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tracking-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tracking-info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(220 30% 50%);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tracking-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: hsl(220 50% 15%);
}

.tracking-timeline {
    background: hsl(0 0% 100%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px hsl(220 50% 20% / 0.08);
    margin-bottom: 2rem;
}

.tracking-timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(220 50% 15%);
    margin-bottom: 2rem;
}

.tracking-timeline-items {
    position: relative;
    padding-left: 2rem;
}

.tracking-timeline-items::before {
    content: '';
    position: absolute;
    left: 0.625rem;
    top: 0.625rem;
    bottom: 0.625rem;
    width: 2px;
    background: hsl(220 15% 85%);
}

.tracking-timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.tracking-timeline-item:last-child {
    padding-bottom: 0;
}

.tracking-timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: hsl(220 15% 85%);
    border: 3px solid hsl(0 0% 100%);
    box-shadow: 0 0 0 2px hsl(220 15% 85%);
    transition: all 0.3s ease;
}

.tracking-timeline-item.active .tracking-timeline-marker {
    background: hsl(220 70% 50%);
    box-shadow: 0 0 0 2px hsl(220 70% 50%);
}

.tracking-timeline-status {
    font-size: 1rem;
    font-weight: 700;
    color: hsl(220 50% 15%);
    margin-bottom: 0.25rem;
}

.tracking-timeline-location {
    font-size: 0.875rem;
    color: hsl(220 30% 50%);
    margin-bottom: 0.25rem;
}

.tracking-timeline-date {
    font-size: 0.875rem;
    color: hsl(220 30% 60%);
}

/* Package Details Section */
.tracking-package-details {
    background: hsl(0 0% 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.tracking-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(220 50% 15%);
    margin-bottom: 1.5rem;
}

.tracking-details-grid {
    display: grid;
    gap: 1.5rem;
}

.tracking-item-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.tracking-item-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid hsl(220 15% 90%);
}

.tracking-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tracking-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(220 30% 50%);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tracking-item-description {
    font-size: 1rem;
    color: hsl(220 50% 15%);
    line-height: 1.6;
}

/* Sender & Receiver Details */
.tracking-parties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.tracking-party-card {
    background: hsl(0 0% 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.tracking-party-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid hsl(220 15% 95%);
}

.tracking-party-icon {
    width: 24px;
    height: 24px;
    color: hsl(220 70% 50%);
}

.tracking-party-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(220 50% 15%);
}

.tracking-party-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tracking-party-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.tracking-party-item-icon {
    width: 18px;
    height: 18px;
    color: hsl(220 30% 50%);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.tracking-party-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: hsl(220 30% 50%);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.tracking-party-value {
    font-size: 0.9375rem;
    color: hsl(220 50% 15%);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .tracking-parties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tracking-item-card {
        grid-template-columns: 1fr;
    }
    
    .tracking-item-image {
        width: 100%;
        height: 200px;
    }
}

.tracking-features {
    padding: 4rem 0;
    background: hsl(0 0% 100%);
}