/* Hero section styling - streamlined layout */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--color-text-primary);
    background:
        radial-gradient(circle at 18% 14%, rgba(124, 58, 237, 0.28), transparent 30%),
        radial-gradient(circle at 82% 22%, rgba(54, 14, 199, 0.22), transparent 35%),

        url('../../images/top-bg.png') bottom center / cover no-repeat;
    padding: 0rem 0 2.6rem;
    /* compacted height */
}

.hero__video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 0 1.6rem;
    border-radius: 20px;
    overflow: hidden;
    background: #0f1324;
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

/* Chỉ hiển thị video hero ở trang chủ */
body:not(.page-home) .hero__video {
    display: none;
}

.hero__video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.05);
}

.hero::after {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    opacity: 0.4;
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 1;
}

.hero__layout {
    display: grid;
    gap: 0.6rem;
    /* reduced */
    align-items: center;
    /* Unified two-column layout across all widths */
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.hero__copy {
    display: grid;
    gap: 0.95rem;
    /* tighter */
    justify-items: flex-start;
    text-align: left;
}


.hero__logo-stack {
    position: relative;
}

/* Tag badge (server status) */
.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    background: rgba(44, 32, 72, 0.55);
    border: 1px solid var(--color-gold);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold);
    font-weight: 600;
    box-shadow: 0 0 12px -2px rgba(247, 167, 54, 0.55);
}


.hero__title {
    margin: 0;
    font-size: 3.2rem;
    /* fixed size (no responsive clamp) */
    line-height: 1.08;
    font-weight: 700;
}

.hero__title span {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.hero__title span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--color-purple) 0%, var(--color-gold-bright) 55%, var(--color-purple-light) 100%);
    border-radius: 4px;
    filter: drop-shadow(0 0 6px var(--color-gold-bright));
    opacity: .85;
}

/* Buttons in hero override (use base brand vars) */
.hero .button--gradient {
    background: var(--gradient-brand);
    box-shadow: 0 14px 30px -6px rgba(124, 58, 237, .45), 0 2px 10px rgba(247, 167, 54, .3);
    font-weight: 700;
}

.hero .button--gradient:hover {
    box-shadow: 0 18px 38px -6px rgba(124, 58, 237, .6), 0 0 0 2px var(--color-gold-bright), 0 0 14px rgba(247, 167, 54, .55);
}

.hero .button--outline {
    border: 1.5px solid var(--color-purple-light);
    background: rgba(92, 54, 150, .15);
    color: var(--color-silver);
    font-weight: 600;
}

.hero .button--outline:hover {
    border-color: var(--color-gold-bright);
    color: var(--color-gold-bright);
    background: rgba(247, 167, 54, .15);
}

.button--ghost-dark {
    background: rgba(12, 20, 44, 0.55);
    color: rgba(244, 241, 232, 0.8);
    border: 0;
}

.button--ghost-dark:hover,
.button--ghost-dark:focus {
    background: rgba(12, 20, 44, 0.75);
    color: #f8fafc;
}

/* Hero description refined */
.hero__description {
    margin: 0;
    max-width: 620px;
    font-size: 1.12rem;
    line-height: 1.6;
    color: rgba(244, 241, 232, 0.82);
}

/* Feature boxes row */
.hero__features {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.85rem;
    margin: 0.45rem 0 0.25rem;
    /* compact vertical space */
    padding: 0;
    list-style: none;
    justify-content: flex-start;
    width: 100%;
    overflow: visible;
}

/* subtle inner radial glow */
/* subtle inner radial glow (removed duplicate later) */
.hero__features li::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 65%, rgba(103, 212, 255, 0.18), transparent 70%);
    opacity: 0.85;
    mix-blend-mode: screen;
    pointer-events: none;
}


.hero__feature-title {
    font-size: 1.18rem;
    /* larger text per request */
    letter-spacing: 0.16em;
    font-weight: 700;
    color: rgba(244, 241, 232, 0.96);
    line-height: 1.15;
}

.hero__feature-sub {
    font-size: 1.05rem;
    /* larger for emphasis */
    letter-spacing: 0.09em;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    /* IN HOA */
    color: var(--color-gold-bright);
    text-shadow: 0 0 6px rgba(247, 167, 54, 0.55), 0 0 14px rgba(124, 58, 237, 0.4);
}

/* Feature card glass style (original) */
.hero__features li {
    position: relative;
    width: 162px;
    height: 110px;
    padding: 0.7rem 0.8rem 0.6rem;
    border: 1.5px solid var(--color-purple-light);
    background: linear-gradient(170deg, #2d1e4f 0%, #3a2a5e 55%, #1a1830 100%);
    backdrop-filter: blur(5px);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-align: center;
    box-shadow: 0 14px 30px -10px rgba(92, 54, 150, 0.55), 0 0 0 3px rgba(124, 58, 237, 0.18) inset, 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    flex: 0 0 auto;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

/* generic hover for non-first cards */
.hero__features li:hover,
.hero__features li:focus-within {
    box-shadow: 0 18px 40px -10px rgba(92, 54, 150, 0.65), 0 0 0 3px rgba(124, 58, 237, 0.32) inset, 0 0 18px -2px rgba(124, 58, 237, 0.6), 0 0 34px -8px rgba(247, 167, 54, 0.45);
    transform: translateY(-6px);
}

/* removed duplicate glow & stray lines */


/* Gold variant hover */
.hero__features li:first-child {
    border-color: var(--color-gold-bright);
    box-shadow: 0 14px 30px -10px rgba(124, 58, 237, 0.55), 0 0 0 3px rgba(247, 167, 54, 0.28) inset, 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.hero__features li:first-child:hover,
.hero__features li:first-child:focus-within {
    box-shadow: 0 18px 42px -10px rgba(124, 58, 237, 0.65), 0 0 0 3px rgba(247, 167, 54, 0.42) inset, 0 0 24px -2px rgba(247, 167, 54, 0.75), 0 0 38px -8px rgba(167, 139, 250, 0.55);
    transform: translateY(-6px);
}

/* Removed mobile-only horizontal scroll to keep identical appearance */


.hero__copy {
    gap: 1.3rem;
}


.hero__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.hero__logo-stack {
    position: relative;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    isolation: isolate;
}

.hero__logo-orb {
    position: absolute;
    width: 280px;
    height: 280px;
    background:
        radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.35) 0%, rgba(34, 17, 58, 0.0) 70%),
        radial-gradient(circle at 55% 60%, rgba(255, 215, 0, 0.14) 0%, rgba(34, 17, 58, 0) 70%);
    filter: blur(10px);
    opacity: 0.6;
    z-index: -2;
}

.hero__logo-rays {
    display: none;
}

/* standard actions inside copy */
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.6rem;
}

.hero__actions .button {
    min-width: 140px;
}

/* removed old orb/rays */

.hero__logo-stack img {
    width: 260px;
    /* fixed width */
    height: auto;
    display: block;
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.55));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* Removed all media queries to keep pixel-identical layout on every screen */
