/* Order Guide Page Styles */

/* Reset and Base Styles */
.order-guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--md-sys-color-surface) 0%, var(--md-sys-color-surface-container-low) 100%);
    min-height: 100vh;
}

.order-guide-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.order-guide-header h1 {
    font-size: 3rem;
    color: var(--md-sys-color-primary);
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.order-guide-header p {
    font-size: 1.2rem;
    color: var(--md-sys-color-on-surface-variant);
    max-width: 600px;
    margin: 0 auto;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: white;
    border-radius: var(--md-sys-shape-corner-large);
    padding: 35px;
    box-shadow: var(--md-sys-elevation-level2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out backwards;
}

.step-card:nth-child(1) {
    animation-delay: 0.1s;
}

.step-card:nth-child(2) {
    animation-delay: 0.2s;
}

.step-card:nth-child(3) {
    animation-delay: 0.3s;
}

.step-card:nth-child(4) {
    animation-delay: 0.4s;
}

.step-card:nth-child(5) {
    animation-delay: 0.5s;
}

.step-card:nth-child(6) {
    animation-delay: 0.6s;
}

.step-card:nth-child(7) {
    animation-delay: 0.7s;
}

.step-card:nth-child(8) {
    animation-delay: 0.8s;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--md-sys-elevation-level4);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--md-sys-color-primary) 0%, var(--md-sys-color-secondary) 100%);
}

/* Highlight Step 5 */
.step-card.highlight {
    background: linear-gradient(135deg, var(--md-sys-color-primary) 0%, var(--md-sys-color-secondary) 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(95, 122, 91, 0.4);
}

.step-card.highlight::before {
    background: linear-gradient(90deg, var(--md-sys-color-tertiary) 0%, var(--md-sys-color-primary) 100%);
    height: 8px;
}

.step-card.highlight .step-number {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.step-card.highlight .step-title,
.step-card.highlight .step-description {
    color: white;
}

.step-card.highlight .step-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--md-sys-color-tertiary-container);
    border-radius: var(--md-sys-shape-corner-medium);
    padding: 10px;
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--md-sys-color-primary) 0%, var(--md-sys-color-secondary) 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(95, 122, 91, 0.3);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--md-sys-color-primary) 0%, var(--md-sys-color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-title {
    font-size: 1.5rem;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 15px;
    font-weight: 600;
}

.step-description {
    font-size: 1rem;
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.6;
}

/* Special badge for highlighted step */
.highlight-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--md-sys-color-tertiary-container);
    color: var(--md-sys-color-on-tertiary-container);
    padding: 5px 15px;
    border-radius: var(--md-sys-shape-corner-full);
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: var(--md-sys-elevation-level2);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .step-card {
        padding: 25px;
    }

    .step-card.highlight {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .order-guide-container {
        padding: 40px 15px;
    }

    .order-guide-header h1 {
        font-size: 2rem;
    }

    .order-guide-header p {
        font-size: 1rem;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .step-card {
        padding: 20px;
    }

    .step-icon {
        font-size: 2.5rem;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .step-description {
        font-size: 0.9rem;
    }
}

.step-card.highlight {
    transform: scale(1);
}

/* Progress Line (Optional decorative element) */
.progress-line {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.progress-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--md-sys-color-primary) 50%, transparent 100%);
}