/* ===================================
   ROBOTIAN LABS - Custom Styles
   =================================== */

/* CSS Variables */
:root {
    --cream: #ffffff;
    --overlay: 0.40;
}

/* Base Styles */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    height: 100%;
}

body {
    overflow-x: hidden;
    background: #000;
    color: var(--cream);
    font-family: 'Lato', sans-serif;
}

/* Background Video Styles */
.video-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 700ms ease;
    will-change: opacity;
    transform: translateZ(0);
    /* Black & White Filter */
    filter: grayscale(100%) contrast(1.1);
}

.video-bg.active {
    opacity: 1;
}

/* Background Overlay */
#bgOverlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, var(--overlay)) 0%,
        rgba(0, 0, 0, calc(var(--overlay) + 0.1)) 50%,
        rgba(0, 0, 0, var(--overlay)) 100%
    );
}

/* Glass Panel Effects */
.glass-panel {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
}

.nav-panel {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

/* Button Styles */
.btn-tech {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid var(--cream);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Audiowide', cursive;
    letter-spacing: 0.06em;
}

.btn-tech::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.55s ease;
}

.btn-tech:hover::after {
    left: 100%;
}

.btn-tech:hover {
    transform: translateY(-2px);
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Typography */
body, p, h1, h2, h3, h4, h5, h6, span, li, a, button {
    color: var(--cream);
}

.tech-heading {
    font-family: 'Audiowide', cursive;
    letter-spacing: 0.02em;
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.2) 80%,
        transparent 100%
    );
    margin: 5rem auto;
}

/* Reveal Animation */
.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

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

/* Flow Steps */
.flow-step {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 3.6rem;
}

.flow-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Audiowide', cursive;
    font-size: 0.95rem;
}

.flow-line {
    position: absolute;
    left: 1.375rem;
    top: 2.75rem;
    bottom: -3.6rem;
    width: 3px;
    border-left: 3px dashed rgba(255, 255, 255, 0.3);
}

.flow-step:last-child {
    margin-bottom: 0;
}

.flow-step:last-child .flow-line {
    display: none;
}

/* CTA Card Hover */
.cta-card {
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.cta-card:hover {
    border-color: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

/* Link Styles */
a {
    text-decoration: none;
}
