/* ── Siêu Vui Landing — Purple/Indigo Glassmorphism ── */
*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0915;
    color: #e2e8f0;
    line-height: 1.6;
    overflow-x: hidden
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px
}

/* Gradient text — indigo → blue → cyan */
.gradient-text {
    background: linear-gradient(135deg, #818cf8, #4361EE, #4CC9F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 9, 21, .82);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

.logo {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0
}

.logo img {
    width: 28px;
    height: 28px
}

.nav-cta {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    background: rgba(99, 102, 241, .15);
    color: #a5b4fc;
    transition: background .2s, color .2s
}

.nav-cta:hover {
    background: rgba(99, 102, 241, .28);
    color: #c4b5fd
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all .25s;
    cursor: pointer;
    border: none
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #4361EE);
    color: #fff
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, .35)
}

.btn-outline {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, .10)
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, .28);
    color: #e2e8f0
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 14px
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #0a0915 0%, #110f28 50%, #0d0b1a 100%)
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translate(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, .10) 0%, rgba(67, 97, 238, .06) 40%, transparent 70%);
    pointer-events: none
}

.hero-glow::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(76, 201, 240, .06) 0%, transparent 70%);
    pointer-events: none
}

.hero-content {
    position: relative;
    z-index: 1
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: #fff;
    margin-bottom: 24px
}

.hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: #94a3b8;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(99, 102, 241, .12);
    border: 1px solid rgba(99, 102, 241, .18);
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px
}

.hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #818cf8;
    animation: pulse-dot 2s ease-in-out infinite
}

/* Chat mockup */
.hero-preview {
    margin-top: 64px;
    display: flex;
    justify-content: center
}

.chat-mockup {
    width: 100%;
    max-width: 440px;
    background: rgba(26, 24, 50, .80);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .5), 0 0 0 1px rgba(99, 102, 241, .06)
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-weight: 600;
    font-size: 15px;
    color: #c4b5fd
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%
}

.mockup-dot.green {
    background: #818cf8;
    box-shadow: 0 0 10px rgba(129, 140, 248, .5)
}

.mockup-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px
}

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

.msg-left {
    justify-content: flex-start
}

.msg-right {
    justify-content: flex-end
}

.msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4CC9F0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0
}

.msg-bubble {
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 14px;
    max-width: 260px;
    line-height: 1.4;
    background: rgba(255, 255, 255, .06);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, .04)
}

.msg-bubble.sent {
    background: linear-gradient(135deg, #6366f1, #4361EE);
    color: #fff;
    font-weight: 500;
    border: none
}

/* ── Features ── */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, #0d0b1a 0%, #0a0915 100%)
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 56px
}

.section-subtitle {
    text-align: center;
    color: #94a3b8;
    font-size: 17px;
    max-width: 600px;
    margin: -40px auto 56px;
    line-height: 1.7
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px
}

.feature-card {
    background: rgba(26, 24, 50, .50);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 16px;
    padding: 32px;
    transition: border-color .3s, transform .3s, box-shadow .3s
}

.feature-card:hover {
    border-color: rgba(99, 102, 241, .3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, .08)
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 8px
}

.feature-card p {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6
}

/* ── Security section ── */
.security-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0915 0%, #110f28 100%)
}

.security-content {
    display: flex;
    align-items: center;
    gap: 64px;
    max-width: 960px;
    margin: 0 auto
}

.security-visual {
    flex: 0 0 200px;
    display: flex;
    justify-content: center
}

.security-shield {
    width: 120px;
    height: 140px;
    background: linear-gradient(135deg, rgba(99, 102, 241, .15), rgba(76, 201, 240, .10));
    border: 1px solid rgba(99, 102, 241, .2);
    border-radius: 20px 20px 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 0 0 60px rgba(99, 102, 241, .1)
}

.security-text h3 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px
}

.security-text p {
    font-size: 16px;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 500px
}

.security-badges {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(99, 102, 241, .10);
    border: 1px solid rgba(99, 102, 241, .15);
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 500
}

/* ── CTA ── */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, .03) 50%, transparent 100%)
}

.cta-content {
    text-align: center
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px
}

.cta-content p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px
}

/* ── Footer ── */
.footer {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 32px 0;
    background: #0a0915
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px
}

.footer-logo {
    font-size: 16px;
    font-weight: 700;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px
}

.footer-logo .logo-img {
    width: 22px;
    height: 22px
}

.footer-copy {
    font-size: 13px;
    color: #64748b
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px
    }

    .hero-actions {
        flex-direction: column;
        align-items: center
    }

    .btn {
        width: 100%;
        max-width: 300px
    }

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

    .footer-inner {
        justify-content: center;
        text-align: center
    }

    .security-content {
        flex-direction: column;
        text-align: center;
        gap: 32px
    }

    .security-text {
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .security-badges {
        justify-content: center
    }
}

/* ── Animations ── */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(1.5)
    }
}

.hero-badge {
    animation: fadeUp .8s ease-out both
}

.hero-title {
    animation: fadeUp .8s ease-out .1s both
}

.hero-sub {
    animation: fadeUp .8s ease-out .2s both
}

.hero-actions {
    animation: fadeUp .8s ease-out .35s both
}

.hero-preview {
    animation: fadeUp .8s ease-out .5s both
}