@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-light: #ffffff;
    --border: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Navbar */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Tracking Widget */
.tracking-widget {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 10;
}

.tracking-widget .form-control {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 0.75rem 0 0 0.75rem;
    border: 2px solid var(--border);
}

.tracking-widget .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.tracking-widget .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0 0.75rem 0.75rem 0;
}

/* Features/Packages */
.package-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.package-icon {
    width: 80px;
    height: 80px;
    background: #f0f9ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.package-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}

.package-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Timeline/Tracking Result */
.tracking-result-box {
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 4rem 0 2rem;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 20%;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: white;
    border: 4px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.step-title {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Active/Completed States */
.timeline-step.completed .step-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.timeline-step.completed .step-title {
    color: var(--text-main);
}
.timeline-step.active .step-icon {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.2);
}
.timeline-step.active .step-title {
    color: var(--primary);
    font-weight: 700;
}

/* Progress Line dynamically */
.timeline-progress {
    position: absolute;
    top: 24px;
    left: 0;
    height: 4px;
    background: var(--primary);
    z-index: 1;
    transition: width 1s ease;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .timeline-steps {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }
    .timeline-steps::before {
        top: 0;
        left: 45px;
        width: 4px;
        height: 100%;
    }
    .timeline-progress {
        top: 0;
        left: 45px;
        width: 4px !important;
        height: var(--progress-height, 0);
    }
    .timeline-step {
        width: 100%;
        display: flex;
        align-items: center;
        text-align: left;
        margin-bottom: 2rem;
    }
    .step-icon {
        margin: 0 1rem 0 0;
    }
}
