/* ============================================================
   TOKENS
============================================================ */
:root {
    --c-bg: #070b16;
    --c-bg1: #0c1221;
    --c-bg2: #101828;
    --c-bg3: #152035;
    --c-bg4: #1a2744;
    --c-border: rgba(255, 255, 255, .07);
    --c-border2: rgba(59, 130, 246, .25);
    --c-text: #e8edf5;
    --c-muted: #6b7a99;
    --c-blue: #3b82f6;
    --c-blue2: #2563eb;
    --c-blue3: #1d4ed8;
    --c-green: #22c55e;
    --c-orange: #f97316;
    --c-red: #ef4444;
    --c-purple: #a855f7;
    --c-purple2: #7c3aed;
    --c-yellow: #eab308;
    --c-teal: #14b8a6;
    --r: 12px;
    --r-sm: 8px;
    --shadow: 0 8px 32px rgba(0, 0, 0, .5);
    --shadow-blue: 0 0 30px rgba(59, 130, 246, .25);
    --t: .22s ease;
}

/* ============================================================
   BASE
============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   UTILITÁRIOS
============================================================ */
.section-tag {
    text-align: center;
    display: block;
}

.section-title {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 800;
    text-align: center;
    letter-spacing: -.02em;
}

.section-sub {
    text-align: center;
    color: var(--c-muted);
    margin-top: .6rem;
    font-size: .95rem;
}

/* ============================================================
   BOTÕES
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: .875rem;
    letter-spacing: .04em;
    transition: all var(--t);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn--cta {
    padding: .65rem 1.4rem;
    background: linear-gradient(135deg, var(--c-blue), var(--c-blue3));
    color: #fff;
    border: 1px solid var(--c-blue2);
    box-shadow: 0 0 18px rgba(59, 130, 246, .3);
}

.btn--cta:hover {
    box-shadow: 0 0 28px rgba(59, 130, 246, .55);
    transform: translateY(-1px);
}

.btn--analyze {
    padding: .7rem 1.6rem;
    background: linear-gradient(135deg, var(--c-blue), var(--c-blue3));
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, .35);
    flex-shrink: 0;
    border-radius: 8px;
    font-size: .9rem;
}

.btn--analyze:hover {
    box-shadow: 0 0 32px rgba(59, 130, 246, .6);
    transform: translateY(-1px);
}

.btn--analyze:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.btn--export {
    padding: .5rem 1rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--c-border);
    color: var(--c-text);
    border-radius: 8px;
    font-size: .8rem;
    gap: .4rem;
}

.btn--export:hover {
    background: rgba(255, 255, 255, .1);
}

.btn--export svg {
    width: 15px;
    height: 15px;
}

.export-badge {
    background: var(--c-bg4);
    border: 1px solid var(--c-border);
    border-radius: 4px;
    padding: .1rem .4rem;
    font-size: .68rem;
    color: var(--c-muted);
}

.btn--plan {
    width: 100%;
    justify-content: center;
    padding: .85rem 1.5rem;
    border-radius: 8px;
    font-size: .9rem;
    margin-top: auto;
}

.btn--plan-primary {
    background: linear-gradient(135deg, var(--c-blue), var(--c-blue3));
    color: #fff;
    box-shadow: 0 0 18px rgba(59, 130, 246, .3);
}

.btn--plan-primary:hover {
    box-shadow: 0 0 28px rgba(59, 130, 246, .55);
    transform: translateY(-1px);
}

.btn--plan-secondary {
    background: var(--c-blue);
    color: #fff;
}

.btn--plan-secondary:hover {
    background: var(--c-blue2);
    transform: translateY(-1px);
}

.btn--plan-outline {
    border: 1.5px solid var(--c-blue);
    color: var(--c-blue);
    background: transparent;
}

.btn--plan-outline:hover {
    background: rgba(59, 130, 246, .08);
    transform: translateY(-1px);
}

.btn--cta-white {
    padding: .85rem 2rem;
    background: #fff;
    color: #0a0e1a;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(255, 255, 255, .15);
}

.btn--cta-white svg {
    width: 18px;
    height: 18px;
}

.btn--cta-white:hover {
    background: #e8f0fe;
    transform: translateY(-1px);
}

/* ============================================================
   LOGO
============================================================ */
.logo {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
}

.logo__icon {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
}

.logo__icon svg {
    width: 100%;
    height: 100%;
}

.logo__text {
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: .1em;
    color: var(--c-text);
}

.logo--footer .logo__text {
    font-size: .9rem;
}

/* ============================================================
   HEADER
============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(7, 11, 22, .82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--c-border);
    transition: box-shadow var(--t);
}

.header.--scrolled {
    box-shadow: 0 4px 40px rgba(0, 0, 0, .6);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 68px;
    padding: 0 24px;
}

.nav {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-left: 1rem;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: .2rem;
    padding: .45rem .75rem;
    border-radius: 6px;
    font-size: .88rem;
    color: var(--c-muted);
    transition: color var(--t), background var(--t);
}

.nav__link svg {
    width: 14px;
    height: 14px;
}

.nav__link:hover {
    color: var(--c-text);
    background: rgba(255, 255, 255, .05);
}

.header__cta {
    margin-left: auto;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    margin-left: .5rem;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: var(--t);
}

.hamburger.--open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.--open span:nth-child(2) {
    opacity: 0;
}

.hamburger.--open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
============================================================ */
.hero {
    min-height: 100vh;
    padding: 100px 0 70px;
    background: var(--c-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

.hero__glow--1 {
    width: 900px;
    height: 900px;
    top: -300px;
    right: -200px;
    background: radial-gradient(circle, rgba(59, 130, 246, .12) 0%, transparent 65%);
}

.hero__glow--2 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    left: -150px;
    background: radial-gradient(circle, rgba(168, 85, 247, .08) 0%, transparent 65%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__left {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, .1);
    border: 1px solid rgba(59, 130, 246, .3);
    color: var(--c-blue);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    width: fit-content;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-blue);
    flex-shrink: 0;
    box-shadow: 0 0 6px var(--c-blue);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(.8);
    }
}

/* Title */
.hero__title {
    font-size: clamp(2.1rem, 3.8vw, 3.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.03em;
    color: #fff;
}

.hero__title--gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__desc {
    color: var(--c-muted);
    font-size: 1rem;
    max-width: 480px;
    line-height: 1.7;
}

/* Form */
.hero__form {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.hero__form-field {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    padding: .3rem .3rem .3rem .9rem;
    gap: .5rem;
    transition: border-color var(--t), box-shadow var(--t);
}

.hero__form-field:focus-within {
    border-color: rgba(59, 130, 246, .5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .1);
}

.hero__form-icon {
    width: 18px;
    height: 18px;
    color: var(--c-muted);
    flex-shrink: 0;
}

.hero__form-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
}

.hero__form-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--c-text);
    font-size: .95rem;
    font-family: inherit;
    min-width: 0;
}

.hero__form-input::placeholder {
    color: var(--c-muted);
}

.hero__form-hint {
    font-size: .82rem;
    color: var(--c-red);
    min-height: 1.2em;
}

.hero__note {
    font-size: .85rem;
    color: var(--c-muted);
}

.hero__note-link {
    color: var(--c-blue);
    font-weight: 600;
}

.hero__note-link:hover {
    text-decoration: underline;
}

/* ── Monitor mockup ── */
.hero__right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__monitor {
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0 20px 60px rgba(59, 130, 246, .25));
}

.hero__monitor-screen {
    background: #0a1020;
    border: 2px solid rgba(59, 130, 246, .3);
    border-radius: 12px 12px 4px 4px;
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .05), inset 0 0 80px rgba(59, 130, 246, .04);
}

/* Browser bar */
.monitor-browser-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1rem;
    background: rgba(255, 255, 255, .03);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.monitor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.monitor-bar-url {
    flex: 1;
    background: rgba(255, 255, 255, .06);
    border-radius: 4px;
    padding: .2rem .6rem;
    font-size: .72rem;
    color: var(--c-muted);
    margin-left: .5rem;
}

/* Score area */
.monitor-score-area {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
}

.monitor-ring-wrap {
    position: relative;
    flex-shrink: 0;
    width: 130px;
    height: 130px;
}

.monitor-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.monitor-ring__track {
    fill: none;
    stroke: rgba(255, 255, 255, .06);
    stroke-width: 10;
}

.monitor-ring__fill {
    fill: none;
    stroke: url(#ringGrad);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 427;
    stroke-dashoffset: 427;
    transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1);
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, .6));
}

.monitor-ring__center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.monitor-ring__num {
    font-size: 2.6rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.monitor-ring__label {
    font-size: .68rem;
    color: var(--c-muted);
    margin-top: .15rem;
}

/* Gradiente do anel */
.monitor-ring svg defs {
    position: absolute;
}

/* Métricas ao lado */
.monitor-metrics {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    flex: 1;
}

.monitor-metric {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
}

.monitor-metric__icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.monitor-metric__icon svg {
    width: 14px;
    height: 14px;
}

.monitor-metric--green .monitor-metric__icon {
    background: rgba(34, 197, 94, .15);
}

.monitor-metric--green .monitor-metric__icon svg {
    stroke: var(--c-green);
}

.monitor-metric--blue .monitor-metric__icon {
    background: rgba(59, 130, 246, .15);
}

.monitor-metric--blue .monitor-metric__icon svg {
    stroke: var(--c-blue);
}

.monitor-metric--orange .monitor-metric__icon {
    background: rgba(249, 115, 22, .15);
}

.monitor-metric--orange .monitor-metric__icon svg {
    stroke: var(--c-orange);
}

.monitor-metric--yellow .monitor-metric__icon {
    background: rgba(234, 179, 8, .15);
}

.monitor-metric--yellow .monitor-metric__icon svg {
    stroke: var(--c-yellow);
}

.monitor-metric__info {
    display: flex;
    flex-direction: column;
}

.monitor-metric__name {
    font-size: .7rem;
    color: var(--c-muted);
}

.monitor-metric__val {
    font-size: .85rem;
    font-weight: 700;
    color: var(--c-text);
}

/* Stand */
.hero__monitor-stand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__monitor-neck {
    width: 30px;
    height: 22px;
    background: rgba(59, 130, 246, .2);
    border-bottom: none;
}

.hero__monitor-base {
    width: 100px;
    height: 8px;
    background: rgba(59, 130, 246, .15);
    border-radius: 0 0 6px 6px;
}

/* SVG gradient for ring */
svg defs {
    overflow: visible;
}

/* ============================================================
   COMO FUNCIONA
============================================================ */
.how {
    padding: 100px 0;
    background: var(--c-bg1);
}

.how .section-title {
    margin-bottom: 4rem;
}

.how__steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.how__step {
    background: var(--c-bg2);
    border: 1px solid var(--c-border);
    border-radius: var(--r);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    flex: 1 1 220px;
    max-width: 280px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s, transform .6s, box-shadow var(--t);
}

.how__step:hover {
    border-color: rgba(59, 130, 246, .3);
    box-shadow: var(--shadow-blue);
}

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

.how__step:nth-child(3) {
    transition-delay: .1s;
}

.how__step:nth-child(5) {
    transition-delay: .2s;
}

.how__step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--c-blue);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how__step-icon {
    color: var(--c-blue);
}

.how__step-icon svg {
    width: 40px;
    height: 40px;
}

.how__step-content h3 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.how__step-content p {
    font-size: .84rem;
    color: var(--c-muted);
}

.how__arrow {
    display: flex;
    align-items: center;
    padding: 0 .5rem;
    color: rgba(59, 130, 246, .4);
    opacity: 0;
    transition: opacity .6s .3s;
}

.how__arrow.--visible {
    opacity: 1;
}

.how__arrow svg {
    width: 40px;
    height: 24px;
}

/* ============================================================
   RESULT
============================================================ */
.result {
    padding: 90px 0;
    background: var(--c-bg);
}

.result .section-title {
    margin-bottom: .5rem;
}

.result__card {
    display: flex;
    background: var(--c-bg1);
    border: 1px solid var(--c-border);
    border-radius: var(--r);
    margin-top: 2.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Sidebar */
.result__sidebar {
    width: 200px;
    flex-shrink: 0;
    border-right: 1px solid var(--c-border);
    background: var(--c-bg2);
}

.result__nav {
    display: flex;
    flex-direction: column;
    padding: .75rem 0;
}

.result__nav-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .75rem 1.1rem;
    font-size: .84rem;
    color: var(--c-muted);
    transition: all var(--t);
    border-left: 3px solid transparent;
    text-align: left;
}

.result__nav-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.result__nav-item:hover {
    color: var(--c-text);
    background: rgba(255, 255, 255, .03);
}

.result__nav-item.active {
    color: var(--c-blue);
    background: rgba(59, 130, 246, .07);
    border-left-color: var(--c-blue);
}

/* Body */
.result__body {
    flex: 1;
    padding: 1.75rem;
    min-width: 0;
    overflow: hidden;
}

/* Head */
.result__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--c-border);
}

.result__head h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.result__head p {
    font-size: .82rem;
    color: var(--c-muted);
}

.result__head strong {
    color: var(--c-text);
}

/* Score cards */
.scores {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .9rem;
    margin-bottom: 1.5rem;
}

.score-card {
    background: var(--c-bg2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    padding: 1rem .8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    text-align: center;
    transition: border-color var(--t), box-shadow var(--t);
}

.score-card:hover {
    border-color: rgba(255, 255, 255, .12);
}

.score-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-card__icon svg {
    width: 16px;
    height: 16px;
}

.score-card__label {
    font-size: .7rem;
    color: var(--c-muted);
}

.score-card__num {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
}

.score-card__status {
    font-size: .72rem;
    font-weight: 600;
}

.score-card--perf .score-card__icon {
    background: rgba(59, 130, 246, .15);
}

.score-card--perf .score-card__icon svg {
    stroke: var(--c-blue);
}

.score-card--seo .score-card__icon {
    background: rgba(34, 197, 94, .15);
}

.score-card--seo .score-card__icon svg {
    stroke: var(--c-green);
}

.score-card--acc .score-card__icon {
    background: rgba(249, 115, 22, .15);
}

.score-card--acc .score-card__icon svg {
    stroke: var(--c-orange);
}

.score-card--bp .score-card__icon {
    background: rgba(168, 85, 247, .15);
}

.score-card--bp .score-card__icon svg {
    stroke: var(--c-purple);
}

/* Tag (status) */
.tag {
    font-size: .68rem;
    font-weight: 700;
    padding: .15rem .4rem;
    border-radius: 4px;
    white-space: nowrap;
}

.tag--good {
    color: var(--c-green);
    background: rgba(34, 197, 94, .12);
}

.tag--warn {
    color: var(--c-orange);
    background: rgba(249, 115, 22, .12);
}

.tag--bad {
    color: var(--c-red);
    background: rgba(239, 68, 68, .12);
}

/* Tabs */
.tabs {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fade-in .3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overview grid */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ov-panel {
    background: var(--c-bg2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    padding: 1.25rem;
}

.ov-panel__title {
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ov-link {
    display: inline-block;
    margin-top: .9rem;
    font-size: .8rem;
    color: var(--c-blue);
}

.ov-link:hover {
    text-decoration: underline;
}

/* Metrics table */
.metrics-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: .8rem;
}

.metrics-tbl td {
    padding: .5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.metrics-tbl td:nth-child(2) {
    text-align: right;
    font-weight: 600;
    color: var(--c-text);
    padding-right: .5rem;
}

.metrics-tbl td:nth-child(3) {
    text-align: right;
}

/* Check list */
.check-list {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    font-size: .82rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.check-icon {
    font-style: normal;
    font-size: .9rem;
    flex-shrink: 0;
    line-height: 1;
}

.check-icon.--ok {
    color: var(--c-green);
}

.check-icon.--bad {
    color: var(--c-red);
}

.check-icon.--warn {
    color: var(--c-orange);
}

/* Opportunity list */
.opp-list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.opp-list li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    background: var(--c-bg3);
    border-radius: 8px;
    padding: .65rem .9rem;
    font-size: .8rem;
}

.opp-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.opp-icon--blue {
    background: rgba(59, 130, 246, .15);
}

.opp-icon--orange {
    background: rgba(249, 115, 22, .15);
}

.opp-icon--green {
    background: rgba(34, 197, 94, .15);
}

.opp-icon--yellow {
    background: rgba(234, 179, 8, .15);
}

.opp-list__skeleton {
    height: 48px;
    background: linear-gradient(90deg, var(--c-bg3) 25%, var(--c-bg4) 50%, var(--c-bg3) 75%);
    background-size: 200% 100%;
    animation: skel 1.4s infinite;
    border-radius: 8px;
}

@keyframes skel {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

/* Strategy bar */
.strategy-bar {
    display: flex;
    gap: .5rem;
    margin-bottom: 1rem;
}

.strategy-btn {
    padding: .4rem .9rem;
    border-radius: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--c-muted);
    background: var(--c-bg2);
    border: 1px solid var(--c-border);
    transition: all var(--t);
}

.strategy-btn.active {
    background: var(--c-blue);
    color: #fff;
    border-color: var(--c-blue);
}

/* Vitals grid */
.vitals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .9rem;
}

.vital-item {
    background: var(--c-bg3);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.vital-item__label {
    font-size: .72rem;
    color: var(--c-muted);
    margin-bottom: .35rem;
}

.vital-item__value {
    font-size: 1.4rem;
    font-weight: 700;
}

.vital-item__status {
    font-size: .68rem;
    margin-top: .2rem;
}

/* Gauge */
.gauge-wrap {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
}

/* ============================================================
   LOADING OVERLAY
============================================================ */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(7, 11, 22, .95);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 2.5rem;
    background: var(--c-bg1);
    border: 1px solid var(--c-border);
    border-radius: var(--r);
    max-width: 380px;
    width: 90%;
    box-shadow: var(--shadow);
}

.overlay__ring {
    width: 64px;
    height: 64px;
}

.overlay__ring svg {
    width: 100%;
    height: 100%;
    animation: spin-ring 2s linear infinite;
}

@keyframes spin-ring {
    to {
        transform: rotate(360deg);
    }
}

.overlay__ring-fill {
    transform-origin: center;
}

.overlay__title {
    font-size: 1.1rem;
    font-weight: 700;
}

.overlay__step {
    font-size: .875rem;
    color: var(--c-muted);
    min-height: 1.4em;
}

.overlay__track {
    width: 240px;
    height: 4px;
    background: var(--c-bg3);
    border-radius: 999px;
    overflow: hidden;
}

.overlay__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--c-blue), var(--c-purple));
    border-radius: 999px;
    width: 0;
    transition: width .4s ease;
}

.overlay__hint {
    font-size: .78rem;
    color: var(--c-muted);
}

/* ============================================================
   PLANS
============================================================ */
.plans {
    padding: 100px 0;
    background: var(--c-bg1);
}

.plans .section-title {
    margin-bottom: .5rem;
}

.plans__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: start;
}

.plan {
    background: var(--c-bg2);
    border: 1px solid var(--c-border);
    border-radius: var(--r);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    transition: transform var(--t), box-shadow var(--t);
}

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

.plan--featured {
    border-color: rgba(59, 130, 246, .45);
    background: linear-gradient(160deg, rgba(59, 130, 246, .07) 0%, var(--c-bg2) 100%);
    box-shadow: 0 0 40px rgba(59, 130, 246, .15);
}

.plan--featured:hover {
    box-shadow: 0 0 60px rgba(59, 130, 246, .25);
}

.plan__ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--c-blue), var(--c-blue3));
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    padding: .28rem .9rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, .4);
}

.plan__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.plan__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan__icon svg {
    width: 24px;
    height: 24px;
}

.plan__icon--blue {
    background: rgba(59, 130, 246, .15);
}

.plan__icon--blue svg {
    stroke: var(--c-blue);
}

.plan__icon--purple {
    background: rgba(168, 85, 247, .15);
}

.plan__icon--purple svg {
    stroke: var(--c-purple);
}

.plan__icon--teal {
    background: rgba(20, 184, 166, .15);
}

.plan__icon--teal svg {
    stroke: var(--c-teal);
}

.plan__name {
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.3;
}

.plan__price {
    display: flex;
    align-items: baseline;
    gap: .2rem;
}

.plan__currency {
    font-size: 1rem;
    color: var(--c-muted);
    margin-top: .2rem;
}

.plan__amount {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -.03em;
}

.plan__price--consult {
    align-items: center;
}

.plan__amount--sm {
    font-size: 1.4rem;
}

.plan__includes {
    font-size: .8rem;
    color: var(--c-muted);
}

.plan__features {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    font-size: .85rem;
    color: var(--c-muted);
    flex: 1;
}

.plan__features li {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.plan__features svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke: var(--c-green);
}

/* ============================================================
   FAQ
============================================================ */
.faq {
    padding: 90px 0;
    background: var(--c-bg);
}

.faq .section-title {
    margin-bottom: 2.5rem;
}

.faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.faq__item {
    background: var(--c-bg1);
    border: 1px solid var(--c-border);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color var(--t);
}

.faq__item:hover {
    border-color: rgba(59, 130, 246, .25);
}

.faq__item.--open {
    border-color: rgba(59, 130, 246, .3);
}

.faq__btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.3rem;
    text-align: left;
    font-size: .9rem;
    font-weight: 500;
    color: var(--c-text);
    gap: 1rem;
}

.faq__btn:hover {
    background: rgba(255, 255, 255, .02);
}

.faq__chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform var(--t);
}

.faq__item.--open .faq__chevron {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq__answer p {
    padding: 0 1.3rem 1.1rem;
    font-size: .875rem;
    color: var(--c-muted);
    line-height: 1.7;
}

.faq__answer a {
    color: var(--c-blue);
}

.faq__item.--open .faq__answer {
    max-height: 200px;
}

/* ============================================================
   CTA FINAL
============================================================ */
.cta {
    padding: 70px 0;
    background: var(--c-bg1);
}

.cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, .15) 0%, rgba(168, 85, 247, .1) 100%);
    border: 1px solid rgba(59, 130, 246, .25);
    border-radius: var(--r);
    padding: 2.5rem 3rem;
    flex-wrap: wrap;
}

.cta__left h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 800;
    margin-bottom: .4rem;
}

.cta__left p {
    color: var(--c-muted);
    font-size: .95rem;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
    background: var(--c-bg2);
    border-top: 1px solid var(--c-border);
    padding: 4.5rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
}

.footer__col--brand p {
    color: var(--c-muted);
    font-size: .875rem;
    margin-top: .9rem;
    max-width: 230px;
    line-height: 1.65;
}

.footer__social {
    display: flex;
    gap: .6rem;
    margin-top: 1.25rem;
}

.footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--c-bg3);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-muted);
    transition: all var(--t);
}

.footer__social-link svg {
    width: 16px;
    height: 16px;
}

.footer__social-link:hover {
    background: var(--c-blue);
    border-color: var(--c-blue);
    color: #fff;
}

.footer__col h4 {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--c-text);
    margin-bottom: 1.1rem;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer__col ul a {
    font-size: .875rem;
    color: var(--c-muted);
    transition: color var(--t);
}

.footer__col ul a:hover {
    color: var(--c-text);
}

.footer__contact {
    gap: .75rem !important;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    font-size: .875rem;
    color: var(--c-muted);
}

.footer__contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: .1rem;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 1.5rem 0;
    margin-top: 3.5rem;
    border-top: 1px solid var(--c-border);
    font-size: .8rem;
    color: var(--c-muted);
}

/* ============================================================
   AOS
============================================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s, transform .65s;
}

[data-aos].--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   UTILITÁRIOS DE STATUS
============================================================ */
.s-good {
    color: var(--c-green);
}

.s-warn {
    color: var(--c-orange);
}

.s-bad {
    color: var(--c-red);
}

.s-exc {
    color: var(--c-green);
}

/* ============================================================
   SPIN
============================================================ */
.icon-spin {
    width: 16px;
    height: 16px;
    animation: do-spin .7s linear infinite;
}

@keyframes do-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   TOAST
============================================================ */
#toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9000;
    padding: .9rem 1.3rem;
    border-radius: var(--r-sm);
    font-size: .875rem;
    font-weight: 500;
    color: #fff;
    max-width: 360px;
    pointer-events: none;
    transform: translateY(120%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
}

#toast.--show {
    transform: translateY(0);
    opacity: 1;
}

/* ══════════════════════════════════════════════
   RATE LIMIT BANNER
══════════════════════════════════════════════ */
.rl-banner {
    display: none;
    background: linear-gradient(135deg, rgba(239, 68, 68, .12), rgba(245, 158, 11, .08));
    border: 1px solid rgba(239, 68, 68, .35);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin: 0 auto 2rem;
    max-width: 860px;
    transition: opacity .3s, transform .3s;
    opacity: 0;
    transform: translateY(-8px);
}

.rl-banner.--visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.rl-banner__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rl-banner__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.rl-banner__content {
    flex: 1;
    min-width: 200px;
}

.rl-banner__content strong {
    color: var(--c-red);
    font-size: .95rem;
}

.rl-banner__content p {
    margin: .3rem 0 0;
    font-size: .82rem;
    color: var(--c-muted);
}

.rl-banner__content em {
    color: var(--c-orange);
    font-style: normal;
    font-weight: 600;
}

/* ══════════════════════════════════════════════
   USAGE COUNTER
══════════════════════════════════════════════ */
.usage-counter {
    display: flex;
    align-items: center;
    gap: .75rem;
    justify-content: center;
    margin: .75rem auto 0;
    padding: .5rem 1rem;
    background: var(--c-bg2);
    border: 1px solid var(--c-border);
    border-radius: 99px;
    max-width: 320px;
    font-size: .78rem;
    color: var(--c-muted);
}

.usage-counter__label strong {
    color: var(--c-text);
}

.usage-counter__track {
    flex: 1;
    height: 6px;
    background: var(--c-bg3);
    border-radius: 99px;
    overflow: hidden;
}

.usage-counter__bar {
    height: 100%;
    border-radius: 99px;
    background: var(--c-green);
    transition: width .6s ease, background .4s;
}

.plans {
    padding: 5rem 0;
}

.plans__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: start;
}

.plans__note {
    text-align: center;
    font-size: .83rem;
    color: var(--c-muted);
    margin-top: 2rem;
}

/* ── Plan Card ─────────────────────────────── */
.plan-card {
    background: var(--c-bg2);
    border: 1px solid var(--c-border);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    border-color: rgba(59, 130, 246, .4);
}

/* Destaque */
.plan-card--featured {
    border-color: rgba(59, 130, 246, .55);
    background: linear-gradient(160deg, var(--c-bg2) 60%, rgba(59, 130, 246, .06));
    box-shadow: 0 8px 32px rgba(59, 130, 246, .18);
}

.plan-card--featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(59, 130, 246, .28);
}

/* Ribbon */
.plan-card__ribbon {
    position: absolute;
    top: -1px;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .3rem .75rem;
    border-radius: 0 0 8px 8px;
}

/* Header */
.plan-card__header {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.plan-card__badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .2rem .65rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, .07);
    color: var(--c-muted);
    width: fit-content;
}

.plan-card__badge--pro {
    background: rgba(59, 130, 246, .15);
    color: var(--c-blue);
}

.plan-card__badge--ent {
    background: rgba(168, 85, 247, .15);
    color: var(--c-purple);
}

.plan-card__name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-text);
    margin: 0;
}

.plan-card__price {
    display: flex;
    align-items: baseline;
    gap: .2rem;
    margin: .25rem 0;
}

.plan-card__currency {
    font-size: .95rem;
    color: var(--c-muted);
    font-weight: 600;
}

.plan-card__amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--c-text);
    line-height: 1;
}

.plan-card__period {
    font-size: .8rem;
    color: var(--c-muted);
}

.plan-card__desc {
    font-size: .82rem;
    color: var(--c-muted);
    line-height: 1.55;
    margin: 0;
}

/* Features */
.plan-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    flex: 1;
}

.plan-card__feature {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    font-size: .82rem;
    color: var(--c-text);
    line-height: 1.45;
}

.plan-card__feature--disabled {
    opacity: .4;
}

.feat-icon {
    flex-shrink: 0;
    font-size: .75rem;
    font-style: normal;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-top: 1px;
}

.feat-icon--ok {
    color: var(--c-green);
}

.feat-icon--no {
    color: var(--c-red);
}

/* Footer */
.plan-card__footer {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: auto;
}

.plan-card__guarantee {
    text-align: center;
    font-size: .72rem;
    color: var(--c-muted);
}

/* Botão full */
.btn--full {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
    .plans__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }

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

    .footer__col--brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .hero__container {
        grid-template-columns: 1fr;
    }

    .hero__left {
        text-align: center;
        align-items: center;
    }

    .hero__desc {
        max-width: 100%;
    }

    .hero__right {
        order: -1;
    }

    .hero__monitor-screen {
        max-width: 380px;
    }

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

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

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

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(7, 11, 22, .97);
        border-bottom: 1px solid var(--c-border);
        padding: 1rem 1.5rem;
        gap: .25rem;
        backdrop-filter: blur(16px);
    }

    .nav.--open {
        display: flex;
    }

    .nav__link {
        width: 100%;
        padding: .65rem .75rem;
    }

    .header__cta {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .result__card {
        flex-direction: column;
    }

    .result__sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--c-border);
    }

    .result__nav {
        flex-direction: row;
        overflow-x: auto;
        padding: .5rem;
        gap: .35rem;
    }

    .result__nav-item {
        flex-shrink: 0;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 8px;
        padding: .55rem .85rem;
        font-size: .78rem;
    }

    .result__nav-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--c-blue);
    }

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

    .cta__box {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .how__arrow {
        display: none;
    }

    .how__steps {
        flex-direction: column;
        align-items: center;
    }

    .how__step {
        max-width: 100%;
        width: 100%;
    }

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

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .plans__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }

    .plan-card--featured {
        order: -1;
    }

    .rl-banner__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .monitor-score-area {
        flex-direction: column;
    }

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

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