/* =============================================
   Homepage - hero, bento, strips, animaties
   ============================================= */

/* ─── Scroll-animaties ─────────────────────── */

.animate-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-in.in-view {
    opacity: 1;
    transform: none;
}

.animate-in.delay-1 { transition-delay: 0.08s; }
.animate-in.delay-2 { transition-delay: 0.16s; }
.animate-in.delay-3 { transition-delay: 0.24s; }
.animate-in.delay-4 { transition-delay: 0.32s; }
.animate-in.delay-5 { transition-delay: 0.40s; }
.animate-in.delay-6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
    .animate-in { opacity: 1; transform: none; transition: none; }
}

/* ─── Hero uitbreidingen ────────────────────── */

.hero {
    min-height: 520px;
}

.hero-inner {
    min-height: 460px;
    padding: 1rem 0;
}

/* Animatie groter in hero */
.hero-visual {
    width: 210px;
}

.hero-visual .nfc-anim {
    transform: scale(1.55);
    transform-origin: center center;
}

/* Trust stats */
.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
    padding-top: 0.25rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hero-stat-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: #9E9B98;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stat-sep {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    align-self: center;
}

/* ─── Sectie header verbeterd ───────────────── */

.home-section-header {
    margin-bottom: 1.75rem;
}

.home-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 0.4rem;
}

.home-section-header h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin: 0 0 0.4rem;
    letter-spacing: -0.3px;
}

.home-section-header p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 540px;
}

/* ─── Bento grid ─────────────────────────────── */

.home-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 220px 220px auto;
    gap: 1rem;
}

.bento-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    overflow: hidden;
}

.bento-card:hover {
    border-color: #B8B3AC;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transform: translateY(-2px);
    text-decoration: none;
}

.bento-card-featured {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--color-bg-off);
    padding: 2rem 2rem 1.75rem;
    gap: 0.75rem;
}

.bento-icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

.bento-card-featured .bento-icon {
    width: 52px;
    height: 52px;
}

.bento-card h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--color-text);
    line-height: 1.3;
}

.bento-card-featured h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    letter-spacing: -0.2px;
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
    flex: 1;
}

.bento-card-featured p {
    font-size: 1rem;
    max-width: 400px;
}

.bento-arrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent-hover);
    margin-top: auto;
    padding-top: 0.5rem;
}

.bento-card-featured .bento-arrow {
    font-size: 0.95rem;
}

/* Bottom row cards (3 × 1) */
.bento-card-bottom {
    min-height: 160px;
}

/* ─── Use-cases strip ────────────────────────── */

.use-cases-section {
    padding: 2.5rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
}

.use-cases-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.use-cases-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.use-cases-grid {
    display: flex;
    gap: 0;
    flex: 1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.use-cases-grid::-webkit-scrollbar { display: none; }

.use-case-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.4rem;
    text-decoration: none;
    color: var(--color-text-muted);
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}

.use-case-item svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    transition: stroke 0.15s;
}

.use-case-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

.use-case-item:hover {
    color: var(--color-accent);
    background: var(--color-bg-off);
}

/* ─── Product types grid ─────────────────────── */

.product-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.product-type-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-accent);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.product-type-card:hover {
    border-color: #B8B3AC;
    border-top-color: var(--color-accent);
    box-shadow: 0 3px 14px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    text-decoration: none;
}

.product-type-icon {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
    margin-bottom: 0.2rem;
}

.product-type-card h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--color-text);
}

.product-type-card p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.55;
    flex: 1;
}

.product-type-price {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-border);
    margin-top: 0.25rem;
}

.product-type-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: auto;
}

/* ─── CTA banner ─────────────────────────────── */

.cta-banner {
    background: #2F2A25;
    padding: 3.5rem 0;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-banner-text h2 {
    color: #FFFFFF;
    font-size: clamp(1.3rem, 3vw, 1.85rem);
    margin: 0 0 0.5rem;
    letter-spacing: -0.3px;
}

.cta-banner-text p {
    color: #7A818A;
    font-size: 1rem;
    margin: 0;
    max-width: 500px;
    line-height: 1.6;
}

.cta-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cta-banner .btn-secondary {
    background: transparent;
    color: #C0C4CB;
    border-color: #60505C;
}

.cta-banner .btn-secondary:hover {
    border-color: #A5A8AF;
    color: #FFFFFF;
    background: transparent;
}

/* ─── Responsive ─────────────────────────────── */

@media (max-width: 900px) {
    .home-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-card-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

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

    .use-cases-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 640px) {
    .home-bento {
        grid-template-columns: 1fr;
    }

    .bento-card-featured {
        grid-column: span 1;
    }

    .product-types {
        grid-template-columns: 1fr;
    }

    .hero-stats { gap: 1rem; }
    .hero-stat-sep { display: none; }

    .cta-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-banner { padding: 2.25rem 0; }
}
