/* ===================================
   LixaMaterials - Material Handling & Logistics
   Professional Logistics Design - Fully Responsive
   Version: 2.0.0
   =================================== */

/* ===================================
   HERO SECTION
   =================================== */
.materials-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 180px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(41, 170, 226, 0.5), rgba(255, 107, 0, 0.1));
    border: 1px solid rgba(41, 170, 226, 0.5);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(41, 170, 226, 0.5);
}

.hero-badge svg {
    width: 18px;
    height: 18px;
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 28px;
    letter-spacing: -1.5px;
}

.gradient-text {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: materialsGlow 2s ease-in-out infinite alternate;
}

@keyframes materialsGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(41, 170, 226, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(41, 170, 226, 0.5));
    }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 44px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    padding: 0 20px;
}

.btn-primary-materials,
.btn-secondary-materials {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary-materials {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    box-shadow: 0 12px 40px rgba(41, 170, 226, 0.5);
    font-weight: 700;
}

.btn-primary-materials::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary-materials:hover::before {
    left: 100%;
}

.btn-primary-materials:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 60px rgba(41, 170, 226, 0.5);
}

.btn-secondary-materials {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(41, 170, 226, 0.5);
}

.btn-secondary-materials:hover {
    background: rgba(41, 170, 226, 0.5);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Hero Dashboard */
.hero-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dashboard-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--glass);
    border: 1px solid rgba(41, 170, 226, 0.5);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.dashboard-item:hover {
    background: rgba(255, 140, 0, 0.08);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(41, 170, 226, 0.5);
}

.dash-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(41, 170, 226, 0.5), rgba(255, 107, 0, 0.1));
    border: 2px solid rgba(41, 170, 226, 0.5);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.dash-icon svg {
    width: 22px;
    height: 22px;
}

.dash-info {
    flex: 1;
    min-width: 0;
}

.dash-number {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.dash-number::after {
    content: '+';
    margin-left: 2px;
    font-size: 0.7em;
}

.dash-label {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* Floating Boxes */
.floating-boxes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.float-box {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 140, 0, 0.08);
    border: 2px solid rgba(41, 170, 226, 0.5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    animation: floatBox 8s ease-in-out infinite;
}

.float-box svg {
    width: 28px;
    height: 28px;
}

.float-box.fb1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.float-box.fb2 {
    top: 60%;
    right: 12%;
    animation-delay: 2s;
}

.float-box.fb3 {
    bottom: 20%;
    left: 12%;
    animation-delay: 4s;
}

.float-box.fb4 {
    top: 35%;
    right: 8%;
    animation-delay: 6s;
}

@keyframes floatBox {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.813rem;
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 13px;
    position: relative;
    box-shadow: 0 0 15px rgba(41, 170, 226, 0.5);
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
    box-shadow: 0 0 8px rgba(41, 170, 226, 0.5);
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===================================
   SOLUTIONS SECTION
   =================================== */

.materials-solutions {
    padding: 80px 20px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(41, 170, 226, 0.5);
    border: 1px solid rgba(41, 170, 226, 0.5);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.813rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.section-badge svg {
    width: 16px;
    height: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 3.75rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.section-subtitle {
    font-size: clamp(0.938rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

.solution-card {
    background: var(--glass);
    border: 1px solid rgba(41, 170, 226, 0.5);
    border-radius: 24px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(41, 170, 226, 0.5);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(41, 170, 226, 0.5) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.solution-card:hover .card-glow {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
    flex-wrap: wrap;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(41, 170, 226, 0.5), rgba(255, 107, 0, 0.05));
    border: 2px solid rgba(41, 170, 226, 0.5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.solution-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(41, 170, 226, 0.5);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
}

.card-badge {
    padding: 8px 16px;
    background: rgba(41, 170, 226, 0.5);
    border: 1px solid rgba(41, 170, 226, 0.5);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.card-description {
    font-size: clamp(0.875rem, 1.5vw, 0.938rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 24px;
}

.card-features {
    list-style: none;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.813rem, 1.5vw, 0.875rem);
    margin-bottom: 10px;
    padding: 6px 0;
}

.card-features li svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.938rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 14px;
}

.card-link svg {
    width: 18px;
    height: 18px;
}

.card-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    color: rgba(255, 140, 0, 0.04);
    line-height: 1;
    pointer-events: none;
}

/* ===================================
   PROCESS FLOW SECTION
   =================================== */

.materials-process {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    overflow: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(41, 170, 226, 0.12);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(41, 170, 226, 0.2);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-top: 16px;
}

/* === Process Flow === */
.process-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
}

.process-step {
    position: relative;
    width: 100%;
    max-width: 300px;
    min-height: 260px; /* ارتفاع ثابت */
    padding: 40px 24px 28px;
    background: var(--glass, rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: var(--primary, #29aaf2);
    box-shadow: 0 20px 40px rgba(41, 170, 226, 0.25);
    background: rgba(255, 255, 255, 0.12);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: var(--primary, #29aaf2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(41, 170, 226, 0.4);
    z-index: 2;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(41, 170, 226, 0.12);
    border: 2px solid rgba(41, 170, 226, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #29aaf2);
    transition: all 0.3s ease;
}

.step-icon svg {
    width: 32px;
    height: 32px;
}

.process-step:hover .step-icon {
    background: rgba(41, 170, 226, 0.2);
    transform: scale(1.1) rotate(8deg);
    border-color: var(--primary);
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.3;
}

.process-step p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    flex-grow: 1;
    margin: 0;
}

/* Arrow between steps */
.process-arrow {
    color: rgba(41, 170, 226, 0.6);
    font-size: 1.5rem;
}

.process-arrow svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

/* === Responsive === */
@media (min-width: 768px) {
    .process-flow {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 0;
    }

    .process-step {
        max-width: 260px;
        min-height: 280px;
        border-radius: 16px;
    }

    .process-arrow {
        margin: 0 24px;
        display: flex;
        align-items: center;
    }

    .step-number {
        top: 20px;
        left: 20px;
        transform: none;
    }
}

@media (min-width: 1024px) {
    .process-step {
        max-width: 280px;
        min-height: 300px;
        padding: 48px 28px 32px;
    }

    .process-arrow {
        margin: 0 32px;
    }
}

@media (min-width: 1400px) {
    .process-step {
        max-width: 300px;
    }
}

/* ===================================
   INDUSTRIES SECTION
   =================================== */

.materials-industries {
    padding: 80px 20px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
    margin-top: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.industry-card {
    background: var(--glass);
    border: 1px solid rgba(41, 170, 226, 0.5);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.industry-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.industry-card:hover::after {
    transform: scaleX(1);
}

.industry-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(41, 170, 226, 0.5);
    background: rgba(255, 140, 0, 0.05);
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(41, 170, 226, 0.5), rgba(255, 107, 0, 0.05));
    border: 2px solid rgba(41, 170, 226, 0.5);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.industry-icon svg {
    width: 28px;
    height: 28px;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(41, 170, 226, 0.5);
}

.industry-card h3 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.industry-card > p {
    font-size: clamp(0.875rem, 1.5vw, 0.938rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 16px;
}

.industry-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.stat-value {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: clamp(0.813rem, 1.5vw, 0.875rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ===================================
   WHY CHOOSE SECTION
   =================================== */

.materials-why {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.02) 0%, transparent 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.why-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 32px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.why-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: rgba(26, 20, 16, 0.4);
    border: 1px solid rgba(41, 170, 226, 0.5);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.why-item:hover {
    background: rgba(255, 140, 0, 0.08);
    border-color: var(--primary);
    transform: translateX(8px);
}

.why-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(41, 170, 226, 0.5), rgba(255, 107, 0, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.why-icon svg {
    width: 24px;
    height: 24px;
}

.why-text h4 {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.why-text p {
    font-size: clamp(0.875rem, 1.5vw, 0.938rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Tracking Visual */
/* ========================================
   LIVE TRACKING CARD - Enhanced Styles
   ======================================== */

.tracking-card {
    background: linear-gradient(145deg, rgba(26, 20, 16, 0.95), rgba(15, 10, 8, 0.85));
    border: 2px solid rgba(41, 170, 226, 0.3);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 60px rgba(41, 170, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.tracking-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(41, 170, 226, 0.1), transparent 50%);
    pointer-events: none;
}

/* Live Indicator */
.live-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.15));
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-live 2s ease-in-out infinite;
}

.update-time {
    color: rgba(239, 68, 68, 0.8);
    font-weight: 500;
    font-size: 10px;
}

@keyframes pulse-live {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

/* Header Section */
.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(41, 170, 226, 0.2);
}

.tracking-id-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tracking-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.tracking-number {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 700;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.dynamic-id {
    color: var(--primary);
}

.priority-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(41, 170, 226, 0.2), rgba(41, 170, 226, 0.1));
    border: 1px solid rgba(41, 170, 226, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-tag svg {
    width: 14px;
    height: 14px;
}

.animate-pulse {
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(0.98); }
}

/* Journey Progress */
.journey-progress {
    margin-bottom: 32px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-percent {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Courier New', monospace;
}

.progress-bar {
    position: relative;
    height: 10px;
    background: rgba(41, 170, 226, 0.1);
    border: 1px solid rgba(41, 170, 226, 0.2);
    border-radius: 20px;
    overflow: visible;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(41, 170, 226, 0.8), 
        rgba(41, 170, 226, 1));
    border-radius: 20px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 20px rgba(41, 170, 226, 0.4);
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    border-radius: 20px;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.progress-truck {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.progress-truck svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    filter: drop-shadow(0 4px 12px rgba(41, 170, 226, 0.6));
    animation: truck-bounce 2.5s ease-in-out infinite;
}

@keyframes truck-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(-2deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-3px) rotate(2deg); }
}

.progress-locations {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.current-loc {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Current Status Card */
.current-status {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(41, 170, 226, 0.08), rgba(41, 170, 226, 0.03));
    border: 1px solid rgba(41, 170, 226, 0.2);
    border-radius: 16px;
    margin-bottom: 28px;
}

.status-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(41, 170, 226, 0.2), rgba(41, 170, 226, 0.1));
    border: 1px solid rgba(41, 170, 226, 0.3);
    border-radius: 12px;
    flex-shrink: 0;
}

.status-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.status-content {
    flex: 1;
    min-width: 0;
}

.status-content h4 {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.status-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.status-time {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(41, 170, 226, 0.1);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    white-space: nowrap;
}

.status-time svg {
    width: 16px;
    height: 16px;
}

/* Timeline */
.tracking-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
}

.timeline-item {
    display: flex;
    gap: 16px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 32px;
    bottom: -12px;
    width: 2px;
    background: rgba(41, 170, 226, 0.15);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-item.completed::before {
    background: linear-gradient(180deg, 
        rgba(41, 170, 226, 0.6), 
        rgba(41, 170, 226, 0.15));
}

.timeline-item.active::before {
    background: linear-gradient(180deg, 
        rgba(41, 170, 226, 0.8), 
        rgba(41, 170, 226, 0.3));
    box-shadow: 0 0 10px rgba(41, 170, 226, 0.3);
}

.timeline-dot {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(41, 170, 226, 0.3);
    border-radius: 50%;
    background: rgba(15, 10, 8, 0.9);
    flex-shrink: 0;
    z-index: 2;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.timeline-item.completed .timeline-dot {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 20px rgba(41, 170, 226, 0.4);
}

.timeline-item.active .timeline-dot {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 0 0 rgba(41, 170, 226, 0.7);
    animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(41, 170, 226, 0.7);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(41, 170, 226, 0);
    }
}

.timeline-content {
    flex: 1;
    padding: 12px 0;
    min-width: 0;
}

.timeline-location {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.timeline-location strong {
    font-size: clamp(0.938rem, 1.8vw, 1.063rem);
    font-weight: 700;
    color: #ffffff;
}

.timeline-location span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.timeline-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-status.completed {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.timeline-status.active {
    background: rgba(41, 170, 226, 0.15);
    border: 1px solid rgba(41, 170, 226, 0.3);
    color: var(--primary);
}

.timeline-status.pending {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.timeline-status svg {
    width: 14px;
    height: 14px;
}

.spinning {
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.timeline-time {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.eta-countdown {
    color: var(--primary);
    font-weight: 700;
}

/* Telemetry Grid */
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.telemetry-card {
    background: linear-gradient(135deg, rgba(41, 170, 226, 0.05), rgba(41, 170, 226, 0.02));
    border: 1px solid rgba(41, 170, 226, 0.2);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.telemetry-card:hover {
    transform: translateY(-4px);
    border-color: rgba(41, 170, 226, 0.4);
    box-shadow: 0 8px 24px rgba(41, 170, 226, 0.2);
}

.telem-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(41, 170, 226, 0.15), rgba(41, 170, 226, 0.08));
    border-radius: 12px;
    margin-bottom: 12px;
}

.telem-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.telem-data {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.telem-value {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.telem-unit {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.telemetry-card:hover .telem-value {
    color: var(--primary);
    transform: scale(1.05);
}

.telem-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    font-weight: 600;
}

.telem-status {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.telem-status.ok {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

/* Activity Feed */
.activity-feed {
    background: rgba(41, 170, 226, 0.03);
    border: 1px solid rgba(41, 170, 226, 0.15);
    border-radius: 16px;
    padding: 20px;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feed-header svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.feed-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feed-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feed-item.new {
    opacity: 0;
    transform: translateX(-30px);
    background: rgba(41, 170, 226, 0.1);
    border-color: rgba(41, 170, 226, 0.2);
}

.feed-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(41, 170, 226, 0.3);
    transform: translateX(4px);
}

.feed-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(41, 170, 226, 0.15), rgba(41, 170, 226, 0.08));
    border-radius: 10px;
    flex-shrink: 0;
}

.feed-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.feed-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.feed-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.feed-time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .telemetry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tracking-card {
        padding: 24px 20px;
    }
    
    .live-indicator {
        top: 16px;
        right: 16px;
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .tracking-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .current-status {
        flex-direction: column;
        text-align: center;
    }
    
    .status-time {
        align-self: center;
    }
    
    .telemetry-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .telemetry-card {
        padding: 14px;
    }
    
    .telem-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .progress-locations {
        font-size: 10px;
    }
    
    .timeline-location strong {
        font-size: 14px;
    }
    
    .feed-item {
        padding: 12px;
    }
}
/* ===================================
   CTA SECTION
   =================================== */

.materials-cta {
    padding: 80px 20px;
}

.cta-container {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(41, 170, 226, 0.5), rgba(255, 107, 0, 0.05));
    border: 2px solid rgba(41, 170, 226, 0.5);
    border-radius: 28px;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(41, 170, 226, 0.5) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

/* ===================================
   RESPONSIVE - DESKTOP OPTIMIZATIONS
   =================================== */

@media (min-width: 768px) {
    .materials-hero {
        padding: 140px 0 80px;
    }

    .hero-dashboard {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .materials-solutions,
    .materials-process,
    .materials-industries,
    .materials-why,
    .materials-cta {
        padding: 100px 40px;
    }

    .process-flow {
        grid-template-columns: repeat(7, 1fr);
    }

    .process-step {
        width: auto;
    }

    .process-arrow {
        transform: rotate(0deg);
        margin: 0;
    }
}

@media (min-width: 992px) {
    .hero-dashboard {
        grid-template-columns: repeat(4, 1fr);
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 60px;
    }
}

@media (min-width: 1200px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        gap: 80px;
    }
}

/* ===================================
   RESPONSIVE - MOBILE SPECIFIC
   =================================== */

@media (max-width: 767px) {
    .materials-hero {
        min-height: 90vh;
        padding: 100px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .hero-badge {
        padding: 10px 20px;
        font-size: 0.75rem;
        gap: 8px;
    }

    .hero-badge svg {
        width: 16px;
        height: 16px;
    }

    .hero-subtitle {
        font-size: 0.938rem;
        margin-bottom: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }

    .btn-primary-materials,
    .btn-secondary-materials {
        width: 100%;
        max-width: 400px;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.938rem;
    }

    .hero-dashboard {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dashboard-item {
        padding: 18px;
        gap: 14px;
    }

    .dash-icon {
        width: 44px;
        height: 44px;
    }

    .dash-icon svg {
        width: 20px;
        height: 20px;
    }

    .floating-boxes {
        display: none;
    }

    .scroll-indicator {
        bottom: 20px;
        font-size: 0.75rem;
    }

    .scroll-mouse {
        width: 22px;
        height: 36px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-badge {
        padding: 8px 20px;
        font-size: 0.75rem;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 1.75rem;
        letter-spacing: -1px;
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 0.938rem;
    }

    .solutions-grid,
    .industries-grid {
        gap: 20px;
    }

    .solution-card,
    .industry-card {
        padding: 24px 20px;
    }

    .card-header {
        margin-bottom: 20px;
    }

    .card-icon,
    .industry-icon {
        width: 52px;
        height: 52px;
    }

    .card-icon svg,
    .industry-icon svg {
        width: 24px;
        height: 24px;
    }

    .card-badge {
        padding: 6px 14px;
        font-size: 0.688rem;
    }

    .card-number {
        top: 20px;
        right: 20px;
        font-size: 3.5rem;
    }

    .process-step {
        padding: 24px 20px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.813rem;
        top: 12px;
        left: 12px;
    }

    .step-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .step-icon svg {
        width: 26px;
        height: 26px;
    }

    .process-arrow {
        margin: 5px 0;
    }

    .process-arrow svg {
        width: 24px;
        height: 24px;
    }

    .tracking-card {
        padding: 24px 20px;
    }

    .tracking-header {
        margin-bottom: 24px;
        padding-bottom: 16px;
        font-size: 0.875rem;
        gap: 10px;
    }

    .status-indicator {
        width: 10px;
        height: 10px;
    }

    .route-line {
        height: 32px;
    }

    .tracking-stats {
        gap: 12px;
        padding-top: 16px;
    }

    .track-stat {
        font-size: 0.813rem;
    }

    .track-stat svg {
        width: 16px;
        height: 16px;
    }

    .why-list {
        gap: 14px;
    }

    .why-item {
        padding: 16px;
        gap: 14px;
    }

    .why-icon {
        width: 44px;
        height: 44px;
    }

    .why-icon svg {
        width: 22px;
        height: 22px;
    }

    .cta-container {
        padding: 40px 24px;
    }

    .cta-content {
        margin-bottom: 28px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .cta-content p {
        font-size: 0.938rem;
        margin-bottom: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-buttons .btn-primary-materials,
    .cta-buttons .btn-secondary-materials {
        width: 100%;
    }

    .cta-features {
        gap: 20px;
    }

    .feature-item {
        font-size: 0.875rem;
    }

    .feature-item svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .materials-solutions,
    .materials-process,
    .materials-industries,
    .materials-why,
    .materials-cta {
        padding: 60px 16px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .solution-card,
    .industry-card,
    .process-step,
    .tracking-card,
    .why-item {
        padding: 20px 16px;
    }

    .cta-container {
        padding: 32px 20px;
    }

    .dash-number {
        font-size: 1.75rem;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .floating-boxes,
    .scroll-indicator,
    .hero-buttons,
    .cta-buttons {
        display: none !important;
    }

    .materials-hero,
    .materials-solutions,
    .materials-process,
    .materials-industries,
    .materials-why,
    .materials-cta {
        padding: 40px 20px;
        page-break-inside: avoid;
    }

    .solution-card,
    .industry-card,
    .process-step {
        page-break-inside: avoid;
        box-shadow: none;
    }
}