/* =========================================
   Zoxwa Global Styles
   ========================================= */

:root {
    --color-bg: #050505;
    --color-text: #F3F4F6;
    --color-gold-base: #FEC84C;
    --color-gold-dim: #998100;
    --color-gold-glow: rgba(254, 200, 76, 0.4);
    --font-main: 'Outfit', sans-serif;
    
    --glow-spread: 15px;
    --glow-blur: 30px;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Utility Classes */
.glow-text {
    color: var(--color-gold-base);
    text-shadow: 0 0 var(--glow-spread) var(--color-gold-glow);
}

.mt-4 {
    margin-top: 2rem;
}

/* Physics Canvas */
#physicsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none; /* Let clicks pass through to content */
}

/* Content Wrapper (above canvas) */
.content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =========================================
   Header & Navigation
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    /* Glassmorphism for header to stand out if scrolled */
    position: sticky;
    top: 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(254, 200, 76, 0.1);
}

.brand-logo {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 5px rgba(254, 200, 76, 0.3));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.brand-logo:hover {
    filter: drop-shadow(0 0 10px rgba(254, 200, 76, 0.6));
    transform: scale(1.05);
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--color-gold-base);
}

.btn-glow {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--color-gold-base);
    border-radius: 50px;
    color: var(--color-gold-base);
    box-shadow: 0 0 10px rgba(254, 200, 76, 0.2);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    background-color: var(--color-gold-base);
    color: var(--color-bg);
    box-shadow: 0 0 20px var(--color-gold-glow);
}

/* =========================================
   Hero Section
   ========================================= */
#hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 0;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-title .word {
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #A0AAB0;
    max-width: 600px;
    margin-bottom: 3rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background-color: var(--color-gold-base);
    color: var(--color-bg);
    box-shadow: 0 0 20px rgba(254, 200, 76, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 30px rgba(254, 200, 76, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--color-gold-base);
    color: var(--color-gold-base);
    transform: translateY(-3px);
}

/* =========================================
   Features Section
   ========================================= */
#features {
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(254, 200, 76, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(5px);
    transition: transform 0.4s ease, border-color 0.4s ease;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold-base);
    box-shadow: 0 10px 30px rgba(254, 200, 76, 0.1);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-gold-base);
}

.feature-card p {
    color: #9CA3AF;
    font-size: 1rem;
}

/* =========================================
   Community Section
   ========================================= */
#community {
    padding: 6rem 0;
    text-align: center;
}

.community-banner {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(5px);
    padding: 4rem 2rem;
    border-radius: 30px;
    border: 1px solid rgba(254, 200, 76, 0.1);
}

.community-banner h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.community-banner p {
    font-size: 1.2rem;
    color: #A0AAB0;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   Footer
   ========================================= */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 2rem;
}

footer p {
    color: #6B7280;
    font-size: 0.9rem;
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    #hero {
        text-align: center;
        justify-content: center;
        padding: 2rem 0;
    }
    
    .cta-group {
        justify-content: center;
    }

    .section-title {
        font-size: 2.5rem;
    }
}
