:root {
    --bg: #080a0d;
    --panel: rgba(17, 22, 29, 0.82);
    --panel-strong: #111820;
    --text: #f7fbff;
    --muted: #96a4b5;
    --soft: #c6d1de;
    --line: rgba(255, 255, 255, 0.1);
    --blue: #2790ff;
    --blue-2: #58b6ff;
    --green: #42d687;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(39, 144, 255, 0.15), transparent 32%),
        linear-gradient(315deg, rgba(66, 214, 135, 0.07), transparent 30%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

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

.page-shell {
    width: min(1120px, calc(100vw - 48px));
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
    max-height: 720px;
    margin: 24px auto;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    gap: 18px;
}

.visual-panel,
.conversion-panel {
    min-height: 0;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(20, 27, 36, 0.88), rgba(11, 14, 19, 0.92));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.visual-panel {
    display: flex;
    flex-direction: column;
    padding: clamp(14px, 1.7vw, 22px);
    gap: 14px;
}

.topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
}

.mark {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(180deg, #263848, #121b25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
}

.mark svg {
    width: 29px;
    height: 29px;
    fill: var(--blue-2);
}

.mark svg path + path {
    fill: #0a1521;
}

.topbar-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.05;
    min-width: 0;
}

.topbar-copy span {
    color: var(--muted);
    font-size: 12px;
}

.topbar-copy strong {
    font-size: 15px;
    letter-spacing: 0;
}

.hero-photo {
    flex: 0 1 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: auto 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #14181d;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 0.55s ease, transform 3.2s linear;
    will-change: opacity;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), transparent 45%, rgba(0, 0, 0, 0.46));
    pointer-events: none;
}

.photo-overlay {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.photo-overlay span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 8px;
    background: rgba(6, 10, 15, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: var(--soft);
    font-size: 12px;
    font-weight: 700;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.photo-overlay .verified {
    color: #07130d;
    background: linear-gradient(180deg, #63eba1, #36c979);
    border-color: transparent;
}

.proof-main p,
.footer {
    color: var(--muted);
}

.conversion-panel {
    display: flex;
    flex-direction: column;
    padding: clamp(18px, 2.4vw, 30px);
    gap: clamp(13px, 1.8vh, 20px);
}

.eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(66, 214, 135, 0.1);
    color: #bff4d7;
    font-size: 12px;
    font-weight: 700;
}

.status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 14px rgba(66, 214, 135, 0.9);
}

.offer h1 {
    margin: 0;
    max-width: 11ch;
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 0.96;
    letter-spacing: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

.offer p {
    margin: 14px 0 0;
    max-width: 34ch;
    color: var(--soft);
    font-size: clamp(14px, 1.25vw, 16px);
    line-height: 1.45;
}

.proof-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(39, 144, 255, 0.22), rgba(39, 144, 255, 0.04)),
        var(--panel-strong);
    border: 1px solid rgba(88, 182, 255, 0.28);
}

.proof-main span {
    display: block;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 0.9;
    font-weight: 850;
    color: var(--blue-2);
}

.proof-main p,
.proof-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.25;
}

.proof-note {
    color: var(--soft);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.trust-grid--in-conversion {
    display: none;
}

.visual-panel .trust-grid--in-visual {
    gap: 10px;
}

.visual-panel .trust-item {
    padding: 12px 12px;
    font-size: 13px;
}

.trust-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    color: var(--soft);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 12px;
    line-height: 1.2;
}

.trust-icon {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #06120d;
    background: var(--green);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.btn {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    user-select: none;
    -webkit-user-select: none;
}

.btn svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(180deg, #59b7ff 0%, #1684ff 46%, #006de8 100%);
    box-shadow:
        0 14px 34px rgba(39, 144, 255, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.22) inset;
    isolation: isolate;
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 42%, transparent 58%);
    transform: translateX(-120%);
    animation: shine 5.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.btn-primary svg rect {
    fill: rgba(255, 255, 255, 0.22);
}

.btn-primary svg path {
    fill: none;
    stroke: white;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-secondary {
    color: var(--soft);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.btn-secondary svg {
    fill: currentColor;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary:hover {
    box-shadow:
        0 18px 42px rgba(39, 144, 255, 0.52),
        0 0 0 1px rgba(255, 255, 255, 0.26) inset;
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 2px solid var(--blue-2);
    outline-offset: 3px;
}

.footer {
    padding-top: 2px;
    text-align: center;
    font-size: 10px;
    line-height: 1.35;
}

@keyframes shine {
    0%, 68% {
        transform: translateX(-120%);
    }
    86%, 100% {
        transform: translateX(120%);
    }
}

@media (max-width: 860px) {
    .page-shell {
        width: min(430px, calc(100vw - 24px));
        height: calc(100vh - 24px);
        height: calc(100dvh - 24px);
        max-height: none;
        margin: 12px auto;
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 0.95fr) auto;
        gap: 10px;
    }

    .visual-panel {
        padding: 12px;
        gap: 10px;
        border-radius: 16px;
    }

    .topbar {
        min-height: 38px;
    }

    .mark {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .mark svg {
        width: 25px;
        height: 25px;
    }

    .topbar-copy span {
        font-size: 11px;
    }

    .topbar-copy strong {
        font-size: 13px;
    }

    .hero-photo {
        border-radius: 11px;
    }

    .photo-overlay {
        top: 10px;
        right: 10px;
    }

    .photo-overlay span {
        min-height: 27px;
        padding: 0 9px;
        font-size: 11px;
    }

    .trust-grid--in-visual {
        display: none;
    }

    .trust-grid--in-conversion {
        display: grid;
    }

    .conversion-panel {
        border-radius: 16px;
        padding: 14px;
        gap: 10px;
    }

    .eyebrow {
        display: none;
    }

    .offer h1 {
        max-width: none;
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1;
    }

    .offer p {
        margin-top: 7px;
        font-size: 12px;
        line-height: 1.35;
        max-width: 36ch;
    }

    .proof-card {
        grid-template-columns: auto 1fr;
        padding: 11px;
        gap: 10px;
        border-radius: 10px;
    }

    .proof-main span {
        font-size: 34px;
    }

    .proof-main p,
    .proof-note {
        font-size: 10px;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    .trust-item {
        padding: 8px;
        gap: 6px;
        border-radius: 9px;
        font-size: 10px;
    }

    .trust-icon {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .actions {
        gap: 8px;
    }

    .btn {
        min-height: 48px;
        padding: 0 14px;
        border-radius: 9px;
        font-size: 13px;
        gap: 8px;
    }

    .btn svg {
        width: 19px;
        height: 19px;
    }

    .footer {
        font-size: 9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 360px), (max-width: 860px) and (max-height: 720px) {
    .page-shell {
        width: calc(100vw - 16px);
        height: calc(100vh - 16px);
        height: calc(100dvh - 16px);
        margin: 8px auto;
        gap: 8px;
    }

    .visual-panel,
    .conversion-panel {
        padding: 10px;
    }

    .offer h1 {
        font-size: 25px;
    }

    .offer p {
        font-size: 11px;
    }

    .trust-grid--in-conversion {
        display: none;
    }

    .btn {
        min-height: 44px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
