/* === Status Pages landing — unique vertical-flow style === */

/* ── Hero ── */
.sp-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
    background: linear-gradient(160deg, rgba(var(--bs-primary-rgb), .08) 0%, rgba(var(--accent-rgb), .06) 100%);
}

.sp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(var(--bs-primary-rgb), .12) 0%, transparent 60%);
    pointer-events: none;
}

.sp-hero .container { position: relative; z-index: 1; }

.sp-hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.sp-hero .lead {
    font-size: 1.15rem;
    max-width: 560px;
    line-height: 1.75;
}

@media (max-width: 767.98px) {
    .sp-hero { padding: 2.5rem 0 2rem; }
    .sp-hero h1 { font-size: 2rem; }
    .sp-hero .lead { font-size: 1rem; }
    .sp-hero .btn-lg { padding-left: 1rem; padding-right: 1rem; font-size: .9rem; }
}

/* ── Timeline ── */
.sp-timeline {
    padding: 4rem 0;
}

.sp-timeline-item {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 2.5rem;
}

.sp-timeline-item::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 44px;
    bottom: -2.5rem;
    width: 3px;
    background: rgba(var(--bs-primary-rgb), .2);
    border-radius: 2px;
}

.sp-timeline-item:last-child::before { display: none; }

.sp-timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .sp-timeline-item { padding-left: 2.5rem; }
    .sp-timeline-dot { width: 32px; height: 32px; font-size: .85rem; }
    .sp-timeline-item::before { left: 15px; top: 36px; }
}

/* ── Panel ── */
.sp-panel {
    border-radius: 1.25rem;
    padding: 2.5rem;
    background: var(--bs-secondary-bg);
    margin-bottom: 2rem;
    border: 1px solid var(--bs-border-color);
    border-left: 4px solid var(--bs-primary);
    transition: border-color .2s, box-shadow .2s;
}

.sp-panel:hover { box-shadow: 0 4px 24px rgba(var(--bs-primary-rgb), .08); }

.sp-panel h3 { font-size: 1.2rem; font-weight: 600; }

.sp-panel-alt {
    border-radius: 1.25rem;
    padding: 2.5rem;
    background: var(--bs-secondary-bg);
    margin-bottom: 2rem;
    border: 1px solid var(--bs-border-color);
    border-right: 4px solid var(--bs-primary);
    transition: border-color .2s, box-shadow .2s;
}

.sp-panel-alt:hover { box-shadow: 0 4px 24px rgba(var(--bs-primary-rgb), .08); }
.sp-panel-alt h3 { font-size: 1.2rem; font-weight: 600; }

@media (max-width: 575.98px) {
    .sp-panel, .sp-panel-alt { padding: 1.5rem 1.25rem; }
}

/* ── Feature row ── */
.sp-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.sp-feature-row .sp-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

@media (max-width: 575.98px) {
    .sp-feature-row { flex-direction: column; gap: .75rem; }
}

/* ── Mockup (browser chrome) ── */
.sp-mockup {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,.12);
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
}

.sp-mockup-bar {
    height: 28px;
    background: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
    display: flex;
    align-items: center;
    padding: 0 .75rem;
    gap: 6px;
    border-radius: 1rem 1rem 0 0;
}

.sp-mockup-bar .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.sp-mockup-bar .dot-red   { background: #ef4444; }
.sp-mockup-bar .dot-yellow { background: #f59e0b; }
.sp-mockup-bar .dot-green  { background: #22c55e; }

.sp-mockup-bar .url-bar {
    margin-left: 12px;
    font-size: .7rem;
    color: var(--bs-secondary-color);
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
    padding: 1px 10px;
    flex: 1;
    max-width: 260px;
}

.sp-mockup-body { padding: 1.5rem; }

/* ── Code block ── */
.sp-code-block {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    border-radius: .75rem;
    padding: 1.5rem;
    font-size: .85rem;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

/* ── CTA ── */
.sp-cta {
    padding: 4rem 0;
}

.sp-cta-box {
    border-radius: 1.25rem;
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), .18), rgba(var(--bs-primary-rgb), .12));
    border: 1px solid var(--bs-border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ── SEO text ── */
.sp-seo {
    padding: 3rem 0 4rem;
}

.sp-seo p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bs-secondary-color);
    max-width: 900px;
}

/* ── Doodle (decorative SVGs) ── */
.sp-doodle {
    position: absolute;
    opacity: .15;
    pointer-events: none;
    transition: opacity .3s;
}

*:hover > .sp-doodle { opacity: .25; }

/* ── CTA octopus (left side for status pages) ── */
.sp-cta-octopus {
    position: absolute;
    bottom: -10px;
    left: 1.5rem;
    opacity: .2;
    pointer-events: none;
    transition: opacity .3s;
}

.sp-cta-box:hover .sp-cta-octopus { opacity: .35; }

@media (max-width: 575.98px) {
    .sp-cta-octopus { width: 80px; height: 87px; left: .5rem; }
    .sp-cta-box { padding: 2.5rem 1.25rem; }
}
