/* ================================================
   DualSense™ — Landing Page Styles
   ================================================ */

/* CSS Variables mapped from the design system */
:root {
    --bg-main: #EAEAE5;
    --bg-secondary: #F5F5F0;
    --text-primary: #1C1C1C;
    --text-secondary: #6B6B6B;
    --border-color: #D4D4CD;
    --accent: #1C1C1C;
}

/* ================================================
   BASE STYLES
   ================================================ */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: clip;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================================
   LENIS SMOOTH SCROLLING
   ================================================ */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* ================================================
   PREMIUM TYPOGRAPHY VISUALS
   ================================================ */
.text-transparent-stroke {
    -webkit-text-stroke: 1.5px rgba(28, 28, 28, 0.35);
    -webkit-text-fill-color: transparent;
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.08) 0%, rgba(28, 28, 28, 0.02) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.gradient-text {
    background: linear-gradient(135deg, #1C1C1C 0%, #6B6B6B 50%, #1C1C1C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grid-bg {
    background-size: 60px 60px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

/* ================================================
   COMPONENT ANIMATIONS & SHADOWS
   ================================================ */
@keyframes shimmer {
    from {
        transform: translateX(-100%) skewX(-15deg);
    }

    to {
        transform: translateX(200%) skewX(-15deg);
    }
}

.beam-button {
    position: relative;
    overflow: hidden;
}

.beam-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.beam-button:hover::before {
    left: 100%;
}

.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 30px rgba(28, 28, 28, 0.12);
    transform: translateY(-2px);
}

@keyframes conicSpin {
    to {
        transform: rotate(360deg);
    }
}

.conic-border {
    position: relative;
    overflow: hidden;
}

.conic-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    background: conic-gradient(from 0deg, transparent 0deg 340deg, rgba(255, 255, 255, 0.4) 360deg);
    animation: conicSpin 3s linear infinite;
    border-radius: inherit;
}

/* ================================================
   FLOATING ORBS (Cinematic Depth)
   ================================================ */
@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -40px) scale(1.1);
    }
}

.orb-1 {
    animation: float1 8s ease-in-out infinite;
}

/* ================================================
   FLASHLIGHT CARD EFFECT
   ================================================ */
.flashlight-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: border-color 0.5s ease;
}

.flashlight-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.flashlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle 400px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.08), transparent 80%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.flashlight-card:hover::before {
    opacity: 1;
}

/* ================================================
   SPLITTYPE LAYOUT RESET
   ================================================ */
.char {
    display: inline-block;
}

/* ================================================
   HERO SECTION — STATIC FULLSCREEN
   ================================================ */
.hero-container {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Clean top navigation */
.nav-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 50;
}

/* ================================================
   CUSTOM PRECISION CURSOR
   ================================================ */
@media (pointer: fine) {
    body {
        cursor: none;
    }

    a,
    button,
    .cursor-pointer {
        cursor: none;
    }

    #cursor-dot,
    #cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        will-change: transform;
    }

    #cursor-dot {
        width: 6px;
        height: 6px;
        background: white;
        border-radius: 50%;
        transition: width 0.3s, height 0.3s, opacity 0.3s;
    }

    #cursor-ring {
        width: 36px;
        height: 36px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
    }

    body.cursor-hover #cursor-dot {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

    body.cursor-hover #cursor-ring {
        width: 60px;
        height: 60px;
        background-color: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(2px);
    }

    body.cursor-hidden #cursor-dot,
    body.cursor-hidden #cursor-ring {
        opacity: 0;
    }
}
