/* ----------------------------------------------------
   AI_OFFICER CSS Custom Stylesheet
---------------------------------------------------- */

:root {
    --bg-dark: #07080a;
    --bg-card: #0d0f14;
    --bg-card-hover: #12151d;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.15);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-color-hover: rgba(255, 255, 255, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    scroll-behavior: auto; /* Required for Lenis smooth scroll */
}

/* Custom Selection */
::selection {
    background-color: var(--accent);
    color: #fff;
}

/* ----------------------------------------------------
   2. Intro Loader
---------------------------------------------------- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.loader-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.loader-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
}

.loader-progress {
    font-family: 'Outfit', sans-serif;
    font-size: 120px;
    font-weight: 300;
    line-height: 1;
}

.percent-symbol {
    font-size: 40px;
    vertical-align: super;
}

.loader-status {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-top: 10px;
}

.loader-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ----------------------------------------------------
   3. Navigation Header
---------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 50px;
    mix-blend-mode: difference;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fff;
}

.btn-connect {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    background-color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    display: inline-block;
}

.btn-connect:hover {
    background-color: var(--accent);
    color: #fff;
}

/* ----------------------------------------------------
   4. Hero Section
---------------------------------------------------- */
#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
    overflow: hidden;
}

.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

#ai-core-canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-tagline {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    color: var(--accent);
    letter-spacing: 0.3em;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 80px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.accent-text {
    background: linear-gradient(90deg, #fff, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 50px;
}

.hero-scroll-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelAnim 1.6s infinite;
}

@keyframes scrollWheelAnim {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 10px); }
}

/* Infinite Marquee */
.hero-marquee {
    position: absolute;
    bottom: 5%;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 15px 0;
    background-color: rgba(7, 8, 10, 0.5);
    backdrop-filter: blur(10px);
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    display: inline-block;
}
