* {
    box-sizing: border-box;
}

:root {
    --accent: #22d3ee;      /* cyan */
    --accent-2: #38bdf8;    /* sky */
    --accent-3: #a78bfa;    /* violet hint */

    --bg: #f6f9ff;
    --bg-grad:
        radial-gradient(900px circle at 10% 0%, rgba(56, 189, 248, 0.22), transparent 60%),
        radial-gradient(800px circle at 90% 10%, rgba(34, 211, 238, 0.18), transparent 55%),
        radial-gradient(900px circle at 50% 110%, rgba(167, 139, 250, 0.16), transparent 60%);

    --text: #0b1020;
    --muted: #5b647a;

    --surface: rgba(255, 255, 255, 0.78);
    --surface-solid: #ffffff;
    --surface-2: rgba(255, 255, 255, 0.62);

    --border: rgba(15, 23, 42, 0.10);
    --border-strong: rgba(15, 23, 42, 0.16);

    --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
    --shadow-strong: 0 16px 50px rgba(2, 6, 23, 0.12);

    --ring: 0 0 0 3px rgba(34, 211, 238, 0.28);

    --topbar-bg: rgba(255, 255, 255, 0.70);
    --topbar-border: rgba(15, 23, 42, 0.10);

    --field-bg: rgba(255, 255, 255, 0.85);
    --field-border: rgba(15, 23, 42, 0.14);

    --reply-bg: rgba(15, 23, 42, 0.04);

    --pill-bg: rgba(255, 255, 255, 0.75);
    --pill-border: rgba(15, 23, 42, 0.14);

    --warn-bg: rgba(245, 158, 11, 0.14);
    --warn-border: rgba(245, 158, 11, 0.28);

    --star: #fbbf24;
}

html { color-scheme: light; }
html[data-theme="dark"] {
    color-scheme: dark;

    --bg: #070914;
    --bg-grad:
        radial-gradient(900px circle at 15% 5%, rgba(56, 189, 248, 0.20), transparent 55%),
        radial-gradient(900px circle at 85% 10%, rgba(34, 211, 238, 0.14), transparent 55%),
        radial-gradient(900px circle at 50% 120%, rgba(167, 139, 250, 0.10), transparent 65%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.25));

    --text: #e7f2ff;
    --muted: rgba(231, 242, 255, 0.68);

    --surface: rgba(12, 17, 35, 0.72);
    --surface-solid: #0b1224;
    --surface-2: rgba(12, 17, 35, 0.55);

    --border: rgba(148, 163, 184, 0.18);
    --border-strong: rgba(148, 163, 184, 0.26);

    --shadow: 0 14px 60px rgba(0, 0, 0, 0.55);
    --shadow-strong: 0 22px 90px rgba(0, 0, 0, 0.65);

    --topbar-bg: rgba(7, 10, 22, 0.62);
    --topbar-border: rgba(148, 163, 184, 0.16);

    --field-bg: rgba(11, 18, 36, 0.65);
    --field-border: rgba(148, 163, 184, 0.22);

    --reply-bg: rgba(255, 255, 255, 0.06);

    --pill-bg: rgba(11, 18, 36, 0.55);
    --pill-border: rgba(148, 163, 184, 0.20);

    --warn-bg: rgba(245, 158, 11, 0.16);
    --warn-border: rgba(245, 158, 11, 0.30);
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 14px 0;
}

h1 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.02em; }
h3 { margin: 14px 0 8px; letter-spacing: -0.01em; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background-color: var(--bg);
    background-image: var(--bg-grad);
    background-attachment: fixed;
    color: var(--text);
}

a.btn { text-decoration: none; display: inline-block; }
a.btn:hover { text-decoration: none; }

a.stat { text-decoration: none; color: inherit; }
a.stat:hover { text-decoration: none; }

.wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 18px;
}

.topbar {
    background: var(--topbar-bg);
    border-bottom: 1px solid var(--topbar-border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.brand {
    font-weight: 800;
    letter-spacing: 0.2px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.row {
    display: flex;
    gap: 16px;
}

.grow {
    flex: 1;
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.auth {
    display: flex;
    justify-content: center;
    padding-top: 28px;
}

.auth-card {
    width: min(520px, 100%);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.form-actions form { margin: 0; }

label {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 650;
    letter-spacing: 0.01em;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--field-border);
    border-radius: 12px;
    margin-top: 6px;
    background: var(--field-bg);
    color: var(--text);
    font-family: inherit;
    box-shadow: 0 1px 0 rgba(2, 6, 23, 0.04);
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.65);
    box-shadow: var(--ring);
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    padding: 0;
    margin-top: 0;
}

.btn {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.45);
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #041017;
    cursor: pointer;
    font-weight: 650;
    box-shadow: 0 12px 32px rgba(34, 211, 238, 0.18);
    transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow: 0 16px 40px rgba(34, 211, 238, 0.22);
}

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

.btn-secondary {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    border-color: rgba(34, 211, 238, 0.45);
}

.btn:focus-visible,
.btn-secondary:focus-visible,
.theme-toggle:focus-visible,
.nav-link:focus-visible,
input:not([type="checkbox"]):not([type="radio"]):focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

.btn:disabled,
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.flash {
    background: var(--warn-bg);
    border: 1px solid var(--warn-border);
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.muted { color: var(--muted); }

.small {
    font-size: 12px;
}

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

.review {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.review-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
}

.stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    vertical-align: middle;
}

.star {
    font-size: 15px;
    line-height: 1;
}

.star--full {
    color: var(--star);
    text-shadow: 0 0 14px rgba(251, 191, 36, 0.22);
}

.star--empty {
    color: rgba(148, 163, 184, 0.55);
}

/* чтобы select в тулбаре не был “на всю ширину” */
.select-inline {
    width: auto;
    min-width: 140px;
}

.post-meta { margin-top: 4px; }

.review {
    transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.review:hover {
    transform: translateY(-1px);
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: var(--shadow-strong);
}

.review-title {
    font-weight: 750;
    letter-spacing: -0.01em;
}

.review-text {
    margin-top: 10px;
    white-space: pre-wrap;
}

.reply {
    margin-top: 10px;
    padding: 12px;
    background: var(--reply-bg);
    border-radius: 14px;
    border: 1px solid var(--border);
}

.reply-text {
    white-space: pre-wrap;
}

.brand-link {
    text-decoration: none;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.brand-link:hover {
    text-decoration: none;
    filter: brightness(1.05);
}

.nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
}

.nav-link:hover {
    background: var(--surface-2);
    border-color: var(--border);
    text-decoration: none;
}

.nav-link.active {
    background: var(--surface-2);
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 10px 26px rgba(34, 211, 238, 0.10);
}

.nav-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface-2);
    color: var(--text);
    cursor: pointer;

    box-shadow: var(--shadow);
    user-select: none;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(34, 211, 238, 0.45);
}

.theme-toggle:active {
    transform: translateY(0);
}

.theme-toggle__icon {
    width: 18px;
    text-align: center;
}

@media (max-width: 720px) {
    .theme-toggle__label { display: none; }
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.stat {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.stat-num {
    font-size: 24px;
    font-weight: 700;
    margin-top: 6px;
}

.stat {
    transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.stat:hover {
    transform: translateY(-1px);
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: var(--shadow-strong);
}

/* --- Navigation polish --- */
.topbar .wrap {
    flex-wrap: wrap;
    gap: 12px;
}

.nav-email {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- Cards / forms usability --- */
textarea {
    resize: vertical;
    min-height: 88px;
}

.review-head form {
    margin: 0;
}

.review-rating {
    margin-bottom: 6px;
}

.review-head .btn {
    white-space: nowrap;
}

/* --- Mobile --- */
@media (max-width: 720px) {
    .wrap { padding: 14px; }

    .row { flex-direction: column; }

    .nav {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 6px;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
    }

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

.aidlg {
    border: 1px solid var(--border);
    background: var(--surface-solid);
    border-radius: 16px;
    padding: 16px 16px 14px;
    width: min(760px, 96vw);
    box-shadow: var(--shadow-strong);
}

.aidlg::backdrop {
    background: rgba(0, 0, 0, 0.55);
}

.dlg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.dlg-body label {
  margin-top: 10px;
}

.dlg-body textarea {
  width: 100%;
}

.pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--pill-border);
    background: var(--pill-bg);
    font-size: 12px;
    color: var(--text);
    white-space: nowrap;
    box-shadow: var(--shadow);
}

.pill-link {
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
}

.pill-link:hover {
    text-decoration: none;
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 12px 32px rgba(34, 211, 238, 0.12);
    transform: translateY(-1px);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

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

.plan-card {
    position: relative;
}

.plan-card--current {
    border-color: rgba(34, 211, 238, 0.55);
    box-shadow: 0 18px 60px rgba(34, 211, 238, 0.12);
}

.plan-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.45);
    background: rgba(34, 211, 238, 0.10);
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.plan-price {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.plan-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.plan-features {
    margin-top: 10px;
    display: grid;
    gap: 6px;
}

.plan-features .muted {
    margin: 0;
}

.user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.user-menu__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;

    color: var(--text);
}

.user-menu__btn:hover {
    background: var(--surface-2);
    border-color: var(--border);
}

.user-menu__btn:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

.user-menu__chev {
    opacity: 0.75;
    font-size: 12px;
}

.user-menu__dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 200px;

    background: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-strong);
    padding: 8px;

    display: none;
    z-index: 100;
}

html[data-theme="dark"] .user-menu__dropdown {
    background: var(--surface-solid);
}

.user-menu.is-open .user-menu__dropdown {
    display: block;
}

.user-menu__item {
    display: block;
    width: 100%;
    text-align: left;

    padding: 10px 10px;
    border-radius: 12px;

    color: var(--text);
    text-decoration: none;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.user-menu__item:hover {
    background: var(--surface-2);
    border-color: var(--border);
    text-decoration: none;
}

.user-menu__sep {
    height: 1px;
    background: var(--border);
    margin: 6px 2px;
}

.user-menu__danger {
    border-color: rgba(245, 158, 11, 0.28);
}
.user-menu__danger:hover {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.38);
}

/* --- Theme switch: bubble transition (View Transitions API) --- */
html { view-transition-name: root; }

::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
}

::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

@media (prefers-reduced-motion: reduce) {
    html { view-transition-name: none; }
}

/* Фолбэк-смягчение (если ViewTransition недоступен) */
body,
.topbar,
.card,
.review,
.stat,
.reply,
.theme-toggle,
.nav-link,
.pill,
input,
select,
textarea {
    transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

/* --- Review sections: меньше вложенных рамок --- */
.review-sub {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.kv + .kv { margin-top: 10px; }

.kv-label {
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 4px;
}

.kv-value {
    white-space: pre-wrap;
}

.draft-box {
    margin-top: 8px;
    padding: 12px;
    background: var(--reply-bg);
    border-radius: 14px;
}

/* textarea внутри карточек — мягче, без лишней “второй рамки” */
.draft-textarea {
    margin-top: 8px;
    box-shadow: none;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.tab {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-weight: 650;
}

.tab:hover {
  border-color: rgba(34, 211, 238, 0.45);
}

.tab.active {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 10px 26px rgba(34, 211, 238, 0.10);
}

.notif-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;
    padding: 0;

    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface-2);
    color: var(--text);
    cursor: pointer;
    box-shadow: var(--shadow);
    flex: 0 0 auto;
}

.notif-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(34, 211, 238, 0.45);
}

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

.notif-btn:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

.notif-btn__icon {
    line-height: 1;
    font-size: 16px;
}

.auth-form .btn {
    margin-top: 14px;
}

.btn-small {
    padding: 8px 12px;
    min-height: 38px;
}

.nav-link-btn {
    appearance: none;
    font: inherit;
    line-height: inherit;
    cursor: pointer;
}

/* --- Landing v2 --- */
.lp {
    display: grid;
    gap: 42px;
    padding: 18px 0 40px;
}

.lp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 28px;
    align-items: center;
    min-height: calc(100vh - 140px);
}

.lp-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
}

html[data-theme="dark"] .lp-kicker {
    background: rgba(12, 17, 35, 0.62);
}

.lp-title {
    margin: 16px 0 12px;
    font-size: clamp(42px, 5.5vw, 70px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    max-width: 760px;
}

.lp-title span {
    display: block;
}

.lp-subtitle {
    max-width: 640px;
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
    color: var(--muted);
}

.lp-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.lp-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.lp-proof__item {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

html[data-theme="dark"] .lp-proof__item {
    background: rgba(12, 17, 35, 0.68);
}

.lp-proof__item strong {
    display: block;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.lp-proof__item span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.lp-hero__visual {
    position: relative;
    min-height: 580px;
}

.lp-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    pointer-events: none;
}

.lp-orb--1 {
    top: 10px;
    right: 30px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.30), rgba(34, 211, 238, 0.02) 70%);
}

.lp-orb--2 {
    bottom: 20px;
    left: 0;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.22), rgba(167, 139, 250, 0.02) 70%);
}

.shot {
    position: absolute;
    inset: 36px 0 36px 24px;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.70));
    border: 1px solid rgba(255,255,255,0.75);
    box-shadow: 0 30px 100px rgba(2, 6, 23, 0.16);
    backdrop-filter: blur(12px);
}

html[data-theme="dark"] .shot {
    background: linear-gradient(180deg, rgba(12,17,35,0.92), rgba(12,17,35,0.78));
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.shot__top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.44);
}

html[data-theme="dark"] .shot__top {
    background: rgba(255,255,255,0.03);
}

.shot__dots {
    display: inline-flex;
    gap: 6px;
}

.shot__dots span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.7);
}

.shot__url {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

.shot__badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.28);
    font-size: 12px;
    font-weight: 700;
}

.shot__body {
    display: grid;
    grid-template-columns: 170px 1fr;
    min-height: 470px;
}

.shot__side {
    padding: 18px 14px;
    border-right: 1px solid var(--border);
    background: rgba(255,255,255,0.26);
}

html[data-theme="dark"] .shot__side {
    background: rgba(255,255,255,0.03);
}

.shot__logo {
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    color: var(--accent-2);
}

.shot__nav {
    display: grid;
    gap: 10px;
}

.shot__nav-item {
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--muted);
    border: 1px solid transparent;
}

.shot__nav-item--active {
    color: var(--text);
    background: rgba(34, 211, 238, 0.10);
    border-color: rgba(34, 211, 238, 0.25);
    font-weight: 700;
}

.shot__main {
    padding: 18px;
    display: grid;
    gap: 14px;
}

.shot__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.shot__stat {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.46);
}

html[data-theme="dark"] .shot__stat {
    background: rgba(255,255,255,0.03);
}

.shot__stat small {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
}

.shot__stat strong {
    display: block;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.shot__panel {
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 16px;
    background: rgba(255,255,255,0.38);
    display: grid;
    gap: 12px;
    min-height: 250px;
}

html[data-theme="dark"] .shot__panel {
    background: rgba(255,255,255,0.03);
}

.shot__panel-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.shot__muted {
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
}

.shot__chip {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.25);
}

.shot__msg {
    max-width: 88%;
    padding: 13px 14px;
    border-radius: 16px;
    line-height: 1.55;
    font-size: 14px;
}

.shot__msg--customer {
    background: rgba(148, 163, 184, 0.16);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.shot__msg--ai {
    margin-left: auto;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.22);
}

.shot__composer {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 56px;
    gap: 10px;
    align-items: center;
}

.shot__input {
    height: 46px;
    border-radius: 14px;
    background: rgba(255,255,255,0.55);
    border: 1px solid var(--border);
}

html[data-theme="dark"] .shot__input {
    background: rgba(255,255,255,0.04);
}

.shot__send {
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    box-shadow: 0 12px 32px rgba(34, 211, 238, 0.20);
}

.float-card {
    position: absolute;
    z-index: 3;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.80);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(10px);
}

html[data-theme="dark"] .float-card {
    background: rgba(12, 17, 35, 0.78);
    border-color: rgba(148, 163, 184, 0.18);
}

.float-card--a {
    left: -6px;
    bottom: 84px;
}

.float-card--b {
    right: -10px;
    top: 70px;
}

.float-card__label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

.float-card__value {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lp-section {
    display: grid;
    gap: 18px;
}

.lp-section__head h2 {
    margin: 12px 0 6px;
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -0.03em;
}

.lp-section__head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    max-width: 680px;
}

.lp-grid {
    display: grid;
    gap: 14px;
}

.lp-grid--features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lp-grid--steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-card,
.step-card {
    background: rgba(255,255,255,0.70);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

html[data-theme="dark"] .lp-card,
html[data-theme="dark"] .step-card {
    background: rgba(12, 17, 35, 0.72);
}

.lp-card:hover,
.step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(34, 211, 238, 0.28);
}

.lp-card__icon {
    font-size: 22px;
    margin-bottom: 12px;
}

.lp-card h3,
.step-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.lp-card p,
.step-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.step-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.26);
    font-weight: 800;
    margin-bottom: 14px;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.76), rgba(255,255,255,0.56)),
        linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(167, 139, 250, 0.08));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(12px);
}

html[data-theme="dark"] .cta-band {
    background:
        linear-gradient(135deg, rgba(12,17,35,0.82), rgba(12,17,35,0.72)),
        linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(167, 139, 250, 0.06));
}

.cta-band h3 {
    margin: 12px 0 8px;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.cta-band p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    max-width: 620px;
}

.cta-band__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* --- Modals --- */
.lead-modal {
    padding: 0;
    border: 0;
    background: transparent;
    width: min(760px, calc(100vw - 28px));
}

.lead-modal::backdrop {
    background: rgba(3, 6, 18, 0.62);
    backdrop-filter: blur(6px);
}

.lead-modal__box {
    position: relative;
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.82));
    border: 1px solid rgba(255,255,255,0.78);
    box-shadow: 0 30px 100px rgba(2, 6, 23, 0.25);
    backdrop-filter: blur(14px);
}

html[data-theme="dark"] .lead-modal__box {
    background: linear-gradient(180deg, rgba(12,17,35,0.96), rgba(12,17,35,0.88));
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.lead-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.65);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    box-shadow: var(--shadow);
}

html[data-theme="dark"] .lead-modal__close {
    background: rgba(255,255,255,0.05);
}

.lead-modal__close:hover {
    border-color: rgba(34, 211, 238, 0.35);
}

.lead-modal h3 {
    margin: 12px 0 8px;
    font-size: 32px;
    letter-spacing: -0.03em;
}

.lead-modal__text {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.65;
}

.lead-form {
    display: grid;
    gap: 0;
}

.lead-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lead-form__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .lp-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .lp-hero__visual {
        min-height: 560px;
    }
}

@media (max-width: 900px) {
    .lp-proof {
        grid-template-columns: 1fr;
    }

    .lp-grid--features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-grid--steps {
        grid-template-columns: 1fr;
    }

    .cta-band {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 720px) {
    .lp {
        gap: 30px;
        padding-top: 8px;
    }

    .lp-title {
        font-size: 40px;
    }

    .lp-subtitle {
        font-size: 16px;
    }

    .lp-actions .btn,
    .lp-actions .btn-secondary,
    .cta-band__actions .btn,
    .cta-band__actions .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .lp-hero__visual {
        min-height: 460px;
    }

    .shot {
        position: relative;
        inset: auto;
    }

    .float-card {
        display: none;
    }

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

    .shot__side {
        display: none;
    }

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

    .lp-grid--features {
        grid-template-columns: 1fr;
    }

    .lead-form__row {
        grid-template-columns: 1fr;
    }

    .lead-modal__box {
        padding: 20px;
        border-radius: 22px;
    }

    .lead-modal h3 {
        font-size: 26px;
    }
}

.auth-form .btn {
    margin-top: 14px;
}