:root {
    --bg: #0D1220;
    --surface: #141C30;
    --surface-2: #1A2540;
    --border: #28324A;
    --text: #E7ECF6;
    --muted: #8B96AC;
    --brand: #FA8300;
    --brand-soft: rgba(250, 131, 0, 0.12);
    --brand-dark: #282F4A;
    --up: #34D399;
    --warn: #FBBF24;
    --down: #FB7185;
    --cyan: #22D3EE;
    --radius: 14px;
    --maxw: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Poppins', system-ui, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

a {
    color: var(--brand);
    text-decoration: none;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--brand);
    color: #0A0E1A;
    padding: 8px 16px;
    border-radius: 8px;
}

.skip-link:focus {
    left: 24px;
    top: 12px;
    z-index: 200;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

.hero {
    padding: 80px 0 64px;
    position: relative;
    overflow: hidden;
    border-top: none;
}

.hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -180px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--brand-soft) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--up);
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 24px;
    font-weight: 500;
}

.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--up);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
    animation: ping 2s infinite;
}

@keyframes ping {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(52, 211, 153, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
    }
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin-bottom: 18px;
    font-weight: 700;
}

.hero h1 .accent {
    color: var(--brand);
}

.hero-subhead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 500;
    color: #C7CEDD;
    margin-bottom: 16px;
}

.hero p.lede {
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 50ch;
    margin-bottom: 36px;
}

/* ---- Monitor Panel (Hero Right) — same as cloud protected ---- */
.monitor-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 24px 64px -20px rgba(250, 131, 0, 0.25), 0 0 0 1px rgba(250, 131, 0, 0.08);
    font-size: 0.82rem;
    width: 100%;
    min-width: 0;
}

.mp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    gap: 8px;
}

.mp-url {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.8rem;
    min-width: 0;
    overflow: hidden;
}

.mp-url span:first-of-type {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-up-badge {
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: var(--up);
    font-size: 0.66rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.mp-warn-badge {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--warn);
    font-size: 0.66rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.mp-ssl-badge {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: var(--cyan);
    font-size: 0.66rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.mp-ms {
    font-size: 0.75rem;
    color: var(--muted);
    margin-left: 4px;
}

.mp-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.mp-status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.mp-health {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--up);
    font-size: 0.8rem;
}

.mp-anomaly {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--warn);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
}

.mp-thresholds {
    margin-left: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.7rem;
}

.mp-thresholds b {
    color: var(--text);
}

.dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--up);
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
    animation: ping 2s infinite;
}

.dot-green-sm {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--up);
    display: inline-block;
    vertical-align: middle;
}

.mp-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--border);
}

.mp-stat {
    padding: 12px 12px;
    border-right: 1px solid var(--border);
}

.mp-stat:last-child {
    border-right: none;
}

.mp-stat-blue {
    background: rgba(110, 123, 255, 0.06);
}

.mp-stat-green {
    background: rgba(52, 211, 153, 0.06);
}

.mp-stat-purple {
    background: rgba(167, 139, 250, 0.06);
}

.mp-stat-label {
    font-size: 0.68rem;
    color: var(--muted);
    line-height: 1.3;
    margin-bottom: 4px;
}

.mp-stat-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
    white-space: nowrap;
}

.mp-stat-blue .mp-stat-val {
    color: #818CF8;
}

.mp-stat-green .mp-stat-val {
    color: var(--up);
}

.mp-stat-purple .mp-stat-val {
    color: #A78BFA;
}

.mp-stat-sub {
    font-size: 0.63rem;
    color: var(--muted);
    line-height: 1.3;
}

.mp-chart-wrap {
    padding: 14px 14px 10px;
    min-width: 0;
    width: 100%;
}

.mp-chart-title {
    font-weight: 600;
    color: var(--text);
    font-size: 0.8rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mp-info {
    color: var(--muted);
    font-size: 0.76rem;
}

.mp-chart-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.66rem;
    color: var(--muted);
    flex-wrap: wrap;
}

.leg-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.mp-chart {
    position: relative;
    width: 100%;
}

.mp-chart svg {
    display: block;
    width: 100%;
    height: auto;
}

.mp-chart-xaxis {
    display: flex;
    justify-content: space-between;
    font-size: 0.58rem;
    color: var(--muted);
    margin-top: 2px;
    overflow: hidden;
}

.mp-chart-footer {
    font-size: 0.65rem;
    color: var(--muted);
    text-align: center;
    margin-top: 6px;
}

/* URL rows inside monitor panel */
.mp-url-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    gap: 8px;
}

.mp-url-row:hover {
    background: var(--surface-2);
}

.mp-url-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text);
    font-family: monospace;
}

.mp-url-label span {
    color: var(--muted);
    font-weight: 400;
}

/* ---- Generic sections ---- */
section {
    padding: 72px 0;
    border-top: 1px solid var(--border);
}

section.alt-dark {
    background: var(--surface);
}

section.alt-surface {
    background: var(--surface-2);
}

.section-head {
    max-width: 62ch;
    margin-bottom: 44px;
}

.section-head.center {
    max-width: none;
    text-align: center;
}

.section-head.center p {
    max-width: 60ch;
    margin: 0 auto;
}

.section-head .kicker {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 14px;
    font-weight: 700;
}

.section-head p {
    color: var(--muted);
}

/* ---- What is URL Monitoring ---- */
.what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.what-col h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.what-col p {
    color: var(--muted);
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.what-col+.what-col {
    border-left: 1px solid var(--border);
    padding-left: 48px;
}

.what-points {
    list-style: none;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.what-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted);
    font-size: 0.95rem;
}

.what-points li .icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-soft);
    border: 1px solid rgba(250, 131, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 0.75rem;
    margin-top: 2px;
}

.how-visual {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.how-visual-title {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    font-weight: 600;
}

.how-step-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.how-step-row:last-child {
    border-bottom: none;
}

.step-num-circle {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--brand-soft);
    border: 1px solid rgba(250, 131, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--brand);
}

.step-text-col {
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
}

.step-text-col span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 400;
    margin-top: 2px;
}

/* ---- Feature cards ---- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.card .icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--brand-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.2rem;
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.card p {
    color: var(--muted);
    font-size: 0.93rem;
}

/* ---- Metrics ---- */
.grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.metric-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    text-align: center;
}

.metric-card .metric-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.metric-card .metric-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.metric-card .metric-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ---- Issues detected ---- */
.issue-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.issue {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}

.issue .badge {
    flex: 0 0 auto;
    font-size: 0.72rem;
    padding: 4px 9px;
    border-radius: 6px;
    border: 1px solid var(--down);
    color: var(--down);
    background: rgba(251, 113, 133, 0.08);
    white-space: nowrap;
    font-weight: 600;
}

.issue h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.issue p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
}

/* ---- How it works (timeline) ---- */
.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    counter-reset: tstep;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), rgba(250, 131, 0, 0.2));
    z-index: 0;
}

.timeline .step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 18px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline .step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin: 0 auto 16px;
    box-shadow: 0 4px 20px rgba(250, 131, 0, 0.35);
}

.timeline .step h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline .step p {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
}

/* ---- Use cases ---- */
.usecase-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.usecase {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
}

.usecase:hover {
    border-color: var(--brand);
}

.usecase .uc-icon {
    font-size: 1.6rem;
    margin-bottom: 14px;
}

.usecase h3 {
    font-size: 0.98rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.usecase p {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
}

/* ---- Why BigBell ---- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    border-top: 3px solid var(--brand);
}

.why-item .num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand);
    opacity: 0.35;
    display: block;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.why-item h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.why-item p {
    color: var(--muted);
    font-size: 0.93rem;
    margin: 0;
}

/* ---- FAQ ---- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 860px;
    margin: 0 auto;
}

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

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--surface);
    border: none;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 0.97rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: background 0.15s;
}

.faq-q:hover {
    background: var(--surface-2);
}

.faq-item[aria-expanded="true"] .faq-q {
    background: var(--surface-2);
}

.faq-q .icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--brand);
    transition: transform 0.2s ease;
    font-weight: 400;
}

.faq-item[aria-expanded="true"] .faq-q .icon {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--surface-2);
}

.faq-a-inner {
    padding: 16px 24px 20px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

/* ---- Related pages ---- */
.related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.related-link {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 22px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: border-color 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-link:hover {
    border-color: var(--brand);
    color: var(--brand);
}

/* ---- Final CTA ---- */
.final-cta {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, var(--brand-soft) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 14px;
    position: relative;
}

.final-cta p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
    position: relative;
}

.final-cta .cta-row {
    justify-content: center;
    position: relative;
}

/* ---- Footer ---- */
footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
}

footer .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 0.83rem;
}

footer a {
    color: var(--muted);
}

footer a:hover {
    color: var(--brand);
}

/* ---- Responsive ---- */
@media(max-width:900px) {

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

    .what-col+.what-col {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border);
        padding-top: 32px;
    }

    .grid-3,
    .grid-6,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline,
    .usecase-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        display: none;
    }

    .issue-list {
        grid-template-columns: 1fr;
    }

    .monitor-panel {
        width: 100%;
    }

    .nav-links {
        display: none;
    }
}

@media(max-width:580px) {

    .grid-3,
    .grid-6,
    .why-grid,
    .timeline,
    .usecase-list {
        grid-template-columns: 1fr;
    }

    .issue-list {
        grid-template-columns: 1fr;
    }

    .final-cta {
        padding: 40px 24px;
    }

    .hero {
        padding: 48px 0 40px;
    }

    .related-grid {
        flex-direction: column;
    }
}

@media(max-width:420px) {
    .mp-thresholds {
        display: none;
    }

    .mp-stat-val {
        font-size: 0.88rem;
    }

    .mp-chart-xaxis span:nth-child(even) {
        display: none;
    }
}

@media(prefers-reduced-motion:reduce) {

    .eyebrow .dot,
    .dot-green {
        animation: none;
    }
}