/* ============================================
   JarvisOS Website - Minimal Dark Theme
   Matching iOS App Design
   ============================================ */

:root {
    /* Deep space colors matching iOS app */
    --bg-top: rgb(5, 5, 16);
    --bg-mid: rgb(10, 10, 30);
    --bg-bottom: rgb(0, 0, 0);
    
    /* Orb colors */
    --orb-blue: rgb(77, 153, 255);
    --orb-purple: rgb(140, 100, 255);
    --orb-cyan: rgb(100, 200, 255);
    
    /* Text */
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.5);
    --text-tertiary: rgba(255, 255, 255, 0.25);
    
    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   Reset & Base
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-bottom);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Neural Background Canvas
   ============================================ */

#neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   Hero Section - Full Screen
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    
    /* Deep space gradient like iOS app */
    background: linear-gradient(
        180deg,
        var(--bg-top) 0%,
        var(--bg-mid) 50%,
        var(--bg-bottom) 100%
    );
}

/* ============================================
   Orb Container
   ============================================ */

.orb-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.orb-container {
    position: relative;
    width: clamp(240px, 35vw, 340px);
    height: clamp(240px, 35vw, 340px);
}

#orb-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.orb-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(
        circle,
        rgba(77, 153, 255, 0.4) 0%,
        rgba(77, 153, 255, 0.15) 40%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(40px);
    animation: breathe 4s ease-in-out infinite;
}

.orb-core-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
    height: 35%;
    background: radial-gradient(
        circle,
        rgba(140, 100, 255, 0.6) 0%,
        rgba(77, 153, 255, 0.3) 50%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(30px);
    animation: breathe 4s ease-in-out infinite reverse;
}

@keyframes breathe {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.15); 
        opacity: 0.8; 
    }
}

/* ============================================
   Hero Text
   ============================================ */

.hero-text {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 100;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.7) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .orb-container {
        width: 260px;
        height: 260px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .skills-container {
        gap: 16px;
    }
    
    .skill-item {
        min-width: 80px;
        padding: 16px 14px;
    }
    
    .skill-icon {
        font-size: 24px;
    }
    
    .skill-name {
        font-size: 0.75rem;
    }
}

/* ============================================
   Selection & Scrollbar
   ============================================ */

::selection {
    background: var(--orb-purple);
    color: white;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-bottom);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(77, 153, 255, 0.4);
}
