:root {
    --space-bg: linear-gradient(140deg, #040a18 0%, #071733 40%, #132b55 100%);
    --glass-bg: linear-gradient(135deg, rgba(18, 32, 68, 0.9), rgba(12, 42, 74, 0.55));
    --glass-border: rgba(120, 168, 255, 0.25);
    --accent: #6b8dff;
    --accent-hot: #8f5bff;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", "Segoe UI", sans-serif;
    background: var(--space-bg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: #f4f8ff;
    overflow-x: hidden;
    position: relative;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.home-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 6rem clamp(2rem, 4vw, 6rem) 4rem;
    gap: 3rem;
    position: relative;
    isolation: isolate;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(111, 148, 255, 0.12), transparent 58%),
        radial-gradient(circle at 82% 22%, rgba(148, 101, 255, 0.14), transparent 52%),
        linear-gradient(160deg, rgba(22, 44, 84, 0.5), transparent 65%);
    z-index: -1;
    filter: blur(16px);
}

.hero-copy {
    flex: 1 1 420px;
    max-width: 560px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 70px rgba(5, 18, 42, 0.6);
    position: relative;
    overflow: hidden;
}

.hero-copy::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(111, 148, 255, 0.18), rgba(144, 99, 255, 0.05));
    opacity: 0.7;
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(79, 243, 255, 0.14);
    color: #87f6ff;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    font-size: clamp(2.5rem, 3.6vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 1.5rem 0 1.25rem;
    color: #f6fbff;
}

.hero-copy p {
    color: rgba(239, 247, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero-actions .btn-primary {
    background: linear-gradient(120deg, rgba(102, 144, 255, 0.95), rgba(143, 92, 255, 0.95));
    box-shadow: 0 18px 45px rgba(110, 135, 255, 0.42);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:focus {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 24px 55px rgba(110, 135, 255, 0.48);
}

.shadow-glow {
    box-shadow: 0 15px 40px rgba(79, 243, 255, 0.35);
    border: none;
}

.hero-tour {
    border-color: rgba(255, 255, 255, 0.35);
    color: #f4f8ff;
    backdrop-filter: blur(8px);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.hero-metrics dt {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(135, 246, 255, 0.85);
    margin-bottom: 0.35rem;
}

.hero-metrics dd {
    margin: 0;
    color: rgba(239, 247, 255, 0.75);
    font-size: 0.95rem;
}

.hero-hologram {
    flex: 1 1 420px;
    min-width: 360px;
    display: flex;
    justify-content: center;
    position: relative;
}

.hologram-stage {
    width: min(560px, 80vw);
    aspect-ratio: 1;
    position: relative;
    border-radius: 28px;
    border: 1px solid rgba(99, 180, 255, 0.3);
    overflow: hidden;
    background: radial-gradient(circle at 30% 30%, rgba(79, 243, 255, 0.12), transparent 60%),
                rgba(4, 12, 27, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: 0 35px 80px rgba(0, 12, 40, 0.65);
}

#hologramCanvas {
    position: absolute;
    inset: 0;
}

#hologramCanvas canvas {
    position: absolute;
    inset: 0;
}

.hologram-ui {
    position: absolute;
    inset: auto 1.75rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: linear-gradient(145deg, rgba(9, 18, 42, 0.6), rgba(9, 24, 55, 0.2));
    border: 1px solid rgba(79, 243, 255, 0.25);
    border-radius: 18px;
    padding: 1rem 1.25rem;
    backdrop-filter: blur(14px);
}

.hint {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(160, 235, 255, 0.8);
}

.hologram-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.chip {
    font-size: 0.85rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(79, 243, 255, 0.12);
    color: rgba(238, 249, 255, 0.85);
    border: 1px solid rgba(79, 243, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    padding: 1rem clamp(2rem, 4vw, 6rem) 6rem;
    position: relative;
}

.home-highlights::before {
    content: "";
    position: absolute;
    inset: 0 10% auto 10%;
    height: 40%;
    background: radial-gradient(circle, rgba(110, 150, 255, 0.08), transparent 65%);
    z-index: -1;
}

.highlight-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 18px 48px rgba(4, 12, 30, 0.45);
}

.highlight-card::before {
    content: "";
    position: absolute;
    inset: -120% 50% auto -60%;
    padding-bottom: 220%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 243, 255, 0.18), transparent 70%);
    transform: translateX(-50%);
    transition: opacity 0.4s ease;
}

.highlight-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(79, 243, 255, 0.4);
    box-shadow: 0 28px 60px rgba(5, 18, 45, 0.55);
}

.highlight-card:hover::before {
    opacity: 0.9;
}

.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(79, 243, 255, 0.18);
    border: 1px solid rgba(79, 243, 255, 0.25);
    margin-bottom: 1.5rem;
    color: #9ef1ff;
    font-size: 1.75rem;
}

.highlight-card h2 {
    font-size: 1.45rem;
    margin-bottom: 0.9rem;
    color: #f6fbff;
}

.highlight-card p {
    color: rgba(230, 244, 255, 0.78);
    line-height: 1.6;
    margin: 0;
}

.team-gallery {
    padding: 0 clamp(2rem, 4vw, 6rem) 7rem;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    position: relative;
}

.team-gallery::before {
    content: "";
    position: absolute;
    inset: -10% 20% auto 15%;
    height: 60%;
    background: radial-gradient(circle at 20% 20%, rgba(111, 148, 255, 0.14), transparent 65%);
    z-index: -1;
}

.team-header {
    max-width: 640px;
}

.team-tag {
    display: inline-flex;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(180, 244, 255, 0.85);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.team-header h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
    color: #f6fbff;
}

.team-header p {
    color: rgba(232, 244, 255, 0.75);
    line-height: 1.7;
    margin: 0;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.team-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.team-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(79, 243, 255, 0.25);
    box-shadow: 0 18px 45px rgba(5, 16, 40, 0.55);
    cursor: pointer;
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
    isolation: isolate;
    aspect-ratio: 3 / 4;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.1);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.team-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 10, 22, 0.05) 0%, rgba(3, 14, 32, 0.82) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    gap: 0.65rem;
    color: rgba(236, 247, 255, 0.82);
    opacity: 0.95;
    transition: background 0.45s ease, color 0.45s ease;
}

.team-card__overlay h3 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    color: #f4fbff;
}

.team-card__overlay p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(224, 242, 255, 0.8);
}

.team-card::before {
    content: "";
    position: absolute;
    inset: -30% -30% auto auto;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(79, 243, 255, 0.6), transparent 60%);
    opacity: 0;
    transform: translateY(40%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(79, 243, 255, 0.5);
    box-shadow: 0 28px 65px rgba(8, 20, 52, 0.68);
}

.team-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.3);
}

.team-card:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover .team-card__overlay {
    background: linear-gradient(180deg, rgba(4, 18, 36, 0.05) 0%, rgba(12, 38, 72, 0.85) 100%);
}

@media (max-width: 992px) {
    .home-hero {
        padding-top: 5rem;
    }

    .hero-copy,
    .hero-hologram {
        flex: 1 1 100%;
        max-width: none;
    }

    .hologram-stage {
        width: min(520px, 90vw);
        margin-inline: auto;
    }
}

@media (max-width: 576px) {
    .home-hero {
        padding: 4.5rem 1.5rem 3rem;
    }

    .hero-copy {
        padding: 2rem;
    }

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

    .hero-tour {
        width: 100%;
    }

    .home-highlights {
        padding: 0 1.5rem 4rem;
    }

    .team-gallery {
        padding: 0 1.5rem 4.5rem;
    }
}
