/* Responsive styles */
@media (max-width: 1024px) {
    .step-arrow {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    /* SHIFT Method Mobile Styles - Sequential Flow */
    .shift-process {
        flex-direction: column;
        gap: 2rem;
        margin: 2rem 0;
        align-items: stretch;
    }
    
    .shift-process::before {
        display: none;
    }
    
    .shift-step {
        position: relative;
        width: 100%;
        margin: 0 1rem;
    }
    
    .shift-step::after {
        content: '↓';
        position: absolute;
        bottom: -1.5rem;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.5rem;
        color: var(--primary-color);
        font-weight: bold;
        z-index: 4;
    }
    
    .shift-step:last-child::after {
        display: none;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .step-content {
        padding: 1.25rem;
        width: 100%;
        margin: 0;
    }
    
    .step-letter {
        font-size: 2rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    .step-goal {
        font-size: 0.9rem;
    }
    
    .step-activities li {
        font-size: 0.85rem;
    }
    
    .step-arrow {
        display: none;
    }
    
    /* Legacy styles for backward compatibility */
    .shift-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .shift-card {
        padding: 1.5rem;
    }
    
    .shift-header {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .shift-letter {
        font-size: 2.5rem;
        min-width: 50px;
    }
    
    .shift-phase h3 {
        font-size: 1.3rem;
    }
    
    .shift-goal {
        font-size: 0.9rem;
    }
    
    .shift-activities h4 {
        font-size: 1rem;
    }
    
    .shift-activities li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    /* Legacy table styles for backward compatibility */
    .shift-table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    /* SHIFT Method Extra Small Mobile */
    .shift-step {
        margin: 0 0.5rem;
    }
    
    .step-content {
        padding: 1rem;
        width: 100%;
    }
    
    .step-letter {
        font-size: 1.8rem;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-activities li {
        font-size: 0.8rem;
    }
    
    /* Legacy styles */
    .shift-card {
        padding: 1.25rem;
        margin: 0 0.5rem;
    }
    
    .shift-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .shift-letter {
        font-size: 2rem;
        align-self: center;
    }
    
    .shift-phase {
        text-align: center;
    }
    
    .shift-activities {
        text-align: left;
    }
    
    .shift-activities li {
        font-size: 0.85rem;
    }
}

/* Tablet and medium screens */
@media (min-width: 769px) and (max-width: 1024px) {
    .shift-process {
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .shift-step {
        flex: 1;
        min-width: 280px;
    }
    
    .shift-process::before {
        display: none;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .step-content {
        padding: 1.25rem;
    }
    
    .step-letter {
        font-size: 2.2rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    .step-activities li {
        font-size: 0.85rem;
    }
    
    .step-arrow {
        display: none;
    }
    
    /* Legacy styles */
    .shift-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .shift-card {
        padding: 1.75rem;
    }
}

/* Medium-large screens */
@media (min-width: 1025px) and (max-width: 1199px) {
    .shift-process {
        gap: 1rem;
    }
    
    .step-content {
        padding: 1.4rem;
    }
    
    .step-activities li {
        font-size: 0.9rem;
    }
}

/* Large screens optimization */
@media (min-width: 1200px) {
    .shift-process {
        max-width: 1200px;
        margin: 3rem auto;
        gap: 1.5rem;
    }
    
    /* Legacy styles */
    .shift-cards {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: 3rem auto;
    }
}