/* ============================================
   Landing Page Styles
   ============================================ */

/* ============================================
   Layout
   ============================================ */

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.landing-section {
    padding: 5rem 0;
}

.landing-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.landing-section-subtitle {
    text-align: center;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Hero — split layout
   ============================================ */

.landing-hero {
    background: linear-gradient(160deg, hsl(0 0% 100%) 0%, hsl(199 60% 96%) 50%, hsl(199 40% 93%) 100%);
    padding: 3rem 1.5rem 4rem;
    overflow: hidden;
}

.landing-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.landing-hero-text {
    max-width: 32rem;
}

.landing-hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.landing-hero-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Hero stats */
.landing-hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.landing-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.15s ease;
}

a.landing-stat:hover {
    color: hsl(var(--primary));
}

.landing-stat-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: hsl(var(--primary));
    flex-shrink: 0;
}

/* Hero links */
.landing-hero-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.landing-hero-link {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.15s ease;
}

.landing-hero-link:hover {
    color: hsl(var(--primary));
}

/* ============================================
   Hero — search bar
   ============================================ */

.landing-search {
    position: relative;
    margin-bottom: 1.5rem;
}

.landing-search-bar {
    position: relative;
}

.landing-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--muted-foreground));
    pointer-events: none;
}

.landing-search-input {
    width: 100%;
    height: 3.25rem;
    padding: 0 1rem 0 3rem;
    font-size: 1rem;
    font-family: inherit;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: hsl(var(--foreground));
}

.landing-search-input::placeholder {
    color: hsl(var(--muted-foreground));
}

.landing-search-input:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 0 3px hsl(var(--ring) / 0.15);
}

/* Search suggestions */
.landing-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    max-height: 16rem;
    overflow-y: auto;
}

.landing-search-suggestions.open {
    display: block;
}

.landing-search-suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    transition: background-color 0.1s ease;
}

.landing-search-suggestion-item:hover,
.landing-search-suggestion-active {
    background-color: hsl(var(--muted));
}

.landing-search-suggestion-main {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.landing-search-suggestion-secondary {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.landing-search-no-results {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* ============================================
   Hero — product mockup visual
   ============================================ */

.landing-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 380px;
}

/* Back card (offset shadow card) */
.hero-mockup-back {
    position: absolute;
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
    background: hsl(var(--primary) / 0.08);
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--primary) / 0.12);
}

/* Main card */
.hero-mockup-card {
    position: relative;
    background: hsl(var(--background));
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.hero-mockup-header {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    background: hsl(var(--muted));
    border-bottom: 1px solid hsl(var(--border));
}

.hero-mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
}

.hero-mockup-dot.red { background: #ff5f57; }
.hero-mockup-dot.yellow { background: #ffbd2e; }
.hero-mockup-dot.green { background: #28c840; }

.hero-mockup-title {
    font-size: 0.6875rem;
    color: hsl(var(--muted-foreground));
    margin-left: 0.375rem;
    font-weight: 500;
}

.hero-mockup-body {
    padding: 0;
    background: hsl(0 0% 98%);
}

.hero-mockup-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-mockup-footer {
    display: flex;
    gap: 1.5rem;
    padding: 0.75rem 0.875rem;
    border-top: 1px solid hsl(var(--border));
}

.hero-mockup-meta {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.hero-mockup-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--muted-foreground));
    font-weight: 600;
}

.hero-mockup-value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}

/* Mockup format chips in footer */
.hero-mockup-formats {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.hero-mockup-formats span {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    background: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
}

.hero-mockup-formats span:last-child {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

/* Data insight tag stack — right side of mockup */
.hero-data-stack {
    position: absolute;
    right: -28px;
    bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.hero-data-tag {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3125rem 0.75rem;
    border-radius: 9999px;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    color: hsl(var(--foreground));
    white-space: nowrap;
}

.hero-data-tag svg {
    width: 0.8125rem;
    height: 0.8125rem;
    flex-shrink: 0;
}

/* Bestemming — bottom, full opacity, green */
.hero-dt-1 {
    color: hsl(142 76% 30%);
    border-color: hsl(142 76% 85%);
    background: hsl(142 76% 96%);
}
.hero-dt-1 svg { color: hsl(142 76% 36%); }

/* Gebouwen — blue */
.hero-dt-2 {
    color: hsl(199 89% 40%);
    border-color: hsl(199 89% 88%);
    background: hsl(199 89% 97%);
}
.hero-dt-2 svg { color: hsl(199 89% 48%); }

/* Energielabel — orange */
.hero-dt-3 {
    color: hsl(25 95% 38%);
    border-color: hsl(25 95% 85%);
    background: hsl(25 95% 96%);
}
.hero-dt-3 svg { color: hsl(25 95% 45%); }

/* Bodemkaart — purple */
.hero-dt-4 {
    color: hsl(262 83% 45%);
    border-color: hsl(262 83% 88%);
    background: hsl(262 83% 97%);
    opacity: 0.8;
}
.hero-dt-4 svg { color: hsl(262 83% 50%); }

/* Erfgoed — pink */
.hero-dt-5 {
    color: hsl(340 75% 40%);
    border-color: hsl(340 75% 88%);
    background: hsl(340 75% 97%);
    opacity: 0.6;
}
.hero-dt-5 svg { color: hsl(340 75% 48%); }

/* +N meer — neutral, faded */
.hero-dt-more {
    font-size: 0.6875rem;
    color: hsl(var(--foreground));
    border-color: hsl(var(--border));
    background: hsl(var(--muted));
    opacity: 0.45;
}

/* ============================================
   Steps (Hoe werkt het)
   ============================================ */

.landing-steps-section {
    background: hsl(var(--background));
    padding: 4rem 0;
}

.landing-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 48rem;
    margin: 2rem auto 0;
}

.landing-step {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease;
}

a.landing-step:hover {
    transform: translateY(-2px);
}

a.landing-step:hover .landing-step-icon-wrap {
    background: hsl(var(--primary) / 0.15);
}

.landing-step-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: hsl(var(--primary) / 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.landing-step-icon-wrap svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary));
}

.landing-step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.landing-step p {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

.landing-step-connector {
    flex: 0 0 3rem;
    margin-top: 1.5rem;
    color: hsl(var(--border));
}

.landing-step-connector svg {
    width: 100%;
    height: auto;
}

/* ============================================
   Example reports
   ============================================ */

.landing-examples-section {
    background: hsl(var(--muted));
}

.landing-examples {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.landing-example-more {
    border-style: dashed;
}

.landing-example-more .landing-example-name {
    color: hsl(var(--primary));
}

.landing-example-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 0.75rem;
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
}

.landing-example-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.landing-example-preview {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-example-preview svg {
    width: 1.75rem;
    height: 1.75rem;
}

.landing-example-info {
    background: hsl(199 89% 95%);
    color: hsl(199 89% 40%);
}

.landing-example-map {
    background: hsl(142 76% 93%);
    color: hsl(142 76% 30%);
}

.landing-example-measure {
    background: hsl(262 83% 94%);
    color: hsl(262 83% 45%);
}

.landing-example-location {
    background: hsl(45 93% 93%);
    color: hsl(45 93% 30%);
}

.landing-example-export {
    background: hsl(25 95% 93%);
    color: hsl(25 95% 40%);
}

.landing-example-html {
    background: hsl(340 75% 94%);
    color: hsl(340 75% 40%);
}

.landing-example-name {
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
}

.landing-example-format {
    font-size: 0.6875rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
}

/* ============================================
   USPs — horizontal row
   ============================================ */

.landing-usps-section {
    background: hsl(var(--background));
    padding: 3.5rem 0;
}

.landing-usps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.landing-usp {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease;
}

a.landing-usp:hover {
    transform: translateY(-2px);
}

a.landing-usp:hover .landing-usp-icon-wrap {
    background: hsl(var(--primary) / 0.15);
}

.landing-usp-icon-wrap {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: hsl(var(--primary) / 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing-usp-icon-wrap svg {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--primary));
}

.landing-usp h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.landing-usp p {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.4;
}

/* ============================================
   Pricing
   ============================================ */

.landing-pricing-section {
    background: hsl(var(--muted));
}

.landing-pricing-details {
    text-align: center;
    margin-top: 1.5rem;
}

/* ============================================
   CTA
   ============================================ */

.landing-cta-section {
    background: linear-gradient(160deg, hsl(199 60% 96%) 0%, hsl(199 40% 92%) 100%);
    text-align: center;
    padding: 4rem 0;
}

.landing-cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.landing-cta-subtitle {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.landing-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* ============================================
   Responsive: tablet (< 1024px)
   ============================================ */

@media (max-width: 1024px) {
    .landing-usps {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* ============================================
   Responsive: mobile (< 768px)
   ============================================ */

@media (max-width: 768px) {
    .landing-section {
        padding: 3rem 0;
    }

    /* Hero: stack */
    .landing-hero {
        padding: 2rem 1rem 2.5rem;
    }

    .landing-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .landing-hero-text {
        max-width: none;
        text-align: center;
    }

    .landing-hero-title {
        font-size: 2rem;
    }

    .landing-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 28rem;
    }

    .landing-hero-stats {
        justify-content: center;
    }

    .landing-hero-links {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .landing-hero-visual {
        order: -1;
    }

    .hero-mockup {
        max-width: 300px;
    }

    .hero-data-stack {
        right: -8px;
        bottom: 40px;
    }

    .hero-dt-4,
    .hero-dt-5,
    .hero-dt-more {
        display: none;
    }

    .landing-section-title {
        font-size: 1.5rem;
    }

    /* Steps: stack */
    .landing-steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .landing-step-connector {
        width: 2px;
        height: 1.5rem;
        flex: 0 0 auto;
        border-left: 1.5px dashed hsl(var(--border));
        margin: 0;
    }

    .landing-step-connector svg {
        display: none;
    }

    /* Examples: 3 col to fit 5 cards better */
    .landing-examples {
        grid-template-columns: repeat(3, 1fr);
    }

    /* USPs: single column */
    .landing-usps {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .landing-cta-section {
        padding: 3rem 0;
    }

    .landing-cta-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   Responsive: small mobile (< 480px)
   ============================================ */

@media (max-width: 480px) {
    .landing-hero-title {
        font-size: 1.625rem;
    }

    .landing-hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .landing-search-input {
        height: 2.75rem;
        font-size: 0.9375rem;
    }

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

/* ============================================
   Reduced motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .landing-search-input,
    .landing-search-suggestion-item,
    .landing-example-card {
        transition: none;
    }
}
