/* ============================================
   Homepage - Benefits & Pricing Teaser Styles
   /assets/css/home-sections.css

   Styles ONLY for the collections-first benefits
   section (.hb-) and the pricing teaser section
   (.hpt-) on the homepage. No other page loads
   this file.
   ============================================ */

/* =================================
   SHARED UTILITIES
   ================================= */

.hb-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.hb-section {
    background: var(--white);
    padding: 48px 0;
}

.hb-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.hb-card {
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hb-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hb-icon {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
}

.hb-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}

.hb-card-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* =================================
   PRICING TEASER SECTION
   ================================= */

.hpt-section {
    background: var(--gray-50);
    padding: 48px 0;
}

.hpt-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.hpt-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
}

.hpt-card-pro {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.hpt-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}

.hpt-card-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.hpt-cta {
    text-align: center;
    margin-top: 32px;
}

.hpt-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.hpt-link:hover {
    color: var(--primary-light);
    background: var(--white);
}

/* =================================
   RESPONSIVE - Mobile First
   ================================= */

@media (min-width: 640px) {
    .hb-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hpt-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hb-section {
        padding: 64px 0;
    }

    .hb-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hb-card:nth-child(4),
    .hb-card:nth-child(5) {
        grid-column: span 1;
    }

    .hpt-section {
        padding: 64px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hb-card,
    .hpt-link {
        transition: none;
    }

    .hb-card:hover {
        transform: none;
    }
}
