/* ========================================
   HOW IT WORKS PAGE - STANDARDIZED CSS
   Enterprise-Grade Consistency System
   Added: January 20, 2025
   ======================================== */

/* ========================================
   SECTION LAYOUT CLASSES
   Standardized padding for vertical rhythm
   ======================================== */

.section-standard {
    padding: 80px 0;
}

.section-compact {
    padding: 60px 0;
}

.section-hero {
    padding: 100px 0;
}

.section-tight {
    padding: 40px 0;
}

/* ========================================
   SECTION HEADER COMPONENTS
   Standardized header elements
   ======================================== */

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.badge-green {
    background: #4a7c59;
    color: white;
}

.section-description {
    max-width: 800px;
    margin: 15px auto 0;
    font-size: 1.1rem;
    color: #6B8E6F;
    line-height: 1.6;
}

/* ========================================
   BACKGROUND COLORS
   Alternating pattern for visual rhythm
   ======================================== */

.bg-white {
    background: #fff;
}

.bg-light {
    background: #f8f9fa;
}

.bg-light-green {
    background: #f8fdf9;
}

.bg-light-gradient {
    background: linear-gradient(135deg, #f8fdf9 0%, #e8f5e9 100%);
}

.bg-accent-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ========================================
   SECTION HEADERS
   Consistent header styling across all sections
   ======================================== */

.section-header {
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2C3E2E;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.2rem;
    color: #6B8E6F;
    line-height: 1.6;
}

.section-header.centered p {
    max-width: 700px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    background: #4a7c59;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.section-badge i {
    margin-right: 6px;
}

/* ========================================
   CARD PATTERNS - UNIFIED SYSTEM
   ======================================== */

/* Standard Card (White background, for light sections) */
.card-standard {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.card-standard:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #4a7c59;
}

/* Light Card (For white backgrounds) */
.card-light {
    background: #f8fdf9;
    border-radius: 16px;
    padding: 35px;
    border: 2px solid #e0f2e4;
    transition: all 0.3s ease;
}

.card-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* HelloFresh-Style Card (For rewards/benefits) */
.card-hellofresh {
    background: #FAFAFA;
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.card-hellofresh:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Box Card (For subscription boxes) */
.box-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.box-card:hover {
    transform: translateY(-4px);
}

.box-emoji {
    font-size: 4rem;
    margin-bottom: 15px;
}

.box-card h3 {
    color: #2C3E2E;
    margin-bottom: 10px;
}

.box-description {
    color: #6B8E6F;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.box-price {
    color: #4a7c59;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.box-sizes {
    color: #999;
    font-size: 0.85rem;
    margin: 0;
}

.boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

/* Add-Ons Preview Section */
.addons-preview {
    background: white;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.addons-preview h3 {
    color: #2C3E2E;
    margin-bottom: 15px;
}

.addon-icons {
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.addons-preview p {
    color: #6B8E6F;
    margin: 0;
}

/* Upgrade Nudge - Black Background with White Text */
.upgrade-nudge {
    text-align: center;
    margin-top: 40px;
    padding: 35px 40px;
    background: #000000;
    border-radius: 12px;
    border: 2px solid #000000;
}

.upgrade-nudge p {
    font-size: 1.35rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.6;
}

.upgrade-nudge strong {
    font-size: 1.4rem;
}

.upgrade-nudge a {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.35rem;
    text-decoration: underline;
}

.upgrade-nudge a:hover {
    color: #e0e0e0;
    text-decoration: none;
}

/* ========================================
   PRODUCT LIST BOX
   For specialty range section
   ======================================== */

.product-list-box {
    max-width: 900px;
    margin: 50px auto 0;
    background: #f8fdf9;
    border-radius: 16px;
    padding: 50px 60px;
    border: 2px solid #e0f2e4;
}

.product-list-box h3 {
    color: #2C3E2E;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
}

.product-list-box h3 i {
    color: #4a7c59;
    margin-right: 12px;
}

.product-categories-list {
    display: grid;
    gap: 20px;
}

.product-category {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.product-check-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #4a7c59;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.product-category-content h4 {
    color: #2C3E2E;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.product-category-content p {
    color: #6B8E6F;
    margin: 0;
    line-height: 1.6;
}

.product-list-divider {
    border-top: 2px solid #e0f2e4;
    padding-top: 35px;
    margin-top: 40px;
    text-align: center;
}

.product-list-divider p {
    color: #2C3E2E;
    font-size: 1rem;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.product-list-divider i {
    color: #4a7c59;
    margin-right: 8px;
}

/* ========================================
   REWARD CARDS (HelloFresh-Inspired)
   Colored icon circles with SVG icons
   ======================================== */

.rewards-grid-hellofresh {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.reward-card-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.reward-card-icon-circle svg {
    width: 28px;
    height: 28px;
}

/* Icon circle colors */
.icon-circle-green { background: #4a7c59; }
.icon-circle-red { background: #FF6B6B; }
.icon-circle-orange { background: #FFB84D; }
.icon-circle-teal { background: #4ECDC4; }
.icon-circle-purple { background: #7B68EE; }
.icon-circle-orange-alt { background: #FF8C42; }

.reward-card-hellofresh h3 {
    color: #2C3E2E;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.reward-card-hellofresh p {
    color: #6B8E6F;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.reward-card-hellofresh p strong {
    color: #2C3E2E;
}

/* ========================================
   BOOSTER POINTS GRID
   Clean 4-column layout for booster opportunities
   ======================================== */

.booster-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.booster-card {
    background: #FAFAFA;
    border-radius: 12px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.booster-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.booster-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.booster-icon-circle svg {
    width: 32px;
    height: 32px;
}

.booster-card h3 {
    color: #2C3E2E;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.booster-card-value {
    color: #4a7c59;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.booster-card p {
    color: #6B8E6F;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   CTA BUTTONS
   Consistent button styling
   ======================================== */

.cta-button-primary {
    display: inline-block;
    padding: 16px 40px;
    background: #000;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.cta-button-primary i {
    margin-left: 8px;
}

.cta-button-primary .fas.fa-shopping-cart {
    margin-right: 10px;
    margin-left: 0;
}

.cta-button-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: #4a7c59;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.2);
}

.cta-button-secondary:hover {
    background: #3a6347;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 124, 89, 0.3);
}

.cta-button-dark {
    display: inline-block;
    background: #2C3E2E;
    color: #fff;
    padding: 18px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cta-button-dark:hover {
    background: #1a2820;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cta-badge {
    background: #ffd700;
    color: #000;
    padding: 4px 10px;
    border-radius: 6px;
    margin-right: 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ========================================
   TRUST STATEMENT
   For certification and trust badges
   ======================================== */

.trust-statement {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
    border-radius: 16px;
    border: 2px solid #ffd700;
}

.trust-statement p {
    font-size: 1.2rem;
    color: #2C3E2E;
    margin: 0;
    font-weight: 600;
}

.trust-statement i {
    color: #4a7c59;
    margin-right: 10px;
}

.trust-statement strong {
    font-weight: 700;
}

/* ========================================
   RESPONSIVE BEHAVIOR
   Mobile-first breakpoints
   ======================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .section-standard {
        padding: 60px 0;
    }
    
    .section-hero {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .rewards-grid-hellofresh {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .booster-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .product-list-box {
        padding: 40px 40px;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .section-standard {
        padding: 50px 0;
    }
    
    .section-compact {
        padding: 40px 0;
    }
    
    .section-hero {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .rewards-grid-hellofresh,
    .booster-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-hellofresh,
    .booster-card {
        padding: 30px 24px;
    }
    
    .product-list-box {
        padding: 35px 25px;
        margin: 40px auto 0;
    }
    
    .product-list-box h3 {
        font-size: 1.3rem;
    }
    
    .cta-button-primary {
        padding: 14px 32px;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
    }
    
    .cta-button-secondary {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .upgrade-nudge {
        padding: 25px 20px;
        margin-top: 30px;
    }
    
    .upgrade-nudge p {
        font-size: 1.15rem;
    }
    
    .upgrade-nudge strong {
        font-size: 1.2rem;
    }
    
    .upgrade-nudge a {
        font-size: 1.15rem;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .section-standard {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .product-list-box {
        padding: 30px 20px;
    }
    
    .product-category {
        gap: 12px;
    }
    
    .product-check-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .trust-statement {
        padding: 20px;
    }
    
    .upgrade-nudge {
        padding: 20px 15px;
    }
    
    .upgrade-nudge p {
        font-size: 1.05rem;
    }
    
    .upgrade-nudge strong {
        font-size: 1.1rem;
    }
    
    .upgrade-nudge a {
        font-size: 1.05rem;
    }
    
    .trust-statement p {
        font-size: 1rem;
    }
}

/* ========================================
   UTILITY CLASSES
   Quick helpers for common needs
   ======================================== */

.text-center {
    text-align: center;
}

.mb-standard {
    margin-bottom: 60px;
}

.mb-compact {
    margin-bottom: 40px;
}

.mt-standard {
    margin-top: 60px;
}

.mt-compact {
    margin-top: 40px;
}

.container-narrow {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.container-wide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   END OF HOW IT WORKS STANDARD CSS
   ======================================== */
