/* ===== Managed Lizmap Hosting — Page Styles ===== */

/* ---- Hero ---- */
.lh-hero {
    position: relative;
    min-height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
    background: #161616;
}

.lh-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/lizmap-hero.png') center center / cover no-repeat;
}

.lh-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22,22,22,0.15) 0%, rgba(22,22,22,0.35) 100%);
}

.lh-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 5vw 4rem 5vw;
}

.lh-hero-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
}

.lh-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    font-weight: 300;
    line-height: 1.07;
    color: #fff;
    margin-bottom: 0.75rem;
}

.lh-hero-sub {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--ibm-blue);
    margin-bottom: 1.5rem;
}

.lh-hero-copy {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.78);
    max-width: 36rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.lh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ---- Hero Map Mock Visual ---- */
.lh-hero-visual {
    position: relative;
    z-index: 2;
    padding: 2rem 5vw 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lh-map-mock {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
    overflow: hidden;
}

.lh-map-mock-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: #f4f4f4;
    border-bottom: 1px solid #e0e0e0;
}

.lh-map-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
}

.lh-map-dot:first-child { background: #ff5f57; }
.lh-map-dot:nth-child(2) { background: #febc2e; }
.lh-map-dot:nth-child(3) { background: #28c840; }

.lh-map-url {
    margin-left: 0.75rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: #565656;
}

.lh-map-mock-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    height: 320px;
}

.lh-map-sidebar {
    padding: 1rem 0.75rem;
    background: #fafafa;
    border-right: 1px solid #e0e0e0;
}

.lh-map-sidebar-title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #565656;
    margin-bottom: 0.75rem;
}

.lh-map-layer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #161616;
    padding: 0.4rem 0;
}

.lh-map-check {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: var(--ibm-blue);
    flex-shrink: 0;
    position: relative;
}

.lh-map-check::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.lh-map-check.lh-unchecked {
    background: #fff;
    border: 1.5px solid #c6c6c6;
}

.lh-map-check.lh-unchecked::after { display: none; }

.lh-map-canvas {
    position: relative;
    overflow: hidden;
}

.lh-map-svg {
    width: 100%;
    height: 100%;
}

.lh-map-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.lh-map-layer-1 {
    background: radial-gradient(circle at 30% 40%, rgba(15,98,252,0.04) 0%, transparent 40%);
}

.lh-map-layer-2 {
    background: radial-gradient(circle at 70% 60%, rgba(15,98,252,0.03) 0%, transparent 35%);
}

.lh-map-layer-3 {
    background: linear-gradient(180deg, transparent 60%, rgba(15,98,252,0.03) 100%);
}

/* ---- Introduction ---- */
.lh-intro {
    padding: 6rem 0;
    background: var(--ui-background);
}

.lh-intro-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 5rem;
    align-items: center;
}

.lh-intro-text p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.65;
    font-size: 1.0625rem;
}

.lh-intro-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--ui-border);
    border: 1px solid var(--ui-border);
}

.lh-stat {
    background: var(--ui-background);
    padding: 2rem 1.5rem;
    text-align: center;
}

.lh-stat-number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--ibm-blue);
    margin-bottom: 0.5rem;
}

.lh-stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* ---- Features ---- */
.lh-features {
    padding: 6rem 0;
    background: var(--ui-background-alt);
}

.lh-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lh-feature-card {
    background: var(--ui-background);
    border: 1px solid var(--ui-border);
    border-radius: 8px;
    padding: 2rem 1.75rem;
    transition: box-shadow 200ms ease, border-color 200ms ease;
}

.lh-feature-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border-color: var(--ibm-blue);
}

.lh-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(15,98,252,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.lh-feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
}

.lh-feature-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ---- Pricing ---- */
.lh-pricing {
    padding: 6rem 0;
    background: var(--ui-background);
}

.lh-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.lh-price-card {
    background: var(--ui-background);
    border: 1px solid var(--ui-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 200ms ease;
}

.lh-price-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.lh-price-featured {
    border: 2px solid var(--ibm-blue);
    box-shadow: 0 8px 32px rgba(15,98,252,0.12);
    position: relative;
    transform: scale(1.03);
}

.lh-price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ibm-blue);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.375rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}

.lh-price-head {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--ui-border);
}

.lh-price-head h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.lh-price-amount {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.lh-price-amount span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.lh-price-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.lh-price-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.lh-price-features li {
    padding: 0.625rem 0;
    font-size: 0.875rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--ui-border);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.lh-price-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(15,98,252,0.1);
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%230f62fc' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.lh-price-features li strong {
    font-weight: 600;
}

.lh-pricing-note {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--ui-background-alt);
    border: 1px solid var(--ui-border);
    border-radius: 12px;
    text-align: center;
}

.lh-pricing-note h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
}

.lh-pricing-note p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ---- Value Proposition ---- */
.lh-value {
    padding: 6rem 0;
    background: #161616;
    position: relative;
    overflow: hidden;
}

.lh-value::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(15,98,252,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(15,98,252,0.06) 0%, transparent 50%);
}

.lh-value-inner {
    position: relative;
    z-index: 1;
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
}

.lh-value-tag {
    color: rgba(255,255,255,0.5) !important;
}

.lh-value-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.5rem;
}

.lh-value-text {
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.lh-value-highlight {
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
}

/* ---- How It Works ---- */
.lh-how {
    padding: 6rem 0;
    background: var(--ui-background-alt);
}

.lh-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.lh-step {
    text-align: center;
    padding: 0 0.5rem;
}

.lh-step-number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2rem;
    font-weight: 500;
    color: var(--ibm-blue);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.lh-step h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.lh-step p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---- Audience ---- */
.lh-audience {
    padding: 6rem 0;
    background: var(--ui-background);
}

.lh-audience-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.lh-audience-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.75rem 1rem;
    border: 1px solid var(--ui-border);
    border-radius: 8px;
    text-align: center;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.lh-audience-item:hover {
    border-color: var(--ibm-blue);
    box-shadow: 0 2px 16px rgba(15,98,252,0.06);
}

.lh-audience-item svg {
    flex-shrink: 0;
}

.lh-audience-item span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
}

/* ---- Additional Services ---- */
.lh-additional {
    padding: 6rem 0;
    background: var(--ui-background-alt);
}

.lh-additional-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.lh-additional-card {
    background: var(--ui-background);
    border: 1px solid var(--ui-border);
    border-radius: 8px;
    padding: 2rem 1.75rem;
    text-align: center;
    transition: box-shadow 200ms ease, border-color 200ms ease;
}

.lh-additional-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border-color: var(--ibm-blue);
}

.lh-additional-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(15,98,252,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.lh-additional-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.lh-additional-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.lh-additional-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ---- FAQ ---- */
.lh-faq {
    padding: 6rem 0;
    background: var(--ui-background);
}

.lh-faq-list {
    max-width: 48rem;
    margin: 0 auto;
}

.lh-faq-item {
    border-bottom: 1px solid var(--ui-border);
}

.lh-faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    transition: color 150ms ease;
}

.lh-faq-q:hover { color: var(--ibm-blue); }

.lh-faq-chevron {
    flex-shrink: 0;
    transition: transform 200ms ease;
}

.lh-faq-q[aria-expanded="true"] .lh-faq-chevron {
    transform: rotate(180deg);
}

.lh-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 250ms ease;
}

.lh-faq-a p {
    padding: 0 0 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- Final CTA ---- */
.lh-cta {
    padding: 6rem 0;
    background: #161616;
    position: relative;
    overflow: hidden;
}

.lh-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(15,98,252,0.15) 0%, transparent 60%);
}

.lh-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}

.lh-cta-inner h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 300;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.lh-cta-inner p {
    font-size: 1.0625rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.lh-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* ---- Fade-in animation ---- */
.lh-fade {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 400ms ease, transform 400ms ease;
}

.lh-fade.lh-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1056px) {
    .lh-hero {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .lh-hero-content { padding: 3rem 5vw 2rem; }
    .lh-hero-visual { padding: 0 5vw 3rem; }

    .lh-intro-wrapper { grid-template-columns: 1fr; gap: 3rem; }

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

    .lh-pricing-grid { grid-template-columns: 1fr; max-width: 28rem; margin: 0 auto; }
    .lh-price-featured { transform: none; }

    .lh-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }

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

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

@media (max-width: 672px) {
    .lh-hero { min-height: auto; padding-bottom: 2rem; }
    .lh-hero h1 { font-size: 2rem; }
    .lh-hero-sub { font-size: 1.25rem; }
    .lh-map-mock { max-width: 100%; }
    .lh-map-mock-body { grid-template-columns: 100px 1fr; height: 240px; }

    .lh-intro, .lh-features, .lh-pricing, .lh-how, .lh-audience, .lh-additional, .lh-faq, .lh-cta {
        padding: 4rem 0;
    }

    .lh-features-grid { grid-template-columns: 1fr; }

    .lh-steps { grid-template-columns: 1fr; gap: 2.5rem; }

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

    .lh-additional-grid { grid-template-columns: 1fr; }

    .lh-intro-visual { grid-template-columns: 1fr; }

    .lh-price-featured { transform: none; }

    .lh-cta-actions { flex-direction: column; align-items: stretch; }
    .lh-cta-actions .btn { width: 100%; }
}
