:root {
    --bg-1: #030712;
    --bg-2: #07111f;
    --bg-3: #0a1830;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --muted-2: #94a3b8;
    --blue: #38bdf8;
    --cyan: #22d3ee;
    --green: #86efac;
    --green-strong: #4ade80;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 10%, rgba(34, 211, 238, 0.18), transparent 20%),
        radial-gradient(circle at 78% 16%, rgba(59, 130, 246, 0.14), transparent 24%),
        radial-gradient(circle at 50% 68%, rgba(37, 99, 235, 0.10), transparent 28%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 42%, var(--bg-1) 100%);
}

.page {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    padding: 32px 0 80px;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.10), transparent 24%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(11, 18, 34, 0.96), rgba(5, 10, 22, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 34px;
    padding: 42px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 28%),
        linear-gradient(300deg, rgba(34, 211, 238, 0.04), transparent 32%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 34px;
    align-items: center;
}

.hero-left {
    min-width: 0;
}

.brand-row {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.hero-logo {
    display: block;
    height: 340px;
    width: auto;
    max-width: min(100%, 700px);
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(34, 211, 238, 0.18));
    margin: 0 auto -60px auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: #dbeafe;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
}

.hero h1 {
    margin: 18px 0 14px;
    max-width: 820px;
    font-size: clamp(54px, 7vw, 92px);
    line-height: 0.9;
    letter-spacing: -0.06em;
    font-weight: 900;
    text-wrap: balance;
    text-shadow: 0 12px 45px rgba(0, 0, 0, 0.34);
}

.headline-accent {
    background: linear-gradient(90deg, #ffffff 0%, #dbeafe 28%, #67e8f9 60%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtext {
    margin: 0 0 24px;
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.45;
    font-weight: 600;
}

.hero-proof {
    margin: 18px 0 0;
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 700;
    opacity: 0.9;
}

.hero-right {
    min-width: 0;
}

.hero-visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 28px;
    min-height: 440px;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 22%),
        radial-gradient(circle at 75% 20%, rgba(96, 165, 250, 0.10), transparent 24%),
        linear-gradient(180deg, rgba(9, 15, 31, 0.96), rgba(6, 11, 23, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-visual-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 28%),
        linear-gradient(325deg, rgba(34, 211, 238, 0.05), transparent 30%);
    pointer-events: none;
}

.visual-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.18);
    color: #dcfce7;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.visual-brand {
    margin-top: 24px;
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.visual-running {
    margin-top: 18px;
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.055em;
    color: var(--green);
    text-shadow:
        0 0 20px rgba(74, 222, 128, 0.14),
        0 0 40px rgba(74, 222, 128, 0.08);
}

.visual-copy {
    margin-top: 14px;
    color: #d1fae5;
    font-size: 18px;
    font-weight: 800;
}

.visual-bars {
    margin-top: 32px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    height: 160px;
}

.bar {
    flex: 1;
    border-radius: 18px 18px 12px 12px;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.95), rgba(37, 99, 235, 0.86));
    box-shadow: 0 18px 40px rgba(34, 211, 238, 0.16);
}

.bar-1 {
    height: 42%;
}

.bar-2 {
    height: 72%;
}

.bar-3 {
    height: 100%;
}

.visual-foot {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.search-form {
    margin-top: 28px;
}

.field-label {
    display: block;
    margin-bottom: 10px;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 700;
}

.search-input {
    width: 100%;
    height: 72px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    color: #0f172a;
    padding: 0 22px;
    font-size: 22px;
    font-weight: 500;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.search-button {
    width: 100%;
    margin-top: 14px;
    min-height: 70px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(90deg, #22d3ee 0%, #38bdf8 42%, #2dd4bf 100%);
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow:
        0 20px 60px rgba(34, 211, 238, 0.35),
        0 0 30px rgba(34, 211, 238, 0.25);
}

.search-button:hover {
    transform: translateY(-1px);
    box-shadow:
        0 24px 65px rgba(34, 211, 238, 0.40),
        0 0 34px rgba(34, 211, 238, 0.28);
}

.search-button:active {
    transform: translateY(0);
}

.search-button:disabled {
    opacity: 0.92;
    cursor: wait;
}

.search-form.is-loading .search-button {
    opacity: 0.92;
    cursor: wait;
}

.search-form.is-loading .search-input {
    opacity: 0.95;
}

.button-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    display: none;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

.search-button.is-loading .button-loader {
    display: inline-block;
}

.search-loading-box {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.76);
    border: 1px solid rgba(96, 165, 250, 0.16);
    backdrop-filter: blur(8px);
}

.loading-spinner {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 3px solid rgba(148, 163, 184, 0.25);
    border-top-color: #38bdf8;
    animation: spin 0.8s linear infinite;
    flex: 0 0 auto;
}

.loading-text {
    color: #dbeafe;
    font-size: 15px;
    font-weight: 700;
}

.blocked-message {
    margin-top: 22px;
}

.error-box {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(127, 29, 29, 0.45);
    border: 1px solid rgba(248, 113, 113, 0.24);
    color: #fecaca;
    font-weight: 600;
}

.results-section,
.empty-state {
    margin-top: 32px;
}

.results-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.results-header h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    letter-spacing: -0.035em;
}

.results-header p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.ads-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.ad-card {
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.05), transparent 28%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(5, 10, 23, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.card-top-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 14px;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-winner {
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: #dcfce7;
}

.badge-active {
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: #dbeafe;
}

.badge-default {
    background: rgba(148, 163, 184, 0.10);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #e2e8f0;
}

.ad-brand {
    margin: 0 0 4px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.ad-date {
    margin-bottom: 14px;
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 700;
}

.ad-running {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
}

.running-text {
    font-size: clamp(38px, 6vw, 70px);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.055em;
    color: var(--green);
    text-shadow:
        0 0 20px rgba(74, 222, 128, 0.15),
        0 0 45px rgba(74, 222, 128, 0.08);
}

.ad-money-line {
    margin-bottom: 8px;
    color: #d1fae5;
    font-size: 18px;
    font-weight: 800;
}

.ad-sub-line {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.ad-media-wrap {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.ad-media {
    display: block;
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: cover;
}

.ad-copy {
    margin-top: 16px;
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
    word-break: break-word;
}

.ad-actions {
    margin-top: 18px;
}

.open-ad-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 144px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 16px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: #f8fafc;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.28);
    transition: transform 0.12s ease, opacity 0.12s ease;
}

.open-ad-button:hover {
    transform: translateY(-1px);
    opacity: 0.98;
}

.paywall {
    margin-top: 24px;
    text-align: center;
}

.paywall-empty {
    margin-top: 22px;
}

.paywall-text {
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.unlock-button,
.paywall-button {
    background: linear-gradient(90deg, #22d3ee 0%, #38bdf8 42%, #2dd4bf 100%);
    color: #ffffff;
    font-weight: 900;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
    box-shadow:
        0 16px 38px rgba(34, 211, 238, 0.28),
        0 0 24px rgba(34, 211, 238, 0.18);
}

.unlock-button:hover,
.paywall-button:hover {
    transform: translateY(-1px);
    box-shadow:
        0 20px 44px rgba(34, 211, 238, 0.34),
        0 0 28px rgba(34, 211, 238, 0.22);
}

.unlock-button:active,
.paywall-button:active {
    transform: translateY(0);
}

.paywall-sub {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.52);
}

.paywall-box,
.empty-box {
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.06), transparent 28%),
        linear-gradient(180deg, rgba(23, 37, 84, 0.94), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
}

.paywall-badge,
.empty-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.18);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.paywall-box h3,
.empty-box h3 {
    margin: 14px 0 12px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.paywall-box p,
.empty-box p {
    margin: 0;
    max-width: 900px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

    .hero-right {
        order: -1;
    }

    .hero-visual-card {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .page {
        width: min(100% - 20px, 1320px);
        padding: 20px 0 42px;
    }

    .hero,
    .ad-card,
    .paywall-box,
    .empty-box {
        padding: 20px;
        border-radius: 24px;
    }

    .hero-logo {
        height: 140px;
        max-width: min(100%, 320px);
        margin: 0 auto -30px auto;
    }

    .hero h1 {
        font-size: clamp(42px, 10vw, 66px);
    }

    .search-input {
        height: 58px;
        font-size: 18px;
    }

    .search-button {
        min-height: 56px;
        font-size: 18px;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .running-text {
        font-size: clamp(30px, 9vw, 50px);
    }

    .paywall-box p,
    .empty-box p {
        font-size: 17px;
    }
}
input[type="email"] {
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  margin-top: 10px;
}