:root {
    --bg: #080a0d;
    --bg-soft: #0d1014;
    --card: #101419;
    --card-light: #14191f;
    --text: #f5f7fa;
    --muted: #969da8;
    --border: rgba(255, 255, 255, 0.09);
    --accent: #0ea5a4;
    --accent-light: #35e0dc;
    --max-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

button,
input {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}


/* HEADER */

.header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgba(8, 10, 13, 0.85);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.logo span {
    color: var(--accent-light);
}

.login-link {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.login-link:hover {
    color: var(--text);
}


/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    padding: 115px 0 110px;
    border-bottom: 1px solid var(--border);
}

.hero-glow {
    position: absolute;
    width: 750px;
    height: 500px;
    left: 50%;
    top: -220px;
    transform: translateX(-50%);
    background: radial-gradient(
        circle,
        rgba(14, 165, 164, 0.18),
        transparent 68%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    text-align: center;
}

.badge,
.eyebrow {
    display: inline-block;
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.badge {
    padding: 7px 12px;
    border: 1px solid rgba(53, 224, 220, 0.25);
    border-radius: 999px;
    background: rgba(14, 165, 164, 0.07);
    margin-bottom: 28px;
}

.hero h1 {
    max-width: 930px;
    margin: 0 auto;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -3.5px;
    font-weight: 800;
}

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

.hero-description {
    max-width: 720px;
    margin: 28px auto 0;
    color: var(--muted);
    font-size: 18px;
}


/* URL FORM */

.analyze-form {
    max-width: 840px;
    margin: 42px auto 0;
}

.url-box {
    display: flex;
    padding: 8px;
    background: #fff;
    border-radius: 14px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.url-box input {
    flex: 1;
    min-width: 0;
    padding: 0 20px;
    border: 0;
    outline: none;
    color: #111820;
    background: transparent;
    font-size: 16px;
}

.url-box input::placeholder {
    color: #858c94;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: #12b7b5;
    transform: translateY(-1px);
}

.btn-primary span {
    font-size: 20px;
}

.form-error {
    min-height: 24px;
    margin-top: 10px;
    color: #ff7a7a;
    font-size: 14px;
}

.hero-benefits {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    color: var(--muted);
    font-size: 13px;
}

.hero-benefits span {
    color: var(--accent-light);
    margin-right: 6px;
}


/* SECTIONS */

.analysis-section,
.how-section {
    padding: 110px 0;
}

.analysis-section {
    background: var(--bg-soft);
}

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

.section-heading h2 {
    margin-top: 14px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.section-heading p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 16px;
}


/* ANALYSIS CARDS */

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

.analysis-card {
    min-height: 250px;
    padding: 30px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.analysis-card:hover {
    transform: translateY(-3px);
    border-color: rgba(53, 224, 220, 0.25);
}

.card-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 9px;
    background: rgba(14, 165, 164, 0.1);
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 800;
}

.analysis-card h3 {
    margin-bottom: 12px;
    font-size: 19px;
}

.analysis-card p {
    color: var(--muted);
    font-size: 14px;
}


/* EXAMPLE */

.example-section {
    padding: 120px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.example-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 90px;
    align-items: center;
}

.example-copy h2 {
    margin-top: 16px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.example-copy p {
    margin-top: 24px;
    max-width: 480px;
    color: var(--muted);
}

.example-report {
    padding: 30px;
    border: 1px solid rgba(53, 224, 220, 0.2);
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(14, 165, 164, 0.06),
            rgba(255, 255, 255, 0.015)
        ),
        var(--card);
}

.report-header {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.report-label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.report-header h3 {
    font-size: 20px;
}

.score {
    color: var(--accent-light);
    font-size: 30px;
    font-weight: 800;
    white-space: nowrap;
}

.score small {
    color: var(--muted);
    font-size: 13px;
}

.report-item {
    display: flex;
    gap: 15px;
    padding-top: 24px;
}

.report-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--accent-light);
}

.report-item strong {
    font-size: 14px;
}

.report-item p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
}


/* STEPS */

.how-section {
    background: var(--bg-soft);
}

.steps {
    display: grid;
    grid-template-columns: 1fr 60px 1fr 60px 1fr;
    align-items: start;
}

.step {
    text-align: center;
}

.step-number {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: rgba(14, 165, 164, 0.1);
    border: 1px solid rgba(53, 224, 220, 0.25);
    color: var(--accent-light);
    font-weight: 800;
}

.step h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.step p {
    max-width: 270px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
}

.step-line {
    height: 1px;
    margin-top: 23px;
    background: var(--border);
}


/* FINAL CTA */

.final-section {
    padding: 110px 0;
}

.final-box {
    position: relative;
    overflow: hidden;
    padding: 80px 30px;
    text-align: center;
    border: 1px solid rgba(53, 224, 220, 0.17);
    border-radius: 20px;
    background: var(--card);
}

.final-glow {
    position: absolute;
    width: 500px;
    height: 350px;
    left: 50%;
    top: -250px;
    transform: translateX(-50%);
    background: radial-gradient(
        circle,
        rgba(14, 165, 164, 0.25),
        transparent 70%
    );
}

.final-box > *:not(.final-glow) {
    position: relative;
    z-index: 2;
}

.final-box h2 {
    max-width: 650px;
    margin: 15px auto 0;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.final-box p {
    max-width: 560px;
    margin: 20px auto 30px;
    color: var(--muted);
}

.final-box small {
    display: block;
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
}


/* FOOTER */

.footer {
    padding: 35px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 900px) {

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

    .example-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .step-line {
        display: none;
    }

}

@media (max-width: 700px) {

    .container {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .hero {
        padding: 80px 0 75px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .url-box {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
        background: var(--card-light);
        border: 1px solid var(--border);
    }

    .url-box input {
        min-height: 55px;
        border-radius: 8px;
        background: #fff;
    }

    .url-box .btn {
        width: 100%;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 8px;
    }

    .analysis-section,
    .how-section,
    .example-section,
    .final-section {
        padding: 75px 0;
    }

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

    .analysis-card {
        min-height: 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .report-header {
        flex-direction: column;
    }

    .final-box {
        padding: 60px 20px;
    }

    
}


/* LIVE PUBLIC ANALYSIS */

.live-analysis {
    padding: 90px 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    scroll-margin-top: 20px;
}

.live-analysis[hidden],
.loading-panel[hidden],
.result-panel[hidden] {
    display: none !important;
}

.loading-panel {
    max-width: 760px;
    margin: 0 auto;
    padding: 70px 35px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
}

.loader {
    width: 52px;
    height: 52px;
    margin: 0 auto 28px;
    border: 4px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--accent-light);
    border-radius: 50%;
    animation: analyzer-spin 0.85s linear infinite;
}

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

.loading-panel h2 {
    margin-top: 12px;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -1.5px;
}

.loading-panel p {
    max-width: 610px;
    margin: 18px auto 0;
    color: var(--muted);
}

.btn:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.result-panel {
    max-width: 1050px;
    margin: 0 auto;
}

.result-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.result-heading h2 {
    margin-top: 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.result-url {
    display: inline-block;
    max-width: 700px;
    margin-top: 12px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-url:hover {
    color: var(--accent-light);
}

.overall-score {
    flex: 0 0 auto;
    min-width: 145px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(53, 224, 220, 0.22);
    border-radius: 14px;
    background: rgba(14, 165, 164, 0.07);
}

.overall-score strong {
    color: var(--accent-light);
    font-size: 48px;
    line-height: 1;
}

.overall-score span {
    color: var(--muted);
    font-size: 14px;
}

.result-summary {
    max-width: 900px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 17px;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.score-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
}

.score-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.score-card strong {
    color: var(--accent-light);
    font-size: 32px;
}

.score-card small {
    margin-left: 3px;
    color: var(--muted);
}

.result-block {
    margin-top: 65px;
}

.result-block > .eyebrow {
    margin-bottom: 20px;
}

.quick-wins {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.quick-win {
    display: flex;
    gap: 18px;
    padding: 25px;
    border: 1px solid rgba(53, 224, 220, 0.16);
    border-radius: 14px;
    background: var(--card);
}

.quick-win-number {
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 800;
}

.quick-win h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.quick-win p,
.result-card p,
.recommendation-row p,
.hero-proposal p {
    color: var(--muted);
    font-size: 14px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.result-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
}

.result-card-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.result-card-header h3 {
    font-size: 18px;
}

.category-score {
    flex: 0 0 auto;
    color: var(--accent-light);
    font-weight: 800;
}

.result-card > strong {
    display: block;
    margin: 18px 0 5px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.recommendations {
    display: grid;
    gap: 12px;
}

.recommendation-row {
    display: flex;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
}

.recommendation-number {
    display: flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(14, 165, 164, 0.1);
    color: var(--accent-light);
    font-weight: 800;
}

.recommendation-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.recommendation-badges span {
    padding: 5px 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.hero-proposal {
    padding: 35px;
    border: 1px solid rgba(53, 224, 220, 0.2);
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(14, 165, 164, 0.07),
            rgba(255, 255, 255, 0.015)
        ),
        var(--card);
}

.hero-proposal h3 {
    max-width: 800px;
    margin-top: 16px;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-proposal p {
    max-width: 750px;
    margin-top: 14px;
    font-size: 16px;
}

.hero-cta-preview {
    display: inline-flex;
    margin-top: 22px;
    padding: 12px 17px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.trust-points span {
    color: var(--muted);
    font-size: 13px;
}

.register-after-result {
    margin-top: 70px;
    padding: 55px 30px;
    text-align: center;
    border: 1px solid rgba(53, 224, 220, 0.2);
    border-radius: 18px;
    background: var(--card);
}

.register-after-result h2 {
    margin-top: 12px;
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -1.5px;
}

.register-after-result p {
    max-width: 610px;
    margin: 16px auto 25px;
    color: var(--muted);
}

.register-after-result small {
    display: block;
    margin-top: 13px;
    color: var(--muted);
}

@media (max-width: 800px) {
    .result-heading {
        flex-direction: column;
    }

    .overall-score {
        min-width: 130px;
    }

    .quick-wins,
    .result-grid,
    .score-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .live-analysis {
        padding: 65px 0;
    }

    .loading-panel,
    .hero-proposal,
    .register-after-result {
        padding: 40px 20px;
    }

    .recommendation-row {
        padding: 20px;
    }
}
