/* ========================================
   ZIPPICKS HOMEPAGE STYLES
   Mobile-First Design with Blue Hero
   ======================================== */

/* ========================================
   HERO SECTION - MATCHING SCREENSHOT
   ======================================== */

.zp-hero {
    background: var(--zp-primary) !important;
    color: white;
    padding: var(--zp-space-2xl) 0;
}

.zp-hero .zp-container {
    background: var(--zp-primary);
    padding: var(--zp-space-xl);
    border-radius: 0;
}

.zp-hero__title {
    font-size: var(--zp-text-4xl);
    margin-bottom: var(--zp-space-md);
    text-align: center;
    color: white;
}

.zp-hero__subtitle {
    font-size: var(--zp-text-lg);
    margin-bottom: var(--zp-space-xl);
    text-align: center;
    opacity: 0.9;
    color: white;
}

/* ========================================
   SEARCH BAR - HORIZONTAL MOBILE LAYOUT
   ======================================== */

.zp-search-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--zp-radius-lg);
    padding: var(--zp-space-xs);
    box-shadow: var(--zp-shadow-xl);
    gap: var(--zp-space-xs);
}

.zp-search-bar__input {
    flex: 1;
    border: none;
    padding: var(--zp-space-md);
    font-size: var(--zp-text-base);
    background: transparent;
    min-width: 0;
}

.zp-search-bar__input::placeholder {
    color: var(--zp-text-muted);
    font-size: var(--zp-text-sm);
}

.zp-search-bar__input:focus {
    outline: none;
}

.zp-search-bar__button {
    background: var(--zp-success);
    color: white;
    border: none;
    padding: var(--zp-space-md) var(--zp-space-lg);
    border-radius: var(--zp-radius-md);
    font-weight: var(--zp-font-semibold);
    cursor: pointer;
    transition: var(--zp-transition-fast);
    font-size: var(--zp-text-base);
    white-space: nowrap;
    flex-shrink: 0;
}

.zp-search-bar__button:hover {
    background: var(--zp-success-dark, #229954);
    transform: translateY(-1px);
}

/* ========================================
   SECTION STYLES
   ======================================== */

.zp-section {
    padding: var(--zp-space-3xl) 0;
}

.zp-section--secondary {
    background: #f8f9fa;
    padding: var(--zp-space-3xl) 0;
}

.zp-section__title {
    text-align: center;
    font-size: var(--zp-text-3xl);
    margin-bottom: var(--zp-space-xl);
    color: var(--zp-text-primary);
}

/* ========================================
   FEATURES GRID
   ======================================== */

.zp-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--zp-space-lg);
    margin-top: var(--zp-space-xl);
}

.zp-section--secondary .zp-feature {
    background: white;
}

.zp-feature {
    text-align: center;
    padding: var(--zp-space-lg);
    background: white;
    border-radius: var(--zp-radius-lg);
    box-shadow: var(--zp-shadow-sm);
    transition: var(--zp-transition-fast);
}

.zp-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--zp-shadow-lg);
}

.zp-feature__icon {
    font-size: 2.5rem;
    margin-bottom: var(--zp-space-md);
}

.zp-feature__title {
    font-size: var(--zp-text-xl);
    color: var(--zp-primary);
    margin-bottom: var(--zp-space-sm);
}

.zp-feature__description {
    color: var(--zp-text-secondary);
    line-height: var(--zp-leading-relaxed);
    font-size: var(--zp-text-base);
}

/* ========================================
   BENEFITS SECTION
   ======================================== */

.zp-benefits {
    margin: var(--zp-space-xl) 0;
}

.zp-benefits ul {
    list-style: none;
    padding: 0;
}

.zp-benefits li {
    padding: var(--zp-space-sm) 0;
    font-size: var(--zp-text-lg);
}

/* ========================================
   BUTTON STYLES
   ======================================== */

.zp-button {
    padding: var(--zp-space-md) var(--zp-space-2xl);
    border: none;
    border-radius: var(--zp-radius-lg);
    font-weight: var(--zp-font-semibold);
    cursor: pointer;
    transition: var(--zp-transition-fast);
    font-size: var(--zp-text-lg);
}

.zp-button--primary {
    background: var(--zp-gradient-primary);
    color: white;
    box-shadow: var(--zp-shadow-button);
}

.zp-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--zp-shadow-lg);
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .zp-hero {
        padding: var(--zp-space-xl) 0;
    }
    
    .zp-hero .zp-container {
        padding: var(--zp-space-lg);
    }
    
    .zp-hero__title {
        font-size: var(--zp-text-2xl);
        margin-bottom: var(--zp-space-sm);
    }
    
    .zp-hero__subtitle {
        font-size: var(--zp-text-base);
        margin-bottom: var(--zp-space-lg);
    }
    
    /* Keep search bar horizontal on mobile */
    .zp-search-bar {
        flex-direction: row;
        padding: 2px;
        gap: 2px;
    }
    
    .zp-search-bar__input {
        padding: var(--zp-space-sm) var(--zp-space-md);
        font-size: var(--zp-text-sm);
    }
    
    .zp-search-bar__input::placeholder {
        font-size: var(--zp-text-xs);
    }
    
    .zp-search-bar__button {
        padding: var(--zp-space-sm) var(--zp-space-md);
        font-size: var(--zp-text-sm);
    }
    
    .zp-section__title {
        font-size: var(--zp-text-2xl);
        margin-bottom: var(--zp-space-lg);
    }
    
    .zp-features {
        grid-template-columns: 1fr;
        gap: var(--zp-space-md);
    }
    
    .zp-feature {
        padding: var(--zp-space-md);
    }
    
    .zp-feature__icon {
        font-size: 2rem;
    }
    
    .zp-feature__title {
        font-size: var(--zp-text-lg);
    }
    
    .zp-feature__description {
        font-size: var(--zp-text-sm);
    }
    
    .zp-section {
        padding: var(--zp-space-2xl) 0;
    }
    
    .zp-section--secondary {
        padding: var(--zp-space-xl) 0;
    }
}

/* ========================================
   TABLET STYLES
   ======================================== */

@media (min-width: 769px) and (max-width: 1024px) {
    .zp-hero__title {
        font-size: var(--zp-text-4xl);
    }
    
    .zp-hero__subtitle {
        font-size: var(--zp-text-lg);
    }
    
    .zp-section__title {
        font-size: var(--zp-text-3xl);
    }
    
    .zp-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   DESKTOP STYLES
   ======================================== */

@media (min-width: 1025px) {
    .zp-hero__title {
        font-size: var(--zp-text-5xl);
    }
    
    .zp-hero__subtitle {
        font-size: var(--zp-text-xl);
        margin-bottom: var(--zp-space-2xl);
    }
    
    .zp-section__title {
        font-size: var(--zp-text-4xl);
        margin-bottom: var(--zp-space-2xl);
    }
    
    .zp-search-bar__input {
        font-size: var(--zp-text-lg);
    }
    
    .zp-search-bar__button {
        padding: var(--zp-space-md) var(--zp-space-xl);
    }
    
    .zp-features {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--zp-space-xl);
    }
}