:root {
    --bg: #09111f;
    --surface: rgba(13, 24, 42, 0.74);
    --text: #f6fbff;
    --muted: #b6c7dd;
    --primary: #46d4b1;
    --secondary: #5ba7ff;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 30px 80px rgba(3, 10, 22, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(91, 167, 255, 0.28), transparent 30%),
        radial-gradient(circle at top right, rgba(70, 212, 177, 0.22), transparent 24%),
        linear-gradient(135deg, #07101c 0%, #0d1830 45%, #0a1323 100%);
}

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

.site-shell {
    min-height: 100vh;
    overflow: hidden;
}

.hero-backdrop {
    position: relative;
}

.hero-backdrop::before,
.hero-backdrop::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.8;
    pointer-events: none;
}

.hero-backdrop::before {
    width: 280px;
    height: 280px;
    top: 90px;
    right: -70px;
    background: radial-gradient(circle, rgba(70, 212, 177, 0.24), transparent 70%);
}

.hero-backdrop::after {
    width: 380px;
    height: 380px;
    bottom: 180px;
    left: -140px;
    background: radial-gradient(circle, rgba(91, 167, 255, 0.24), transparent 70%);
}

.navbar {
    backdrop-filter: blur(14px);
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #05111c;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 16px 30px rgba(70, 212, 177, 0.24);
}

.brand-logo {
    width: auto;
    height: 72px;
    object-fit: contain;
    display: block;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.82);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text);
}

.nav-link.active {
    color: #ffffff;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #7de0c6);
    border: none;
    color: #06101c;
    font-weight: 700;
    box-shadow: 0 18px 38px rgba(70, 212, 177, 0.26);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #06101c;
    transform: translateY(-1px);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-section {
    padding: 2.6rem 0 2.1rem;
}

.page-hero {
    padding-bottom: 2rem;
}

.page-title {
    margin-top: 1rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 800;
    max-width: 20ch;
}

.eyebrow {
    display: inline-flex;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #d5f7ef;
    background: rgba(70, 212, 177, 0.12);
    border: 1px solid rgba(70, 212, 177, 0.18);
}

.hero-copy h1 {
    margin: 0.9rem 0 0.75rem;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.035em;
    max-width: 18ch;
}

.lead {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.65;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.3rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

.hero-metrics div,
.service-card,
.project-card,
.timeline-item,
.contact-info,
.contact-form-card,
.solution-panel,
.stack-cards article,
.footer-card,
.pricing-card,
.member-card,
.feature-project-card {
    border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.hero-metrics div {
    padding: 1rem;
    border-radius: 20px;
}

.hero-metrics strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.96rem;
}

.hero-metrics span {
    font-size: 0.92rem;
    line-height: 1.55;
}

.hero-metrics span,
.floating-card p,
.service-card p,
.project-card p,
.timeline-item p,
.solution-panel p,
.stack-cards p,
.contact-info p,
.footer-card p,
.form-note,
.footer-list,
.contact-list {
    color: var(--muted);
}

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

.floating-card {
    padding: 1.05rem 1.15rem;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow);
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card.accent {
    animation-delay: 0.7s;
    background: linear-gradient(160deg, rgba(91, 167, 255, 0.22), rgba(255, 255, 255, 0.06));
}

.floating-card.dark {
    animation-delay: 1.2s;
    background: linear-gradient(160deg, rgba(255, 184, 77, 0.16), rgba(255, 255, 255, 0.05));
}

.floating-card h3 {
    font-size: 1rem;
    margin: 0.55rem 0 0.35rem;
    line-height: 1.3;
}

.card-label {
    color: #e6f0ff;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.floating-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.brand-strip {
    padding: 1rem 0 0;
}

.brand-marquee {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #dce9fb;
}

.section-space {
    padding: 5.5rem 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.section-heading {
    margin-bottom: 2.4rem;
}

.section-heading h2,
.solution-panel h2,
.contact-info h2 {
    margin-top: 1rem;
    font-size: clamp(1.55rem, 2.6vw, 2.25rem);
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.service-card,
.project-card,
.timeline-item,
.contact-info,
.contact-form-card,
.solution-panel,
.pricing-card,
.member-card,
.feature-project-card {
    padding: 1.6rem;
    border-radius: 28px;
    height: 100%;
}

.service-card h3,
.project-card h3,
.timeline-item h3,
.stack-cards h3,
.pricing-card h3,
.member-card h3,
.feature-project-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.pricing-card {
    position: relative;
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(91, 167, 255, 0.18), rgba(13, 24, 42, 0.88));
    border-color: rgba(91, 167, 255, 0.22);
}

.pricing-tier {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(70, 212, 177, 0.14);
    color: #d7fff2;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pricing-value {
    margin: 0.8rem 0 0.9rem;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.pricing-card p {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

.pricing-list {
    padding-left: 1.1rem;
    margin: 1rem 0 0;
    color: var(--muted);
}

.pricing-list li {
    margin-bottom: 0.7rem;
}

.pricing-note {
    margin-top: 1.2rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 860px;
}

.member-role,
.feature-project-tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(91, 167, 255, 0.12);
    color: #d9e8ff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.member-card p,
.feature-project-card p {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.member-avatar,
.feature-project-media {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.member-avatar img,
.feature-project-media img {
    display: block;
    width: 100%;
    height: auto;
}

.member-avatar img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.feature-project-media img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.project-slider-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.project-slider {
    overflow: hidden;
}

.project-slider-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.project-slide {
    flex: 0 0 25%;
    min-width: 25%;
    padding: 0 0.7rem;
}

.feature-project-card--slider {
    margin: 0;
}

.project-slider-arrow {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.project-slider-arrow:hover,
.project-slider-arrow:focus {
    transform: translateY(-1px);
    background: rgba(91, 167, 255, 0.14);
    border-color: rgba(91, 167, 255, 0.3);
}

.project-slider-arrow--side {
    flex-shrink: 0;
}

.check-list,
.stack-cards {
    display: grid;
    gap: 1rem;
}

.check-list div {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stack-cards article {
    padding: 1.4rem;
    border-radius: 24px;
}

.stack-cards span,
.timeline-item span,
.project-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.8rem;
    border-radius: 999px;
    background: rgba(70, 212, 177, 0.14);
    color: #d7fff2;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.contact-section {
    padding-bottom: 6rem;
}

.contact-list,
.footer-list {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.contact-list li,
.footer-list li {
    margin-bottom: 0.85rem;
}

.form-control,
.form-select {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 0.9rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(70, 212, 177, 0.48);
    box-shadow: 0 0 0 0.25rem rgba(70, 212, 177, 0.16);
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
}

.form-select option {
    color: #09111f;
}

.site-footer {
    padding: 0 0 2rem;
}

.admin-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.admin-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.admin-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text);
    --bs-table-border-color: rgba(255, 255, 255, 0.08);
}

.admin-table thead th {
    color: #d5f7ef;
    font-weight: 600;
    white-space: nowrap;
}

.admin-table td,
.admin-table th {
    padding: 1rem 0.9rem;
}

.message-cell {
    min-width: 280px;
    color: var(--muted);
}

.support-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.support-status--open {
    background: rgba(70, 212, 177, 0.14);
    color: #d7fff2;
}

.support-status--pending_customer {
    background: rgba(91, 167, 255, 0.14);
    color: #d8e7ff;
}

.support-status--closed {
    background: rgba(255, 255, 255, 0.1);
    color: #d7dfec;
}

.site-footer h3,
.site-footer h4 {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.site-footer h3 {
    font-size: 1.4rem;
    line-height: 1.25;
}

.footer-card {
    padding: 1.6rem;
    border-radius: 28px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.floating-support {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1080;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 14px;
    transition: transform 0.25s ease;
}

.floating-support.is-scrolled {
    transform: translateY(-8px);
}

.support-panel {
    width: min(360px, calc(100vw - 32px));
    padding: 1.1rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 19, 35, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 28px 60px rgba(3, 10, 22, 0.42);
}

.support-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.support-panel h3 {
    margin-bottom: 0.45rem;
    font-size: 1.08rem;
    line-height: 1.35;
}

.support-panel p {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.support-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
}

.support-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.support-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 16px;
    padding: 0.75rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-action--facebook {
    background: linear-gradient(135deg, #1877f2, #2746d9);
}

.support-action--zalo {
    background: linear-gradient(135deg, #00a3ff, #1662ff);
}

.support-action--hotline {
    background: linear-gradient(135deg, #10b981, #46d4b1);
    color: #05111c;
}

.support-form {
    display: grid;
    gap: 0.8rem;
}

.support-form__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.support-form__note {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.support-thread-card {
    display: grid;
    gap: 1rem;
}

.support-thread {
    display: grid;
    gap: 1rem;
    max-height: 620px;
    overflow-y: auto;
    padding-right: 0.35rem;
}

.chat-message {
    max-width: 88%;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.chat-message--guest {
    justify-self: flex-start;
    border-top-left-radius: 8px;
}

.chat-message--staff {
    justify-self: flex-end;
    background: linear-gradient(135deg, rgba(70, 212, 177, 0.16), rgba(91, 167, 255, 0.12));
    border-top-right-radius: 8px;
}

.chat-message__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.45rem;
    font-size: 0.84rem;
    color: var(--muted);
}

.chat-message__body {
    font-size: 0.96rem;
    line-height: 1.7;
}

.support-reply-form {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.support-dock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.support-fab {
    min-width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 18px 36px rgba(3, 10, 22, 0.28);
}

.support-fab--facebook {
    background: linear-gradient(135deg, #1877f2, #2746d9);
}

.support-fab--zalo {
    background: linear-gradient(135deg, #00a3ff, #1662ff);
}

.support-fab--hotline {
    background: linear-gradient(135deg, #10b981, #46d4b1);
    color: #05111c;
}

.support-fab--chat {
    padding: 0 1rem;
    background: linear-gradient(135deg, #ffffff, #dff6ff);
    color: #07111d;
    border: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.16s;
}

.delay-3 {
    transition-delay: 0.24s;
}

.delay-4 {
    transition-delay: 0.32s;
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 1.6rem;
    }

    .project-slide {
        flex-basis: 50%;
        min-width: 50%;
    }

    .hero-metrics,
    .timeline,
    .brand-marquee {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-copy h1 {
        max-width: 15ch;
    }

    .page-title,
    .section-heading h2,
    .solution-panel h2,
    .contact-info h2 {
        max-width: 20ch;
    }
}

@media (max-width: 767.98px) {
    .brand-logo {
        height: 56px;
    }

    .project-slider-arrow {
        width: 42px;
        height: 42px;
    }

    .project-slide {
        flex-basis: 100%;
        min-width: 100%;
        padding: 0;
    }

    .floating-support {
        right: 14px;
        bottom: 14px;
        gap: 10px;
    }

    .support-panel {
        width: min(340px, calc(100vw - 20px));
    }

    .support-actions-grid {
        grid-template-columns: 1fr;
    }

    .support-fab {
        min-width: 52px;
        height: 52px;
    }

    .chat-message {
        max-width: 100%;
    }

    .hero-metrics,
    .timeline,
    .brand-marquee {
        grid-template-columns: 1fr;
    }

    .section-space {
        padding: 4rem 0;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .hero-copy h1 {
        max-width: none;
        font-size: clamp(1.7rem, 7vw, 2.3rem);
        line-height: 1.12;
    }

    .page-title,
    .section-heading h2,
    .solution-panel h2,
    .contact-info h2,
    .site-footer h3 {
        max-width: none;
    }

    .page-title {
        font-size: clamp(1.65rem, 6vw, 2.1rem);
        line-height: 1.15;
    }

    .section-heading h2,
    .solution-panel h2,
    .contact-info h2 {
        font-size: clamp(1.4rem, 5.4vw, 1.9rem);
        line-height: 1.22;
    }

    .lead {
        font-size: 0.94rem;
        line-height: 1.65;
    }
}
