/* RUPTLINE AEO ANALYZER — estilos aislados */

.aeo-analyzer-page {
    position: relative;
    background: #000000;
    color: #ffffff;
    overflow: hidden;
}

.aeo-analyzer-page * {
    box-sizing: border-box;
}

.aeo-analyzer-inner {
    width: min(100%, var(--max));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.aeo-analyzer-hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    padding: clamp(68px, 8vw, 120px) 28px clamp(72px, 9vw, 132px);
    display: grid;
    align-items: center;
    background:
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.13), transparent 28%),
        radial-gradient(circle at 12% 78%, rgba(255, 255, 255, 0.07), transparent 34%),
        #000000;
}

.aeo-ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(48px);
    opacity: 0.34;
    pointer-events: none;
}

.aeo-ambient-one {
    width: 320px;
    height: 320px;
    right: -90px;
    top: 90px;
    background: rgba(255, 255, 255, 0.18);
}

.aeo-ambient-two {
    width: 260px;
    height: 260px;
    left: -120px;
    bottom: 30px;
    background: rgba(255, 255, 255, 0.10);
}

.aeo-analyzer-hero .aeo-analyzer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
    gap: clamp(38px, 6vw, 92px);
    align-items: center;
}

.aeo-eyebrow {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.aeo-analyzer-copy h1 {
    margin: 0;
    max-width: 850px;
    color: #ffffff;
    font-size: clamp(2.65rem, 5.9vw, 7.2rem);
    line-height: 0.9;
    font-weight: 500;
    letter-spacing: -0.075em;
}

.aeo-hero-text {
    max-width: 720px;
    margin: 30px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(0.95rem, 1.25vw, 1.16rem);
    line-height: 1.72;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.aeo-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.aeo-badges span {
    min-height: 36px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.075);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.075em;
}

.aeo-scan-card,
.aeo-result-panel,
.aeo-loading-panel,
.aeo-error-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
        rgba(15, 15, 15, 0.96);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.54);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.aeo-scan-card {
    padding: clamp(24px, 3vw, 34px);
    border-radius: 30px;
}

.aeo-card-topline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

.aeo-card-topline span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.8);
}

.aeo-card-topline p {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aeo-scan-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.3vw, 2.15rem);
    line-height: 1.08;
    font-weight: 300;
    letter-spacing: -0.035em;
}

.aeo-scan-card > p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    line-height: 1.55;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.aeo-scan-form {
    margin-top: 26px;
    display: grid;
    gap: 12px;
}

.aeo-scan-form label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.aeo-input-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.aeo-input-shell input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    padding: 0 14px;
    font: inherit;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.aeo-input-shell input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.aeo-input-shell button,
.aeo-cta-button {
    min-height: 48px;
    border: 0;
    border-radius: var(--radius-pill);
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00F7A9;
    color: #000000;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.aeo-input-shell button:hover,
.aeo-cta-button:hover {
    transform: translateY(-1px);
}

.aeo-input-shell button:disabled {
    opacity: 0.56;
    cursor: not-allowed;
    transform: none;
}

.aeo-scan-form small {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.64rem;
    line-height: 1.55;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.aeo-safe-mode {
    margin-top: 22px;
    padding: 16px;
    border-radius: 20px;
    display: grid;
    gap: 5px;
    background: rgba(255, 255, 255, 0.055);
}

.aeo-safe-mode strong {
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
}

.aeo-safe-mode span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.64rem;
    line-height: 1.35;
}

.aeo-results-wrap {
    padding: 0 28px 90px;
    background: #000000;
}

.aeo-results-wrap[hidden],
.aeo-loading-panel[hidden],
.aeo-error-panel[hidden],
.aeo-result-panel[hidden] {
    display: none;
}

.aeo-loading-panel,
.aeo-error-panel,
.aeo-result-panel {
    border-radius: 34px;
}

.aeo-loading-panel {
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.aeo-loader-orb {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-top-color: #ffffff;
    animation: aeoSpin 0.8s linear infinite;
}

@keyframes aeoSpin {
    to {
        transform: rotate(360deg);
    }
}

.aeo-loading-panel h2 {
    margin: 0 0 8px;
    font-size: clamp(1.15rem, 2vw, 1.8rem);
    font-weight: 300;
    letter-spacing: -0.03em;
}

.aeo-loading-panel p {
    margin: 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.78rem;
    line-height: 1.55;
}

.aeo-error-panel {
    padding: 24px;
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
        rgba(32, 8, 8, 0.92);
}

.aeo-result-panel {
    padding: clamp(22px, 3vw, 38px);
}

.aeo-result-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
}

.aeo-result-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.7rem, 3.8vw, 4rem);
    line-height: 0.98;
    font-weight: 300;
    letter-spacing: -0.06em;
}

.aeo-result-header p:not(.aeo-eyebrow) {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    line-height: 1.65;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.aeo-main-score {
    display: grid;
    justify-items: center;
    gap: 12px;
}

.aeo-score-circle {
    --score: 0;
    --score-color: #00F7A9;

    width: clamp(132px, 14vw, 176px);
    height: clamp(132px, 14vw, 176px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, #101010 0 58%, transparent 59%),
        conic-gradient(
            var(--score-color) calc(var(--score) * 1%),
            rgba(255, 255, 255, 0.09) 0
        );
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 28px 70px rgba(0, 0, 0, 0.44),
        0 0 34px color-mix(in srgb, var(--score-color) 24%, transparent);
}

.aeo-score-circle span {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.08em;
}

.aeo-main-score strong {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
}

.aeo-url-review {
    margin-top: 30px;
    padding: 14px 18px;
    border-radius: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.055);
}

.aeo-url-review span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.aeo-url-review strong {
    min-width: 0;
    word-break: break-word;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.76rem;
    letter-spacing: 0.035em;
}

.aeo-score-list {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.aeo-score-row {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.052);
    border: 1px solid rgba(255, 255, 255, 0.055);
}

.aeo-score-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.aeo-score-row span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
    line-height: 1.35;
}

.aeo-score-row strong {
    color: #ffffff;
    font-size: 0.86rem;
}

.aeo-progress {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.095);
}

.aeo-progress span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: #ffffff;
    transition: width 0.65s ease;
}

.aeo-metrics {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.aeo-metrics div {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.052);
    border: 1px solid rgba(255, 255, 255, 0.055);
}

.aeo-metrics strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    letter-spacing: -0.06em;
}

.aeo-metrics span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    line-height: 1.45;
}

.aeo-findings {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.aeo-findings section {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.052);
    border: 1px solid rgba(255, 255, 255, 0.055);
}

.aeo-findings h3 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 0.88rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.055em;
}

.aeo-findings ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.aeo-findings li {
    position: relative;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    line-height: 1.55;
    font-weight: 300;
    letter-spacing: 0.035em;
}

.aeo-findings li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.aeo-cta-panel {
    margin-top: 28px;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    background: #ffffff;
    color: #000000;
}

.aeo-cta-panel .aeo-eyebrow {
    color: rgba(0, 0, 0, 0.45);
}

.aeo-cta-panel h2 {
    margin: 0;
    max-width: 740px;
    font-size: clamp(1.5rem, 3vw, 3rem);
    line-height: 1;
    font-weight: 300;
    letter-spacing: -0.06em;
}

.aeo-cta-panel p:not(.aeo-eyebrow) {
    max-width: 720px;
    margin: 14px 0 0;
    color: rgba(0, 0, 0, 0.62);
    font-size: 0.86rem;
    line-height: 1.6;
    font-weight: 300;
}

.aeo-cta-panel .aeo-cta-button {
    background: #000000;
    color: #ffffff;
}

.aeo-explain-section {
    padding: clamp(68px, 9vw, 120px) 28px;
    background: #151515;
}

.aeo-explain-grid {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: clamp(32px, 6vw, 82px);
    align-items: start;
}

.aeo-explain-grid h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4.8vw, 5rem);
    line-height: 0.96;
    font-weight: 300;
    letter-spacing: -0.075em;
}

.aeo-explain-cards {
    display: grid;
    gap: 14px;
}

.aeo-explain-cards article {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.055);
}

.aeo-explain-cards h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.045em;
}

.aeo-explain-cards p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    line-height: 1.65;
    font-weight: 300;
    letter-spacing: 0.035em;
}

@media (max-width: 980px) {
    .aeo-analyzer-hero .aeo-analyzer-inner,
    .aeo-explain-grid {
        grid-template-columns: 1fr;
    }

    .aeo-scan-card {
        max-width: 680px;
    }

    .aeo-result-header,
    .aeo-cta-panel {
        grid-template-columns: 1fr;
    }

    .aeo-main-score {
        justify-items: start;
    }

    .aeo-score-list,
    .aeo-findings {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .aeo-analyzer-hero,
    .aeo-results-wrap,
    .aeo-explain-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .aeo-analyzer-copy h1 {
        font-size: clamp(2.45rem, 14vw, 4.8rem);
    }

    .aeo-hero-text {
        font-size: 0.86rem;
    }

    .aeo-input-shell {
        grid-template-columns: 1fr;
        border-radius: 24px;
        padding: 10px;
    }

    .aeo-input-shell input {
        min-height: 48px;
    }

    .aeo-input-shell button {
        width: 100%;
    }

    .aeo-loading-panel {
        align-items: flex-start;
    }

    .aeo-url-review {
        display: grid;
    }

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

    .aeo-cta-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aeo-loader-orb {
        animation: none;
    }

    .aeo-progress span,
    .aeo-input-shell button,
    .aeo-cta-button {
        transition: none;
    }
}
/* READABILITY PATCH - AEO ANALYZER */

.aeo-analyzer-page p {
    font-size: 0.92rem;
    line-height: 1.75;
    font-weight: 400;
}

/* Texto principal del hero */
.aeo-hero-text {
    font-size: clamp(1.02rem, 1.35vw, 1.24rem);
    line-height: 1.75;
    font-weight: 400;
}

/* Texto dentro de la tarjeta del analizador */
.aeo-scan-card > p {
    font-size: 0.94rem;
    line-height: 1.68;
    font-weight: 400;
}

/* Texto de carga / error / resultados */
.aeo-loading-panel p,
.aeo-result-header p:not(.aeo-eyebrow),
.aeo-cta-panel p:not(.aeo-eyebrow),
.aeo-explain-cards p {
    font-size: 0.94rem;
    line-height: 1.72;
    font-weight: 400;
}

/* Listas de hallazgos */
.aeo-findings li {
    font-size: 0.84rem;
    line-height: 1.65;
    font-weight: 400;
}

/* Métricas y filas de score */
.aeo-score-row span,
.aeo-metrics span,
.aeo-url-review strong {
    font-size: 0.84rem;
    line-height: 1.55;
}

/* Textos pequeños: badges, labels, notas */
.aeo-badges span,
.aeo-scan-form small,
.aeo-safe-mode span {
    font-size: 0.76rem;
    line-height: 1.55;
}
@media (max-width: 640px) {
    .aeo-analyzer-page p {
        font-size: 0.86rem;
        line-height: 1.7;
    }

    .aeo-hero-text {
        font-size: 0.94rem;
    }

    .aeo-scan-card > p,
    .aeo-loading-panel p,
    .aeo-result-header p:not(.aeo-eyebrow),
    .aeo-cta-panel p:not(.aeo-eyebrow),
    .aeo-explain-cards p {
        font-size: 0.86rem;
    }

    .aeo-findings li,
    .aeo-score-row span,
    .aeo-metrics span,
    .aeo-url-review strong {
        font-size: 0.8rem;
    }

    .aeo-badges span,
    .aeo-scan-form small,
    .aeo-safe-mode span {
        font-size: 0.82rem;
    }
}
