/* ============================================
   Daena Global Styles
   Base styles for homepage and all pages
   ============================================ */

/* CSS Variables */
:root {
    --bg: #02030a;
    --glass-card-bg: rgba(8, 10, 20, 0.72);
    --glass-card-border: rgba(255, 255, 255, 0.08);
    --gold: #FFD700;
    --cyan: #00BCD4;
    --nav-h: 72px;
    --hero-pad: 24px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--bg);
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Metatron Background Layers */
.metatron-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background: 
        radial-gradient(ellipse at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 26, 58, 0.95) 50%, rgba(42, 26, 74, 0.95) 100%);
    pointer-events: none;
}

.metatron-pattern-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.05;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="200" cy="200" r="40" fill="none" stroke="%23FFD700" stroke-width="2" opacity="0.3"/><circle cx="200" cy="120" r="30" fill="none" stroke="%23FFD700" stroke-width="1.5" opacity="0.25"/><circle cx="280" cy="160" r="30" fill="none" stroke="%23FFD700" stroke-width="1.5" opacity="0.25"/><circle cx="280" cy="240" r="30" fill="none" stroke="%23FFD700" stroke-width="1.5" opacity="0.25"/><circle cx="200" cy="280" r="30" fill="none" stroke="%23FFD700" stroke-width="1.5" opacity="0.25"/><circle cx="120" cy="240" r="30" fill="none" stroke="%23FFD700" stroke-width="1.5" opacity="0.25"/><circle cx="120" cy="160" r="30" fill="none" stroke="%23FFD700" stroke-width="1.5" opacity="0.25"/><line x1="200" y1="200" x2="200" y2="120" stroke="%23FFD700" stroke-width="1" opacity="0.2"/><line x1="200" y1="200" x2="280" y2="160" stroke="%23FFD700" stroke-width="1" opacity="0.2"/><line x1="200" y1="200" x2="280" y2="240" stroke="%23FFD700" stroke-width="1" opacity="0.2"/><line x1="200" y1="200" x2="200" y2="280" stroke="%23FFD700" stroke-width="1" opacity="0.2"/><line x1="200" y1="200" x2="120" y2="240" stroke="%23FFD700" stroke-width="1" opacity="0.2"/><line x1="200" y1="200" x2="120" y2="160" stroke="%23FFD700" stroke-width="1" opacity="0.2"/></svg>');
    background-size: 600px 600px;
    background-position: center;
    background-repeat: repeat;
    pointer-events: none;
    animation: metatronRotate 60s linear infinite;
}

@keyframes metatronRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#metatron-hex-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Glass Card Styles */
.glass-card {
    background: var(--glass-card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-card-border);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    padding: 1.5rem;
}

.glass-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.glass-button:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Shimmer Text Effect */
.shimmer-text {
    background: linear-gradient(
        90deg,
        #FFD700 0%,
        #FFA500 25%,
        #FFD700 50%,
        #FFA500 75%,
        #FFD700 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* Section Spacing */
section {
    position: relative;
    z-index: 1;
    padding: 4rem 1rem;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 2rem 1rem;
    }
    
    .glass-card {
        padding: 1rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .metatron-pattern-bg {
        animation: none;
    }
    
    .shimmer-text {
        animation: none;
    }
    
    * {
        transition: none !important;
    }
}
