.landing-shell {
    padding-top: 3rem;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 540px);
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - 11rem);
}

.hero-copy {
    display: grid;
    gap: 1.25rem;
}

.hero-title {
    max-width: 11ch;
}

.hero-subtitle {
    max-width: 58ch;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.35rem;
}

.generate-btn {
    min-width: 190px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.85rem;
}

.metric-card {
    padding: 1.1rem 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-value {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
}

.metric-label {
    display: block;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.hero-showcase {
    position: relative;
}

.showcase-shell {
    position: relative;
    padding: 1.5rem;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(12, 18, 32, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.showcase-shell::before {
    content: "";
    position: absolute;
    inset: auto -12% -12% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 231, 255, 0.28), transparent 65%);
    filter: blur(18px);
    pointer-events: none;
}

.showcase-labels {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.hero-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.showcase-card {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 28px;
}

.showcase-card.spotlight {
    border-color: rgba(143, 231, 255, 0.22);
    box-shadow: 0 26px 60px rgba(68, 142, 255, 0.16);
}

.card-image {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    aspect-ratio: 1 / 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-card:hover .card-image img {
    transform: scale(1.035);
}

.showcase-meta {
    display: grid;
    gap: 0.22rem;
    margin-top: 0.9rem;
}

.showcase-meta strong {
    font-size: 0.98rem;
}

.showcase-meta span,
.showcase-caption {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.showcase-arrow {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-arrow span {
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, rgba(143, 231, 255, 0.2), rgba(143, 231, 255, 1));
    position: relative;
}

.showcase-arrow span::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    transform: rotate(45deg);
}

.showcase-caption {
    margin-top: 1rem;
}

.about-section {
    margin-top: 4.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.info-card {
    padding: 1.35rem;
}

.info-card h3 {
    margin-bottom: 0.7rem;
}

.examples-section {
    margin-top: 4.5rem;
}

.examples-heading {
    max-width: 760px;
}

.examples-heading p {
    max-width: 58ch;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.example-card {
    padding: 0.95rem;
    display: grid;
    gap: 0.95rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        rgba(11, 19, 36, 0.88);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.example-card:hover {
    transform: translateY(-4px);
    border-color: rgba(143, 231, 255, 0.24);
    box-shadow: 0 28px 56px rgba(1, 7, 23, 0.34);
}

.example-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(143, 231, 255, 0.14), rgba(115, 136, 255, 0.12)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.example-image::before {
    content: "";
    position: absolute;
    inset: 12% 10%;
    border-radius: 18px;
    border: 1px dashed rgba(191, 213, 255, 0.22);
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    z-index: -1;
}

.example-image::after {
    content: "";
    position: absolute;
    inset: auto -18% -28% auto;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 231, 255, 0.2), transparent 70%);
    filter: blur(8px);
}

.example-meta {
    display: grid;
    gap: 0.22rem;
    text-align: center;
}

.example-meta strong {
    font-size: 0.97rem;
}

.example-meta span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.not-found-shell {
    padding-top: 3rem;
    min-height: calc(100vh - 12rem);
    display: grid;
    align-content: center;
}

.not-found-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 1.2rem;
    align-items: stretch;
}

.not-found-card,
.not-found-side-card {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: grid;
    gap: 1rem;
}

.not-found-card h1,
.not-found-side-card h2 {
    max-width: 12ch;
}

.not-found-code {
    font-size: clamp(4.8rem, 16vw, 9rem);
    line-height: 0.82;
    font-weight: 800;
    letter-spacing: -0.08em;
    color: transparent;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
}

.not-found-actions,
.not-found-side-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.not-found-actions a,
.not-found-side-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.not-found-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.35rem;
}

.not-found-side-card {
    align-content: space-between;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(11, 19, 36, 0.88);
}

@media (max-width: 1280px) {
    .hero-section {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
        gap: 1.5rem;
        min-height: auto;
        align-items: start;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-metrics .metric-card:last-child {
        grid-column: 1 / -1;
    }

    .showcase-shell {
        padding: 1.25rem;
        border-radius: 30px;
    }

    .hero-cards {
        gap: 0.85rem;
    }

    .showcase-arrow {
        width: 54px;
        height: 54px;
    }

    .about-section {
        margin-top: 3.75rem;
    }

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

    .not-found-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
        gap: 1rem;
    }
}

@media (max-width: 1120px) {
    .hero-section,
    .not-found-layout {
        grid-template-columns: 1fr;
    }

    .hero-metrics,
    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .hero-cards {
        grid-template-columns: 1fr;
    }

    .showcase-arrow {
        justify-self: center;
        transform: rotate(90deg);
    }

    .hero-metrics,
    .about-grid,
    .not-found-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 560px) {
    .landing-shell {
        padding-top: 1.4rem;
    }

    .hero-section {
        gap: 1.25rem;
    }

    .hero-title {
        max-width: 12ch;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions a,
    .hero-actions button {
        width: 100%;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-metrics .metric-card:last-child {
        grid-column: auto;
    }

    .showcase-shell {
        border-radius: 24px;
        padding: 0.85rem;
    }

    .showcase-labels {
        font-size: 0.76rem;
    }

    .examples-section {
        margin-top: 3.5rem;
    }

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

    .example-card {
        padding: 0.85rem;
    }
}

@media (min-width: 1680px) {
    .hero-section {
        min-height: min(820px, calc(100dvh - 11rem));
    }

    .examples-grid {
        grid-template-columns: repeat(5, minmax(180px, 1fr));
    }
}
