/**
 * FRPUnlocker - Homepage Cyber Luxury Styles
 */

/* ==========================================
   HERO SECTION
   ========================================== */
.cyber-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.cyber-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.cyber-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    opacity: 0.6;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(6, 182, 212, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
    }
}

.hero-title {
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-stat-item h3 {
    font-family: var(--font-display);
}

/* ==========================================
   HERO 3D GRAPHIC
   ========================================== */
.cyber-hero-graphic {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-orb {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 30% 30%, rgba(6, 182, 212, 0.8), rgba(139, 92, 246, 0.4));
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(6, 182, 212, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.5);
    animation: floatOrb 6s ease-in-out infinite;
    z-index: 2;
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(70deg);
}

.ring-1 {
    width: 350px;
    height: 350px;
    border-top-color: var(--accent-cyan);
    animation: spinRing 15s linear infinite;
}

.ring-2 {
    width: 450px;
    height: 450px;
    border-bottom-color: var(--accent-purple);
    animation: spinRing 25s linear infinite reverse;
}

.floating-glass-card {
    position: absolute;
    background: var(--bg-surface-glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--glass-shadow);
    z-index: 3;
    pointer-events: auto;
    /* Required for magnetic hover */
}

.card-1 {
    top: 15%;
    left: 0;
    animation: float 5s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    right: 0;
    animation: float 7s ease-in-out infinite reverse;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes spinRing {
    0% {
        transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ==========================================
   TOOL STRIP
   ========================================== */
.tool-strip-wrap {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tool-strip-inner {
    display: flex;
    width: max-content;
    animation: toolStripScroll 40s linear infinite;
}

.tool-strip-wrap:hover .tool-strip-inner {
    animation-play-state: paused;
}

@keyframes toolStripScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================
   SERVICES CARDS
   ========================================== */
.service-cyber-card {
    transition: var(--transition-spring);
    position: relative;
}

.service-icon-wrap {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition-spring);
}

.service-bg-img {
    width: 60%;
    height: 60%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    transition: var(--transition-fast);
}

.service-cyber-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(6, 182, 212, 0.05);
}

.service-cyber-card:hover .service-icon-wrap {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px var(--accent-cyan-glow), inset 0 0 20px rgba(6, 182, 212, 0.2);
    transform: scale(1.1);
}

/* ==========================================
   CHAT FLOAT BUTTON
   ========================================== */
.chat-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #fff;
    border: none;
    box-shadow: 0 0 24px var(--accent-cyan-glow);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-spring);
}

.chat-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 0 32px var(--accent-cyan-glow);
}

/* ==========================================
   MOBILE ADJUSTMENTS
   ========================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .cyber-hero {
        padding-top: 5rem;
    }

    .hero-stats {
        justify-content: center;
        text-align: center;
    }

    .cyber-hero-graphic {
        display: none;
    }
}