/* ============================================
   SvetainiuPatikra.lt — Warm Editorial Design
   Aesthetic: Refined minimalism, warm tones,
   premium feel with high conversion focus
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ---- Design Tokens ---- */
:root {
    --primary: #0d9488;
    --primary-hover: #0f766e;
    --primary-light: #ccfbf1;
    --primary-bg: #f0fdfa;

    --accent: #059669;
    --accent-hover: #047857;
    --accent-glow: rgba(5,150,105,0.25);

    --green: #059669;
    --green-bg: #ecfdf5;
    --amber: #d97706;
    --amber-bg: #fffbeb;
    --red: #dc2626;
    --red-bg: #fef2f2;

    --text: #1c1917;
    --text-2: #44403c;
    --text-3: #78716c;
    --text-4: #a8a29e;
    --bg: #faf9f7;
    --surface: #ffffff;
    --border: #e7e5e4;
    --border-light: #f5f5f4;

    --font-display: 'Bricolage Grotesque', Georgia, serif;
    --font: 'DM Sans', system-ui, sans-serif;
    --container: 1080px;
    --r: 10px;
    --r-lg: 16px;
    --r-xl: 20px;

    --shadow-sm: 0 1px 2px rgba(28,25,23,0.04);
    --shadow: 0 1px 3px rgba(28,25,23,0.03), 0 6px 24px rgba(28,25,23,0.05);
    --shadow-lg: 0 4px 12px rgba(28,25,23,0.04), 0 20px 48px rgba(28,25,23,0.07);
    --shadow-focus: 0 0 0 3px rgba(13,148,136,0.15);

    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 16px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}
/* Subtle grain texture overlay */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}
a { color: var(--primary); text-decoration: none; transition: color 150ms; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; display: block; }
::selection { background: rgba(13,148,136,0.12); color: var(--text); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250,249,247,0.85);
    backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid rgba(231,229,228,0.6);
}
.nav__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.nav__logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700; color: var(--text); text-decoration: none;
    letter-spacing: -0.02em;
}
.nav__logo img { flex-shrink: 0; }
.nav__links { display: flex; gap: 36px; list-style: none; }
.nav__links a {
    font-size: 14px; font-weight: 500; color: var(--text-3);
    letter-spacing: 0.01em;
    transition: color 200ms;
    position: relative;
}
.nav__links a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0; right: 0;
    height: 1.5px; background: var(--primary);
    transform: scaleX(0); transform-origin: center;
    transition: transform 250ms var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ============================================
   HERO
   ============================================ */
.hero {
    text-align: center;
    padding: 100px 0 48px;
    position: relative; overflow: hidden;
}
.hero__decor {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero__blob {
    position: absolute; border-radius: 50%;
    filter: blur(100px); opacity: 0.4;
}
.hero__blob--1 {
    width: 500px; height: 500px;
    background: rgba(13,148,136,0.1);
    top: -200px; left: -150px;
    animation: blobFloat 14s ease-in-out infinite;
}
.hero__blob--2 {
    width: 400px; height: 400px;
    background: rgba(5,150,105,0.08);
    top: -100px; right: -100px;
    animation: blobFloat 18s ease-in-out infinite reverse;
}
.hero__blob--3 {
    width: 350px; height: 350px;
    background: rgba(217,119,6,0.05);
    bottom: -150px; left: 50%;
    transform: translateX(-50%);
    animation: blobFloat 16s ease-in-out infinite;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-15px, 15px) scale(0.98); }
    75% { transform: translate(10px, -10px) scale(1.02); }
}
.hero__badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 18px;
    font-size: 13px; font-weight: 600; color: var(--accent);
    background: var(--green-bg);
    border: 1px solid rgba(5,150,105,0.15);
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}
.hero__badge svg { flex-shrink: 0; }
.hero__title {
    font-family: var(--font-display);
    font-size: 56px; font-weight: 800; letter-spacing: -0.04em;
    line-height: 1.05; color: var(--text);
    margin-bottom: 24px;
    position: relative;
}
.hero__title span {
    background: linear-gradient(135deg, #0d9488 0%, #059669 50%, #0d9488 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}
.hero__subtitle {
    font-size: 18px; font-weight: 400; color: var(--text-3);
    max-width: 520px; margin: 0 auto 44px; line-height: 1.7;
    position: relative;
}

.hero__trust {
    display: flex; align-items: center; justify-content: center;
    gap: 14px; margin-top: 32px;
    font-size: 13px; font-weight: 500; color: var(--text-4);
    letter-spacing: 0.01em;
    position: relative;
}
.hero__trust-dot {
    width: 3px; height: 3px; border-radius: 50%; background: var(--border);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    padding: 0 0 20px;
}
.stats-bar__inner {
    display: flex; align-items: center; justify-content: center;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 32px 20px;
    box-shadow: var(--shadow);
}
.stats-bar__item {
    flex: 1;
    text-align: center;
}
.stats-bar__number {
    font-family: var(--font-display);
    font-size: 30px; font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary);
    line-height: 1.2;
}
.stats-bar__label {
    font-size: 13px; font-weight: 500; color: var(--text-3);
    margin-top: 4px; letter-spacing: 0.01em;
}
.stats-bar__divider {
    width: 1px; height: 44px;
    background: var(--border);
    flex-shrink: 0;
}

/* ============================================
   SEARCH FORM
   ============================================ */
.search-form {
    max-width: 540px; margin: 0 auto;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--r-lg);
    padding: 6px;
    box-shadow: var(--shadow-lg);
    transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
    position: relative;
}
.search-form:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--shadow-focus);
}
.search-form__inner {
    display: flex; align-items: center; gap: 6px;
}
.search-form__input-wrap {
    flex: 1; position: relative; display: flex; align-items: center;
}
.search-form__input-icon {
    position: absolute; left: 16px;
    color: var(--text-4); pointer-events: none;
}
.search-form__input {
    width: 100%;
    padding: 15px 16px 15px 46px;
    font-family: var(--font); font-size: 15px; font-weight: 400;
    border: none; border-radius: var(--r);
    outline: none; background: transparent; color: var(--text);
    letter-spacing: 0.01em;
}
.search-form__input::placeholder { color: var(--text-4); }
.search-form__input--error { background: var(--red-bg); }
.search-form__btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    font-family: var(--font); font-size: 15px; font-weight: 600; color: #fff;
    background: var(--accent);
    border: none; border-radius: var(--r);
    cursor: pointer; white-space: nowrap;
    transition: background 200ms, transform 120ms, box-shadow 250ms;
    box-shadow: 0 2px 8px var(--accent-glow);
}
.search-form__btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 20px var(--accent-glow);
    transform: translateY(-1px);
}
.search-form__btn:active { transform: scale(0.97) translateY(0); }
.search-form__btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.search-form__btn svg { flex-shrink: 0; }

.error-message {
    max-width: 540px; margin: 16px auto 0;
    padding: 12px 20px; border-radius: var(--r);
    background: var(--red-bg); color: var(--red);
    font-size: 14px; font-weight: 500; text-align: center;
    border: 1px solid rgba(220,38,38,0.1);
}

/* ============================================
   LOADING
   ============================================ */
.loading { display: none; padding: 60px 0; text-align: center; }
.loading.is-active { display: block; }
.loading__card {
    max-width: 420px; margin: 0 auto;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-xl); padding: 48px 32px;
    box-shadow: var(--shadow);
}
.loading__progress-ring { margin: 0 auto 24px; width: 64px; height: 64px; }
.loading__progress-circle {
    animation: spin 1.2s linear infinite;
    transform-origin: center;
}
.loading__message {
    font-size: 15px; font-weight: 500; color: var(--text-2);
    min-height: 24px;
}
.loading__message .cursor {
    display: inline-block; width: 2px; height: 1em;
    background: var(--primary); margin-left: 1px;
    vertical-align: text-bottom;
    animation: blink 0.7s step-end infinite;
}
.loading__bar {
    width: 100%; max-width: 280px; height: 4px; margin: 20px auto 0;
    background: var(--border-light); border-radius: 100px; overflow: hidden;
}
.loading__bar-fill {
    height: 100%; width: 0; border-radius: 100px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.8s var(--ease);
}
.loading__step-count {
    font-size: 12px; color: var(--text-4); margin-top: 12px;
}

/* ============================================
   RESULTS
   ============================================ */
.results { padding: 48px 0 0; }

.results__url-badge {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-bottom: 36px;
    font-size: 13px; font-weight: 500; color: var(--text-3);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 10px 20px; border-radius: 100px;
}
.results__url-badge:empty { display: none; }
.results__url-text {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    max-width: 400px;
}
.results__share-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 14px;
    font-family: var(--font); font-size: 12px; font-weight: 600;
    color: var(--primary); background: var(--primary-bg);
    border: 1px solid var(--primary-light);
    border-radius: 100px; cursor: pointer;
    transition: background 200ms, box-shadow 200ms;
    flex-shrink: 0;
}
.results__share-btn:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-sm);
}
.results__share-btn svg { flex-shrink: 0; }

.results__overview {
    display: flex; align-items: flex-start; gap: 40px;
    margin-bottom: 52px;
}

.results__section {
    margin-bottom: 44px;
}
.results__section-title {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700; color: var(--text);
    margin-bottom: 24px; letter-spacing: -0.02em;
}

/* ---- Score Circle ---- */
.score-circle {
    position: relative; width: 200px; height: 200px; flex-shrink: 0;
}
.score-circle__svg {
    transform: rotate(-90deg); width: 100%; height: 100%;
}
.score-circle__bg {
    fill: none; stroke: var(--border-light); stroke-width: 8;
}
.score-circle__value {
    fill: none; stroke-width: 8; stroke-linecap: round;
    stroke-dasharray: 502.65; stroke-dashoffset: 502.65;
    transition: stroke-dashoffset 1.4s var(--ease-out);
    stroke: url(#scoreGradientAvg);
}
.score-circle--good .score-circle__value { stroke: url(#scoreGradientGood); }
.score-circle--average .score-circle__value { stroke: url(#scoreGradientAvg); }
.score-circle--poor .score-circle__value { stroke: url(#scoreGradientPoor); }
.score-circle__text {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); text-align: center;
}
.score-circle__number {
    font-family: var(--font-display);
    font-size: 56px; font-weight: 800; line-height: 1;
    color: var(--amber); letter-spacing: -0.04em;
}
.score-circle--good .score-circle__number { color: var(--green); }
.score-circle--poor .score-circle__number { color: var(--red); }
.score-circle__label {
    font-size: 11px; color: var(--text-4); text-transform: uppercase;
    letter-spacing: 0.12em; margin-top: 6px; font-weight: 600;
}

/* ---- Speed Cards ---- */
.speed-cards {
    flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.speed-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); overflow: hidden;
    transition: box-shadow 300ms var(--ease), transform 300ms var(--ease);
}
.speed-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.speed-card__header {
    display: flex; align-items: center; gap: 12px;
    padding: 20px 20px 0;
}
.speed-card__icon-wrap {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.speed-card__icon-wrap--desktop { background: var(--primary-bg); color: var(--primary); }
.speed-card__icon-wrap--mobile { background: #fff7ed; color: #c2410c; }
.speed-card__title {
    font-family: var(--font-display);
    font-size: 15px; font-weight: 600;
}
.speed-card__body { padding: 16px 20px 20px; }
.speed-card__metric {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 10px 0;
}
.speed-card__metric + .speed-card__metric { border-top: 1px solid var(--border-light); }
.speed-card__metric-label { font-size: 13px; color: var(--text-3); }
.speed-card__metric-value {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 700;
}
.speed-card__metric-value--good { color: var(--green); }
.speed-card__metric-value--average { color: var(--amber); }
.speed-card__metric-value--poor { color: var(--red); }
.speed-card__screenshot {
    margin: 0 12px 12px; border-radius: var(--r);
    overflow: hidden; border: 1px solid var(--border-light);
}
.speed-card__screenshot img {
    width: 100%; display: block;
    max-height: 180px; object-fit: cover; object-position: top;
    border-radius: 4px;
}
.speed-card__screenshot:empty { display: none; }

/* ---- Ratings ---- */
.ratings {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.rating-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 20px 22px;
    transition: box-shadow 250ms var(--ease), transform 250ms var(--ease), border-color 250ms;
}
.rating-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: rgba(231,229,228,0.6);
}
.rating-item__header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px;
}
.rating-item__name {
    font-family: var(--font-display);
    font-size: 14px; font-weight: 600; color: var(--text-2);
    letter-spacing: -0.01em;
}
.rating-item__score {
    font-family: var(--font-display);
    font-size: 14px; font-weight: 700;
}
.rating-item__bar-bg {
    height: 5px; background: var(--border-light); border-radius: 100px;
    overflow: hidden;
}
.rating-item__bar-fill {
    height: 100%; border-radius: 100px; width: 0;
    transition: width 1.2s var(--ease-out);
}
.rating-item__bar-fill--good { background: linear-gradient(90deg, #059669, #34d399); }
.rating-item__bar-fill--average { background: linear-gradient(90deg, #d97706, #fbbf24); }
.rating-item__bar-fill--poor { background: linear-gradient(90deg, #dc2626, #f87171); }
.rating-item__detail {
    margin-top: 12px; font-size: 13px; color: var(--text-3);
    line-height: 1.7;
}
.rating-item__locked {
    position: relative; margin-top: 12px;
    padding: 12px 16px; background: var(--border-light);
    border-radius: var(--r); overflow: hidden;
}
.rating-item__locked-text {
    filter: blur(4px); user-select: none;
    font-size: 13px; color: var(--text-4);
}
.rating-item__locked-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.rating-item__unlock-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 22px;
    font-family: var(--font); font-size: 13px; font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none; border-radius: 100px;
    cursor: pointer;
    transition: background 200ms, transform 120ms, box-shadow 250ms;
    box-shadow: 0 2px 8px var(--accent-glow);
}
.rating-item__unlock-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 16px var(--accent-glow);
    transform: translateY(-1px);
}
.rating-item__unlock-btn:active { transform: scale(0.96); }
.rating-item__unlock-btn svg { flex-shrink: 0; }

/* Premium hint (email tier — shows what paid adds) */
.rating-item__premium-hint {
    display: flex; align-items: center; gap: 8px;
    margin-top: 10px; padding: 10px 14px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a; border-radius: 10px;
    font-size: 13px; color: #92400e;
}
.rating-item__premium-hint svg { flex-shrink: 0; opacity: 0.6; }
.rating-item__premium-hint span { flex: 1; }
.rating-item__premium-btn {
    padding: 6px 16px; font-size: 12px; font-weight: 600;
    color: #fff; background: var(--accent);
    border: none; border-radius: 100px; cursor: pointer;
    white-space: nowrap;
    transition: background 200ms;
}
.rating-item__premium-btn:hover { background: var(--accent-hover); }

/* ---- Unlock Popup Modal ---- */
.unlock-popup {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(28,25,23,0.45);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    align-items: center; justify-content: center;
    padding: 20px;
}
.unlock-popup.is-active { display: flex; }
.unlock-popup__card {
    position: relative;
    width: 100%; max-width: 440px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 40px 36px;
    box-shadow: var(--shadow-lg);
    animation: popupIn 0.35s var(--ease-out);
}
@keyframes popupIn {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.unlock-popup__close {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none; cursor: pointer;
    color: var(--text-4); padding: 4px;
    transition: color 200ms;
    border-radius: 6px;
}
.unlock-popup__close:hover { color: var(--text); background: var(--border-light); }
.unlock-popup__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px;
    background: var(--primary-bg); border-radius: 14px;
    color: var(--primary); margin-bottom: 20px;
}
.unlock-popup__title {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700; color: var(--text);
    margin-bottom: 8px; letter-spacing: -0.02em;
}
.unlock-popup__text {
    font-size: 14px; color: var(--text-3); line-height: 1.7;
    margin-bottom: 28px;
}
.unlock-popup__form { display: flex; flex-direction: column; gap: 16px; }
.unlock-popup__input {
    width: 100%; padding: 13px 16px;
    font-family: var(--font); font-size: 15px; color: var(--text);
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--r); outline: none;
    transition: border-color 200ms, box-shadow 200ms;
}
.unlock-popup__input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}
.unlock-popup__input::placeholder { color: var(--text-4); }
.unlock-popup__consent {
    display: flex; align-items: flex-start; gap: 10px;
    cursor: pointer;
}
.unlock-popup__consent input[type="checkbox"] {
    width: 18px; height: 18px; margin-top: 2px;
    accent-color: var(--primary); flex-shrink: 0;
    cursor: pointer;
}
.unlock-popup__consent-text {
    font-size: 13px; color: var(--text-3); line-height: 1.5;
    user-select: none; cursor: pointer;
}
.unlock-popup__submit {
    width: 100%; padding: 14px 24px;
    font-family: var(--font); font-size: 15px; font-weight: 600;
    color: #fff; background: var(--accent);
    border: none; border-radius: var(--r); cursor: pointer;
    transition: background 200ms, transform 120ms, box-shadow 250ms;
    box-shadow: 0 2px 8px var(--accent-glow);
}
.unlock-popup__submit:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 20px var(--accent-glow);
}
.unlock-popup__submit:active { transform: scale(0.97); }
.unlock-popup__submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.unlock-popup__error {
    font-size: 13px; font-weight: 500; color: var(--red);
}

.rating-item__justification {
    margin-top: 10px; padding-top: 10px;
    border-top: 1px dashed var(--border);
    font-size: 13px; color: var(--text-2);
    line-height: 1.7; font-style: italic;
}

/* ---- Email Gate (legacy — kept for compat) ---- */
.email-gate { margin: 40px 0; }
.email-gate__inner {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--green-bg) 100%);
    border: 1px solid var(--primary-light);
    border-radius: var(--r-xl);
    padding: 40px 32px;
    position: relative; overflow: hidden;
}
.email-gate__inner::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(13,148,136,0.06);
    pointer-events: none;
}
.email-gate__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    background: var(--surface); border-radius: 16px;
    box-shadow: var(--shadow);
    color: var(--primary);
    margin-bottom: 16px;
}
.email-gate__title {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 700; color: var(--text);
    margin-bottom: 8px; letter-spacing: -0.01em;
}
.email-gate__text {
    font-size: 15px; color: var(--text-3);
    max-width: 440px; margin: 0 auto 24px; line-height: 1.6;
}
.email-gate__form { max-width: 460px; margin: 0 auto; }
.email-gate__input-wrap {
    display: flex; gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 4px;
    transition: border-color 200ms, box-shadow 200ms;
}
.email-gate__input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}
.email-gate__input {
    flex: 1; min-width: 0;
    padding: 12px 16px;
    font-family: var(--font); font-size: 15px;
    border: none; outline: none; background: transparent;
    color: var(--text);
}
.email-gate__input::placeholder { color: var(--text-4); }
.email-gate__btn {
    padding: 12px 24px;
    font-family: var(--font); font-size: 14px; font-weight: 600;
    color: #fff; background: var(--accent);
    border: none; border-radius: 8px; cursor: pointer;
    white-space: nowrap;
    transition: background 200ms, transform 120ms, box-shadow 250ms;
}
.email-gate__btn:hover { background: var(--accent-hover); }
.email-gate__btn:active { transform: scale(0.97); }
.email-gate__btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.email-gate__error {
    margin-top: 8px;
    font-size: 13px; font-weight: 500; color: var(--red);
}
.email-gate__note {
    margin-top: 16px;
    font-size: 12px; color: var(--text-4);
}

/* ---- Summary Cards ---- */
.summary-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.summary-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 26px;
    transition: box-shadow 250ms, transform 250ms;
}
.summary-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}
.summary-card__icon { margin-bottom: 12px; }
.summary-card--strengths .summary-card__icon { color: var(--green); }
.summary-card--weaknesses .summary-card__icon { color: var(--amber); }
.summary-card__title {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 700; margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.summary-card__text {
    font-size: 14px; color: var(--text-3); line-height: 1.7;
}

/* ---- Upgrade CTA ---- */
.upgrade-cta {
    margin: 52px 0; border-radius: var(--r-xl);
    background: linear-gradient(145deg, #1c1917 0%, #292524 100%);
    color: #fff; overflow: hidden;
    position: relative;
}
.upgrade-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 25% 0%, rgba(13,148,136,0.25) 0%, transparent 55%);
    pointer-events: none;
}
.upgrade-cta::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 85% 100%, rgba(5,150,105,0.12) 0%, transparent 45%);
    pointer-events: none;
}
.upgrade-cta__inner {
    position: relative; padding: 52px 44px;
}
.upgrade-cta__title {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 700; color: #fff;
    margin-bottom: 8px; letter-spacing: -0.03em;
}
.upgrade-cta__subtitle {
    font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 28px;
}
.upgrade-cta__features {
    list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px;
    margin-bottom: 32px;
}
.upgrade-cta__features li {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85);
}
.upgrade-cta__features svg { color: var(--accent); flex-shrink: 0; }
.upgrade-cta__btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 32px;
    font-family: var(--font); font-size: 15px; font-weight: 600;
    color: var(--text); background: #fff;
    border: none; border-radius: var(--r); cursor: pointer;
    transition: transform 200ms, box-shadow 250ms;
}
.upgrade-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.upgrade-cta__btn:active { transform: translateY(0); }
.upgrade-cta__form { margin-top: 28px; }
.upgrade-cta__form-text {
    font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 12px;
}
.upgrade-cta__form-inner {
    display: flex; gap: 8px; max-width: 420px;
}
.upgrade-cta__input {
    flex: 1; min-width: 0;
    padding: 13px 16px;
    font-family: var(--font); font-size: 15px;
    border: none; border-radius: var(--r); outline: none;
    color: var(--text);
}
.upgrade-cta__input::placeholder { color: var(--text-4); }
.upgrade-cta__submit {
    padding: 13px 24px;
    font-family: var(--font); font-size: 14px; font-weight: 600;
    color: #fff; background: var(--accent);
    border: none; border-radius: var(--r); cursor: pointer;
    white-space: nowrap;
    transition: background 200ms, transform 120ms;
    box-shadow: 0 2px 8px rgba(5,150,105,0.3);
}
.upgrade-cta__submit:hover { background: var(--accent-hover); }
.upgrade-cta__submit:active { transform: scale(0.97); }
.upgrade-cta__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.upgrade-cta__form-msg {
    margin-top: 16px; padding: 16px 20px;
    background: rgba(255,255,255,0.08); border-radius: var(--r);
    font-size: 15px; color: #fff; line-height: 1.5;
    border: 1px solid rgba(255,255,255,0.06);
}
.upgrade-cta__form-msg strong { display: block; margin-bottom: 4px; color: var(--accent); }

/* ---- Security Headers Card ---- */
.results__section-title svg {
    vertical-align: -4px;
    margin-right: 6px;
    color: var(--primary);
}
.security-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.security-card__header {
    display: flex; align-items: center; gap: 20px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.security-card__score {
    display: flex; align-items: baseline; gap: 2px;
    font-family: var(--font-display);
}
.security-card__score-number {
    font-size: 36px; font-weight: 800;
    letter-spacing: -0.03em; line-height: 1;
}
.security-card__score-label {
    font-size: 16px; font-weight: 600; color: var(--text-3);
}
.security-card__score--good .security-card__score-number { color: var(--green); }
.security-card__score--warning .security-card__score-number { color: var(--amber); }
.security-card__score--bad .security-card__score-number { color: var(--red); }
.security-card__summary {
    font-size: 14px; color: var(--text-3);
}
.security-card__found { font-weight: 500; }

.security-card__items {
    padding: 8px 0;
}
.security-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 28px;
    border-bottom: 1px solid var(--border-light);
    transition: background 150ms;
}
.security-item:last-child { border-bottom: none; }
.security-item:hover { background: rgba(0,0,0,0.01); }

.security-item__status {
    flex-shrink: 0; width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    margin-top: 1px;
}
.security-item--good .security-item__status {
    color: var(--green); background: var(--green-bg);
}
.security-item--warning .security-item__status {
    color: var(--amber); background: var(--amber-bg);
}
.security-item--bad .security-item__status {
    color: var(--red); background: var(--red-bg);
}

.security-item__info { flex: 1; min-width: 0; }
.security-item__name {
    font-size: 14px; font-weight: 600; color: var(--text);
    font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
    letter-spacing: -0.01em;
}
.security-item__detail {
    font-size: 13px; color: var(--text-3); margin-top: 2px;
    line-height: 1.5;
}

.security-item__badge {
    flex-shrink: 0; padding: 3px 10px;
    font-size: 11px; font-weight: 600;
    border-radius: 20px; text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 3px;
}
.security-item__badge--good {
    color: var(--green); background: var(--green-bg);
}
.security-item__badge--warning {
    color: var(--amber); background: var(--amber-bg);
}
.security-item__badge--bad {
    color: var(--red); background: var(--red-bg);
}

/* ---- Pricing Popup ---- */
.pricing-popup {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(28,25,23,0.5);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    align-items: center; justify-content: center;
    padding: 24px;
}
.pricing-popup.is-active { display: flex; }
.pricing-popup__card {
    position: relative;
    background: var(--surface);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    padding: 40px 36px 36px;
    max-width: 720px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    animation: popupSlideIn 250ms var(--ease-out);
}
@keyframes popupSlideIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.pricing-popup__close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: none; cursor: pointer;
    color: var(--text-3); border-radius: 50%;
    transition: background 150ms, color 150ms;
}
.pricing-popup__close:hover { background: var(--border-light); color: var(--text); }
.pricing-popup__title {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 700; letter-spacing: -0.02em;
    text-align: center; margin-bottom: 4px;
}
.pricing-popup__subtitle {
    font-size: 15px; color: var(--text-3); text-align: center; margin-bottom: 28px;
}

.pricing-popup__plans {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    margin-bottom: 20px;
}
.pricing-plan {
    position: relative; cursor: pointer;
    border: 2px solid var(--border);
    border-radius: var(--r-lg);
    transition: border-color 200ms, box-shadow 200ms, transform 150ms;
}
.pricing-plan input { position: absolute; opacity: 0; width: 0; height: 0; }
.pricing-plan:hover { border-color: var(--primary-light); }
.pricing-plan.is-selected,
.pricing-plan:has(input:checked) {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}
.pricing-plan--popular {
    border-color: var(--primary);
}
.pricing-plan__badge {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff;
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 12px; border-radius: 20px;
    white-space: nowrap;
}
.pricing-plan__inner { padding: 20px 16px; text-align: center; }
.pricing-plan__name {
    font-family: var(--font-display);
    font-size: 15px; font-weight: 700; margin-bottom: 8px;
}
.pricing-plan__price { margin-bottom: 12px; }
.pricing-plan__amount {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 800; letter-spacing: -0.03em;
    color: var(--text);
}
.pricing-plan__currency {
    font-size: 16px; font-weight: 600; color: var(--text-3);
}
.pricing-plan__orig-price {
    font-size: 14px; color: var(--text-4); text-decoration: line-through;
}
.pricing-plan__features {
    list-style: none; text-align: left;
    font-size: 12px; color: var(--text-3);
}
.pricing-plan__features li {
    padding: 3px 0; padding-left: 16px;
    position: relative;
}
.pricing-plan__features li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary-light);
}

.pricing-popup__coupon { text-align: center; margin-bottom: 20px; }
.pricing-popup__coupon-toggle {
    background: none; border: none; cursor: pointer;
    font-family: var(--font); font-size: 13px; color: var(--primary);
    text-decoration: underline; text-underline-offset: 3px;
}
.pricing-popup__coupon-toggle:hover { color: var(--primary-hover); }
.pricing-popup__coupon-field {
    display: flex; gap: 8px; max-width: 320px; margin: 10px auto 0;
    flex-wrap: wrap; justify-content: center;
}
.pricing-popup__coupon-input {
    flex: 1; min-width: 150px; padding: 10px 14px;
    font-family: var(--font); font-size: 14px;
    border: 1px solid var(--border); border-radius: var(--r);
    outline: none; text-transform: uppercase;
}
.pricing-popup__coupon-input:focus { border-color: var(--primary); box-shadow: var(--shadow-focus); }
.pricing-popup__coupon-btn {
    padding: 10px 18px;
    font-family: var(--font); font-size: 13px; font-weight: 600;
    color: var(--primary); background: var(--primary-light);
    border: none; border-radius: var(--r); cursor: pointer;
    transition: background 150ms;
}
.pricing-popup__coupon-btn:hover { background: #99f6e4; }
.pricing-popup__coupon-msg {
    width: 100%; font-size: 12px; margin-top: 4px;
}

.pricing-popup__checkout { max-width: 380px; margin: 0 auto; }
.pricing-popup__email {
    width: 100%; padding: 14px 16px;
    font-family: var(--font); font-size: 15px;
    border: 1px solid var(--border); border-radius: var(--r);
    outline: none; margin-bottom: 12px;
}
.pricing-popup__email:focus { border-color: var(--primary); box-shadow: var(--shadow-focus); }
.pricing-popup__email-note {
    font-size: 12px; color: var(--text-3); margin: -8px 0 12px 2px;
}
.pricing-popup__error {
    font-size: 13px; color: var(--red); margin-bottom: 8px;
}
.pricing-popup__pay-btn {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 24px;
    font-family: var(--font); font-size: 16px; font-weight: 600;
    color: #fff; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none; border-radius: var(--r); cursor: pointer;
    transition: transform 150ms, box-shadow 250ms;
    box-shadow: 0 4px 14px rgba(13,148,136,0.3);
}
.pricing-popup__pay-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13,148,136,0.4);
}
.pricing-popup__pay-btn:active { transform: translateY(0); }
.pricing-popup__pay-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.pricing-popup__trust {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 12px;
    font-size: 12px; color: var(--text-4);
}
.pricing-popup__trust svg { color: var(--green); }

/* Payment Success Banner */
.payment-success {
    text-align: center; padding: 32px 24px; margin-bottom: 24px;
    background: var(--green-bg); border: 1px solid #bbf7d0;
    border-radius: var(--r-lg);
}
.payment-success__icon { color: var(--green); margin-bottom: 12px; }
.payment-success__title {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700; margin-bottom: 8px;
}
.payment-success__text { font-size: 15px; color: var(--text-2); }

/* ============================================
   STEPS / HOW IT WORKS
   ============================================ */
.section { padding: 72px 0; }
.section--alt {
    background: var(--surface);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.section-header { text-align: center; margin-bottom: 52px; }
.section-header__title {
    font-family: var(--font-display);
    font-size: 30px; font-weight: 700; letter-spacing: -0.03em;
    margin-bottom: 10px;
}
.section-header__subtitle { font-size: 16px; color: var(--text-3); }

.steps {
    display: flex; align-items: flex-start; justify-content: center; gap: 0;
}
.step {
    flex: 0 0 270px; text-align: center;
    padding: 36px 28px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step__icon {
    width: 56px; height: 56px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--primary-bg);
    color: var(--primary);
}
.step__icon--purple {
    background: #fff7ed;
    color: #c2410c;
}
.step__icon--green {
    background: var(--green-bg);
    color: var(--green);
}
.step__number {
    width: 28px; height: 28px; margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--border-light); color: var(--text-3);
    font-size: 13px; font-weight: 700;
}
.step__title {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 700; margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.step__text { font-size: 14px; color: var(--text-3); line-height: 1.65; }
.step__connector {
    flex: 0 0 40px; height: 2px; margin-top: 60px;
    background: var(--border);
}

/* ============================================
   CATEGORIES GRID
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.category-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px 16px;
    text-align: center;
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}
.category-card__icon {
    width: 48px; height: 48px; margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--primary-bg);
    color: var(--primary);
}
.category-card__icon--purple { background: #fff7ed; color: #c2410c; }
.category-card__icon--green { background: var(--green-bg); color: var(--green); }
.category-card__icon--amber { background: var(--amber-bg); color: var(--amber); }
.category-card__icon--rose { background: #fef2f2; color: #e11d48; }
.category-card__icon--red { background: #fef2f2; color: #dc2626; }
.category-card__icon--teal { background: var(--primary-bg); color: var(--primary); }
.category-card__icon--indigo { background: #eef2ff; color: #4f46e5; }
.category-card__icon--pink { background: #fdf2f8; color: #db2777; }
.category-card__icon--slate { background: var(--border-light); color: #57534e; }
.category-card__title {
    font-family: var(--font-display);
    font-size: 13px; font-weight: 600; color: var(--text-2);
    line-height: 1.35; letter-spacing: -0.01em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    border-top: 1px solid var(--border);
    margin-top: 72px;
    background: var(--surface);
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding: 52px 0 36px;
}
.footer__brand { max-width: 280px; }
.footer__logo {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-display);
    font-size: 16px; font-weight: 700; color: var(--text);
    text-decoration: none;
    margin-bottom: 12px;
}
.footer__logo img { flex-shrink: 0; }
.footer__desc {
    font-size: 14px; color: var(--text-3); line-height: 1.65;
}
.footer__col-title {
    font-family: var(--font-display);
    font-size: 12px; font-weight: 700; color: var(--text);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.footer__col-links {
    list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.footer__col-links a {
    font-size: 14px; color: var(--text-3); font-weight: 500;
    transition: color 200ms;
}
.footer__col-links a:hover { color: var(--primary); }
.footer__bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
}
.footer__copy {
    font-size: 13px; color: var(--text-4);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s var(--ease-out) both;
}
.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 70ms; }
.stagger > *:nth-child(3) { animation-delay: 140ms; }
.stagger > *:nth-child(4) { animation-delay: 210ms; }
.stagger > *:nth-child(5) { animation-delay: 280ms; }
.stagger > *:nth-child(6) { animation-delay: 350ms; }
.stagger > *:nth-child(7) { animation-delay: 420ms; }
.stagger > *:nth-child(8) { animation-delay: 490ms; }
.stagger > *:nth-child(9) { animation-delay: 560ms; }
.stagger > *:nth-child(10) { animation-delay: 630ms; }

.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   MOBILE NAV TOGGLE
   ============================================ */
.nav__mobile-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    color: var(--text-2); padding: 4px;
}

/* ============================================
   PAGE SECTIONS (sub-pages)
   ============================================ */
.page-section {
    padding: 72px 0 80px;
}
.page-section--centered {
    text-align: center;
    display: flex; align-items: center; justify-content: center;
    min-height: calc(100vh - 200px);
}
.container--narrow { max-width: 720px; }

.page-header {
    text-align: center; margin-bottom: 52px;
}
.page-header__title {
    font-family: var(--font-display);
    font-size: 38px; font-weight: 800; letter-spacing: -0.035em;
    color: var(--text); margin-bottom: 12px;
}
.page-header__subtitle {
    font-size: 16px; color: var(--text-3); line-height: 1.65;
}
.page-cta {
    text-align: center; margin-top: 48px;
    font-size: 15px; color: var(--text-3);
}
.page-cta a { font-weight: 600; }

/* ---- Partnership Page ---- */
.partner-section { margin-bottom: 56px; }
.partner-section__title {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700; color: var(--text);
    margin-bottom: 24px; padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.partner-steps { display: flex; flex-direction: column; gap: 24px; }
.partner-step {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 24px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; transition: box-shadow 0.2s;
}
.partner-step:hover { box-shadow: var(--shadow-md); }
.partner-step__number {
    flex-shrink: 0; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; font-family: var(--font-display);
    font-size: 20px; font-weight: 800; border-radius: 12px;
}
.partner-step__content h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.partner-step__content p { font-size: 14px; color: var(--text-3); line-height: 1.65; margin: 0; }
.partner-step__content code {
    background: var(--bg-subtle); padding: 2px 8px; border-radius: 6px;
    font-size: 13px; color: var(--primary); font-weight: 600;
}

.partner-benefits {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.partner-benefit {
    padding: 24px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; transition: box-shadow 0.2s;
}
.partner-benefit:hover { box-shadow: var(--shadow-md); }
.partner-benefit__icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(13,148,136,0.1), rgba(5,150,105,0.1));
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); margin-bottom: 14px;
}
.partner-benefit h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.partner-benefit p { font-size: 14px; color: var(--text-3); line-height: 1.6; margin: 0; }

.partner-audiences { display: flex; flex-direction: column; gap: 16px; }
.partner-audience {
    padding: 20px 24px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px;
}
.partner-audience strong { font-size: 15px; color: var(--text); display: block; margin-bottom: 4px; }
.partner-audience p { font-size: 14px; color: var(--text-3); line-height: 1.6; margin: 0; }

.partner-table {
    width: 100%; border-collapse: collapse; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
    margin-bottom: 16px;
}
.partner-table th {
    background: var(--bg-subtle); font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--text-3); padding: 12px 16px; text-align: left;
}
.partner-table td { padding: 14px 16px; font-size: 14px; border-top: 1px solid var(--border); }
.partner-table td strong { color: var(--primary); font-weight: 700; }

.partner-earnings__note {
    font-size: 14px; color: var(--text-3); text-align: center; margin-top: 8px;
}

.partner-cta {
    text-align: center; padding: 48px 32px;
    background: linear-gradient(135deg, rgba(13,148,136,0.06), rgba(5,150,105,0.06));
    border: 1px solid rgba(13,148,136,0.15); border-radius: 18px;
    margin-top: 24px;
}
.partner-cta__title {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 800; margin-bottom: 12px; color: var(--text);
}
.partner-cta__text { font-size: 15px; color: var(--text-3); margin-bottom: 24px; line-height: 1.65; }

@media (max-width: 640px) {
    .partner-benefits { grid-template-columns: 1fr; }
    .partner-step { flex-direction: column; gap: 12px; }
    .partner-table { font-size: 13px; }
    .partner-table th, .partner-table td { padding: 10px 12px; }
    .partner-cta { padding: 32px 20px; }
}

/* ---- 404 Error Page ---- */
.error-page__code {
    font-family: var(--font-display);
    font-size: 120px; font-weight: 800; letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1;
    margin-bottom: 16px;
}
.error-page__title {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 700; margin-bottom: 12px;
}
.error-page__text {
    font-size: 16px; color: var(--text-3); margin-bottom: 32px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    font-family: var(--font); font-size: 15px; font-weight: 600;
    border: none; border-radius: var(--r); cursor: pointer;
    transition: background 200ms, transform 120ms, box-shadow 250ms;
    text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px var(--accent-glow);
}
.btn--primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 20px var(--accent-glow);
    transform: translateY(-1px);
}
.btn--full { width: 100%; justify-content: center; }
.btn svg { flex-shrink: 0; }

/* ---- FAQ ---- */
.faq-list {
    display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); overflow: hidden;
    transition: box-shadow 250ms var(--ease);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item__question {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 24px;
    font-family: var(--font-display);
    font-size: 15px; font-weight: 600; color: var(--text);
    cursor: pointer; list-style: none;
    transition: color 200ms;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
    content: '';
    width: 20px; height: 20px; flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
    transition: transform 250ms var(--ease);
}
.faq-item[open] .faq-item__question::after { transform: rotate(180deg); }
.faq-item__answer {
    padding: 0 24px 22px;
    font-size: 14px; color: var(--text-3); line-height: 1.75;
}
.faq-item__answer p { margin-bottom: 12px; }
.faq-item__answer p:last-child { margin-bottom: 0; }
.faq-item__answer ul { margin: 8px 0 12px 20px; }
.faq-item__answer li { margin-bottom: 4px; }
.faq-item__answer li:last-child { margin-bottom: 0; }

/* ---- Legal / Privacy ---- */
.legal-content h2 {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700; color: var(--text);
    margin: 36px 0 12px; letter-spacing: -0.01em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
    font-size: 15px; color: var(--text-2); line-height: 1.75;
    margin-bottom: 12px;
}
.legal-content ul {
    margin: 8px 0 16px 20px;
    font-size: 15px; color: var(--text-2); line-height: 1.75;
}
.legal-content li { margin-bottom: 6px; }
.legal-content a { font-weight: 500; }

/* ---- Alerts ---- */
.alert {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px 20px; border-radius: var(--r-lg);
    margin-bottom: 24px; font-size: 14px; line-height: 1.65;
}
.alert svg { flex-shrink: 0; margin-top: 2px; }
.alert--success {
    background: var(--green-bg); color: #065f46;
    border: 1px solid rgba(5,150,105,0.15);
}
.alert--success svg { color: var(--green); }
.alert--success strong { display: block; margin-bottom: 4px; }
.alert--error {
    background: var(--red-bg); color: #991b1b;
    border: 1px solid rgba(220,38,38,0.15);
}
.alert--error svg { color: var(--red); }

/* ---- Contact Form ---- */
.contact-form {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-xl); padding: 36px;
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group:last-of-type { margin-bottom: 28px; }
.form-label {
    display: block; margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: 14px; font-weight: 600; color: var(--text);
}
.form-input {
    width: 100%; padding: 13px 16px;
    font-family: var(--font); font-size: 15px; color: var(--text);
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--r); outline: none;
    transition: border-color 200ms, box-shadow 200ms;
}
.form-input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}
.form-input::placeholder { color: var(--text-4); }
.form-input--textarea { resize: vertical; min-height: 120px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero { padding: 56px 0 36px; }
    .hero__title { font-size: 34px; }
    .hero__subtitle { font-size: 16px; margin-bottom: 32px; }
    .hero__blob--1 { width: 280px; height: 280px; }
    .hero__blob--2 { width: 220px; height: 220px; }
    .hero__blob--3 { width: 200px; height: 200px; }
    .search-form__inner { flex-direction: column; }
    .search-form__btn { width: 100%; justify-content: center; }
    .stats-bar__inner { flex-wrap: wrap; gap: 0; padding: 20px 12px; }
    .stats-bar__item { flex: 0 0 50%; padding: 8px 0; }
    .stats-bar__divider { display: none; }
    .stats-bar__number { font-size: 24px; }
    .results__overview { flex-direction: column; align-items: center; }
    .speed-cards { grid-template-columns: 1fr; width: 100%; }
    .ratings { grid-template-columns: 1fr; }
    .summary-cards { grid-template-columns: 1fr; }
    .steps { flex-direction: column; align-items: center; }
    .step { flex: 0 0 auto; width: 100%; max-width: 340px; }
    .step__connector { width: 2px; height: 24px; flex: 0 0 24px; margin-top: 0; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .nav__links {
        display: none;
        position: absolute; top: 64px; left: 0; right: 0;
        background: var(--surface); border-bottom: 1px solid var(--border);
        flex-direction: column; gap: 0; padding: 8px 0;
        box-shadow: var(--shadow);
    }
    .nav__links.is-open { display: flex; }
    .nav__links li a {
        display: block; padding: 12px 24px;
        font-size: 15px;
    }
    .nav__links a::after { display: none; }
    .nav__mobile-toggle { display: block; }
    .nav__inner { position: relative; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer__brand { max-width: 100%; }
    .footer__logo { justify-content: center; }
    .footer__col-links { align-items: center; }
    .upgrade-cta__inner { padding: 36px 24px; }
    .upgrade-cta__title { font-size: 24px; }
    .page-header__title { font-size: 30px; }
    .results__url-badge { flex-wrap: wrap; }
    .results__url-text { max-width: 260px; }
    .email-gate__inner { padding: 28px 20px; }
    .email-gate__input-wrap { flex-direction: column; }
    .email-gate__btn { width: 100%; }
    .upgrade-cta__form-inner { flex-direction: column; }
    .upgrade-cta__submit { width: 100%; }
    .unlock-popup__card { padding: 32px 24px; }
    .security-card__header { padding: 20px 20px; gap: 16px; }
    .security-card__score-number { font-size: 28px; }
    .security-item { padding: 12px 20px; gap: 10px; }
    .security-item__badge { display: none; }
    .pricing-popup__card { padding: 28px 20px 24px; }
    .pricing-popup__plans { grid-template-columns: 1fr; }
    .pricing-plan__inner { padding: 16px; }
    .pricing-plan__features { display: none; }
    .pricing-plan__inner { display: flex; align-items: center; gap: 12px; text-align: left; }
    .pricing-plan__name { margin-bottom: 0; }
    .pricing-plan__price { margin-bottom: 0; margin-left: auto; }
    .pricing-plan__amount { font-size: 20px; }
}

/* ---- Credits Popup ---- */
.credits-popup {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(28,25,23,0.5);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    align-items: center; justify-content: center;
    padding: 24px;
}
.credits-popup.is-active { display: flex; }
.credits-popup__card {
    position: relative;
    background: var(--surface);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    padding: 40px 36px 36px;
    max-width: 560px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    animation: popupSlideIn 250ms var(--ease-out);
}
.credits-popup__close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: none; cursor: pointer;
    color: var(--text-3); border-radius: 50%;
    transition: background 150ms, color 150ms;
}
.credits-popup__close:hover { background: var(--border-light); color: var(--text); }
.credits-popup__icon {
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #ccfbf1 100%);
    border-radius: 50%; color: var(--primary);
}
.credits-popup__title {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
    text-align: center; margin-bottom: 4px;
}
.credits-popup__subtitle {
    font-size: 14px; color: var(--text-3); text-align: center; margin-bottom: 24px;
}

/* Check existing credits */
.credits-popup__check {
    background: var(--bg-2); border-radius: var(--r-lg);
    padding: 20px; margin-bottom: 20px;
}
.credits-popup__check-label {
    font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--text-2);
}
.credits-popup__check-form {
    display: flex; gap: 8px;
}
.credits-popup__input {
    flex: 1; padding: 10px 14px;
    border: 1.5px solid var(--border); border-radius: var(--r-md);
    font-family: var(--font-body); font-size: 14px;
    background: var(--surface); color: var(--text);
    transition: border-color 200ms, box-shadow 200ms;
}
.credits-popup__input:focus { border-color: var(--primary); box-shadow: var(--shadow-focus); outline: none; }
.credits-popup__check-btn {
    padding: 10px 20px; font-size: 13px; font-weight: 600;
    color: var(--primary); background: #ccfbf1;
    border: none; border-radius: var(--r-md); cursor: pointer;
    white-space: nowrap; transition: background 200ms;
}
.credits-popup__check-btn:hover { background: #99f6e4; }
.credits-popup__check-result { margin-top: 12px; }
.credits-popup__check-error { color: var(--red); font-size: 13px; }
.credits-popup__check-loading { color: var(--text-3); font-size: 13px; }
.credits-popup__check-empty { color: var(--text-3); font-size: 13px; }

/* Balance display */
.credits-popup__balance {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--surface); border: 1.5px solid var(--green);
    border-radius: var(--r-md); padding: 14px 16px;
}
.credits-popup__balance-number {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 700; color: var(--green);
    line-height: 1;
}
.credits-popup__balance-label {
    font-size: 13px; color: var(--text-3); display: block; margin-top: 2px;
}
.credits-popup__use-btn {
    padding: 10px 24px; font-size: 14px; font-weight: 600;
    color: #fff; background: var(--green);
    border: none; border-radius: 100px; cursor: pointer;
    white-space: nowrap; transition: background 200ms, transform 150ms;
}
.credits-popup__use-btn:hover { background: #047857; transform: translateY(-1px); }

/* Divider */
.credits-popup__divider {
    display: flex; align-items: center; gap: 16px;
    margin: 20px 0; color: var(--text-3); font-size: 13px;
}
.credits-popup__divider::before,
.credits-popup__divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}

/* Packages */
.credits-popup__packages-title {
    font-family: var(--font-display);
    font-size: 15px; font-weight: 700; text-align: center; margin-bottom: 14px;
}
.credits-popup__packages {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    margin-bottom: 20px;
}
.credits-package {
    position: relative; cursor: pointer;
    border: 2px solid var(--border); border-radius: var(--r-lg);
    transition: border-color 200ms, box-shadow 200ms;
}
.credits-package input { position: absolute; opacity: 0; width: 0; height: 0; }
.credits-package:hover { border-color: var(--primary-light); }
.credits-package.is-selected,
.credits-package:has(input:checked) {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}
.credits-package--popular { border-color: var(--primary); }
.credits-package__badge {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff;
    font-size: 9px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; padding: 3px 10px; border-radius: 20px;
    white-space: nowrap;
}
.credits-package__inner { padding: 18px 12px; text-align: center; }
.credits-package__amount {
    font-family: var(--font-display);
    font-size: 32px; font-weight: 800; color: var(--text);
    line-height: 1;
}
.credits-package__label {
    font-size: 12px; color: var(--text-3); margin-bottom: 10px;
}
.credits-package__price {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700; color: var(--primary);
}
.credits-package__per {
    font-size: 11px; color: var(--text-3); margin-top: 2px;
}

/* Checkout */
.credits-popup__checkout { max-width: 380px; margin: 0 auto; }
.credits-popup__checkout .credits-popup__input { width: 100%; margin-bottom: 12px; }
.credits-popup__error {
    color: var(--red); font-size: 13px; text-align: center; margin-bottom: 10px;
}
.credits-popup__buy-btn {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px; font-size: 15px; font-weight: 700;
    color: #fff; background: var(--accent);
    border: none; border-radius: 100px; cursor: pointer;
    font-family: var(--font-display);
    transition: background 200ms, transform 150ms, box-shadow 200ms;
    box-shadow: 0 2px 12px var(--accent-glow);
}
.credits-popup__buy-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.credits-popup__buy-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.credits-popup__trust {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 14px; font-size: 12px; color: var(--text-3);
}
.credits-popup__trust svg { color: var(--green); }

@media (max-width: 768px) {
    .credits-popup__card { padding: 28px 20px 24px; }
    .credits-popup__packages { grid-template-columns: 1fr; }
    .credits-package__inner { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; }
    .credits-package__amount { font-size: 24px; }
    .credits-package__label { margin-bottom: 0; }
    .credits-package__price { margin-left: auto; }
    .credits-package__per { display: none; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero__title { font-size: 44px; }
    .steps { gap: 0; }
    .step { flex: 0 0 230px; }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Public Report CTA (ataskaita.php) ---- */
.ataskaita-cta {
    margin: 48px 0; padding: 0;
    border-radius: var(--r-xl);
    background: linear-gradient(145deg, var(--primary-bg) 0%, #e0f7f3 100%);
    border: 1px solid var(--primary-light);
    text-align: center;
}
.ataskaita-cta__inner {
    padding: 48px 36px;
}
.ataskaita-cta__title {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 700; color: var(--text);
    margin-bottom: 10px; letter-spacing: -0.02em;
}
.ataskaita-cta__text {
    font-size: 15px; color: var(--text-2); margin-bottom: 24px;
    max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.6;
}
.ataskaita-cta__btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    font-family: var(--font); font-size: 15px; font-weight: 600;
    color: #fff; background: var(--primary);
    border: none; border-radius: var(--r); cursor: pointer;
    text-decoration: none;
    transition: transform 200ms, box-shadow 250ms, background 200ms;
}
.ataskaita-cta__btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(13,148,136,0.25);
}
.ataskaita-cta__btn:active { transform: translateY(0); }
@media (max-width: 768px) {
    .ataskaita-cta__inner { padding: 36px 24px; }
    .ataskaita-cta__title { font-size: 22px; }
}

/* ---- Leaderboard / Index Page ---- */
.leaderboard {
    padding: 80px 0 60px;
}
.leaderboard__header {
    text-align: center; margin-bottom: 48px;
}
.leaderboard__title {
    font-family: var(--font-display);
    font-size: 38px; font-weight: 800; color: var(--text);
    letter-spacing: -0.03em; margin-bottom: 12px;
}
.leaderboard__subtitle {
    font-size: 17px; color: var(--text-3); max-width: 520px;
    margin: 0 auto; line-height: 1.6;
}
.leaderboard__filters {
    display: flex; gap: 8px; justify-content: center;
    flex-wrap: wrap; margin-bottom: 36px;
}
.leaderboard__filter {
    padding: 9px 20px;
    font-family: var(--font); font-size: 13px; font-weight: 500;
    color: var(--text-3); background: var(--surface);
    border: 1px solid var(--border); border-radius: 100px;
    cursor: pointer; transition: all 200ms;
}
.leaderboard__filter:hover {
    color: var(--primary); border-color: var(--primary);
}
.leaderboard__filter.is-active {
    color: #fff; background: var(--primary);
    border-color: var(--primary);
}
.leaderboard__table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: var(--surface); border-radius: var(--r-lg);
    box-shadow: var(--shadow); overflow: hidden;
}
.leaderboard__table thead th {
    padding: 14px 20px;
    font-family: var(--font); font-size: 12px; font-weight: 600;
    color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em;
    text-align: left; background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.leaderboard__table tbody td {
    padding: 16px 20px;
    font-size: 14px; color: var(--text-2);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
.leaderboard__table tbody tr:last-child td { border-bottom: none; }
.leaderboard__table tbody tr:hover { background: var(--bg); }
.leaderboard__rank {
    font-family: var(--font-display); font-weight: 700;
    font-size: 16px; color: var(--text);
    width: 48px; text-align: center;
}
.leaderboard__rank--gold { color: #d97706; }
.leaderboard__rank--silver { color: #78716c; }
.leaderboard__rank--bronze { color: #b45309; }
.leaderboard__domain {
    font-weight: 600; color: var(--text);
}
.leaderboard__domain a {
    color: inherit; text-decoration: none;
    transition: color 200ms;
}
.leaderboard__domain a:hover { color: var(--primary); }
.leaderboard__score-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 12px; border-radius: 100px;
    font-weight: 600; font-size: 13px;
}
.leaderboard__score-badge--good {
    background: var(--green-bg); color: var(--green);
}
.leaderboard__score-badge--average {
    background: var(--amber-bg); color: var(--amber);
}
.leaderboard__score-badge--poor {
    background: var(--red-bg); color: var(--red);
}
.leaderboard__category-scores {
    display: flex; gap: 3px; align-items: flex-end; height: 24px;
}
.leaderboard__mini-bar {
    width: 8px; border-radius: 2px 2px 0 0;
    transition: height 400ms var(--ease-out);
}
.leaderboard__mini-bar--good { background: var(--green); }
.leaderboard__mini-bar--average { background: var(--amber); }
.leaderboard__mini-bar--poor { background: var(--red); }
.leaderboard__cta {
    text-align: center; margin-top: 48px;
}
.leaderboard__cta-text {
    font-size: 18px; font-weight: 600; color: var(--text);
    margin-bottom: 12px;
}
.leaderboard__cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    font-family: var(--font); font-size: 15px; font-weight: 600;
    color: #fff; background: var(--primary);
    border-radius: var(--r); text-decoration: none;
    transition: transform 200ms, box-shadow 250ms, background 200ms;
}
.leaderboard__cta-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(13,148,136,0.25);
}
.leaderboard__empty {
    text-align: center; padding: 60px 20px;
    color: var(--text-3); font-size: 16px;
}
@media (max-width: 768px) {
    .leaderboard { padding: 48px 0 40px; }
    .leaderboard__title { font-size: 28px; }
    .leaderboard__table thead { display: none; }
    .leaderboard__table tbody td { display: flex; justify-content: space-between; padding: 10px 16px; }
    .leaderboard__table tbody td::before {
        content: attr(data-label); font-size: 12px; font-weight: 600;
        color: var(--text-3); text-transform: uppercase;
    }
    .leaderboard__table tbody tr { display: block; margin-bottom: 8px; border-radius: var(--r); border: 1px solid var(--border-light); }
    .leaderboard__category-scores { display: none; }
}

/* ---- Competitor Comparison ---- */
.compare-section {
    margin: 48px 0; padding: 36px;
    background: var(--surface); border-radius: var(--r-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.compare-section__header { text-align: center; margin-bottom: 24px; }
.compare-section__title {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700; color: var(--text);
    display: flex; align-items: center; gap: 10px;
    justify-content: center; letter-spacing: -0.02em;
}
.compare-section__title svg { color: var(--primary); }
.compare-section__subtitle {
    font-size: 14px; color: var(--text-3); margin-top: 6px;
}
.compare-section__form { margin-bottom: 24px; }
.loading-spinner {
    width: 36px; height: 36px; margin: 0 auto;
    border: 3px solid var(--border); border-top-color: var(--primary);
    border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Comparison Grid */
.compare-grid { margin-top: 8px; }
.compare-grid__header {
    display: flex; align-items: center; justify-content: center;
    gap: 24px; margin-bottom: 28px; padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}
.compare-grid__col {
    text-align: center; flex: 1; max-width: 200px;
}
.compare-grid__vs {
    font-family: var(--font-display); font-size: 14px; font-weight: 800;
    color: var(--text-4); letter-spacing: 0.1em;
}
.compare-grid__domain {
    font-size: 14px; font-weight: 600; color: var(--text);
    margin-bottom: 8px; word-break: break-all;
}
.compare-grid__score {
    font-family: var(--font-display); font-size: 36px; font-weight: 800;
}
.compare-grid__score--good { color: var(--green); }
.compare-grid__score--average { color: var(--amber); }
.compare-grid__score--poor { color: var(--red); }
.compare-grid__rows { display: flex; flex-direction: column; gap: 10px; }
.compare-grid__row {
    display: grid; grid-template-columns: 1fr auto 1fr;
    gap: 12px; align-items: center;
}
.compare-grid__bar-cell {
    display: flex; align-items: center; gap: 8px;
    height: 24px;
}
.compare-grid__bar-cell--right {
    flex-direction: row-reverse;
}
.compare-grid__bar {
    height: 100%; border-radius: 4px; min-width: 4px;
    transition: width 600ms var(--ease-out);
}
.compare-grid__bar--good { background: var(--green); opacity: 0.7; }
.compare-grid__bar--average { background: var(--amber); opacity: 0.7; }
.compare-grid__bar--poor { background: var(--red); opacity: 0.7; }
.compare-grid__bar-score {
    font-size: 12px; font-weight: 600; color: var(--text-3);
    min-width: 20px; text-align: center;
}
.compare-grid__label {
    text-align: center; min-width: 140px;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.compare-grid__label span:first-child {
    font-size: 12px; font-weight: 600; color: var(--text-2);
}
.compare-grid__diff {
    font-size: 11px; font-weight: 700; padding: 1px 6px;
    border-radius: 4px;
}
.compare-grid__diff--win { color: var(--green); background: var(--green-bg); }
.compare-grid__diff--lose { color: var(--red); background: var(--red-bg); }
.compare-grid__diff--tie { color: var(--text-4); background: var(--border-light); }
.compare-grid__winner {
    text-align: center; margin-top: 24px; padding: 16px;
    background: var(--primary-bg); border-radius: var(--r);
    font-size: 15px; color: var(--text-2);
}
.compare-grid__winner strong { color: var(--primary); }

@media (max-width: 768px) {
    .compare-section { padding: 24px 16px; }
    .compare-grid__row { grid-template-columns: 1fr 80px 1fr; gap: 6px; }
    .compare-grid__label { min-width: 80px; }
    .compare-grid__label span:first-child { font-size: 10px; }
    .compare-grid__header { gap: 12px; }
    .compare-grid__score { font-size: 28px; }
}

/* ============================================
   PHASE 2: BLOG LISTING (/zinios)
   ============================================ */
.blog-section { padding: 48px 0 64px; }

.page-header { margin-bottom: 32px; }
.page-header__title {
    font-family: var(--font-display);
    font-size: 36px; font-weight: 800; color: var(--text);
    letter-spacing: -0.02em; line-height: 1.2;
}
.page-header__subtitle {
    font-size: 16px; color: var(--text-3);
    margin-top: 8px; line-height: 1.5;
}

/* Blog filters */
.blog-filters {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 32px;
}
.blog-filter {
    display: inline-flex; align-items: center;
    padding: 6px 14px; border-radius: 20px;
    font-size: 13px; font-weight: 500;
    color: var(--text-3);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 200ms var(--ease);
    text-decoration: none;
}
.blog-filter:hover {
    color: var(--text); border-color: var(--text-4);
}
.blog-filter.is-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Blog grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Blog card */
.blog-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 300ms var(--ease), transform 300ms var(--ease);
}
.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.blog-card__image {
    display: block; overflow: hidden;
    aspect-ratio: 16/9; background: var(--border-light);
}
.blog-card__image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 400ms var(--ease);
}
.blog-card:hover .blog-card__image img {
    transform: scale(1.03);
}
.blog-card__body { padding: 20px; }
.blog-card__meta {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px;
}
.blog-card__category {
    display: inline-block;
    padding: 3px 10px; border-radius: 12px;
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--primary-bg); color: var(--primary);
}
.blog-card__category--greitis { background: #ecfdf5; color: #059669; }
.blog-card__category--seo { background: #eff6ff; color: #2563eb; }
.blog-card__category--dizainas { background: #fdf4ff; color: #a855f7; }
.blog-card__category--saugumas { background: #fef2f2; color: #dc2626; }
.blog-card__category--gdpr { background: #fffbeb; color: #d97706; }
.blog-card__category--technika { background: #f5f5f4; color: #57534e; }
.blog-card__category--patarimai { background: #f0fdfa; color: #0d9488; }
.blog-card__category--mobilumas { background: #faf5ff; color: #7c3aed; }
.blog-card__category--prieinamumas { background: #fefce8; color: #ca8a04; }
.blog-card__date {
    font-size: 12px; color: var(--text-4);
}
.blog-card__title {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700; line-height: 1.35;
    color: var(--text); margin-bottom: 8px;
}
.blog-card__title a {
    color: inherit; text-decoration: none;
}
.blog-card__title a:hover { color: var(--primary); }
.blog-card__excerpt {
    font-size: 14px; color: var(--text-3); line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}

/* Blog empty state */
.blog-empty {
    text-align: center; padding: 64px 20px;
    background: var(--surface); border-radius: var(--r-lg);
    border: 1px dashed var(--border);
}
.blog-empty p {
    font-size: 16px; color: var(--text-3); margin-bottom: 16px;
}
.blog-empty__cta {
    display: inline-block;
    padding: 10px 24px; border-radius: var(--r);
    background: var(--primary); color: #fff;
    font-weight: 600; font-size: 14px;
    transition: background 200ms;
}
.blog-empty__cta:hover {
    background: var(--primary-hover); color: #fff;
}

/* Blog pagination */
.blog-pagination {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin-top: 40px;
}
.blog-pagination__btn {
    padding: 8px 18px; border-radius: var(--r);
    background: var(--surface); border: 1px solid var(--border);
    font-size: 14px; font-weight: 500; color: var(--text-2);
    transition: all 200ms;
}
.blog-pagination__btn:hover {
    border-color: var(--primary); color: var(--primary);
}
.blog-pagination__info {
    font-size: 14px; color: var(--text-4); font-weight: 500;
}

@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-filters { gap: 6px; }
    .blog-filter { padding: 5px 10px; font-size: 12px; }
    .page-header__title { font-size: 28px; }
}

/* ============================================
   PHASE 2: ARTICLE PAGE (/zinios/slug)
   ============================================ */
.article-section { padding: 32px 0 64px; }

/* Breadcrumb */
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-4);
    margin-bottom: 24px;
}
.breadcrumb a {
    color: var(--text-3); text-decoration: none;
    transition: color 200ms;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb__sep { color: var(--border); font-size: 11px; }

/* Article header */
.article-header { margin-bottom: 32px; }
.article-header__title {
    font-family: var(--font-display);
    font-size: 36px; font-weight: 800; line-height: 1.2;
    color: var(--text); letter-spacing: -0.02em;
    margin-top: 12px;
}
.article-header__date {
    display: block; margin-top: 12px;
    font-size: 14px; color: var(--text-4);
}

/* Article cover image */
.article-cover {
    margin-bottom: 32px; border-radius: var(--r-lg);
    overflow: hidden;
}
.article-cover img {
    width: 100%; display: block;
}

/* Article content (rendered HTML) */
.article-content {
    font-size: 17px; line-height: 1.75; color: var(--text-2);
}
.article-content h2 {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 700; color: var(--text);
    margin: 40px 0 16px; letter-spacing: -0.01em;
}
.article-content h3 {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 600; color: var(--text);
    margin: 32px 0 12px;
}
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol {
    margin-bottom: 20px; padding-left: 24px;
}
.article-content li { margin-bottom: 8px; }
.article-content a {
    color: var(--primary); text-decoration: underline;
    text-underline-offset: 3px;
}
.article-content a:hover { color: var(--primary-hover); }
.article-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 16px 20px; margin: 24px 0;
    background: var(--primary-bg); border-radius: 0 var(--r) var(--r) 0;
    font-style: italic; color: var(--text-2);
}
.article-content pre {
    background: #1c1917; color: #e7e5e4;
    padding: 20px; border-radius: var(--r);
    overflow-x: auto; font-size: 14px; line-height: 1.6;
    margin: 24px 0;
}
.article-content code {
    background: var(--border-light); padding: 2px 6px;
    border-radius: 4px; font-size: 0.9em;
}
.article-content pre code {
    background: transparent; padding: 0;
}
.article-content img {
    border-radius: var(--r); margin: 24px 0;
}

/* Related posts */
.article-related { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); }
.article-related__title {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 700; color: var(--text);
    margin-bottom: 20px;
}
.article-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.article-related__card {
    display: block; padding: 16px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r); text-decoration: none;
    transition: box-shadow 200ms, border-color 200ms;
}
.article-related__card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}
.article-related__card h3 {
    font-size: 15px; font-weight: 600; color: var(--text);
    margin-top: 8px; line-height: 1.35;
}

@media (max-width: 640px) {
    .article-header__title { font-size: 28px; }
    .article-content { font-size: 16px; }
    .article-related__grid { grid-template-columns: 1fr; }
}

/* ============================================
   PHASE 2: MONITORING (/stebejimas)
   ============================================ */
.page-section { padding: 48px 0 64px; }

/* Monitoring benefits */
.monitoring-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}
.monitoring-benefit {
    text-align: center; padding: 28px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}
.monitoring-benefit__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--primary-bg); color: var(--primary);
    margin-bottom: 16px;
}
.monitoring-benefit h3 {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 700; color: var(--text);
    margin-bottom: 8px;
}
.monitoring-benefit p {
    font-size: 14px; color: var(--text-3); line-height: 1.5;
}

/* Monitoring form */
.monitoring-form-card {
    max-width: 480px; margin: 0 auto;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 32px;
    box-shadow: var(--shadow);
}
.monitoring-form { display: flex; flex-direction: column; gap: 16px; }
.monitoring-form__field label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--text-2); margin-bottom: 6px;
}
.monitoring-form__field input {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--border); border-radius: var(--r);
    font-size: 15px; font-family: var(--font);
    color: var(--text); background: var(--bg);
    transition: border-color 200ms, box-shadow 200ms;
}
.monitoring-form__field input:focus {
    outline: none; border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}
.monitoring-form__btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 24px;
    background: var(--primary); color: #fff;
    border: none; border-radius: var(--r);
    font-size: 15px; font-weight: 600; font-family: var(--font);
    cursor: pointer; transition: background 200ms;
}
.monitoring-form__btn:hover { background: var(--primary-hover); }
.monitoring-form__note {
    font-size: 12px; color: var(--text-4);
    text-align: center;
}

/* Monitoring success state */
.monitoring-success {
    text-align: center; padding: 48px 24px;
    background: var(--green-bg); border-radius: var(--r-lg);
    border: 1px solid rgba(5,150,105,0.15);
    max-width: 480px; margin: 0 auto;
}
.monitoring-success svg {
    color: var(--green); margin-bottom: 16px;
}
.monitoring-success h2 {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700; color: var(--text);
    margin-bottom: 8px;
}
.monitoring-success p {
    font-size: 15px; color: var(--text-3); line-height: 1.5;
}

@media (max-width: 640px) {
    .monitoring-benefits { grid-template-columns: 1fr; gap: 12px; }
    .monitoring-form-card { padding: 24px 20px; }
}

/* ============================================
   PHASE 2: BADGE EMBED (on ataskaita.php)
   ============================================ */
.badge-embed {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 24px;
    margin: 32px 0;
}
.badge-embed__title {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-display);
    font-size: 16px; font-weight: 700; color: var(--text);
    margin-bottom: 16px;
}
.badge-embed__title svg { color: var(--text-3); flex-shrink: 0; }
.badge-embed__preview {
    display: flex; align-items: center; justify-content: center;
    padding: 20px; margin-bottom: 16px;
    background: var(--bg); border-radius: var(--r);
    border: 1px dashed var(--border);
}
.badge-embed__code {
    display: flex; align-items: stretch;
    border: 1px solid var(--border); border-radius: var(--r);
    overflow: hidden;
}
.badge-embed__code code {
    flex: 1; padding: 10px 14px;
    font-size: 12px; line-height: 1.5;
    color: var(--text-3); background: var(--bg);
    overflow-x: auto; white-space: nowrap;
    display: block;
}
.badge-embed__copy {
    flex-shrink: 0; padding: 10px 16px;
    background: var(--primary); color: #fff;
    border: none; font-size: 13px; font-weight: 600;
    font-family: var(--font); cursor: pointer;
    transition: background 200ms;
}
.badge-embed__copy:hover { background: var(--primary-hover); }

/* ============================================
   PHASE 2: MONITORING CTA (on ataskaita.php)
   ============================================ */
.monitoring-cta {
    margin: 24px 0;
}
.monitoring-cta__inner {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 24px;
    background: var(--primary-bg);
    border: 1px solid rgba(13,148,136,0.15);
    border-radius: var(--r-lg);
}
.monitoring-cta__inner > svg {
    flex-shrink: 0; color: var(--primary);
}
.monitoring-cta__inner > div { flex: 1; }
.monitoring-cta__title {
    font-size: 15px; font-weight: 700; color: var(--text);
    margin-bottom: 2px;
}
.monitoring-cta__text {
    font-size: 13px; color: var(--text-3);
}
.monitoring-cta__btn {
    flex-shrink: 0;
    padding: 10px 20px;
    background: var(--primary); color: #fff;
    border-radius: var(--r);
    font-size: 13px; font-weight: 600;
    text-decoration: none;
    transition: background 200ms;
}
.monitoring-cta__btn:hover {
    background: var(--primary-hover); color: #fff;
}

@media (max-width: 640px) {
    .monitoring-cta__inner {
        flex-direction: column; text-align: center; gap: 12px;
    }
}

/* ============================================
   PHASE 2: SECTOR BENCHMARKS (/sektorius)
   ============================================ */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin: 32px 0;
}
.sector-card {
    display: flex; flex-direction: column;
    padding: 24px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg);
    text-decoration: none;
    transition: box-shadow 300ms, transform 200ms, border-color 200ms;
}
.sector-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary);
}
.sector-card__icon {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--primary-bg); color: var(--primary);
    margin-bottom: 14px; font-size: 22px;
}
.sector-card__name {
    font-family: var(--font-display);
    font-size: 17px; font-weight: 700; color: var(--text);
    margin-bottom: 6px;
}
.sector-card__stats {
    font-size: 13px; color: var(--text-3);
}
.sector-card__score {
    display: inline-flex; align-items: center; gap: 4px;
    font-family: var(--font-display);
    font-size: 22px; font-weight: 800; margin-top: 12px;
}
.sector-card__score--good { color: var(--green); }
.sector-card__score--average { color: var(--amber); }
.sector-card__score--poor { color: var(--red); }

/* Sector detail page */
.sector-header {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 32px;
}
.sector-header__icon {
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--primary-bg); color: var(--primary);
    font-size: 28px;
}
.sector-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px; margin-bottom: 32px;
}
.sector-stat {
    padding: 20px; text-align: center;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r);
}
.sector-stat__value {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 800;
}
.sector-stat__label {
    font-size: 13px; color: var(--text-3); margin-top: 4px;
}

/* Sector websites table */
.sector-table {
    width: 100%; border-collapse: collapse;
    background: var(--surface); border-radius: var(--r-lg);
    border: 1px solid var(--border); overflow: hidden;
}
.sector-table th {
    padding: 12px 16px; text-align: left;
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--text-3); background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.sector-table td {
    padding: 12px 16px; font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}
.sector-table tr:last-child td { border-bottom: none; }
.sector-table tr:hover td { background: var(--bg); }
.sector-table__domain {
    font-weight: 600; color: var(--text);
}
.sector-table__domain a {
    color: inherit; text-decoration: none;
}
.sector-table__domain a:hover { color: var(--primary); }
.sector-table__score {
    font-family: var(--font-display);
    font-weight: 700; font-size: 15px;
}

@media (max-width: 640px) {
    .sectors-grid { grid-template-columns: 1fr; }
    .sector-stats { grid-template-columns: repeat(2, 1fr); }
    .sector-table { font-size: 13px; }
    .sector-table th, .sector-table td { padding: 10px 12px; }
}
