/* Hero Block - Figma Design Tokens */
:root {
    --hero-bg: #F4F1FF;
    --hero-text-dark: #251D42;
    --hero-primary: #9273FF;
    --hero-primary-hover: #7d5cff;
    --hero-white: #FFFFFF;
    --hero-border-ghost: rgba(37, 29, 66, 0.18);
    
    --font-display: "Anek Latin", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.slimmehypotheek-hero-figma {
    background: var(--hero-bg);
    padding-top: clamp(72px, 8vw, 110px);
    overflow: hidden;
}

.slimmehypotheek-hero-figma .hero__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding-inline: clamp(20px, 5vw, 80px);
}

.slimmehypotheek-hero-figma .hero__content {
    max-width: 768px;
    margin: 0 auto;
    text-align: center;
}

.slimmehypotheek-hero-figma .hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(44px, 6.5vw, 84px);
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--hero-text-dark);
    margin: 0 0 24px;
}

.slimmehypotheek-hero-figma .hero__subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.5;
    color: var(--hero-text-dark);
    margin: 0 auto 32px;
    max-width: 620px;
}

.slimmehypotheek-hero-figma .hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.slimmehypotheek-hero-figma .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    min-height: 47px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    border: 1px solid transparent;
}

.slimmehypotheek-hero-figma .btn:active {
    transform: translateY(1px);
}

.slimmehypotheek-hero-figma .btn--primary {
    background: var(--hero-primary);
    color: var(--hero-white);
}

.slimmehypotheek-hero-figma .btn--primary:hover {
    background: var(--hero-primary-hover);
}

.slimmehypotheek-hero-figma .btn--ghost {
    background: transparent;
    color: var(--hero-text-dark);
    border-color: var(--hero-border-ghost);
}

.slimmehypotheek-hero-figma .btn--ghost:hover {
    background: rgba(37, 29, 66, 0.05);
}

.slimmehypotheek-hero-figma .btn__icon {
    width: 18px;
    height: 18px;
}

/* Marquee Animatie */
.slimmehypotheek-hero-figma .marquee {
    margin-top: clamp(48px, 8vw, 96px);
    margin-inline: calc(50% - 50vw);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    padding-block: 8px;
}

.slimmehypotheek-hero-figma .marquee__row {
    display: flex;
    width: max-content;
    will-change: transform;
}

.slimmehypotheek-hero-figma .marquee__row + .marquee__row {
    margin-top: 16px;
}

.slimmehypotheek-hero-figma .marquee__track {
    display: flex;
    gap: 16px;
    padding-right: 16px;
    flex-shrink: 0;
}

@keyframes marquee-scroll-left {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@keyframes marquee-scroll-right {
    from { transform: translate3d(-50%, 0, 0); }
    to { transform: translate3d(0, 0, 0); }
}

.slimmehypotheek-hero-figma .marquee__row--left {
    animation: marquee-scroll-left 45s linear infinite;
}

.slimmehypotheek-hero-figma .marquee__row--right {
    animation: marquee-scroll-right 45s linear infinite;
}

/* Tiles */
.slimmehypotheek-hero-figma .tile {
    flex-shrink: 0;
    height: 188px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    color: var(--hero-text-dark);
}

.slimmehypotheek-hero-figma .tile--word {
    background: transparent;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(64px, 9vw, 128px);
    line-height: 0.9;
    letter-spacing: -0.02em;
    padding-inline: 8px;
    height: 188px;
}

.slimmehypotheek-hero-figma .tile--cyan { background: #B7E8E0; width: 168px; }
.slimmehypotheek-hero-figma .tile--purple { background: #B49DFF; width: 220px; }
.slimmehypotheek-hero-figma .tile--dark { background: #251D42; width: 280px; }
.slimmehypotheek-hero-figma .tile--yellow { background: #FAF079; width: 220px; }

.slimmehypotheek-hero-figma .tile--key { background: #251D42; width: 320px; padding: 24px; }
.slimmehypotheek-hero-figma .tile--house { background: #9273FF; width: 220px; padding: 24px; }
.slimmehypotheek-hero-figma .tile--key svg,
.slimmehypotheek-hero-figma .tile--house svg {
    width: 100%;
    height: 100%;
}

.slimmehypotheek-hero-figma .tile--photo {
    width: 188px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slimmehypotheek-hero-figma .tile--photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 26px 32px at 50% 38%, rgba(0,0,0,0.18), transparent 70%),
        radial-gradient(ellipse 60px 50px at 50% 95%, rgba(0,0,0,0.18), transparent 70%);
}

.slimmehypotheek-hero-figma .tile--photo-a { background: linear-gradient(135deg, #C4B0FF 0%, #9273FF 100%); }
.slimmehypotheek-hero-figma .tile--photo-b { background: linear-gradient(135deg, #FFE08A 0%, #F4B73C 100%); }
.slimmehypotheek-hero-figma .tile--photo-c { background: linear-gradient(135deg, #F8C8C8 0%, #E58282 100%); }
.slimmehypotheek-hero-figma .tile--photo-d { background: linear-gradient(135deg, #BFE8E0 0%, #6FBFB2 100%); }

@media (prefers-reduced-motion: reduce) {
    .slimmehypotheek-hero-figma .marquee__row {
        animation: none !important;
        transform: none !important;
    }
    .slimmehypotheek-hero-figma .marquee {
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .slimmehypotheek-hero-figma .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .slimmehypotheek-hero-figma .btn {
        justify-content: center;
    }
}
