* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #04060b;
    --text-main: #f2f7ff;
    --text-muted: #c6d2e4;
    --lamp-x: 50vw;
    --lamp-y: 50vh;
}

body {
    min-height: 100vh;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: var(--text-main);
    background: var(--bg);
    overflow: hidden;
}

.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 40%, #1a1e2b 0%, #0b0f17 55%, #05070d 100%);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

body.intro-done .intro-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-scene {
    position: relative;
    width: 500px;
    height: 500px;
    display: grid;
    place-items: center;
    perspective: 1400px;
    transition: opacity 0.55s ease;
}

body.intro-final .intro-scene {
    opacity: 0;
}

.intro-core {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 40%),
        radial-gradient(circle at center, #00d4ff 0%, #0066ff 40%, #001a4d 100%);
    box-shadow: 
        0 0 40px rgba(0, 212, 255, 0.8),
        0 0 80px rgba(0, 102, 255, 0.6),
        inset 0 0 30px rgba(255, 255, 255, 0.3);
    animation: coreEnergy 2s ease-in-out infinite;
    z-index: 5;
}

.intro-particles {
    position: absolute;
    inset: -50px;
    background-image:
        radial-gradient(circle, rgba(0, 212, 255, 0.4) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
        radial-gradient(circle, rgba(0, 102, 255, 0.3) 1.5px, transparent 1.5px);
    background-size: 120px 120px, 80px 80px, 60px 60px;
    background-position: 0 0, 40px 40px, 20px 60px;
    opacity: 0.4;
    animation: particleFloat 20s linear infinite;
    z-index: 1;
}

.intro-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.intro-orbit-1 {
    animation: orbitRotate1 4s linear infinite;
}

.intro-orbit-2 {
    animation: orbitRotate2 5s linear infinite;
}

.intro-orbit-3 {
    animation: orbitRotate3 4.5s linear infinite;
}

.intro-orbit-4 {
    animation: orbitRotate4 5.5s linear infinite;
}

.intro-logo-node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
}

.intro-orbit-1 .intro-logo-node {
    transform: translate(-50%, -50%) rotateX(65deg) rotateZ(0deg) translateY(-140px);
}

.intro-orbit-2 .intro-logo-node {
    transform: translate(-50%, -50%) rotateX(-45deg) rotateZ(90deg) translateY(-160px);
}

.intro-orbit-3 .intro-logo-node {
    transform: translate(-50%, -50%) rotateX(20deg) rotateZ(45deg) translateY(-135px);
}

.intro-orbit-4 .intro-logo-node {
    transform: translate(-50%, -50%) rotateX(-60deg) rotateZ(-45deg) translateY(-155px);
}

.intro-logo-node img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
    animation: logoFloat 3s ease-in-out infinite;
}

.intro-reveal-logo {
    position: absolute;
    width: min(48vw, 420px);
    opacity: 0;
    transform: scale(0.62);
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.25));
}

body.intro-final .intro-reveal-logo {
    animation: introRevealOpen 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.language-switch {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.matrix-intro-done .language-switch {
    opacity: 1;
    visibility: visible;
}

.matrix-language-switch {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: matrixLangReveal 0.6s ease-out 0.3s forwards;
    opacity: 0;
    pointer-events: auto;
}

@keyframes matrixLangReveal {
    to {
        opacity: 1;
    }
}

.lang-btn {
    border: 0;
    border-radius: 999px;
    padding: 7px 10px;
    min-width: 42px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #deecff;
    background: transparent;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    outline: none;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.92);
    color: #11243b;
}

.matrix-lang-btn {
    border: 0;
    border-radius: 999px;
    padding: 7px 10px;
    min-width: 42px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #deecff;
    background: transparent;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.matrix-lang-btn:hover,
.matrix-lang-btn:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    outline: none;
}

.matrix-lang-btn.active {
    background: rgba(255, 255, 255, 0.92);
    color: #11243b;
}

.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
}

.scroll-indicator.is-up .scroll-arrow {
    transform: rotate(180deg);
}

.scroll-indicator.is-up .scroll-icon::before {
    animation-name: scrollUp;
}

.scroll-icon {
    width: 22px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.scroll-arrow span {
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.82);
    border-bottom: 2px solid rgba(255, 255, 255, 0.82);
    transform: rotate(45deg);
    animation: arrowPulse 1.2s ease-in-out infinite;
}

.scroll-arrow span:last-child {
    margin-top: -3px;
    animation-delay: 0.2s;
}

.navigation-dots {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.nav-dot-label {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
}

.nav-dot:hover .nav-dot-label {
    opacity: 1;
    visibility: visible;
    right: 26px;
}

.nav-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.5);
}

.fullscreen-section {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.05), transparent 60%), var(--bg);
}

#section-0 {
    background-color: #34032b;
    background-image: url('images/home-mobile.png');
    background-repeat: no-repeat;
    background-position: 50% 40%;
    background-size: auto;
}

#section-0 .section-content {
    margin-top: 0;
}

#section-0 .companies-grid {
    margin-top: calc(0px + 10cm);
}

.fullscreen-section.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.fullscreen-section.transitioning {
    z-index: 3;
}

.section-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    animation: fadeInUp 1s ease-out;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.2s forwards;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.02em;
    line-height: 0.95;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInScale 0.8s ease-out 0.4s forwards;
}

#mainTitle {
    white-space: nowrap;
    font-size: clamp(1rem, 4.6vw, 5rem);
}

.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.6s forwards;
}

#mainSubtitle {
    font-family: 'Space Grotesk', 'IBM Plex Sans', 'Manrope', sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px auto 0;
    max-width: 900px;
}

.company-card {
    padding: 20px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.company-card:nth-child(1) {
    animation-delay: 0.8s;
}

.company-card:nth-child(2) {
    animation-delay: 1s;
}

.company-card:nth-child(3) {
    animation-delay: 1.2s;
}

.company-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.company-card-logo {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    object-fit: contain;
    padding: 8px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
    transition: filter 0.3s ease;
}

.company-card:hover .company-card-logo {
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 50px rgba(255, 255, 255, 0.3));
}

.card-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #e7a811;
    margin-top: 20px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-name-img {
    height: 32px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-name-img img {
    width: 67%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.95;
}

.company-card[data-company="vr"] .company-card-logo {
    width: 110px;
    height: 110px;
    margin-bottom: -12px;
}

.company-card[data-company="vr"] .card-name-img img {
    width: 58%;
}

.company-card[data-company="it"] .card-name-img img {
    width: 58%;
}

.card-name-itechno {
    font-family: 'ADRIANA', 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-top: 20px;
}

.company-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.05em;
}

.company-logo {
    width: 220px;
    height: 220px;
    margin: 0 auto 30px;
    display: grid;
    place-items: center;
    opacity: 0;
    animation: fadeInScale 0.8s ease-out 0.3s forwards;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.company-name-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #e7a811;
    margin: 0 auto 30px;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.5s forwards;
}

.company-name-logo-img {
    height: 50px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.5s forwards;
}

.company-name-logo-img img {
    width: 70%;
    max-width: 400px;
    max-height: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #e5edff;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.5s forwards;
}

.section-description-tech {
    font-family: 'Space Grotesk', monospace;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
}

.section-description-vr {
    font-family: 'Orbitron', 'Space Grotesk', sans-serif;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
}

html[lang="az"] .section-description-vr {
    /* Better legibility for Azerbaijani diacritics while keeping VR feel */
    font-family: 'IBM Plex Sans', 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.section-link {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.7s forwards;
}

.section-link:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

#section-1 .section-link:hover {
    background: #e7a811;
    border-color: #e7a811;
    color: #141414;
}

#section-2 .section-link:hover {
    background: #141414;
    border-color: #141414;
    color: #ffffff;
}

#section-2 .section-link {
    color: #141414;
}

/* Theme colors for company sections */
#section-1 {
    background: #34032b;
}

#section-2 {
    background: #fab800;
    overflow: hidden;
}

#section-2::before {
    content: '';
    position: absolute;
    inset: -15%;
    background:
        radial-gradient(circle at 24% 28%, rgba(250, 184, 0, 0.2) 0%, rgba(250, 184, 0, 0.04) 28%, rgba(250, 184, 0, 0) 48%),
        radial-gradient(circle at 76% 72%, rgba(250, 184, 0, 0.16) 0%, rgba(250, 184, 0, 0.03) 30%, rgba(250, 184, 0, 0) 52%);
    filter: blur(16px);
    pointer-events: none;
    z-index: 0;
    animation: vrBeeDrift 14s ease-in-out infinite;
}

#section-2::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(300px 300px at var(--lamp-x) var(--lamp-y), rgba(255, 219, 138, 0.14) 0%, rgba(255, 219, 138, 0.07) 35%, rgba(255, 219, 138, 0) 78%),
        radial-gradient(560px 560px at var(--lamp-x) var(--lamp-y), rgba(250, 184, 0, 0.08) 0%, rgba(250, 184, 0, 0) 84%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.35s ease;
}

body.vr-lamp #section-2::after {
    opacity: 1;
}

#section-2 .section-content {
    position: relative;
    z-index: 2;
}

#section-2 .company-logo {
    width: 220px;
    height: 220px;
}

#section-2 .company-logo img {
    filter: drop-shadow(0 0 12px rgba(250, 184, 0, 0.32)) drop-shadow(0 0 6px rgba(0, 0, 0, 0.6));
}

#section-3 {
    background-color: #31113e;
    overflow: hidden;
}

#section-3::before {
    content: '';
    position: absolute;
    inset: -15%;
    filter: blur(16px);
    pointer-events: none;
    z-index: 0;
    animation: itechnoDrift 14s ease-in-out infinite;
}

#section-3::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.35s ease;
}

body.it-lamp #section-3::after {
    opacity: 1;
}

#section-3 .section-content {
    position: relative;
    z-index: 2;
}

#section-3 .section-description {
    color: #ebebeb;
}

#section-3 .section-description-tech {
    letter-spacing: 0.08em;
}

#section-3 .company-name-logo-img img {
    filter: grayscale(1) brightness(1.22) contrast(1.05);
}

#section-3 .section-link {
    background: rgba(16, 16, 16, 0.72);
    border-color: rgba(232, 232, 232, 0.45);
    color: #ebebeb;
    box-shadow: 0 8px 20px rgba(16, 16, 16, 0.45);
}

#section-3 .section-link:hover {
    background: #ebebeb;
    border-color: #ebebeb;
    color: #141414;
}

#section-4 {
    background: #34032b;
}

.contact-section {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

#section-4 .section-kicker,
#section-4 .section-title {
    color: #e2e2e3;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 35px auto 0;
    align-items: stretch;
}

.contact-map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(231, 168, 17, 0.45);
    opacity: 0;
    animation: fadeInScale 0.8s ease-out 0.4s forwards;
}

.contact-map {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) brightness(0.9);
    transition: filter 0.4s ease;
}

.contact-map-wrapper:hover .contact-map {
    filter: grayscale(0%) brightness(1);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(231, 168, 17, 0.08);
    border: 1px solid rgba(231, 168, 17, 0.35);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    cursor: pointer;
}

.contact-item:nth-child(1) {
    animation-delay: 0.6s;
}

.contact-item:nth-child(2) {
    animation-delay: 0.75s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.9s;
}

.contact-item:nth-child(4) {
    animation-delay: 1.05s;
}

.contact-item:hover {
    transform: translateX(8px);
    background: rgba(231, 168, 17, 0.14);
    border-color: rgba(231, 168, 17, 0.65);
    box-shadow: 0 8px 32px rgba(231, 168, 17, 0.22);
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(231, 168, 17, 0.12);
    border: 1px solid rgba(231, 168, 17, 0.55);
    transition: all 0.4s ease;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: #e7a811;
    transition: all 0.4s ease;
}

.contact-item:hover .contact-icon {
    background: rgba(231, 168, 17, 0.2);
    border-color: rgba(231, 168, 17, 0.8);
    transform: scale(1.1) rotate(5deg);
}

.contact-item:hover .contact-icon svg {
    color: #e7a811;
    transform: scale(1.1);
}

.contact-details {
    flex: 1;
    text-align: left;
}

.contact-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    color: #e2e2e3;
    text-transform: uppercase;
    opacity: 0.9;
}

.contact-item p {
    font-size: 0.95rem;
    color: #e2e2e3;
    line-height: 1.5;
    font-weight: 500;
}

.contact-item a {
    color: #e2e2e3;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-item a:hover {
    color: #e7a811;
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}



@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 26px;
        opacity: 0;
    }
}

@keyframes scrollUp {
    0% {
        top: 26px;
        opacity: 1;
    }
    100% {
        top: 8px;
        opacity: 0;
    }
}

@keyframes arrowPulse {
    0%,
    100% {
        opacity: 0.35;
        transform: rotate(45deg) translate(0, 0);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) translate(2px, 2px);
    }
}

@keyframes itechnoDrift {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-30px, -30px);
    }
    50% {
        transform: translate(20px, 15px);
    }
    75% {
        transform: translate(-15px, 25px);
    }
}

@keyframes vrBeeDrift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.82;
    }
    50% {
        transform: translate3d(-2.8%, 2.8%, 0) scale(1.06);
        opacity: 1;
    }
}

@keyframes vrBeeGlow {
    0%,
    100% {
        opacity: 0.55;
    }
    50% {
        opacity: 0.92;
    }
}

@keyframes orbitRotate1 {
    from { transform: rotateY(0deg) rotateX(15deg); }
    to { transform: rotateY(360deg) rotateX(15deg); }
}

@keyframes orbitRotate2 {
    from { transform: rotateY(0deg) rotateX(-20deg); }
    to { transform: rotateY(360deg) rotateX(-20deg); }
}

@keyframes orbitRotate3 {
    from { transform: rotateY(360deg) rotateX(10deg); }
    to { transform: rotateY(0deg) rotateX(10deg); }
}

@keyframes orbitRotate4 {
    from { transform: rotateY(0deg) rotateX(-25deg); }
    to { transform: rotateY(360deg) rotateX(-25deg); }
}

@keyframes coreEnergy {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 40px rgba(0, 212, 255, 0.8),
            0 0 80px rgba(0, 102, 255, 0.6),
            inset 0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 
            0 0 60px rgba(0, 212, 255, 1),
            0 0 100px rgba(0, 102, 255, 0.8),
            inset 0 0 40px rgba(255, 255, 255, 0.5);
    }
}

@keyframes particleFloat {
    from {
        transform: translate(0, 0) rotate(0deg);
    }
    to {
        transform: translate(-20px, -20px) rotate(360deg);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateZ(0px) scale(1);
    }
    50% {
        transform: translateZ(15px) scale(1.08);
    }
}

@keyframes introRevealOpen {
    0% {
        opacity: 0;
        transform: scale(0.62);
    }
    35% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(3.8);
    }
}


@media (max-width: 900px) {
    #section-0 .section-content {
        margin-top: 0;
        padding: 16px;
    }

    #section-0 {
        background-position: 50% 50%;
        background-size: min(620px, 100vw);
    }

    #section-0 .companies-grid {
        margin-top: clamp(300px, 54vh, 430px);
        max-width: 100%;
        gap: 8px;
    }

    .companies-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .company-card {
        min-height: 102px;
        padding: 8px 6px;
        border-radius: 12px;
    }

    .company-card-logo {
        width: 52px;
        height: 52px;
        margin-bottom: 6px;
        padding: 4px;
    }

    .company-card[data-company="vr"] .company-card-logo {
        width: 58px;
        height: 58px;
        margin-bottom: 0;
    }

    .card-name {
        font-size: 0.82rem;
        margin-top: 6px;
        height: 18px;
        letter-spacing: 0.06em;
    }

    .card-name-img {
        height: 16px;
        margin-top: 6px;
    }

    .card-name-img img {
        width: 82%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-map-wrapper {
        height: 170px;
    }

    .contact-info {
        gap: 15px;
    }

    .contact-item {
        padding: 20px;
    }

    .contact-item:hover {
        transform: translateY(-5px);
    }

    .navigation-dots {
        right: 20px;
    }

    .section-content {
        padding: 20px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .language-switch {
        top: 16px;
    }
}

@media (max-width: 560px) {
    #section-0 {
        background-size: min(460px, 138vw);
    }

    #section-0 .companies-grid {
        margin-top: clamp(320px, 58vh, 450px);
        gap: 6px;
    }

    .company-card {
        min-height: 90px;
        padding: 6px 4px;
    }

    .company-card-logo {
        width: 44px;
        height: 44px;
        margin-bottom: 4px;
    }

    .company-card[data-company="vr"] .company-card-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
    }

    .card-name {
        font-size: 0.68rem;
        letter-spacing: 0.03em;
        margin-top: 4px;
        height: 14px;
    }

    .card-name-img {
        height: 14px;
        margin-top: 4px;
    }

    .card-name-img img {
        width: 88%;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* Reserved for future animations */
}

/* ========================================
   MATRIX INTRO OVERLAY STYLES
   ======================================== */

.matrix-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: #34032b;
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease-out, visibility 1s ease-out;
    pointer-events: auto;
}

body.matrix-intro-done .matrix-intro-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
}

#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.matrix-holo-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

.matrix-content-wrapper {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: auto;
}

.matrix-main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    color: #00d4ff;
    text-shadow: 
        0 0 10px rgba(0, 212, 255, 0.8),
        0 0 20px rgba(0, 212, 255, 0.6),
        0 0 30px rgba(0, 212, 255, 0.4),
        0 0 40px rgba(0, 102, 255, 0.3);
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
    animation: matrixTitleReveal 0.6s ease-out 0.05s forwards;
    margin-bottom: 20px;
}

@keyframes matrixTitleReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.matrix-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    letter-spacing: 0.3em;
    color: rgba(0, 212, 255, 0.7);
    text-transform: uppercase;
    opacity: 0;
    animation: matrixSubtitleReveal 0.45s ease-out 0.15s forwards;
    margin-bottom: 60px;
}

@keyframes matrixSubtitleReveal {
    to { opacity: 1; }
}

.matrix-logos-container {
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: matrixLogosReveal 0.6s ease-out 0.15s forwards;
}

@keyframes matrixLogosReveal {
    to { opacity: 1; }
}

.matrix-rb-logolar {
    max-width: min(1350px, 95vw);
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 0 18px rgba(250, 184, 0, 0.3));
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.matrix-rb-logolar:hover {
    opacity: 1;
    filter: drop-shadow(0 0 28px rgba(250, 184, 0, 0.55));
}

.matrix-enter-button {
    position: relative;
    padding: 14px 30px;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    margin-top: 80px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-main);
    background: rgba(12, 16, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    cursor: pointer;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: matrixButtonReveal 0.55s ease-out 0.2s forwards;
    box-shadow: 
        0 8px 22px rgba(0, 0, 0, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

@keyframes matrixButtonReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.matrix-enter-button::before {
    content: none;
}

@keyframes matrixButtonShine {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.matrix-enter-button:hover {
    transform: translateY(-2px);
    background: #fab800;
    color: #1a1300;
    border-color: #fab800;
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.24),
        0 0 18px rgba(250, 184, 0, 0.45);
}

.matrix-enter-button:active {
    transform: translateY(-1px);
}

.matrix-status-text {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-main);
    text-shadow: none;
    z-index: 4;
    padding: 12px 24px;
    border-radius: 12px;
    background: rgba(8, 10, 18, 0.35);
    border: 1px solid rgba(235, 172, 33, 0.25);
    backdrop-filter: blur(4px);
    opacity: 0;
    animation: matrixStatusBlink 2s ease-in-out 0.4s infinite;
}

@keyframes matrixStatusBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Mobile adjustments for Matrix intro */
@media (max-width: 768px) {
    .matrix-language-switch {
        top: 20px;
        right: 20px;
        padding: 6px;
        gap: 6px;
    }

    .matrix-lang-btn {
        padding: 6px 10px;
    }

    .matrix-logos-container {
        margin: 0;
    }

    .matrix-rb-logolar {
        max-width: 135vw;
    }
    
    .matrix-enter-button {
        padding: 14px 40px;
        font-size: 0.95rem;
    }

    .matrix-status-text {
        font-size: 0.65rem;
        bottom: 30px;
        width: max-content;
    }
}
