@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Syne:wght@600;700;800&display=swap');

:root {
    --tg-bg: #070b12;
    --tg-bg-soft: #0c1219;
    --tg-panel: #121a24;
    --tg-panel-2: #1a2430;
    --tg-panel-3: #222e3c;
    --tg-bubble-in: #182533;
    --tg-bubble-out: #2b5278;
    --tg-accent: #2aabee;
    --tg-accent-deep: #1d8fd4;
    --tg-green: #34d399;
    --tg-green-soft: rgba(52, 211, 153, 0.14);
    --tg-text: #f0f6fc;
    --tg-muted: #7b8fa3;
    --tg-border: rgba(66, 103, 136, 0.28);
    --tg-glow: rgba(42, 171, 238, 0.22);
    --tg-font: 'DM Sans', system-ui, sans-serif;
    --tg-display: 'Syne', system-ui, sans-serif;
    --tg-radius: 20px;
    --tg-radius-sm: 12px;
}

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

html {
    scroll-behavior: smooth;
}

.tg_body {
    font-family: var(--tg-font);
    background: var(--tg-bg);
    color: var(--tg-text);
    line-height: 1.55;
    min-height: 100vh;
}

/* ── Chrome ── */

.tg_chrome {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 24px;
    font-size: 13px;
    color: #9eb0c0;
    background: rgba(7, 11, 18, 0.82);
    border-bottom: 1px solid var(--tg-border);
    backdrop-filter: blur(16px);
}

.tg_chrome a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tg_chrome_back:hover {
    color: #fff;
}

.tg_chrome_label {
    opacity: 0.85;
    text-align: center;
}

.tg_chrome_cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(135deg, var(--tg-accent) 0%, var(--tg-accent-deep) 100%);
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 20px var(--tg-glow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tg_chrome_cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(42, 171, 238, 0.35);
}

/* ── Page ── */

.tg_page {
    padding-top: 56px;
}

/* ── Hero ── */

.tg_hero {
    position: relative;
    overflow: hidden;
    padding: 56px 24px 72px;
}

.tg_hero_bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tg_hero_orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.tg_hero_orb_1 {
    top: -80px;
    left: -60px;
    width: 420px;
    height: 420px;
    background: rgba(42, 171, 238, 0.18);
}

.tg_hero_orb_2 {
    right: -100px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    background: rgba(52, 211, 153, 0.1);
}

.tg_hero_grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(66, 103, 136, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 103, 136, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 100%);
}

.tg_hero_inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}

.tg_intro_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tg-accent);
    background: rgba(42, 171, 238, 0.1);
    border: 1px solid rgba(42, 171, 238, 0.22);
    border-radius: 999px;
}

.tg_intro_badge_dot {
    width: 7px;
    height: 7px;
    background: var(--tg-accent);
    border-radius: 50%;
}

.tg_intro_badge_live {
    color: #a7f3d0;
    background: var(--tg-green-soft);
    border-color: rgba(52, 211, 153, 0.28);
}

.tg_intro_badge_live .tg_intro_badge_dot {
    background: var(--tg-green);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
    animation: tg_pulse 2s ease-in-out infinite;
}

@keyframes tg_pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.92); }
}

.tg_intro_title {
    font-family: var(--tg-display);
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.tg_intro_title span {
    display: block;
    background: linear-gradient(135deg, #fff 0%, #8ecdf5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tg_intro_text {
    font-size: 16px;
    color: var(--tg-muted);
    max-width: 520px;
}

.tg_intro_text strong {
    color: #fff;
    font-weight: 600;
}

.tg_stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.tg_stack span {
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #b8daf0;
    background: rgba(42, 171, 238, 0.08);
    border: 1px solid rgba(42, 171, 238, 0.18);
    border-radius: 999px;
}

.tg_hero_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.tg_live_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--tg-accent) 0%, var(--tg-accent-deep) 100%);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(42, 171, 238, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tg_live_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(42, 171, 238, 0.38);
    color: #fff;
}

.tg_live_btn_light {
    background: #fff;
    color: #0a1628;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tg_live_btn_light:hover {
    color: #0a1628;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.tg_ghost_btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--tg-text);
    text-decoration: none;
    border: 1px solid var(--tg-border);
    border-radius: 14px;
    background: rgba(18, 26, 36, 0.6);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.tg_ghost_btn:hover {
    border-color: rgba(42, 171, 238, 0.45);
    background: rgba(42, 171, 238, 0.08);
    color: #fff;
}

.tg_hero_panel {
    display: grid;
    gap: 16px;
}

.tg_stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.tg_stat {
    padding: 18px 16px;
    text-align: center;
    background: rgba(18, 26, 36, 0.72);
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-sm);
    backdrop-filter: blur(8px);
}

.tg_stat_value {
    display: block;
    font-family: var(--tg-display);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.tg_stat_label {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--tg-muted);
}

.tg_features {
    list-style: none;
    display: grid;
    gap: 10px;
}

.tg_feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: rgba(18, 26, 36, 0.72);
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-sm);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.tg_feature:hover {
    border-color: rgba(42, 171, 238, 0.35);
    transform: translateY(-1px);
}

.tg_feature_icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-size: 18px;
    background: rgba(42, 171, 238, 0.1);
    border-radius: 10px;
}

.tg_feature_title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.tg_feature_text {
    margin-top: 4px;
    font-size: 13px;
    color: var(--tg-muted);
    line-height: 1.45;
}

/* ── Workspace ── */

.tg_workspace {
    padding: 0 24px 64px;
    max-width: 1180px;
    margin: 0 auto;
}

.tg_workspace_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tg_workspace_label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tg-accent);
    margin-bottom: 8px;
}

.tg_workspace_title {
    font-family: var(--tg-display);
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tg_workspace_desc {
    margin-top: 8px;
    font-size: 15px;
    color: var(--tg-muted);
    max-width: 480px;
}

.tg_steps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    background: var(--tg-panel);
    border: 1px solid var(--tg-border);
    border-radius: 999px;
}

.tg_step {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tg-muted);
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.tg_step.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--tg-accent) 0%, var(--tg-accent-deep) 100%);
    box-shadow: 0 4px 14px var(--tg-glow);
}

.tg_step.is-done {
    color: var(--tg-green);
}

/* ── Demo grid ── */

.tg_demo_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 340px);
    gap: 20px;
    align-items: center;
}

.tg_phone_col,
.tg_admin_col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tg_col_label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tg-muted);
}

.tg_connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
}

.tg_connector_line {
    width: 2px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--tg-accent), transparent);
    border-radius: 2px;
}

.tg_connector_badge {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tg-accent);
    background: rgba(42, 171, 238, 0.1);
    border: 1px solid rgba(42, 171, 238, 0.25);
    border-radius: 999px;
    white-space: nowrap;
}

/* ── Phone shell ── */

.tg_phone_shell {
    width: 100%;
    max-width: 380px;
    padding: 10px;
    background: linear-gradient(160deg, #1e2a38 0%, #111820 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.4),
        0 32px 80px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(42, 171, 238, 0.08);
}

.tg_phone_status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 18px 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.tg_phone_status_icons {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.85;
}

.tg_phone {
    overflow: hidden;
    background: var(--tg-panel);
    border-radius: 22px;
    border: 1px solid var(--tg-border);
}

.tg_phone_header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--tg-panel-2);
    border-bottom: 1px solid var(--tg-border);
}

.tg_phone_back,
.tg_phone_menu {
    flex-shrink: 0;
    width: 28px;
    font-size: 20px;
    color: var(--tg-accent);
    text-align: center;
    background: none;
    border: none;
}

.tg_phone_avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, #2aabee, #1578b8);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(42, 171, 238, 0.35);
}

.tg_phone_meta {
    flex: 1;
    min-width: 0;
}

.tg_phone_meta strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tg_phone_meta span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--tg-green);
}

.tg_online_dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 2px;
    border-radius: 50%;
    background: var(--tg-green);
    vertical-align: middle;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.65);
}

/* ── Chat ── */

.tg_chat {
    height: 400px;
    overflow-y: auto;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    scroll-behavior: smooth;
    background:
        radial-gradient(circle at 20% 30%, rgba(42, 171, 238, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(52, 211, 153, 0.03) 0%, transparent 50%),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 24px,
            rgba(255, 255, 255, 0.012) 24px,
            rgba(255, 255, 255, 0.012) 25px
        ),
        var(--tg-panel);
}

.tg_chat::-webkit-scrollbar {
    width: 4px;
}

.tg_chat::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.tg_msg_row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    animation: tgFadeIn 0.28s ease;
}

.tg_msg_row_out {
    justify-content: flex-end;
}

.tg_msg_avatar {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, #2aabee, #1578b8);
    border-radius: 50%;
}

.tg_msg {
    max-width: 78%;
    padding: 9px 12px 6px;
    font-size: 14px;
    line-height: 1.45;
    border-radius: 14px;
}

.tg_msg_in {
    background: var(--tg-bubble-in);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.tg_msg_out {
    background: var(--tg-bubble-out);
    border-bottom-right-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tg_msg b {
    font-weight: 700;
}

.tg_msg_time {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.38);
    text-align: right;
}

@keyframes tgFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tg_typing_row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.tg_typing {
    display: inline-flex;
    gap: 4px;
    padding: 12px 14px;
    background: var(--tg-bubble-in);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
}

.tg_typing span {
    width: 6px;
    height: 6px;
    background: var(--tg-muted);
    border-radius: 50%;
    animation: tgBounce 1s infinite;
}

.tg_typing span:nth-child(2) { animation-delay: 0.15s; }
.tg_typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes tgBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* ── Keyboard ── */

.tg_keyboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px 10px 10px;
    background: var(--tg-panel-2);
}

.tg_keyboard.is-hidden {
    display: none;
}

.tg_key {
    padding: 12px 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--tg-accent);
    background: rgba(42, 171, 238, 0.07);
    border: 1px solid rgba(42, 171, 238, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.tg_key:hover {
    background: rgba(42, 171, 238, 0.14);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 171, 238, 0.12);
}

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

.tg_key_full {
    grid-column: 1 / -1;
}

.tg_key_cancel {
    color: #fca5a5;
    background: rgba(248, 113, 113, 0.08);
    border-color: rgba(248, 113, 113, 0.25);
}

.tg_key_cancel:hover {
    background: rgba(248, 113, 113, 0.14);
}

.tg_key_muted {
    color: var(--tg-muted);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--tg-border);
}

.tg_key_muted:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ── Input ── */

.tg_input_row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 14px;
    border-top: 1px solid var(--tg-border);
    background: var(--tg-panel-2);
}

.tg_attach {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    font-size: 16px;
    color: var(--tg-muted);
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: default;
    opacity: 0.5;
}

.tg_input_row input {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    font: inherit;
    font-size: 14px;
    color: #fff;
    background: var(--tg-panel);
    border: 1px solid var(--tg-border);
    border-radius: 22px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tg_input_row input:focus {
    border-color: var(--tg-accent);
    box-shadow: 0 0 0 3px rgba(42, 171, 238, 0.15);
}

.tg_input_row input:disabled {
    opacity: 0.45;
}

.tg_send {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--tg-accent), var(--tg-accent-deep));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--tg-glow);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.tg_send:hover:not(:disabled) {
    transform: scale(1.05);
}

.tg_send:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

/* ── Admin panel ── */

.tg_admin {
    width: 100%;
    background: var(--tg-panel);
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.tg_admin_head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 18px 16px;
    background: linear-gradient(180deg, var(--tg-panel-2) 0%, var(--tg-panel) 100%);
    border-bottom: 1px solid var(--tg-border);
}

.tg_admin_head_icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--tg-green);
    background: var(--tg-green-soft);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 12px;
}

.tg_admin_head h2 {
    font-size: 16px;
    font-weight: 700;
}

.tg_admin_head p {
    margin-top: 4px;
    font-size: 12px;
    color: var(--tg-muted);
}

.tg_admin_feed {
    min-height: 400px;
    max-height: 440px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tg_admin_empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 320px;
    padding: 24px;
    text-align: center;
}

.tg_admin_empty_icon {
    font-size: 36px;
    opacity: 0.6;
}

.tg_admin_empty p {
    font-size: 13px;
    color: var(--tg-muted);
    max-width: 220px;
    line-height: 1.5;
}

.tg_alert {
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.1) 0%, rgba(42, 171, 238, 0.06) 100%);
    border: 1px solid rgba(52, 211, 153, 0.28);
    border-left: 3px solid var(--tg-green);
    border-radius: var(--tg-radius-sm);
    animation: tgAlertIn 0.35s ease;
}

@keyframes tgAlertIn {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.tg_alert_label {
    font-size: 13px;
    font-weight: 700;
    color: #a7f3d0;
    line-height: 1.4;
}

.tg_alert_body {
    margin-top: 10px;
    font-size: 13px;
    color: #c8e6d4;
    white-space: pre-line;
    line-height: 1.55;
}

.tg_alert_time {
    margin-top: 10px;
    padding-top: 10px;
    font-size: 11px;
    color: var(--tg-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tg_reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 16px 16px;
    width: calc(100% - 32px);
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--tg-muted);
    background: transparent;
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-sm);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tg_reset:hover {
    color: #fff;
    border-color: rgba(42, 171, 238, 0.4);
    background: rgba(42, 171, 238, 0.06);
}

/* ── CTA band ── */

.tg_cta_band {
    padding: 0 24px 72px;
    max-width: 1180px;
    margin: 0 auto;
}

.tg_cta_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 36px;
    background: linear-gradient(135deg, rgba(42, 171, 238, 0.14) 0%, rgba(52, 211, 153, 0.08) 100%);
    border: 1px solid rgba(42, 171, 238, 0.22);
    border-radius: var(--tg-radius);
}

.tg_cta_label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tg-accent);
    margin-bottom: 8px;
}

.tg_cta_title {
    font-family: var(--tg-display);
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tg_cta_text {
    margin-top: 8px;
    font-size: 14px;
    color: var(--tg-muted);
    max-width: 520px;
}

.tg_cta_text strong {
    color: #fff;
}

.tg_cta_text a {
    color: var(--tg-accent);
    font-weight: 600;
    text-decoration: none;
}

.tg_cta_text a:hover {
    text-decoration: underline;
}

/* ── Responsive ── */

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

    .tg_demo_grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tg_connector {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }

    .tg_connector_line {
        width: 48px;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--tg-accent), transparent);
    }

    .tg_admin_col {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    .tg_chrome {
        padding: 10px 14px;
    }

    .tg_chrome_label {
        display: none;
    }

    .tg_chrome_cta {
        padding: 7px 12px;
        font-size: 12px;
    }

    .tg_hero {
        padding: 40px 16px 56px;
    }

    .tg_workspace {
        padding: 0 16px 48px;
    }

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

    .tg_steps {
        width: 100%;
        border-radius: var(--tg-radius-sm);
        justify-content: center;
    }

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

    .tg_stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .tg_stat_label {
        margin-top: 0;
    }

    .tg_cta_band {
        padding: 0 16px 56px;
    }

    .tg_cta_inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .tg_chat {
        height: 340px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tg_msg_row,
    .tg_alert,
    .tg_typing span,
    .tg_intro_badge_live .tg_intro_badge_dot {
        animation: none;
    }
}
