:root {
            --bg: #0a0a0f;
            --bg-card: #12121a;
            --bg-chat: #1a1a28;
            --accent: #e854a7;
            --accent2: #a855f7;
            --accent3: #7c3aed;
            --tg-blue: #2aabee;
            --text: #e4e4ec;
            --text-muted: #9090a8;
            --border: #1e1e30;
            --glass: rgba(18, 18, 26, 0.8);
        }

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

        body {
            font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* ─── Animated background ─── */
        .bg-ambient {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .bg-orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(120px);
            opacity: 0.25;
            animation: orbFloat 12s ease-in-out infinite;
            will-change: transform;
        }

        @media (max-width: 768px) {
            .bg-orb {
                filter: blur(80px);
                animation-duration: 18s;
            }
            .bg-orb--1 {
                width: 300px;
                height: 300px;
                top: -100px;
                left: -80px;
            }
            .bg-orb--2 {
                width: 250px;
                height: 250px;
                bottom: -80px;
                right: -80px;
                opacity: 0.18;
            }
            .bg-orb--3 {
                width: 180px;
                height: 180px;
                opacity: 0.08;
            }
            .bg-grid {
                background-size: 40px 40px;
                mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black 20%, transparent 70%);
            }
        }

        .bg-orb--1 {
            width: 600px;
            height: 600px;
            background: var(--accent);
            top: -200px;
            left: -100px;
            animation-delay: 0s;
        }

        .bg-orb--2 {
            width: 500px;
            height: 500px;
            background: var(--accent2);
            bottom: -150px;
            right: -150px;
            animation-delay: -6s;
        }

        .bg-orb--3 {
            width: 350px;
            height: 350px;
            background: var(--tg-blue);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation-delay: -3s;
            opacity: 0.15;
        }

        @keyframes orbFloat {
            0%,
            100% {
                transform: translate(0, 0) scale(1);
            }
            25% {
                transform: translate(40px, -30px) scale(1.08);
            }
            50% {
                transform: translate(-20px, 20px) scale(0.95);
            }
            75% {
                transform: translate(-30px, -10px) scale(1.05);
            }
        }

        .bg-grid {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
            background-size: 60px 60px;
            mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 70%);
        }

        /* ─── Layout ─── */
        .page {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            padding: 0 20px;
        }

        .container {
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
        }

        /* ─── Header ─── */
        .header {
            text-align: center;
            padding: 48px 0 0;
        }

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

        .logo-icon {
            width: 44px;
            height: 44px;
            border-radius: 14px;
            background: linear-gradient(135deg, var(--accent), var(--accent2));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 8px 32px rgba(232, 84, 167, 0.3);
        }

        .logo-badge {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--accent);
            background: rgba(232, 84, 167, 0.1);
            border: 1px solid rgba(232, 84, 167, 0.2);
            padding: 4px 10px;
            border-radius: 20px;
        }

        .hero-title {
            font-size: clamp(2rem, 5vw, 3.2rem);
            font-weight: 800;
            line-height: 1.15;
            letter-spacing: -0.02em;
            margin-top: 20px;
        }

        .hero-title .gradient-text {
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 60%, var(--tg-blue) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: clamp(1rem, 2.2vw, 1.2rem);
            color: var(--text-muted);
            line-height: 1.6;
            margin-top: 16px;
            max-width: 520px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ─── Features badges ─── */
        .features {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-top: 28px;
        }

        .feature-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            font-weight: 500;
            color: var(--text-muted);
            background: var(--bg-card);
            border: 1px solid var(--border);
            padding: 8px 16px;
            border-radius: 24px;
            backdrop-filter: blur(8px);
            transition: border-color 0.3s, color 0.3s;
        }

        .feature-badge:hover {
            border-color: var(--accent3);
            color: var(--text);
        }

        .feature-badge .emoji {
            font-size: 16px;
        }

        /* ─── Content wrapper (chat + CTA + guide line) ─── */
        .content-wrapper {
            position: relative;
            width: 100%;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ─── Chat mockup ─── */
        .chat-section {
            margin-top: 44px;
            width: 100%;
        }

        .chat-mockup {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 20px;
            overflow: hidden;
            box-shadow:
                0 24px 64px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.04) inset,
                0 0 80px -20px rgba(168, 85, 247, 0.15);
        }

        .chat-header {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            background: var(--bg-chat);
            border-bottom: 1px solid var(--border);
        }

        .chat-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent), var(--accent2));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
            position: relative;
        }

        .chat-avatar::after {
            content: '';
            position: absolute;
            bottom: 1px;
            right: 1px;
            width: 10px;
            height: 10px;
            background: #22c55e;
            border-radius: 50%;
            border: 2px solid var(--bg-chat);
        }

        .chat-user-info .chat-name {
            font-size: 15px;
            font-weight: 600;
            color: var(--text);
        }

        .chat-user-info .chat-status {
            font-size: 12px;
            color: #22c55e;
        }

        .chat-body {
            padding: 20px 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            min-height: 340px;
            background: var(--bg-card);
            background-image:
                radial-gradient(ellipse at 50% 30%, rgba(168, 85, 247, 0.04) 0%, transparent 60%);
        }

        .msg {
            max-width: 82%;
            padding: 10px 14px;
            border-radius: 16px;
            font-size: 13.5px;
            line-height: 1.55;
            animation: msgIn 0.45s ease-out backwards;
        }

        .msg--them {
            align-self: flex-start;
            background: var(--bg-chat);
            border-bottom-left-radius: 6px;
            color: #d4d4e0;
        }

        .msg--me {
            align-self: flex-end;
            background: linear-gradient(135deg, var(--accent3), var(--accent2));
            border-bottom-right-radius: 6px;
            color: #fff;
        }

        .msg--photo {
            align-self: flex-start;
            background: transparent !important;
            padding: 0 !important;
            max-width: 70%;
            border-radius: 14px;
            overflow: hidden;
            position: relative;
        }

        .msg-photo-img {
            width: 100%;
            aspect-ratio: 4/5;
            border-radius: 14px;
            background: linear-gradient(160deg, #1a1a2e 0%, #2d1b3d 30%, #16213e 60%, #0f3460 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .msg-photo-img::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                radial-gradient(circle at 30% 35%, rgba(232,84,167,0.25) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(168,85,247,0.2) 0%, transparent 50%),
                radial-gradient(circle at 50% 80%, rgba(42,171,238,0.15) 0%, transparent 40%);
        }

        .msg-photo-img .photo-emoji {
            display: none;
            font-size: 48px;
            position: relative;
            z-index: 1;
            animation: photoPulse 3s ease-in-out infinite;
        }

        @keyframes photoPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.08); }
        }

        .msg-photo-caption {
            font-size: 11.5px;
            color: var(--text-muted);
            padding: 6px 4px 0;
        }

        .msg:nth-child(1)  { animation-delay: 0.1s; }
        .msg:nth-child(2)  { animation-delay: 0.5s; }
        .msg:nth-child(3)  { animation-delay: 1.0s; }
        .msg:nth-child(4)  { animation-delay: 1.5s; }
        .msg:nth-child(5)  { animation-delay: 2.0s; }
        .msg:nth-child(6)  { animation-delay: 2.4s; }
        .msg:nth-child(7)  { animation-delay: 2.9s; }

        /* ─── Image lightbox ─── */
        .lightbox {
            position: fixed;
            inset: 0;
            z-index: 9999;
            background: rgba(0,0,0,0.92);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            cursor: zoom-out;
            -webkit-tap-highlight-color: transparent;
        }

        .lightbox.active {
            opacity: 1;
            pointer-events: auto;
        }

        .lightbox img {
            max-width: 92vw;
            max-height: 92vh;
            border-radius: 16px;
            box-shadow: 0 24px 80px rgba(0,0,0,0.7);
            transform: scale(0.9);
            transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            user-select: none;
            -webkit-user-select: none;
        }

        .lightbox.active img {
            transform: scale(1);
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 24px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            border: none;
            color: #fff;
            font-size: 22px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.25s;
            z-index: 2;
        }

        .lightbox-close:hover {
            background: rgba(255,255,255,0.2);
        }

        .msg-photo-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 14px;
            cursor: zoom-in;
        }

        @keyframes msgIn {
            from {
                opacity: 0;
                transform: translateY(12px) scale(0.96);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .msg-time {
            font-size: 10px;
            opacity: 0.55;
            margin-top: 4px;
            text-align: right;
        }

        .typing-indicator {
            align-self: flex-start;
            display: flex;
            gap: 4px;
            padding: 12px 16px;
            background: var(--bg-chat);
            border-radius: 16px;
            border-bottom-left-radius: 6px;
            animation: msgIn 0.4s ease-out 3.6s backwards;
        }

        .typing-dot {
            width: 7px;
            height: 7px;
            background: var(--text-muted);
            border-radius: 50%;
            animation: typingBounce 1.4s ease-in-out infinite;
        }

        .typing-dot:nth-child(2) {
            animation-delay: 0.2s;
        }
        .typing-dot:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes typingBounce {
            0%,
            60%,
            100% {
                transform: translateY(0);
            }
            30% {
                transform: translateY(-8px);
            }
        }

        .chat-input-bar {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            border-top: 1px solid var(--border);
            background: var(--bg-chat);
        }

        .chat-input-fake {
            flex: 1;
            height: 36px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 18px;
            display: flex;
            align-items: center;
            padding: 0 14px;
            font-size: 13px;
            color: var(--text-muted);
        }

        .chat-send-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--tg-blue);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            cursor: default;
        }

        .chat-send-btn svg {
            width: 16px;
            height: 16px;
            color: #fff;
        }

        /* ─── CTA ─── */
        .cta-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            max-width: 100%;
            margin-top: 20px;
            margin-bottom: 28px;
            padding: 0;
        }

        .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 16px 36px;
            font-size: 17px;
            font-weight: 700;
            color: #fff;
            background: var(--tg-blue);
            border: none;
            border-radius: 50px;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.35s ease;
            box-shadow:
                0 0 16px rgba(42, 171, 238, 0.25),
                0 0 40px rgba(168, 85, 247, 0.12),
                0 4px 16px rgba(0, 0, 0, 0.3);
            position: relative;
            overflow: hidden;
        }

        .cta-btn--web {
            background: linear-gradient(135deg, var(--accent3), var(--accent2));
            box-shadow:
                0 0 16px rgba(168, 85, 247, 0.3),
                0 0 40px rgba(232, 84, 167, 0.15),
                0 4px 16px rgba(0, 0, 0, 0.3);
            padding: 20px 48px;
            font-size: 19px;
        }

        .cta-btn--web:hover {
            box-shadow:
                0 0 32px rgba(168, 85, 247, 0.55),
                0 0 70px rgba(232, 84, 167, 0.35),
                0 0 100px rgba(168, 85, 247, 0.25),
                0 8px 24px rgba(0, 0, 0, 0.35);
        }

        .cta-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
            border-radius: 50px;
            pointer-events: none;
        }

        .cta-btn:hover {
            transform: translateY(-3px);
            box-shadow:
                0 0 32px rgba(42, 171, 238, 0.55),
                0 0 70px rgba(168, 85, 247, 0.35),
                0 0 100px rgba(232, 84, 167, 0.25),
                0 8px 24px rgba(0, 0, 0, 0.35);
        }

        .cta-btn--top {
            margin-top: 24px;
        }

        .hero-social-proof {
            font-size: 14px;
            color: #b0a0c0;
            margin-top: 14px;
            opacity: 0.8;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .live-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #22c55e;
            box-shadow: 0 0 8px #22c55e;
            animation: livePulse 2s ease-in-out infinite;
            flex-shrink: 0;
        }

        @keyframes livePulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.4); }
        }

        .cta-btn:active {
            transform: translateY(-1px) scale(0.98);
            box-shadow:
                0 0 12px rgba(42, 171, 238, 0.2),
                0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .cta-btn svg {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
        }

        /* ─── Scroll hint ─── */
        .scroll-hint {
            position: fixed;
            bottom: 50%;
            left: 50%;
            transform: translate(-50%, 50%);
            z-index: 10;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            pointer-events: none;
            transition: opacity 0.5s ease;
        }

        .scroll-hint.hidden {
            opacity: 0;
        }

        .scroll-hint-chevron {
            width: 28px;
            height: 28px;
            border-right: 2px solid rgba(168, 85, 247, 0.6);
            border-bottom: 2px solid rgba(168, 85, 247, 0.6);
            transform: rotate(45deg);
            animation: scrollChevronPulse 2s ease-in-out infinite;
        }

        .scroll-hint-chevron:nth-child(2) {
            animation-delay: 0.3s;
        }

        .scroll-hint-chevron:nth-child(3) {
            animation-delay: 0.6s;
        }

        @keyframes scrollChevronPulse {
            0%, 100% { opacity: 0.25; }
            50% { opacity: 0.75; }
        }

        /* Bottom fade gradient */
        .bottom-fade {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 120px;
            background: linear-gradient(to top, var(--bg) 20%, transparent 100%);
            pointer-events: none;
            z-index: 9;
            transition: opacity 0.5s ease;
        }

        .bottom-fade.hidden {
            opacity: 0;
        }

        @media (max-width: 480px) {
            .scroll-hint {
                bottom: 16px;
            }
            .bottom-fade {
                height: 90px;
            }
        }

        /* ─── Footer ─── */
        .footer {
            text-align: center;
            padding: 32px 20px 24px;
            border-top: 1px solid var(--border);
            width: 100%;
            max-width: 800px;
            margin-top: auto;
        }

        .footer-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            font-size: 13px;
            color: var(--text-muted);
        }

        .footer-links a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.25s;
        }

        .footer-links a:hover {
            color: var(--accent);
        }

        .footer-divider {
            color: var(--border);
        }

        .footer-copy {
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 16px;
            opacity: 0.6;
        }

        /* ─── Responsive ─── */
        @media (max-width: 480px) {
            .header {
                padding-top: 32px;
            }

            .hero-title {
                font-size: 1.7rem;
            }

            .content-wrapper {
                max-width: 100%;
            }

            .chat-mockup {
                border-radius: 14px;
            }

            .cta-btn {
                width: 100%;
                justify-content: center;
                padding: 16px 24px;
                font-size: 16px;
            }

            .features {
                gap: 6px;
            }

            .feature-badge {
                font-size: 12px;
                padding: 6px 12px;
            }

            .footer-links {
                flex-direction: column;
                gap: 10px;
            }

            .footer-divider {
                display: none;
            }
        }

        @media (min-width: 768px) {
            .page {
                justify-content: center;
            }
        }

/* ─── Footer ─── */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 12px;
    margin-top: auto;
    background: rgba(10, 10, 15, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 11px;
}
.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 16px;
}
.site-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.site-footer a:hover {
    color: var(--accent2);
}
.site-footer-sep {
    color: rgba(255, 255, 255, 0.1);
    user-select: none;
}
.site-footer-copy {
    color: rgba(255, 255, 255, 0.15);
    font-size: 10px;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .site-footer {
        gap: 1px;
        padding: 8px 8px;
        font-size: 10px;
    }
    .site-footer-links {
        gap: 2px 10px;
    }
    .site-footer-copy {
        font-size: 9px;
    }
}