:root {
    --blue: #1260d8;
    --blue-dark: #0a3f9e;
    --navy: #17233d;
    --text-body: #4b5567;
    --border: rgb(231, 235, 241);
    --bg-soft: #f5f8fd;
    --green: #1aa06d;
    --amber: #d99a1b;
    --red: #d0402f;
    --purple: #8055d8;
    --orange: #ed7132;
    --radius: 16px;
    --shadow-card: 0 10px 30px rgba(23, 35, 61, .06);
    --shadow-card-hover: 0 20px 44px rgba(23, 35, 61, .12);
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}


.container {
    width: min(1440px, calc(100% - 56px));
    margin: auto;
}

h1,
h2,
h3,
h4 {
    color: var(--navy);
    margin: 0;
}

h2 {
    font-size: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    box-shadow: 0 8px 20px rgba(18, 96, 216, .28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(18, 96, 216, .36);
}

.btn-outline {
    background: #fff;
    color: var(--navy);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    transform: translateY(-2px);
    border-color: var(--blue);
    color: var(--blue);
}

.btn-outline .play {
    font-size: 7px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.section-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.section-heading--left {
    text-align: left;
    margin: 0 0 28px;
    max-width: none;
}


/* ================= BREADCRUMB ================= */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 22px 0 0;
    font-size: 14px;
    color: #8792a3;
}

.breadcrumb .material-symbols-outlined {
    font-size: 18px;
}

.breadcrumb a {
    color: #8792a3;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--blue);
}

.breadcrumb b {
    font-weight: 400;
    opacity: .6;
}

.breadcrumb span:last-child {
    color: var(--navy);
    font-weight: 500;
}

/* ================= HERO ================= */
.sv-hero {
    padding-bottom: 70px;
}

.sv-hero-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 40px;
    align-items: start;
    padding-top: 20px;
}

.sv-badge {
    display: inline-block;
    background: rgba(18, 96, 216, .08);
    color: var(--blue);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .3px;
    padding: 7px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
}

.sv-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    padding-top: 80px;
}

.sv-hero-content h1 {
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.sv-hero-content>p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 460px;
}

.sv-analyze-form {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.sv-analyze-form input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.sv-analyze-form input:focus {
    border-color: var(--blue);
}

.sv-hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--text-body);
}

.sv-hero-notes span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sv-hero-notes .material-symbols-outlined {
    font-size: 17px;
    color: var(--blue);
}


/* ---------- Dashboard mockup ---------- */
.sv-dashboard {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card-hover);
    padding: 20px;
    margin-right: 40px;
}

.sv-dash-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.sv-dash-head strong {
    display: block;
    font-size: 15px;
    color: var(--navy);
}

.sv-dash-head small {
    font-size: 12px;
    color: #8792a3;
}

.sv-download-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

.sv-download-btn .material-symbols-outlined {
    font-size: 15px;
}

.sv-dash-row {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.sv-dash-row--top {
    grid-template-columns: 34% 66%;
}

.sv-dash-row--stats {
    grid-template-columns: repeat(4, 1fr);
}

.sv-dash-row--bottom {
    grid-template-columns: 50% 50%;
    margin-bottom: 0;
}

.sv-panel {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-right: 13px;
}

.sv-panel small {
    color: #8792a3;
    font-size: 11.5px;
}

.sv-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sv-panel-head a {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}

.sv-dropdown {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 11.5px;
    color: #8792a3;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 8px;
}

.sv-dropdown .material-symbols-outlined {
    font-size: 15px;
}

/* Gauge */
.sv-gauge-panel {
    text-align: center;
}

.sv-gauge {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.sv-gauge-ring {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: conic-gradient(var(--green) 0deg 280.8deg, var(--border) 280.8deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sv-gauge-inner {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sv-gauge-inner strong {
    font-size: 22px;
    color: var(--navy);
    line-height: 1;
}

.sv-gauge-inner span {
    font-size: 10px;
    color: #8792a3;
}

.sv-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 4px;
}

.sv-tag--good {
    background: rgba(26, 160, 109, .12);
    color: var(--green);
}

.sv-tag--fair {
    background: rgba(217, 154, 27, .14);
    color: var(--amber);
}

.sv-delta {
    display: block;
    color: var(--green);
    font-weight: 600;
    margin-top: 6px;
}

/* Trend line chart */
.sv-trend-chart {
    padding-top: 4px;
}

.sv-trend-line {
    height: 80px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(18, 96, 216, .14), rgba(18, 96, 216, 0)),
        repeating-linear-gradient(90deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 20%),
        linear-gradient(100deg, transparent 40%, var(--blue) 41%, var(--blue) 42%, transparent 43%, transparent 55%, var(--blue) 56%, var(--blue) 57%, transparent 58%);
    position: relative;
    margin-bottom: 6px;
}

.sv-trend-axis {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #8792a3;
}

/* Stat mini panels */
.sv-stat-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
}

.sv-stat-panel small {
    display: block;
    color: #8792a3;
    font-size: 11.5px;
    margin-bottom: 6px;
}

.sv-stat-panel strong {
    font-size: 20px;
    color: var(--navy);
}

.sv-stat-panel strong span {
    font-size: 12px;
    color: #8792a3;
    font-weight: 500;
}

.sv-stat-panel .sv-tag {
    margin-top: 8px;
}

/* AI answer presence bars */
.sv-bar-row {
    display: grid;
    grid-template-columns: 40% 1fr 32px;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin: 8px 0;
}

.sv-bar-row span {
    color: var(--navy);
}

.sv-bar {
    height: 8px;
    background: var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.sv-bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--blue-dark));
    border-radius: 6px;
}

.sv-bar-row b {
    text-align: right;
    color: var(--navy);
    font-weight: 700;
}

/* Keywords table */
.sv-keyword-row {
    display: grid;
    grid-template-columns: 1fr 32px 44px;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.sv-keyword-row:last-child {
    border-bottom: none;
}

.sv-keyword-row span {
    color: var(--navy);
}

.sv-keyword-row b {
    color: var(--text-body);
}

.sv-keyword-row em {
    font-style: normal;
    font-weight: 700;
    text-align: right;
}

.sv-keyword-row em.up {
    color: var(--green);
}

.sv-keyword-row em.down {
    color: var(--red);
}

.sv-keyword-row em.flat {
    color: #8792a3;
}


/* ================= REPORT INCLUDES ================= */
.includes-section {
    padding: 70px 0;
}

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

.include-card {
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 28px 22px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.include-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.include-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
}

.include-icon .material-symbols-outlined {
    font-size: 26px;
}

.include-card h3 {
    font-size: 16.5px;
    margin-bottom: 8px;
}

.include-card p {
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}


/* ================= INSIGHTS & RECOMMENDATIONS ================= */
.insights-section {
    padding: 0 0 80px;
}

.insights-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 28px;
    align-items: start;
}

.insights-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.insight-card {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
}

.insight-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.insight-icon .material-symbols-outlined {
    font-size: 18px;
}

.insight-icon--strength {
    background: var(--green);
}

.insight-icon--opportunity {
    background: var(--amber);
}

.insight-icon--issue {
    background: var(--red);
}

.insight-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .3px;
    padding: 2px 9px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.tag-strength {
    background: rgba(26, 160, 109, .12);
    color: var(--green);
}

.tag-opportunity {
    background: rgba(217, 154, 27, .14);
    color: var(--amber);
}

.tag-issue {
    background: rgba(208, 64, 47, .12);
    color: var(--red);
}

.insight-card h4 {
    font-size: 14.5px;
    margin-bottom: 4px;
}

.insight-card p {
    font-size: 12.5px;
    line-height: 1.55;
    margin: 0;
    color: var(--text-body);
}

.view-report-btn {
    justify-content: center;
    margin-top: 4px;
}

.chart-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 20px;
    margin-bottom: 16px;
}

.chart-panel:last-child {
    margin-bottom: 0;
}

.chart-panel>strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 14px;
}

/* Comparison bar chart */
.compare-chart {
    display: flex;
    gap: 10px;
    height: 190px;
}

.compare-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 10px;
    color: #8792a3;
    text-align: right;
    padding-bottom: 20px;
}

.compare-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 16px;
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding-left: 12px;
}

.compare-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.compare-bar-col strong {
    font-size: 12px;
    color: var(--navy);
    margin-bottom: 6px;
}

.compare-bar {
    width: 44px;
    border-radius: 6px 6px 0 0;
}

.compare-bar--you {
    background: var(--blue);
}

.compare-bar--a {
    background: var(--green);
}

.compare-bar--b {
    background: var(--purple);
}

.compare-bar--c {
    background: var(--orange);
}

.compare-bar-col small {
    font-size: 11px;
    color: #8792a3;
    margin-top: 8px;
}

/* Donut chart */
.insights-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.donut-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.donut-chart {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    flex-shrink: 0;
    background: conic-gradient(var(--blue) 0% 48%,
            var(--green) 48% 70%,
            var(--amber) 70% 88%,
            var(--orange) 88% 100%);
    position: relative;
}

.donut-chart::after {
    content: '';
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    background: #fff;
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    color: var(--navy);
}

.donut-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.donut-legend b {
    margin-left: auto;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.dot--organic {
    background: var(--blue);
}

.dot--ai {
    background: var(--green);
}

.dot--direct {
    background: var(--amber);
}

.dot--other {
    background: var(--orange);
}

/* Top opportunities list */
.opportunity-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
}

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

.opportunity-row span {
    color: var(--navy);
}

.impact {
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

.impact--high {
    background: rgba(26, 160, 109, .12);
    color: var(--green);
}

.impact--medium {
    background: rgba(217, 154, 27, .14);
    color: var(--amber);
}


/* ================= CTA ================= */
.sv-cta-section {
    padding: 0 0 50px;
}

.sv-cta-box {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 36px;
}

.sv-cta-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.sv-cta-icon .material-symbols-outlined {
    font-size: 26px;
    color: #fff;
}

.sv-cta-content {
    flex: 1;
    min-width: 240px;
}

.sv-cta-content h3 {
    font-size: 19px;
    margin-bottom: 6px;
}

.sv-cta-content p {
    font-size: 13.5px;
    margin: 0;
}

.sv-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* ================= TRUST STRIP ================= */
.trust-strip-section {
    padding: 0 0 60px;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    padding: 30px 10px;
}

.trust-strip-item {
    flex: 1;
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px;
    border-left: 1px solid var(--border);
}

.trust-strip-item:first-child {
    border-left: none;
}

.trust-strip-item .material-symbols-outlined {
    font-size: 24px;
    color: var(--blue);
}

.trust-strip-item strong {
    display: block;
    font-size: 14.5px;
    color: var(--navy);
}

.trust-strip-item small {
    font-size: 12.5px;
    color: #8792a3;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
    .sv-hero-grid {
        grid-template-columns: 1fr;
    }

    .sv-dash-row--top {
        grid-template-columns: 1fr;
    }

    .sv-dash-row--stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .sv-dash-row--bottom {
        grid-template-columns: 1fr;
    }

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

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

    .insights-subgrid {
        grid-template-columns: 1fr;
    }

    .trust-strip-item {
        flex: 1 1 33%;
        border-left: 1px solid var(--border);
        border-top: 1px solid var(--border);
    }

    .trust-strip-item:nth-child(4) {
        border-left: 0;
    }

    .trust-strip-item:nth-child(1),
    .trust-strip-item:nth-child(2),
    .trust-strip-item:nth-child(3) {
        border-top: 0;
    }

    .sv-hero-content {
        padding-top: 46px;
    }

    .sv-hero-content h1 {
        max-width: 600px;
    }

    .sv-hero-content p {
        margin-top: 0;
    }

    .sv-dashboard {
        margin: 0;
    }

    .includes-section {
        padding-top: 20px;
    }

}

@media (max-width: 700px) {
    .sv-hero-content h1 {
        font-size: 27px;
    }

    .sv-analyze-form {
        flex-direction: column;
    }

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

    .sv-dash-row--stats {
        grid-template-columns: 1fr;
    }

    .sv-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-strip-item {
        flex: 1 1 100%;
    }

    body .trust-strip-item {
        border-left: 0 !important;
        border-top: 1px solid var(--border) !important;
    }

    body .trust-strip-item:nth-child(1) {
        border-top: 0 !important;
    }
}