/* =========================================
   PREMIUM DESIGN ENHANCEMENTS
   ========================================= */

/* 1. Extended Palette & Gradient Text */
:root {
    --accent-secondary: #7c3aed; /* Vibrant violet */
    --accent-tertiary: #4f46e5;  /* Electric blue */
}

.text-gradient-premium {
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 2. Micro-Interactions: Button Sheen */
.btn-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%) !important;
    color: #0c0f14 !important;
    border: none !important;
    z-index: 1;
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: sheenSwipe 6s infinite;
    z-index: -1;
}

@keyframes sheenSwipe {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* 3. Micro-Interactions: Spotlight Hover Cards */
.spotlight-card {
    position: relative;
    overflow: hidden;
}

.spotlight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(255,255,255,0.08), transparent 40%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Ensure content stays above spotlight */
.spotlight-card > * {
    position: relative;
    z-index: 1;
}

/* 4. Abstract 3D Background Elements */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    pointer-events: none;
    z-index: -3; /* Sit behind everything including the pattern overlay */
    animation: orbFloat 25s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
    width: 40vw;
    height: 40vw;
    background: var(--accent-secondary);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 50vw;
    height: 50vw;
    background: var(--accent-tertiary);
    bottom: 10%;
    right: -15%;
    animation-delay: -5s;
}

.orb-3 {
    width: 30vw;
    height: 30vw;
    background: var(--accent);
    top: 40%;
    left: 40%;
    opacity: 0.15;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5vw, 10vh) scale(1.1); }
    100% { transform: translate(-5vw, -5vh) scale(0.9); }
}

/* 5. Floating Mockups */
.mockup-container {
    perspective: 1200px;
    transform-style: preserve-3d;
    position: absolute;
    right: 0%;
    top: 25%;
    width: 500px;
    height: 600px;
    z-index: 5;
    pointer-events: none;
}

.mockup-glass {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(124, 58, 237, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.mockup-1 {
    width: 380px;
    height: 240px;
    right: 5%;
    top: 0%;
    transform: rotateX(15deg) rotateY(-25deg) rotateZ(5deg);
    animation: floatSlow1 8s ease-in-out infinite;
    z-index: 2;
}

.mockup-2 {
    width: 280px;
    height: 400px;
    right: 35%;
    top: 25%;
    transform: rotateX(10deg) rotateY(-20deg) rotateZ(2deg);
    animation: floatSlow2 10s ease-in-out infinite reverse;
    z-index: 1;
}

.mockup-header {
    height: 24px;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }

.mockup-body {
    padding: 16px;
    height: calc(100% - 24px);
    background: linear-gradient(135deg, rgba(20,20,25,0.8), rgba(10,10,15,0.9));
}

.mockup-line {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin-bottom: 12px;
}
.mockup-line.short { width: 40%; }
.mockup-line.medium { width: 70%; }
.mockup-line.long { width: 90%; }

@keyframes floatSlow1 {
    0%, 100% { transform: translateY(0) rotateX(15deg) rotateY(-25deg) rotateZ(5deg); }
    50% { transform: translateY(-20px) rotateX(12deg) rotateY(-22deg) rotateZ(4deg); }
}

@keyframes floatSlow2 {
    0%, 100% { transform: translateY(0) rotateX(10deg) rotateY(-20deg) rotateZ(2deg); }
    50% { transform: translateY(-25px) rotateX(8deg) rotateY(-18deg) rotateZ(1deg); }
}

/* Hide legacy desktop icons */
.legacy-right-panel {
    display: none !important;
}

@media (max-width: 1024px) {
    .mockup-container {
        display: none !important;
    }
}
