:root {
    --bg: #ffffff;
    --bg-soft: #f7f6f2;
    --bg-tint: #fff8e1;
    --ink: #141414;
    --ink-soft: #5a5a5a;
    --line: rgba(20, 20, 20, 0.08);
    --glass: rgba(255, 255, 255, 0.55);
    --glass-strong: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.65);
    --yellow: #ffd400;
    --yellow-deep: #f0c400;
    --yellow-glow: rgba(255, 212, 0, 0.45);
    --dark: #111111;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 24px 60px rgba(20, 20, 20, 0.08);
    --shadow-soft: 0 10px 30px rgba(20, 20, 20, 0.06);
    --font: "Manrope", system-ui, sans-serif;
    --display: "Unbounded", "Manrope", sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
    --container: 1160px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: transparent;
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(1000px 560px at 8% -8%, rgba(255, 212, 0, 0.28), transparent 58%),
        radial-gradient(820px 480px at 95% 5%, rgba(255, 196, 0, 0.16), transparent 55%),
        radial-gradient(700px 480px at 55% 40%, rgba(255, 255, 255, 0.85), transparent 60%),
        radial-gradient(640px 420px at 78% 100%, rgba(255, 232, 150, 0.22), transparent 52%),
        linear-gradient(165deg, #fffef9 0%, rgba(255, 255, 255, 0.92) 42%, #f8f6f0 100%);
}

.page-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(20, 20, 20, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 20, 20, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
    opacity: 0.55;
    animation: gridDrift 28s linear infinite;
}

@keyframes gridDrift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 56px 56px, 56px 56px; }
}

/* Glass */
.glass-panel {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    box-shadow:
        0 10px 40px rgba(20, 20, 20, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.glass-soft {
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: var(--radius-lg);
}

.glass-chip {
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(255, 212, 0, 0.12);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.5);
    animation: pulseYellow 1.8s infinite;
}

@keyframes pulseYellow {
    70% { box-shadow: 0 0 0 10px rgba(255, 212, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0); }
}

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

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

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    background: rgba(255, 255, 255, 0.42);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.78);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(20, 20, 20, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: block;
    box-shadow: 0 8px 18px var(--yellow-glow);
    flex-shrink: 0;
}

.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--yellow) 0%, #ffe566 55%, #ffb800 100%);
    box-shadow: 0 8px 18px var(--yellow-glow);
    position: relative;
    animation: logoPulse 3.5s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 18px var(--yellow-glow); }
    50% { transform: scale(1.06); box-shadow: 0 12px 28px rgba(255, 212, 0, 0.55); }
}

.logo-mark::after {
    content: "";
    position: absolute;
    inset: 8px 7px 8px 9px;
    border-radius: 3px;
    background: var(--ink);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.logo-text {
    background: linear-gradient(100deg, #111, #555 40%, #c9a227 70%, #111 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: logoShimmer 5s linear infinite;
}

@keyframes logoShimmer {
    to { background-position: 220% center; }
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s, background 0.2s, transform 0.2s;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink);
    background: rgba(255, 212, 0, 0.22);
    transform: translateY(-1px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 999px;
    padding: 0.7rem 1.25rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
    white-space: nowrap;
}

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

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

.btn-yellow {
    background: var(--yellow);
    color: var(--ink);
    box-shadow: 0 10px 28px var(--yellow-glow);
}

.btn-yellow:hover {
    background: var(--yellow-deep);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.55) 45%, transparent 70%);
    transform: translateX(-120%);
    animation: btnShine 3.2s ease-in-out infinite;
}

@keyframes btnShine {
    0%, 55% { transform: translateX(-120%); }
    80%, 100% { transform: translateX(120%); }
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(20, 20, 20, 0.16);
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--ink);
    background: rgba(20, 20, 20, 0.03);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.7);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-soft);
}

.btn-ghost:hover {
    color: var(--ink);
    background: rgba(20, 20, 20, 0.04);
}

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

.btn-lg {
    padding: 0.95rem 1.55rem;
    font-size: 1.02rem;
}

.btn-block {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    padding: clamp(2.5rem, 7vw, 5.5rem) 0 3rem;
    overflow: hidden;
}

.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    transition: transform 0.35s ease-out;
    will-change: transform;
}

.orb-a {
    width: 280px;
    height: 280px;
    left: 8%;
    top: 10%;
    background: radial-gradient(circle, rgba(255, 212, 0, 0.45), transparent 68%);
    animation: orbFloat 9s ease-in-out infinite;
}

.orb-b {
    width: 360px;
    height: 360px;
    right: 5%;
    top: 5%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 232, 150, 0.25) 45%, transparent 70%);
    animation: orbFloat 11s ease-in-out infinite reverse;
}

.orb-c {
    width: 220px;
    height: 220px;
    left: 42%;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 196, 0, 0.28), transparent 70%);
    animation: orbFloat 8s ease-in-out infinite 1s;
}

@keyframes orbFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 12px -18px; }
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    margin: 0 0 1rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 212, 0, 0.22);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-hero {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(3.6rem, 9vw, 6.2rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
    overflow: hidden;
}

.brand-letter {
    display: inline-block;
    background: linear-gradient(125deg, #0f0f0f 10%, #3a3a3a 40%, #c9a227 72%, #ffd400 100%);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(42px) rotateX(35deg);
    animation:
        letterIn 0.75s cubic-bezier(0.2, 0.85, 0.25, 1) forwards,
        gradientShift 5s ease-in-out infinite;
    animation-delay: calc(0.08s * var(--i)), calc(0.9s + 0.08s * var(--i));
    will-change: transform, opacity;
}

@keyframes letterIn {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 40%; }
    50% { background-position: 100% 60%; }
}

.brand-shine {
    position: absolute;
    inset: -10% -20%;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 48%, transparent 62%);
    mix-blend-mode: soft-light;
    animation: brandSweep 3.8s ease-in-out 1.2s infinite;
    pointer-events: none;
}

@keyframes brandSweep {
    0%, 40% { transform: translateX(-40%); opacity: 0; }
    55% { opacity: 1; }
    100% { transform: translateX(40%); opacity: 0; }
}

.hero h1,
.page-hero h1,
.auth-visual h1,
.dash-head h1 {
    font-family: var(--display);
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.page-hero h1,
.auth-visual h1,
.dash-head h1,
.section-head h2,
.feature-split h2,
.cta-inner h2,
.faq h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.hero-lead {
    margin: 1.2rem 0 0;
    max-width: 34rem;
    color: var(--ink-soft);
    font-size: 1.14rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.55s forwards;
}

.hero-lead.narrow {
    max-width: 36rem;
    margin-inline: auto;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.75s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 auto 1.5rem;
    max-width: 760px;
    text-align: center;
}

.trust-item strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, #111, #b8860b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.trust-item span {
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.chat-stage {
    position: relative;
    min-height: 420px;
    transition: transform 0.25s ease-out;
    transform-style: preserve-3d;
}

.chat-glow {
    position: absolute;
    inset: 10% 5% -5%;
    background: radial-gradient(circle, rgba(255, 212, 0, 0.35), transparent 65%);
    filter: blur(28px);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.08); }
}

.chat-window {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: rotate(-1.5deg);
    animation: floaty 6s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.62) !important;
}

@keyframes floaty {
    0%, 100% { transform: rotate(-1.5deg) translateY(0); }
    50% { transform: rotate(-1deg) translateY(-12px); }
}

.chat-top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.9rem 1.1rem;
    background: linear-gradient(90deg, rgba(255, 248, 214, 0.75), rgba(255, 255, 255, 0.35));
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.chat-top .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e5e5e5;
}

.chat-top .dot:nth-child(1) { background: #ff6b6b; }
.chat-top .dot:nth-child(2) { background: #ffd400; }
.chat-top .dot:nth-child(3) { background: #62d26f; }

.chat-top strong {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    margin-right: auto;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1a7a3a;
    background: rgba(34, 197, 94, 0.12);
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
}

.chat-body {
    padding: 1.2rem;
    display: grid;
    gap: 0.75rem;
    min-height: 250px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 212, 0, 0.14), transparent 40%),
        rgba(255, 255, 255, 0.28);
}

.bubble {
    max-width: 82%;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    font-size: 0.95rem;
    animation: bubbleIn 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    backdrop-filter: blur(8px);
}

.bubble.in {
    background: rgba(247, 246, 242, 0.85);
    border-bottom-left-radius: 5px;
}

.bubble.out {
    margin-left: auto;
    background: rgba(255, 212, 0, 0.92);
    border-bottom-right-radius: 5px;
    animation-delay: 0.28s;
}

.bubble.in:nth-child(3) {
    animation-delay: 0.55s;
}

@keyframes bubbleIn {
    from { opacity: 0; transform: translateY(14px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

.ai-chip {
    justify-self: end;
    font-size: 0.78rem;
    font-weight: 700;
    color: #8a6d00;
    background: rgba(255, 212, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    animation: bubbleIn 0.6s ease 0.8s both;
}

.chat-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    color: #999;
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.35);
}

.chat-bar > span:last-of-type {
    margin-right: auto;
}

.typing-dots {
    display: inline-flex;
    gap: 3px;
    align-items: center;
}

.typing-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #bbb;
    animation: typing 1.2s infinite ease-in-out;
}

.typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.typing-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40% { transform: translateY(-4px); opacity: 1; }
}

.send-btn {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--yellow);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 16px var(--yellow-glow);
}

.send-btn:hover {
    transform: scale(1.08);
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Sections */
.section {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-tint {
    background: linear-gradient(180deg, rgba(255, 248, 225, 0.45), rgba(255, 255, 255, 0.15));
    border-block: 1px solid rgba(255, 212, 0, 0.18);
    backdrop-filter: blur(4px);
}

.section-kicker {
    text-align: center;
    color: var(--ink-soft);
    margin: 0 0 1.25rem;
    font-weight: 600;
}

.logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    opacity: 0.5;
    font-family: var(--display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.logo-row span {
    transition: opacity 0.25s, transform 0.25s, color 0.25s;
}

.logo-row span:hover {
    opacity: 1;
    color: #a88700;
    transform: translateY(-2px);
}

.section-head {
    max-width: 40rem;
    margin-bottom: 2.5rem;
}

.section-head-center {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head p,
.feature-split .lead,
.sec-card p,
.channel-card p {
    color: var(--ink-soft);
    margin: 0;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.channel-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s, background 0.35s;
}

.channel-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 22px 50px rgba(20, 20, 20, 0.08);
    background: rgba(255, 255, 255, 0.78);
}

.channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-weight: 700;
    background: var(--yellow);
    margin-bottom: 1rem;
    transition: transform 0.35s;
    box-shadow: 0 8px 18px var(--yellow-glow);
}

.channel-card:hover .channel-icon {
    transform: rotate(-8deg) scale(1.08);
}

.channel-card h3,
.sec-card h3,
.dash-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.15rem;
}

.feature-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    gap: 0.7rem;
}

.check-list li {
    position: relative;
    padding-left: 1.8rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-10px);
}

.reveal.is-visible .check-list li {
    animation: checkIn 0.5s ease forwards;
}

.reveal.is-visible .check-list li:nth-child(1) { animation-delay: 0.1s; }
.reveal.is-visible .check-list li:nth-child(2) { animation-delay: 0.2s; }
.reveal.is-visible .check-list li:nth-child(3) { animation-delay: 0.3s; }
.reveal.is-visible .check-list li:nth-child(4) { animation-delay: 0.4s; }

@keyframes checkIn {
    to { opacity: 1; transform: none; }
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23111' d='M6.2 11.2 3.4 8.4l1.1-1.1 1.7 1.7 4.3-4.3 1.1 1.1z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.feature-panel {
    display: grid;
    gap: 1rem;
}

.stat-block {
    border-radius: var(--radius);
    padding: 1.35rem 1.5rem;
    transition: transform 0.3s;
}

.stat-block:hover {
    transform: translateX(6px);
}

.stat-block strong {
    display: block;
    font-family: var(--display);
    font-size: 2.2rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}

.stat-block span {
    color: var(--ink-soft);
}

.security-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.sec-card {
    padding: 1.7rem;
    border-radius: var(--radius);
    border-top: 3px solid var(--yellow);
    transition: transform 0.35s, box-shadow 0.35s;
}

.sec-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.cta-band {
    padding-top: 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 2.2rem;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(120deg, rgba(255, 212, 0, 0.28), rgba(255, 255, 255, 0.55) 48%) !important;
}

.cta-inner p {
    margin: 0;
    color: var(--ink-soft);
    max-width: 36rem;
}

/* Pricing */
.page-hero {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem;
    text-align: center;
}

.billing-toggle {
    display: inline-flex;
    margin-top: 1.5rem;
    padding: 0.3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
}

.billing-toggle button {
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    color: var(--ink-soft);
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.billing-toggle button.is-active {
    background: var(--yellow);
    color: var(--ink);
    box-shadow: 0 6px 16px var(--yellow-glow);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: stretch;
}

.price-card {
    position: relative;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.6rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s, box-shadow 0.35s;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.price-card.is-featured {
    border-color: transparent;
    background:
        linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)) padding-box,
        linear-gradient(145deg, #ffd400, #ffe566, #ffb800) border-box;
    border: 2px solid transparent;
    box-shadow: 0 20px 50px var(--yellow-glow);
    transform: scale(1.03);
}

.price-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
}

.price-card h2 {
    margin: 0.4rem 0 0.35rem;
    font-family: var(--display);
    font-size: 1.5rem;
}

.plan-desc {
    margin: 0;
    color: var(--ink-soft);
    min-height: 2.6em;
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-top: 1.2rem;
}

.price {
    font-family: var(--display);
    font-size: 2.6rem;
    letter-spacing: -0.04em;
}

.currency {
    font-weight: 700;
    font-size: 1.2rem;
}

.period {
    margin: 0.2rem 0 1.2rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.65rem;
    flex: 1;
}

.price-card li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--ink-soft);
}

.price-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #a88700;
    font-weight: 800;
}

.faq {
    max-width: 720px;
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq p {
    color: var(--ink-soft);
    margin: 0.7rem 0 0;
}

/* Auth */
.auth-section {
    padding: clamp(2rem, 6vw, 4rem) 0 4rem;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.auth-layout-single {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
}

.auth-visual {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(500px 280px at 20% 20%, rgba(255, 212, 0, 0.35), transparent 60%),
        linear-gradient(160deg, rgba(255, 254, 245, 0.8), rgba(255, 255, 255, 0.55) 50%, rgba(255, 248, 225, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-visual p {
    color: var(--ink-soft);
    max-width: 28rem;
}

.mini-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mini-stats strong {
    display: block;
    font-family: var(--display);
    font-size: 1.6rem;
}

.mini-stats span {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.2rem);
    box-shadow: var(--shadow);
}

.auth-card h2 {
    margin: 0 0 1.2rem;
    font-family: var(--display);
    font-size: 1.6rem;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-form label {
    display: grid;
    gap: 0.4rem;
}

.auth-form label span {
    font-size: 0.88rem;
    font-weight: 700;
}

.auth-form input {
    width: 100%;
    border: 1.5px solid rgba(20, 20, 20, 0.12);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font: inherit;
    background: rgba(255, 255, 255, 0.8);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--yellow-deep);
    box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.25);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.form-alert {
    background: #fff1f1;
    color: #b42318;
    border: 1px solid #f5c2c0;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.auth-switch {
    margin: 1.2rem 0 0;
    text-align: center;
    color: var(--ink-soft);
}

.auth-switch a {
    color: var(--ink);
    font-weight: 800;
    border-bottom: 2px solid var(--yellow);
}

/* Dashboard */
.dashboard {
    padding: clamp(2rem, 5vw, 3.5rem) 0 4rem;
}

.dash-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
}

.dash-head p {
    margin: 0;
    color: var(--ink-soft);
}

.dash-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.1rem;
}

.dash-card {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.dash-card:first-child {
    grid-row: span 2;
}

.big-status {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--display);
    font-size: 1.3rem;
    margin: 0.8rem 0;
}

.code-snip {
    margin: 1rem 0 0;
    padding: 1rem;
    border-radius: 14px;
    background: #171717;
    color: #ffe566;
    overflow-x: auto;
    font-size: 0.82rem;
    line-height: 1.5;
}

.dash-stats {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.dash-stats strong {
    display: block;
    font-family: var(--display);
    font-size: 1.8rem;
}

.dash-stats span {
    color: var(--ink-soft);
}

.steps {
    margin: 0.8rem 0 1.3rem;
    padding-left: 1.2rem;
    color: var(--ink-soft);
    display: grid;
    gap: 0.45rem;
}

/* Footer */
.site-footer {
    padding: 3.5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(250, 248, 242, 0.85));
    backdrop-filter: blur(10px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem;
}

.footer-brand p {
    color: var(--ink-soft);
    max-width: 22rem;
    margin: 1rem 0 0;
}

.site-footer h4 {
    margin: 0 0 0.9rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
}

.site-footer a {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--ink-soft);
    font-weight: 600;
    transition: color 0.2s, transform 0.2s;
}

.site-footer a:hover {
    color: var(--ink);
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    color: #999;
    font-size: 0.9rem;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    transition: opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

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

    .reveal {
        opacity: 1;
        transform: none;
    }

    .brand-letter {
        opacity: 1;
        transform: none;
    }
}

.label-mobile {
    display: none;
}

@media (max-width: 980px) {
    .label-desktop {
        display: none;
    }

    .label-mobile {
        display: inline;
    }

    .container {
        width: min(100% - 1.5rem, var(--container));
    }

    .hero-layout,
    .feature-split,
    .auth-layout,
    .pricing-grid,
    .channel-grid,
    .security-row,
    .dash-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        min-height: 64px;
        padding-block: 0.35rem;
    }

    .nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(18px);
        border-bottom: 0;
        padding: 1rem 1.25rem 2rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        overflow: auto;
    }

    .nav.is-open {
        display: flex;
    }

    .nav-link {
        padding: 0.95rem 1rem;
        font-size: 1.05rem;
        border-radius: 14px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    body.nav-open {
        overflow: hidden;
    }

    .header-actions .btn-ghost {
        display: none;
    }

    .price-card.is-featured {
        transform: none;
    }

    .cta-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 1.4rem;
    }

    .cta-inner .hero-cta,
    .hero-cta {
        width: 100%;
    }

    .cta-inner .btn,
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .chat-window {
        transform: none;
        animation: none;
    }

    .chat-stage {
        transform: none !important;
        min-height: 0;
    }

    .dash-card:first-child {
        grid-row: auto;
    }

    .hero-trust {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .glass-soft {
        padding: 1.2rem 1rem;
    }

    .orb-a,
    .orb-b,
    .orb-c {
        opacity: 0.4;
    }

    .section {
        padding: clamp(2.5rem, 8vw, 4rem) 0;
    }

    .auth-visual,
    .auth-card {
        padding: 1.35rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .billing-toggle {
        width: 100%;
        max-width: 320px;
    }

    .billing-toggle button {
        flex: 1;
    }
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .brand-hero {
        font-size: clamp(2.6rem, 14vw, 3.4rem);
    }

    .hero {
        padding: 1.75rem 0 1.5rem;
    }

    .hero-lead {
        font-size: 1.02rem;
    }

    .header-actions .btn-yellow {
        padding: 0.55rem 0.85rem;
        font-size: 0.86rem;
    }

    .logo-text {
        font-size: 1.05rem;
    }

    .channel-card,
    .sec-card,
    .price-card,
    .stat-block {
        padding: 1.15rem;
    }

    .page-hero {
        padding: 1.75rem 0 0.5rem;
        text-align: left;
    }

    .page-hero .hero-lead.narrow {
        margin-inline: 0;
    }

    .mini-stats {
        flex-direction: column;
        gap: 0.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.4rem;
    }

    .chat-body {
        min-height: 200px;
    }

    .btn-lg {
        padding: 0.9rem 1.2rem;
    }
}

@media (max-width: 400px) {
    .container {
        width: min(100% - 1rem, var(--container));
    }

    .brand-hero {
        font-size: 2.4rem;
    }

    .header-actions .btn-yellow span,
    .hide-xs {
        display: none;
    }
}

/* OAuth + legal + footer */
.oauth-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-bottom: 1rem; }
.oauth-row-icons {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin: 0 0 .35rem;
}
.oauth-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem .5rem; border-radius: 12px; font-weight: 800; font-size: .9rem;
  border: 1px solid rgba(20,20,20,.08); transition: transform .2s, box-shadow .2s;
}
.oauth-btn:hover { transform: translateY(-2px); }
.oauth-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20,20,20,.1);
  background: #fff;
  box-shadow: 0 4px 14px rgba(20,20,20,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.oauth-ico img { display: block; width: 28px; height: 28px; }
.oauth-ico:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20,20,20,.1);
}
.oauth-yandex,
.oauth-vk,
.oauth-google { background: #fff; }
.auth-or { display: flex; align-items: center; gap: .75rem; color: #999; font-size: .85rem; margin: 1.1rem 0 .9rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: rgba(20,20,20,.1); }
.auth-legal { text-align: center; color: var(--ink-soft); font-size: .82rem; margin-top: .8rem; }
.auth-legal a { font-weight: 700; border-bottom: 1px solid var(--yellow); }
.check-agree { display: flex !important; align-items: flex-start; gap: .55rem; font-size: .9rem; }
.check-agree input { width: auto !important; margin-top: .2rem; }
.check-agree a { font-weight: 700; border-bottom: 1px solid var(--yellow); }

.legal-page { padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; }
.legal-card {
  max-width: 820px; margin: 0 auto; padding: clamp(1.4rem, 4vw, 2.2rem);
  border-radius: 24px; background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.75);
  backdrop-filter: blur(16px); box-shadow: var(--shadow-soft);
}
.legal-card h1 { font-family: var(--display); margin: 0 0 1rem; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.legal-body { color: var(--ink-soft); line-height: 1.65; }
.legal-body h2 { color: var(--ink); margin: 1.4rem 0 .6rem; font-size: 1.15rem; }
.legal-body ul { padding-left: 1.2rem; }

.footer-grid-5 { grid-template-columns: 1.4fr repeat(4, 1fr); }
.footer-legal-inline { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer-legal-inline a { color: #888; font-weight: 600; }

@media (max-width: 980px) {
  .footer-grid-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid-5 { grid-template-columns: 1fr; }
  .auth-card, .auth-visual { padding: 1.2rem; }
}

/* ===== Homepage v2 overrides ===== */
.brand-hero.brand-hero-clean {
    display: block;
    overflow: visible;
    font-family: var(--display);
    font-size: clamp(3.8rem, 10vw, 6.8rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.06em;
}

.brand-hero-clean .brand-word {
    position: relative;
    display: inline-block;
    padding-bottom: 0.12em;
    color: #121212;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    animation: none;
    opacity: 1;
    transform: none;
}

.brand-hero-clean .brand-underline {
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: 0.02em;
    width: 104%;
    height: 0.22em;
    color: #ffd400;
    pointer-events: none;
    overflow: visible;
}

.hero-tagline {
    margin: 0.85rem 0 0;
    font-family: var(--serif);
    font-size: clamp(1.35rem, 3.2vw, 2rem);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #2a2a2a;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.25s forwards;
}

.hero-v2 .hero-lead {
    animation-delay: 0.4s;
    font-size: 1.08rem;
}

.hero-v2 .hero-cta {
    animation-delay: 0.55s;
}

.hero-visual {
    opacity: 0;
    animation: fadeUp 1s ease 0.35s forwards;
}

.cabinet-showcase {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.cab-card {
    display: grid;
    gap: 0.45rem;
    padding: 1.25rem;
    border-radius: var(--radius);
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s, background 0.35s;
}

.cab-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.82);
}

.cab-ico {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--yellow);
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    box-shadow: 0 8px 18px var(--yellow-glow);
}

.cab-card h3 {
    margin: 0;
    font-family: var(--display);
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.cab-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.step-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.step-num {
    display: block;
    font-family: var(--display);
    font-size: 2rem;
    letter-spacing: -0.04em;
    background: linear-gradient(120deg, #111, #c9a227);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.6rem;
}

.step-card h3 { margin: 0 0 0.45rem; font-size: 1.15rem; }
.step-card p { margin: 0; color: var(--ink-soft); }

.install-split {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 2rem;
    align-items: center;
}

.install-split h2 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0 0 0.75rem;
    letter-spacing: -0.03em;
}

.install-code {
    margin: 0;
    padding: 1.35rem 1.5rem;
    border-radius: var(--radius-lg);
    background: #141414 !important;
    color: #ffe566;
    font-size: 0.9rem;
    line-height: 1.55;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.logos-strip .hero-trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 920px;
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .cabinet-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps-row, .install-split { grid-template-columns: 1fr; }
    .logos-strip .hero-trust { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .cabinet-showcase,
    .logos-strip .hero-trust { grid-template-columns: 1fr; }
    .brand-hero.brand-hero-clean { font-size: clamp(3rem, 16vw, 4rem); }
    .hero-tagline { font-size: 1.25rem; }
}
