/* ============================================
   RESET & BASE - Scoped to orb-hero-wrapper
   ============================================ */
.orb-hero-wrapper *,
.orb-hero-wrapper *::before,
.orb-hero-wrapper *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.orb-hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
}

.orb-hero-wrapper a {
    text-decoration: none;
    color: inherit;
}

/* Admin bar offset */
.admin-bar .orb-hero-wrapper {
    margin-top: 32px;
    height: calc(100vh - 32px);
}

@media (max-width: 782px) {
    .admin-bar .orb-hero-wrapper {
        margin-top: 46px;
        height: calc(100vh - 46px);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.orb-hero-wrapper .hero {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse 50% 45% at 50% 50%, rgba(235, 88, 88, 0.10) 0%, transparent 100%),
        radial-gradient(ellipse 50% 40% at 40% 55%, rgba(19, 47, 73, 0.15) 0%, transparent 100%),
        radial-gradient(ellipse 45% 35% at 60% 45%, rgba(235, 88, 88, 0.06) 0%, transparent 100%),
        linear-gradient(180deg, #0a0f1a 0%, #060a14 40%, #000000 100%);
    overflow: hidden;
}

/* Ambient light rays */
.orb-hero-wrapper .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 30% 25% at 20% 50%, rgba(19, 47, 73, 0.08) 0%, transparent 100%),
        radial-gradient(ellipse 30% 25% at 80% 50%, rgba(235, 88, 88, 0.08) 0%, transparent 100%),
        radial-gradient(ellipse 35% 20% at 50% 80%, rgba(235, 88, 88, 0.06) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   3D CONTAINER
   ============================================ */
.orb-hero-wrapper #orb-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.orb-hero-wrapper #orb-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    pointer-events: auto;
}

/* ============================================
   OVERLAY
   ============================================ */
.orb-hero-wrapper .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(6, 10, 20, 0) 0%,
        rgba(6, 10, 20, 0.3) 50%,
        rgba(6, 10, 20, 0.6) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   HERO CONTENT
   ============================================ */
.orb-hero-wrapper .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.orb-hero-wrapper .hero-content > * {
    pointer-events: auto;
}

/* Badge */
.orb-hero-wrapper .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out both;
}

.orb-hero-wrapper .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #eb5858;
    box-shadow: 0 0 8px rgba(235, 88, 88, 0.6);
    animation: pulseDot 2s ease-in-out infinite;
}

/* Title */
.orb-hero-wrapper .hero-title {
    font-size: clamp(24px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out 0.1s both;
}

.orb-hero-wrapper .gradient-text {
    background: linear-gradient(135deg, #4a8ab5 0%, #132f49 30%, #eb5858 55%, #ff6b6b 80%, #132f49 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

/* Description */
.orb-hero-wrapper .hero-description {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    max-width: 520px;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

/* CTA Buttons */
.orb-hero-wrapper .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInDown 0.8s ease-out 0.3s both;
}

.orb-hero-wrapper .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.orb-hero-wrapper .btn-primary {
    background: linear-gradient(135deg, #7b2ff7, #00d4ff);
    color: #ffffff;
    border: none;
    box-shadow:
        0 4px 24px rgba(123, 47, 247, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.orb-hero-wrapper .btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 40px rgba(123, 47, 247, 0.4),
        0 0 60px rgba(0, 212, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.orb-hero-wrapper .btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.orb-hero-wrapper .btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.orb-hero-wrapper .btn-primary:hover .btn-glow {
    opacity: 1;
}

.orb-hero-wrapper .btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(19, 47, 73, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: borderGlow 4s ease-in-out infinite;
}

.orb-hero-wrapper .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(235, 88, 88, 0.5);
    transform: translateY(-2px);
    box-shadow:
        0 0 25px rgba(235, 88, 88, 0.2),
        0 0 50px rgba(19, 47, 73, 0.15);
    animation: none;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.orb-hero-wrapper .scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 1s ease-out 1s both;
}

.orb-hero-wrapper .scroll-label {
	display: none;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
}

.orb-hero-wrapper .scroll-line {
	display: none;
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.orb-hero-wrapper .scroll-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 12px;
    background: linear-gradient(180deg, rgba(235, 88, 88, 0.8), rgba(19, 47, 73, 0.8));
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(235, 88, 88, 0.6); }
    50% { opacity: 0.6; box-shadow: 0 0 16px rgba(235, 88, 88, 0.3); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(19, 47, 73, 0.35);
        box-shadow: 0 0 10px rgba(19, 47, 73, 0.08);
    }
    50% {
        border-color: rgba(235, 88, 88, 0.35);
        box-shadow: 0 0 10px rgba(235, 88, 88, 0.08);
    }
}

@keyframes scrollDot {
    0% { top: -12px; opacity: 0; }
    30% { top: 0; opacity: 1; }
    70% { top: 28px; opacity: 1; }
    100% { top: 52px; opacity: 0; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .orb-hero-wrapper .hero-content {
        padding: 0 16px;
    }

    .orb-hero-wrapper .hero-badge {
        font-size: 10px;
        padding: 6px 16px;
        margin-bottom: 24px;
    }

    .orb-hero-wrapper .hero-title {
        margin-bottom: 16px;
    }

    .orb-hero-wrapper .hero-description {
        margin-bottom: 32px;
    }

    .orb-hero-wrapper .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .orb-hero-wrapper .btn {
        width: 100%;
        padding: 12px 24px;
    }

    .orb-hero-wrapper .scroll-indicator {
        bottom: 24px;
    }
}

@media (max-width: 480px) {
    .orb-hero-wrapper .hero-title {
        font-size: 28px;
    }

    .orb-hero-wrapper .hero-description {
        font-size: 13px;
    }

    .orb-hero-wrapper .btn {
        font-size: 14px;
        padding: 11px 20px;
    }
}
