@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* =========================================
   DESIGN TOKENS
   ========================================= */
:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: rgba(99, 102, 241, 0.1);
    --secondary-color: #a855f7;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    --bg-dark-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #311042 100%);
    --bg-light-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);

    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);

    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --card-shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 10px 15px -5px rgba(0, 0, 0, 0.05);

    --radius-sm: 0.75rem;
    --radius-md: 1.25rem;
    --radius-lg: 1.5rem;
    --radius-pill: 50px;

    --transition-fast: 0.18s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================
   BASE & SCROLLBAR
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #f8fafc;
    color: #334155;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* =========================================
   KEYFRAME ANIMATIONS
   ========================================= */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33%       { transform: translateY(-18px) rotate(5deg); }
    66%       { transform: translateY(-8px) rotate(-3deg); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-ring {
    0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    70%  { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

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

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes confettiDrop {
    0%   { transform: translateY(-20px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100px) rotate(720deg); opacity: 0; }
}

@keyframes particleFloat {
    0%   { transform: translateY(0) translateX(0); opacity: 0.3; }
    50%  { transform: translateY(-30px) translateX(15px); opacity: 0.7; }
    100% { transform: translateY(0) translateX(0); opacity: 0.3; }
}

/* =========================================
   GLASSMORPHISM NAVBAR
   ========================================= */
.glass-nav {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.35s ease;
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.glass-nav .navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.glass-nav .navbar-brand:hover {
    opacity: 0.8;
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-icon svg {
    fill: white;
}

.glass-nav .nav-link {
    font-weight: 600;
    color: #475569 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
    position: relative;
}

.glass-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width var(--transition-base);
}

.glass-nav .nav-link:hover::after,
.glass-nav .nav-link.active::after {
    width: 60%;
}

.glass-nav .nav-link:hover,
.glass-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(99, 102, 241, 0.08);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-gradient {
    position: relative;
    background: var(--bg-dark-gradient);
    color: #ffffff;
    padding: 120px 0 160px;
    overflow: hidden;
}

/* Animated particle orbs */
.hero-gradient::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 1;
    animation: floatSlow 12s ease-in-out infinite;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 1;
    animation: floatSlow 9s ease-in-out infinite reverse;
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    animation: particleFloat var(--dur, 8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 20%, #e9d5ff 60%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Trust badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    animation: fadeInUp 0.5s ease both;
}

.trust-badge svg {
    width: 14px;
    height: 14px;
    fill: #a5f3fc;
    flex-shrink: 0;
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
    background: #ffffff;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(226, 232, 240, 0.7);
    transition: background var(--transition-base);
}

.stat-card:last-child {
    border-right: none;
}

.stat-card:hover {
    background: rgba(99, 102, 241, 0.02);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    display: block;
    animation: countUp 0.6s ease both;
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.4rem;
    display: block;
}

/* =========================================
   PREMIUM BUTTONS (with ripple)
   ========================================= */
.btn-premium,
.btn-premium-outline,
.btn-premium-dark {
    position: relative;
    overflow: hidden;
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
    transition: all var(--transition-base);
    letter-spacing: 0.01em;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, var(--primary-hover), #9333ea);
    color: white;
}

.btn-premium:active {
    transform: translateY(0);
}

.btn-premium-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: white;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
    letter-spacing: 0.01em;
}

.btn-premium-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    color: white;
}

.btn-premium-dark {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all var(--transition-base);
}

.btn-premium-dark:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    color: white;
}

/* Ripple Effect */
.btn-premium .ripple,
.btn-premium-outline .ripple,
.btn-premium-dark .ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.55s linear;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

/* =========================================
   CARDS & CONTAINERS
   ========================================= */
.premium-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-base);
    padding: 2.25rem 2rem;
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(99, 102, 241, 0.2);
}

.step-card {
    text-align: center;
    position: relative;
}

.step-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.08));
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-bounce);
}

.step-card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-color);
    transition: fill var(--transition-base);
}

.premium-card:hover .step-card-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.premium-card:hover .step-card-icon svg {
    fill: white;
}

.step-number-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-bounce);
}

.premium-card:hover .step-number-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

/* =========================================
   TRACKING CTA CARD
   ========================================= */
.tracking-cta-section {
    margin-top: -70px;
    position: relative;
    z-index: 10;
}

.tracking-card {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 60%, #9333ea 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: none;
    box-shadow: 0 25px 50px -15px rgba(99, 102, 241, 0.55);
    overflow: hidden;
    position: relative;
}

.tracking-card::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -20%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.tracking-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    z-index: 0;
}

.tracking-card .card-content {
    position: relative;
    z-index: 2;
}

/* Quick track input in CTA */
.quick-track-form {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
}

.quick-track-form .form-control {
    border-radius: var(--radius-pill);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 500;
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.25rem;
    flex: 1;
}

.quick-track-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.quick-track-form .form-control:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: none;
    color: white;
    outline: none;
}

/* =========================================
   ACCORDION — FAQ CUSTOM
   ========================================= */
.accordion-item {
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: var(--radius-sm) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: box-shadow var(--transition-base);
}

.accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.accordion-button {
    font-weight: 600;
    color: #334155 !important;
    padding: 1.25rem 1.5rem !important;
    background-color: #ffffff !important;
    transition: background var(--transition-fast) !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color) !important;
    background-color: rgba(99, 102, 241, 0.03) !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

.accordion-button::after {
    filter: none;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    opacity: 1;
    filter: hue-rotate(220deg) saturate(2);
}

.accordion-body {
    padding: 1rem 1.5rem 1.5rem !important;
    color: #64748b;
    background-color: #ffffff;
    line-height: 1.7;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.check-list-icon {
    color: var(--success-color);
    flex-shrink: 0;
}

/* =========================================
   FOOTER PREMIUM
   ========================================= */
.premium-footer {
    background: #0a0f1e;
    background-image: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-footer h4,
.premium-footer h5,
.premium-footer .footer-heading {
    color: #f1f5f9;
    font-weight: 700;
}

.premium-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.premium-footer a:hover {
    color: #e2e8f0;
}

.premium-footer hr {
    border-color: rgba(255, 255, 255, 0.07);
}

.footer-link-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.footer-link-item:hover {
    color: #c7d2fe;
    gap: 0.65rem;
}

.footer-link-item::before {
    content: '›';
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8 !important;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* =========================================
   ICON CIRCLES (services cards)
   ========================================= */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all var(--transition-bounce);
}

.premium-card:hover .icon-circle {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

/* =========================================
   WIZARD STEPS
   ========================================= */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 3rem;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
    border-radius: 3px;
}

.wizard-progress-bar {
    position: absolute;
    top: 25px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 2;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.wizard-step {
    position: relative;
    z-index: 3;
    text-align: center;
    flex: 1;
}

.wizard-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #e2e8f0;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all var(--transition-base);
    margin-bottom: 0.25rem;
}

.wizard-step-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: all var(--transition-base);
}

.wizard-step.active .wizard-step-icon {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.15), 0 4px 12px rgba(99, 102, 241, 0.35);
    animation: pulse-ring 2s ease-in-out infinite;
}

.wizard-step.completed .wizard-step-icon {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.wizard-step-label {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    transition: color var(--transition-base);
}

.wizard-step.active .wizard-step-label,
.wizard-step.completed .wizard-step-label {
    color: #334155;
}

/* Wizard step fade-slide animation */
.wizard-content {
    animation: fadeInUp 0.35s ease both;
}

.wizard-content.d-none {
    animation: none;
}

/* =========================================
   SELECTABLE DEFECT CARDS
   ========================================= */
.defect-card-input {
    display: none;
}

.defect-card-label {
    display: block;
    cursor: pointer;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    background: #ffffff;
    transition: all var(--transition-base);
    height: 100%;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.defect-card-label::before {
    content: '';
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #fff;
    transition: all var(--transition-base);
}

.defect-card-label:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.08);
}

.defect-card-input:checked + .defect-card-label {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(168, 85, 247, 0.03));
    box-shadow: 0 0 0 1px var(--primary-color), 0 8px 20px rgba(99, 102, 241, 0.1);
}

.defect-card-input:checked + .defect-card-label::before {
    background: var(--primary-color);
    border-color: var(--primary-color);
    content: '✓';
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   PAYMENT METHOD RADIOS
   ========================================= */
.payment-radio-wrapper {
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-sm);
    background: #ffffff;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.payment-radio-wrapper:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.02);
}

.payment-radio-wrapper.selected {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.04);
    box-shadow: 0 0 0 1px var(--primary-color);
}

/* =========================================
   TRACKING — TIMELINE
   ========================================= */
.tracking-timeline {
    position: relative;
    padding-left: 3rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, #e2e8f0 100%);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    animation: fadeInUp 0.4s ease both;
}

.timeline-badge {
    position: absolute;
    left: -3rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 0 0 4px #f8fafc;
    transition: all var(--transition-base);
}

.timeline-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.timeline-item.active .timeline-badge {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 0 4px #f8fafc, 0 0 0 8px rgba(99, 102, 241, 0.15);
    animation: pulse-ring 2s ease-in-out infinite;
}

.timeline-content {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: box-shadow var(--transition-base);
}

.timeline-content:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.timeline-date {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
}

/* =========================================
   REPAIR STATUS PROGRESS BAR
   ========================================= */
.repair-status-track {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 1.5rem 0;
    overflow-x: auto;
}

.repair-status-track::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
    border-radius: 3px;
}

.repair-status-fill {
    position: absolute;
    top: 28px;
    left: 5%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
    border-radius: 3px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.status-node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 70px;
}

.status-node-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.status-node-dot svg {
    width: 15px;
    height: 15px;
    fill: #cbd5e1;
    transition: fill var(--transition-base);
}

.status-node-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    text-align: center;
    max-width: 70px;
    line-height: 1.3;
    transition: color var(--transition-base);
}

.status-node.completed .status-node-dot {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
}

.status-node.completed .status-node-dot svg {
    fill: white;
}

.status-node.completed .status-node-label {
    color: var(--primary-color);
}

.status-node.current .status-node-dot {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.15);
    animation: pulse-ring 2s ease-in-out infinite;
}

.status-node.current .status-node-dot svg {
    fill: var(--primary-color);
}

.status-node.current .status-node-label {
    color: #334155;
    font-weight: 700;
}

/* =========================================
   TOAST NOTIFICATIONS
   ========================================= */
.toast-container-custom {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast-custom {
    min-width: 260px;
    max-width: 340px;
    background: #1e293b;
    color: #f1f5f9;
    border-radius: var(--radius-sm);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    animation: slideInRight 0.3s ease, fadeIn 0.3s ease;
    pointer-events: auto;
}

.toast-custom.success .toast-icon { color: #34d399; }
.toast-custom.error   .toast-icon { color: #f87171; }
.toast-custom.info    .toast-icon { color: #60a5fa; }

.toast-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* =========================================
   CONFETTI SUCCESS
   ========================================= */
.confetti-piece {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    animation: confettiDrop 1.5s ease forwards;
    pointer-events: none;
    z-index: 9999;
}

/* =========================================
   COPY BUTTON
   ========================================= */
.btn-copy {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    border-radius: 0.5rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

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

.btn-copy svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

/* =========================================
   ANIMATED ILLUSTRATION
   ========================================= */
.animated-illustration {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.2));
}

/* =========================================
   FORM CONTROLS
   ========================================= */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* =========================================
   RESPONSIVE REFINEMENTS
   ========================================= */
@media (max-width: 991.98px) {
    .hero-gradient {
        padding: 90px 0 120px;
        text-align: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .quick-track-form {
        max-width: 100%;
    }

    .tracking-card {
        padding: 2rem 1.5rem;
    }

    .stat-card {
        border-right: none;
        border-bottom: 1px solid rgba(226, 232, 240, 0.7);
        padding: 1.5rem 1rem;
    }

    .stat-card:last-child {
        border-bottom: none;
    }
}

@media (max-width: 767.98px) {
    .premium-card {
        padding: 1.5rem 1.25rem;
    }

    .wizard-step-label {
        font-size: 0.7rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .repair-status-track::before {
        left: 0;
        right: 0;
    }

    .repair-status-fill {
        left: 0;
    }

    .status-node-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 575.98px) {
    .trust-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
}

/* =========================================
   CONTACT IFRAME — PREMIUM PRESENTATION
   ========================================= */

/* Outer card tweak */
.contact-iframe-card {
    background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(99, 102, 241, 0.12);
    box-shadow: 0 20px 60px -15px rgba(99, 102, 241, 0.12), 0 8px 24px -8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-iframe-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.contact-iframe-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Section badge (pill above heading) */
.iframe-section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-pill);
    padding: 0.3rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* Iframe wrapper — the visual container around the iframe */
.iframe-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1.5px solid rgba(99, 102, 241, 0.15);
    background: #ffffff;
    box-shadow:
        0 4px 24px rgba(99, 102, 241, 0.07),
        0 1px 4px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    min-height: 400px;
    transition: box-shadow var(--transition-base);
}

.iframe-wrapper:hover {
    box-shadow:
        0 12px 40px rgba(99, 102, 241, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

/* Gradient top-border accent */
.iframe-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: 10;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* Loading overlay */
.iframe-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    z-index: 5;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

/* Spinner ring */
.iframe-loader-spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid rgba(99, 102, 241, 0.12);
    border-top-color: var(--primary-color);
    border-right-color: var(--secondary-color);
    animation: spin 0.9s linear infinite;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.15);
}

.iframe-loader-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.03em;
    animation: fadeIn 0.5s ease both;
}

/* The iframe itself */
.contact-iframe {
    display: block;
    width: 100%;
    height: 600px;
    border: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Responsive height */
@media (max-width: 767.98px) {
    .contact-iframe {
        height: 700px;
    }

    .iframe-wrapper {
        min-height: 500px;
    }
}

@media (max-width: 575.98px) {
    .contact-iframe {
        height: 800px;
    }
}

