/* Lucern-specific styles — supplements styles.css */

/* ── Screenshots ── */

/* Dark showcase section flush beneath the hero */
.screenshot-showcase {
    background: linear-gradient(180deg, #000000 0%, #111111 100%);
    padding: 0 0 5rem;
}

.screenshot-showcase img {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.07);
}

/* Full-width screenshot in a light section */
.screenshot-full {
    display: block;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

/* Screenshot that fills its column without upscaling beyond natural width */
.screenshot-inline {
    display: block;
    max-width: 100%;
    margin-top: 1.75rem;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

/* Centered block screenshot (natural width, no upscale) */
.screenshot-block {
    display: block;
    max-width: 100%;
    margin: 2.5rem auto 0;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

/* Screenshot inside a service card */
.screenshot-card {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Extra top margin when a screenshot follows other content */
.screenshot-after {
    margin-top: 2.5rem;
}

/* Clickable screenshots open a full-size lightbox */
.screenshot-showcase img,
.screenshot-full,
.screenshot-inline,
.screenshot-block,
.screenshot-card {
    cursor: zoom-in;
}

/* ── Screenshot lightbox ── */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    padding: 4rem 2rem;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.8;
}

.lightbox-close:hover {
    opacity: 1;
}

/* Logo product name */
.logo-product {
    font-weight: 400;
    color: #666666;
    font-size: 1.4rem;
}

/* Hero supporting line */
.hero-supporting {
    font-size: 1rem;
    opacity: 0.75;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Section spacing helpers */
.problem,
.lucern-section-light {
    padding: 6rem 0;
    background-color: #ffffff;
}

.lucern-section-alt {
    padding: 6rem 0;
    background-color: #f9f9f9;
}

/* Prose block — readable text column */
.prose-block {
    max-width: 720px;
    margin: 0 auto;
}

.prose-block p {
    color: #444444;
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.prose-block p:last-child {
    margin-bottom: 0;
}

.prose-block code {
    font-family: 'Courier New', Courier, monospace;
    background: #eeeeee;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.95em;
    color: #1a1a1a;
}

/* Section intro paragraph */
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Traffic-light indicator dot */
.traffic-light-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    flex-shrink: 0;
}

.dot-red {
    background-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.45);
}

.dot-amber {
    background-color: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.45);
}

.dot-green {
    background-color: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.45);
}

/* Indicator card — traffic-light dot replaces the service-icon */
.indicator-card .traffic-light-dot {
    margin-bottom: 1.5rem;
}

/* Per-stream bullet list centred at full section width */
.stream-features-list {
    max-width: 760px;
    margin: 0 auto;
}

/* Audience badge above Built-for column titles */
.built-for-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #1a1a1a;
    color: #ffffff;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

/* Two-column feature row */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.feature-col-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-col-intro {
    color: #666666;
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.feature-col > p {
    color: #666666;
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Deploy section — terminal code block */
.code-block {
    display: inline-block;
    background-color: #111111;
    color: #e5e5e5;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    padding: 1.25rem 2rem;
    border-radius: 8px;
    margin: 1.5rem auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.025em;
}

.deploy-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}

.deploy-list li {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.4rem 1.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* REST API section */
.api-endpoints {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 2rem 0;
}

.api-endpoint {
    background: #f9f9f9;
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
}

.api-note {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Design Principles — built on hero-city */
.principles-section {
    padding: 6rem 0;
    min-height: auto;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    text-align: left;
}

.principle-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1.75rem;
}

.principle-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.principle-card p {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.65;
    color: #ffffff;
    margin-bottom: 0;
}

.principle-card code {
    font-family: 'Courier New', Courier, monospace;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.85em;
}

/* CTA section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 2px;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .code-block {
        font-size: 0.82rem;
        padding: 1rem 1.25rem;
        word-break: break-all;
    }

    .cta-title {
        font-size: 2rem;
    }

    .feature-col-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 1.5rem;
    }

    .feature-col-title {
        font-size: 1.25rem;
    }

    .logo-product {
        font-size: 1.2rem;
    }
}
