/* ════════════════════════════════════════════════════════════════
   ORBIS GLOBAL FOOTER v3.3 - FOUR LINES
   Line 1: ORBIS + icons + CTA
   Line 2: Columns (on marquee)
   Line 3: HOSPITALITY INTELLIGENCE
   Line 4: Copyright + legal links
   ════════════════════════════════════════════════════════════════ */

/* ── Shell ───────────────────────────────────────────────────── */
#orbis-footer {
    width: 100%;
    background: #81FF28;
    position: relative;
    overflow: clip;
    z-index: 5;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(32px, 5vh, 64px) 0;
}

/* Upper group: Line 1 at top, Line 2 centered in remaining space */
.of-upper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Lower group: Lines 3+4, pushed to bottom */
.of-lower {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vh, 24px);
}

/* ── Marquee - DO NOT TOUCH positioning ─────────────────────── */
.of-marquee {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    overflow: clip;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.of-marquee-track {
    display: flex;
    white-space: nowrap;
    animation: ofMarqueeScroll 600s linear infinite;
    will-change: transform;
}
@keyframes ofMarqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.of-marquee-word {
    font-family: 'Inter', sans-serif;
    font-size: 70vh;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.06em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(6,6,6,0.08);
    white-space: nowrap;
    display: block;
    padding-right: 4vw;
    text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════════
   LINE 1: ORBIS + Agent Icons + CTA
   ════════════════════════════════════════════════════════════════ */
.of-top {
    padding: 0 clamp(24px, 5vw, 80px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
    flex-shrink: 0;
}
.of-giant-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.of-giant {
    font-family: 'Inter', sans-serif;
    font-size: clamp(48px, 10vw, 160px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.06em;
    line-height: 0.85;
    color: #fff;
    user-select: none;
}
.of-giant-sub {
    font-family: 'DM Mono', monospace;
    font-weight: 600;
    color: rgba(6,6,6,0.55);
    margin-top: 8px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Agent Icons */
.of-agents {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3.5vw, 56px);
    flex: 1;
}
.of-agent-icon {
    width: clamp(36px, 5vw, 64px);
    height: clamp(36px, 5vw, 64px);
    object-fit: contain;
    flex-shrink: 0;
}

/* CTA Button */
.of-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 14px 32px;
    border: none;
    font-size: 13px;
    background-color: transparent;
    border-radius: 100px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: #060606;
    box-shadow: 0 0 0 2px #060606;
    cursor: pointer;
    overflow: clip;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.of-cta svg {
    position: absolute;
    width: 20px;
    fill: #060606;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.of-cta .arr-1 { right: 14px; }
.of-cta .arr-2 { left: -25%; }
.of-cta .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #060606;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.of-cta .text {
    position: relative;
    z-index: 1;
    transform: translateX(-10px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.of-cta:hover {
    box-shadow: 0 0 0 12px transparent;
    color: #81FF28;
    border-radius: 12px;
}
.of-cta:hover .arr-1 { right: -25%; }
.of-cta:hover .arr-2 { left: 14px; }
.of-cta:hover .text { transform: translateX(10px); }
.of-cta:hover svg { fill: #81FF28; }
.of-cta:hover .circle { width: 200px; height: 200px; opacity: 1; }
.of-cta:active { scale: 0.95; }

/* ════════════════════════════════════════════════════════════════
   LINE 2: 5-Column Grid (sits on the marquee)
   ════════════════════════════════════════════════════════════════ */
.of-columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: clamp(16px, 3vw, 60px);
    padding: 0 clamp(24px, 5vw, 80px);
    margin-top: auto;
    margin-bottom: auto;
}

/* Column: Brand */
.of-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.of-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.of-sys-radar {
    width: 14px;
    height: 14px;
    border: 2px solid #060606;
    border-top-color: transparent;
    border-radius: 50%;
    animation: radarSpin 2s linear infinite;
    flex-shrink: 0;
}
@keyframes radarSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.of-logo-text {
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #060606;
}
.of-desc {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    line-height: 1.8;
    color: rgba(6,6,6,0.4);
    letter-spacing: 0.02em;
    max-width: 260px;
}
.of-prompt { color: #060606; font-weight: 700; }
.of-blink {
    display: inline-block;
    width: 6px;
    height: 10px;
    background-color: #060606;
    animation: terminalBlink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}
@keyframes terminalBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Nav columns */
.of-col-label {
    font-family: 'DM Mono', monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(6,6,6,0.45);
    margin: 0 0 20px 0;
    text-transform: uppercase;
}
.of-col-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.of-link {
    font-family: 'DM Mono', monospace;
    font-size: 15px;
    font-weight: 400;
    color: rgba(6,6,6,0.6);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    display: inline-block;
}
.of-link:hover {
    color: #060606;
    transform: translateX(4px);
}

/* ════════════════════════════════════════════════════════════════
   LINE 3: HOSPITALITY INTELLIGENCE - fits viewport
   ════════════════════════════════════════════════════════════════ */
.of-bottom-giant {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 1;
    color: #060606;
    padding: 0 clamp(24px, 5vw, 80px);
    white-space: nowrap;
    font-size: clamp(32px, 6.8vw, 130px);
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   LINE 4: Copyright + legal - smallest, most subtle
   ════════════════════════════════════════════════════════════════ */
.of-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 clamp(24px, 5vw, 80px);
    flex-shrink: 0;
}
.of-copy-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.of-copy {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(6,6,6,0.4);
}
.of-trademark {
    font-family: 'DM Mono', monospace;
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(6,6,6,0.25);
}
.of-bottom-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}
.of-bottom-link {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(6,6,6,0.3);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}
.of-bottom-link:hover { color: #060606; }

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
    #orbis-footer {
        height: auto;
        min-height: 100vh;
        padding: 32px 0;
        gap: 24px;
    }
    .of-top {
        flex-wrap: wrap;
        padding: 0 20px;
    }
    .of-giant { font-size: clamp(36px, 12vw, 80px); }
    .of-agents {
        order: 3;
        width: 100%;
        gap: 12px;
        justify-content: flex-start;
    }
    .of-agent-icon { width: 28px; height: 28px; }
    .of-cta { padding: 10px 24px; font-size: 11px; }
    .of-marquee-word { font-size: 30vh; }
    .of-columns {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 0 20px;
    }
    .of-brand { grid-column: 1 / -1; }
    .of-desc { display: none; }
    .of-bottom-giant {
        font-size: clamp(24px, 8vw, 60px);
        white-space: normal;
        line-height: 0.95;
        padding: 0 20px;
    }
    .of-bottom { padding: 0 20px; }
    .of-bottom-nav { gap: 12px; }
    .of-bottom-link { font-size: 7px; }
    .of-copy { font-size: 7px; }
}
