/**
 * AEK Lojistik - Modern Stylesheet
 * Premium design with SVG icons and refined color palette
 */

/* ===================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =================================== */
:root {
    /* Premium Color Palette - Yellow & Dark Professional */
    --color-primary: #1A1A1A;
    /* Dark Grey/Black */
    --color-primary-light: #2C2C2C;
    /* Light Grey */
    --color-primary-dark: #000000;
    /* Pure Black */

    --color-secondary: #FFC107;
    /* Yellow/Amber Brand Color */
    --color-secondary-light: #FFD54F;
    --color-secondary-dark: #FFA000;

    --color-accent: #FFC107;
    /* Yellow Accent */
    --color-accent-light: #FFE082;
    --color-accent-dark: #FF8F00;

    --color-success: #4CAF50;
    --color-warning: #FFC107;
    --color-error: #F44336;
    --color-info: #29B6F6;

    /* Neutral Colors */
    --color-background: #F5F5F5;
    --color-surface: #FFFFFF;
    --color-card: #FFFFFF;
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #616161;
    --color-text-light: #9E9E9E;
    --color-border: #E0E0E0;
    --color-border-light: #EEEEEE;

    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 100%);
    --gradient-accent: linear-gradient(135deg, #FFC107 0%, #FFA000 100%);
    --gradient-hero: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 193, 7, 0.05) 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.04);
    --shadow-md: 0 4px 12px rgba(26, 26, 26, 0.08);
    --shadow-lg: 0 12px 24px rgba(26, 26, 26, 0.12);
    --shadow-xl: 0 24px 48px rgba(26, 26, 26, 0.16);
    --shadow-card: 0 4px 24px rgba(26, 26, 26, 0.06);
    --shadow-glow: 0 0 40px rgba(255, 193, 7, 0.3);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-tooltip: 400;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-secondary-dark);
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ===================================
   LAYOUT
   =================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.main-content {
    flex: 1;
}

/* ===================================
   SVG ICON SYSTEM
   =================================== */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-md {
    width: 24px;
    height: 24px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

.icon-2xl {
    width: 64px;
    height: 64px;
}

.icon svg {
    width: 100%;
    height: 100%;
}

/* Animated Icon Container */
.icon-animated {
    position: relative;
}

.icon-animated::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--color-secondary);
    opacity: 0;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}

/* ===================================
   HEADER
   =================================== */
.header {
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    border-bottom: 1px solid var(--color-border-light);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    gap: var(--spacing-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
    background: var(--color-border-light);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--color-border-light);
    padding: 4px;
    border-radius: var(--radius-md);
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    color: var(--color-primary);
}

.lang-btn.active {
    background: var(--color-surface);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: var(--spacing-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* Animated Background Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 160, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 193, 7, 0.05) 0%, transparent 70%);
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(1deg);
    }

    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 193, 7, 0.4);
    border-radius: 50%;
    animation: particleFloat 15s infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 20%;
    top: 80%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    left: 30%;
    top: 40%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.particle:nth-child(4) {
    left: 50%;
    top: 60%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.particle:nth-child(5) {
    left: 70%;
    top: 30%;
    animation-delay: 3s;
    animation-duration: 11s;
}

.particle:nth-child(6) {
    left: 80%;
    top: 70%;
    animation-delay: 5s;
    animation-duration: 13s;
}

.particle:nth-child(7) {
    left: 90%;
    top: 50%;
    animation-delay: 2s;
    animation-duration: 16s;
}

.particle:nth-child(8) {
    left: 40%;
    top: 10%;
    animation-delay: 6s;
    animation-duration: 12s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }

    25% {
        transform: translate(30px, -50px) scale(1.2);
        opacity: 0.8;
    }

    50% {
        transform: translate(-20px, -100px) scale(0.8);
        opacity: 0.4;
    }

    75% {
        transform: translate(40px, -50px) scale(1.1);
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-icon {
    margin: 0 auto var(--spacing-xl);
    width: 120px;
    height: 120px;
    animation: heroIconFloat 3s ease-in-out infinite;
}

.hero-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 30px rgba(255, 193, 7, 0.4));
}

@keyframes heroIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    opacity: 0.9;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* ===================================
   SEARCH BOX
   =================================== */
.search-box {
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.search-form {
    display: flex;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-lg);
    gap: var(--spacing-md);
}

.search-input-wrapper .icon {
    color: var(--color-text-light);
}

.search-input {
    flex: 1;
    padding: var(--spacing-lg) 0;
    border: none;
    font-size: var(--font-size-lg);
    outline: none;
    color: var(--color-text-primary);
    background: transparent;
}

.search-input::placeholder {
    color: var(--color-text-light);
}

.search-btn {
    background: var(--gradient-accent);
    color: var(--color-primary);
    border: none;
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    white-space: nowrap;
}

.search-btn:hover {
    filter: brightness(1.1);
    transform: translateX(2px);
}

.search-btn:disabled {
    background: var(--color-text-light);
    cursor: not-allowed;
    transform: none;
}

.search-example {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-md);
}

/* ===================================
   TRUST BADGES
   =================================== */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge .icon {
    color: var(--color-secondary);
}

/* ===================================
   STATISTICS SECTION
   =================================== */
.stats-section {
    padding: var(--spacing-4xl) 0;
    background: var(--color-surface);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xl);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    color: var(--color-secondary);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-value {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* ===================================
   CARDS
   =================================== */
.card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: var(--spacing-xl);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border-light);
}

.card-icon {
    width: 40px;
    height: 40px;
    color: var(--color-secondary);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-primary);
}

/* ===================================
   TRACKING PAGE - STATUS SECTION
   =================================== */
.tracking-page {
    padding: var(--spacing-2xl) 0;
}

.tracking-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.tracking-number {
    color: var(--color-secondary);
    font-weight: 600;
}

/* Status Card */
.status-card {
    background: linear-gradient(135deg, var(--color-surface) 0%, rgba(255, 193, 7, 0.05) 100%);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--color-border-light);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--gradient-accent);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-glow);
}

.status-badge .icon {
    width: 20px;
    height: 20px;
}

/* ===================================
   GAUGE / PROGRESS INDICATOR
   =================================== */
.gauge-container {
    position: relative;
    width: 300px;
    height: 180px;
    margin: 0 auto var(--spacing-xl);
}

.gauge-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.gauge-background {
    fill: none;
    stroke: var(--color-border);
    stroke-width: 16;
    stroke-linecap: round;
}

.gauge-progress {
    fill: none;
    stroke: url(#gaugeGradient);
    stroke-width: 16;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(0, 212, 170, 0.5));
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gauge-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.gauge-percentage {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.gauge-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-top: var(--spacing-xs);
}

/* ===================================
   PROGRESS STEPS
   =================================== */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 650px;
    margin: 0 auto var(--spacing-xl);
    padding: 0 var(--spacing-md);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 3px;
    background: var(--color-border);
    z-index: 0;
    border-radius: var(--radius-full);
}

.progress-step.completed:not(:last-child)::after {
    background: var(--gradient-accent);
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
    border: 2px solid var(--color-border);
}

.step-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-text-light);
}

.progress-step.completed .step-icon {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.progress-step.completed .step-icon svg {
    color: var(--color-primary);
}

.progress-step.current .step-icon {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(99, 91, 255, 0.2);
    animation: currentPulse 2s ease-in-out infinite;
}

.progress-step.current .step-icon svg {
    color: white;
}

@keyframes currentPulse {

    0%,
    100% {
        box-shadow: 0 0 0 6px rgba(99, 91, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(99, 91, 255, 0.1);
    }
}

.step-label {
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 80px;
    font-weight: 500;
}

.progress-step.completed .step-label,
.progress-step.current .step-label {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* ===================================
   TIMELINE
   =================================== */
.timeline {
    position: relative;
    padding-left: var(--spacing-2xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-border) 100%);
    border-radius: var(--radius-full);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--spacing-lg);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s ease forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

.timeline-dot {
    position: absolute;
    left: -25px;
    top: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-border-light);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-dot svg {
    width: 16px;
    height: 16px;
    color: var(--color-text-light);
}

.timeline-item.completed .timeline-dot {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.timeline-item.completed .timeline-dot svg {
    color: var(--color-primary);
}

.timeline-item.current .timeline-dot {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.2);
}

.timeline-item.current .timeline-dot svg {
    color: white;
}

.timeline-content {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    margin-left: var(--spacing-md);
}

.timeline-item.current .timeline-content {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(99, 91, 255, 0.1);
}

.timeline-date {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xs);
}

.timeline-title {
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
}

.timeline-location {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.timeline-location .icon {
    width: 14px;
    height: 14px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-2xl) 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: white;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.footer-logo svg {
    width: 32px;
    height: 32px;
}

.footer-text {
    font-size: var(--font-size-sm);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn .icon {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--color-primary);
    color: white;
}

.btn-secondary:hover {
    background: var(--color-primary-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}

/* ===================================
   ALERTS / MESSAGES
   =================================== */
.alert {
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    border: 1px solid;
}

.alert .icon {
    flex-shrink: 0;
}

.alert-error {
    background: rgba(255, 90, 95, 0.1);
    color: var(--color-error);
    border-color: rgba(255, 90, 95, 0.2);
}

.alert-success {
    background: rgba(0, 212, 170, 0.1);
    color: var(--color-success);
    border-color: rgba(0, 212, 170, 0.2);
}

.alert-warning {
    background: rgba(255, 190, 11, 0.1);
    color: #CC9800;
    border-color: rgba(255, 190, 11, 0.2);
}

.alert-info {
    background: rgba(0, 180, 216, 0.1);
    color: var(--color-info);
    border-color: rgba(0, 180, 216, 0.2);
}

/* ===================================
   LOADING STATES
   =================================== */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl);
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-text {
    margin-top: var(--spacing-md);
    color: var(--color-text-secondary);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===================================
   FEATURE CARDS
   =================================== */
.features-section {
    padding: var(--spacing-4xl) 0;
    background: var(--color-background);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-secondary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    color: var(--color-secondary);
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.feature-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-text-secondary);
}

.text-accent {
    color: var(--color-secondary);
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mt-xl {
    margin-top: var(--spacing-xl);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

.hidden {
    display: none !important;
}

.visible {
    display: block;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (min-width: 576px) {
    .hero-title {
        font-size: var(--font-size-5xl);
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-xl);
    }

    .hero {
        padding: var(--spacing-4xl) 0;
    }

    .step-label {
        font-size: var(--font-size-sm);
        max-width: 100px;
    }
}

@media (min-width: 992px) {
    .tracking-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 var(--spacing-2xl);
    }
}

/* Mobile Styles */
@media (max-width: 575px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .hero-icon {
        width: 80px;
        height: 80px;
    }

    .search-form {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }

    .search-input-wrapper {
        border-bottom: 1px solid var(--color-border-light);
    }

    .search-btn {
        justify-content: center;
        padding: var(--spacing-md);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .progress-steps {
        overflow-x: auto;
        padding-bottom: var(--spacing-md);
        justify-content: flex-start;
        gap: var(--spacing-lg);
    }

    .progress-step {
        flex: 0 0 auto;
        min-width: 60px;
    }

    .progress-step:not(:last-child)::after {
        display: none;
    }

    .step-icon {
        width: 40px;
        height: 40px;
    }

    .step-icon svg {
        width: 20px;
        height: 20px;
    }

    .step-label {
        font-size: 10px;
        max-width: 60px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        gap: var(--spacing-xs);
    }

    .nav-link {
        padding: var(--spacing-sm);
        font-size: var(--font-size-sm);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .card {
        padding: var(--spacing-md);
    }

    .gauge-container {
        width: 240px;
        height: 150px;
    }

    .gauge-percentage {
        font-size: var(--font-size-3xl);
    }
}

/* Print Styles */
@media print {

    .header,
    .footer,
    .search-box,
    .action-buttons {
        display: none;
    }

    body {
        background: white;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .hero {
        display: none;
    }
}/* Responsive Design Fixes */
@media (max-width: 992px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .logo img {
        height: 40px;
        /* Smaller logo on tablet */
    }

    .nav-menu {
        justify-content: center;
        width: 100%;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-2xl: 1.75rem;
        --font-size-3xl: 2rem;
        --font-size-4xl: 2.5rem;
    }

    .hero {
        padding: 4rem 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .search-box {
        padding: 0.5rem;
        flex-direction: column;
    }

    .search-input {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        margin-bottom: 0.5rem;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Timeline Fixes */
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .timeline-time {
        min-width: auto;
        font-weight: bold;
        color: var(--color-primary);
        margin-bottom: 0.25rem;
    }

    /* Gauge responsive */
    .gauge-container {
        transform: scale(0.9);
    }

    .status-badge {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .card {
        padding: 1.25rem;
    }
}
