/* SnapEX — public Telegram-exchange landing (Glass / sky) */

.txl-page {
    --txl-bg: linear-gradient(180deg, #dbeafe 0%, #eff6ff 40%, #f8fafc 100%);
    --txl-surface: rgba(255, 255, 255, 0.62);
    --txl-text: #0f172a;
    --txl-muted: #334155;
    --txl-accent: #2563eb;
    --txl-accent-2: #38bdf8;
    --txl-radius: 1.5rem;
    --txl-font: Inter, system-ui, sans-serif;
    --txl-display: "Plus Jakarta Sans", Inter, sans-serif;
    --ex-accent: var(--txl-accent);
    background: var(--txl-bg);
}

.txl-page .ex-main.txl-main {
    max-width: 72rem;
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
}

.txl {
    position: relative;
    overflow: hidden;
    color: var(--txl-text);
    font-family: var(--txl-font);
    isolation: isolate;
}

.txl-glow {
    pointer-events: none;
    position: absolute;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    top: -8rem;
    right: -6rem;
    background: #93c5fd;
    opacity: 0.55;
}

.txl-glow--b {
    top: auto;
    bottom: -10rem;
    left: -8rem;
    right: auto;
    background: #bae6fd;
    opacity: 0.7;
}

.txl-hero,
.txl-benefits,
.txl-finale {
    position: relative;
    z-index: 1;
}

.txl-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.6rem;
    align-items: center;
    padding: 0.6rem 0.4rem 0.2rem;
}

.txl-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--txl-accent);
}

.txl-title,
.txl-section-title,
.txl-finale h3,
.txl-card h4 {
    font-family: var(--txl-display);
    letter-spacing: -0.03em;
}

.txl-title {
    margin: 0 0 0.7rem;
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
    line-height: 1.12;
}

.txl-lead,
.txl-card p {
    color: var(--txl-muted);
}

.txl-lead {
    margin: 0 0 1rem;
    font-size: 1.02rem;
    line-height: 1.55;
    max-width: 38rem;
}

.txl-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1.1rem;
    padding: 0;
    list-style: none;
}

.txl-pills li {
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: var(--txl-surface);
    border: 1px solid rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-weight: 600;
}

.txl-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.txl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.72rem 1.15rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.txl-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.txl-btn--primary {
    background: var(--txl-accent);
    color: #fff;
}

.txl-btn--hero {
    padding: 0.92rem 1.55rem 0.92rem 1.15rem;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, transparent 42%),
        linear-gradient(120deg, #38bdf8 0%, #2563eb 52%, #4f46e5 100%);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 10px 24px rgba(37, 99, 235, 0.32),
        0 0 0 6px rgba(37, 99, 235, 0.08);
}

.txl-btn--hero:hover {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 16px 32px rgba(37, 99, 235, 0.4),
        0 0 0 8px rgba(37, 99, 235, 0.1);
}

.txl-btn__icon {
    display: inline-flex;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.txl-btn__icon::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(#fff, #fff) center / 0.7rem 2px no-repeat,
        linear-gradient(#fff, #fff) center / 2px 0.7rem no-repeat;
}

.txl-btn--ghost {
    border-color: rgba(15, 23, 42, 0.16);
    background: transparent;
    color: var(--txl-text);
}

.txl-phone {
    display: flex;
    justify-content: center;
}

.txl-phone__bezel {
    width: min(100%, 280px);
    border-radius: 1.6rem;
    padding: 0.7rem;
    backdrop-filter: blur(18px);
    background: var(--txl-surface);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
}

.txl-phone__bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.txl-phone__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.txl-phone__live {
    margin-left: auto;
    opacity: 0.65;
    font-weight: 600;
    text-transform: lowercase;
}

.txl-chat {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.txl-bubble {
    margin: 0;
    padding: 0.65rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    line-height: 1.4;
}

.txl-bubble--in {
    align-self: flex-start;
    max-width: 92%;
    background: #dbeafe;
    color: #1e3a8a;
}

.txl-bubble--out {
    align-self: flex-end;
    background: var(--txl-accent);
    color: #fff;
    font-weight: 700;
}

.txl-bubble--ok {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background: color-mix(in srgb, var(--txl-accent-2) 18%, transparent);
}

.txl-benefits,
.txl-finale {
    padding: 1.6rem 0.2rem 0;
}

.txl-finale {
    padding-bottom: 0.4rem;
}

.txl-section-title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
}

.txl-cards {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(4, 1fr);
}

.txl-card {
    border-radius: var(--txl-radius);
    background: var(--txl-surface);
    padding: 1rem 1.05rem;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
}

.txl-card h4 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.txl-card p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.5;
}

.txl-card__mark {
    display: block;
    width: 1.6rem;
    height: 0.35rem;
    margin-bottom: 0.7rem;
    border-radius: 999px;
    background: var(--txl-accent);
}

.txl-card[data-card="fee"] .txl-card__mark { background: #f59e0b; }
.txl-card[data-card="infra"] .txl-card__mark { background: #a78bfa; }
.txl-card[data-card="audience"] .txl-card__mark { background: #fb7185; }

.txl-finale {
    text-align: center;
}

.txl-finale h3 {
    margin: 0 0 1.15rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.txl-finale .txl-cta {
    justify-content: center;
}

.txl-btn--lg {
    min-width: min(100%, 22rem);
    padding: 1.05rem 2.2rem;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.28);
}

@media (max-width: 900px) {
    .txl-hero,
    .txl-cards {
        grid-template-columns: 1fr;
    }

    .txl-phone {
        order: -1;
    }
}

@media (max-width: 640px) {
    .txl-title {
        font-size: 1.55rem;
    }
}
