/* =========================================================================
   Variables & Theme
   ========================================================================= */
:root {
    /* Colors */
    --clr-bg: #050508;
    --clr-surface: #111116;
    --clr-surface-light: rgba(255, 255, 255, 0.05);
    --clr-text: #EAEAEA;
    --clr-text-muted: #A0A0A0;
    
    --clr-primary: #F97316;   /* Orange */
    --clr-primary-glow: rgba(249, 115, 22, 0.4);
    --clr-secondary: #FB923C; /* Lighter Orange */
    --clr-accent: #F43F5E;    /* Rose/Pink */
    
    --clr-gradient-start: #F97316;
    --clr-gradient-end: #F43F5E;

    /* Status Colors */
    --clr-success: #10B981;
    --clr-warning: #F59E0B;
    --clr-danger: #EF4444;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --nav-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-normal: 0.3s ease;
    --trans-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   Reset & Base Styles
   ========================================================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--trans-fast);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================================
   Utilities
   ========================================================================= */
.gradient-text {
    background: linear-gradient(135deg, var(--clr-gradient-start), var(--clr-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.glass-card {
    background: rgba(17, 17, 22, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--clr-primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--trans-normal);
}

.btn-primary {
    background-color: var(--clr-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
}

.glow-btn {
    box-shadow: 0 0 20px var(--clr-primary-glow);
}

.glow-btn:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
}

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

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.05);
}

.sm-btn {
    padding: 8px 20px;
    font-size: 0.875rem;
}

/* Background Glow Effects */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.bg-glow-2 {
    top: 40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
}

/* =========================================================================
   Navigation
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--trans-normal);
}

.navbar.scrolled {
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-link span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--clr-text);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--clr-text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--clr-text);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--clr-text);
    transition: var(--trans-normal);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-bg);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--trans-normal);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* =========================================================================
   Hero Section
   ========================================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
}

.hero .flex-center {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite alternate;
    position: relative;
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.3);
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translateY(0); }
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: translateY(-20px); }
}

.decorative-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    padding: 20px;
    border-radius: var(--radius-md);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.data-row {
    font-family: 'SF Mono', monospace, sans-serif;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot.green { background-color: var(--clr-success); box-shadow: 0 0 8px var(--clr-success); }
.dot.blue { background-color: var(--clr-accent); box-shadow: 0 0 8px var(--clr-accent); }
.dot.purple { background-color: var(--clr-secondary); box-shadow: 0 0 8px var(--clr-secondary); }

/* =========================================================================
   Sections Core
   ========================================================================= */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* =========================================================================
   About (Bento Grid)
   ========================================================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(200px, auto);
}

.bento-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--trans-normal);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(25, 25, 30, 0.6);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 3;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #fff;
}

.bento-card p {
    color: var(--clr-text-muted);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

/* =========================================================================
   Activities Section
   ========================================================================= */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.activity-card {
    background-color: var(--clr-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--trans-normal);
}

.activity-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.activity-img {
    height: 200px;
    background: linear-gradient(180deg, rgba(30, 30, 40, 1) 0%, rgba(20, 20, 25, 1) 100%);
    position: relative;
}

.activity-content {
    padding: 24px;
}

.activity-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--clr-accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.activity-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.activity-content p {
    color: var(--clr-text-muted);
    font-size: 0.9375rem;
}

/* =========================================================================
   Join Section
   ========================================================================= */
.join-container {
    padding: 64px 32px;
    text-align: center;
    background: linear-gradient(135deg, rgba(17, 17, 22, 0.8), rgba(25, 25, 35, 0.8));
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.join-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.join-desc {
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.join-form {
    display: flex;
    justify-content: center;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.join-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--trans-fast);
}

.join-form input:focus {
    outline: none;
    border-color: var(--clr-primary);
    background: rgba(0, 0, 0, 0.5);
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 0 24px;
    background-color: var(--clr-bg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--clr-text-muted);
    margin-top: 16px;
    max-width: 300px;
    font-size: 0.9375rem;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--clr-text-muted);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--clr-text);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
}

/* =========================================================================
   Animations
   ========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay { transition-delay: 0.2s; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* =========================================================================
   Responsive Match
   ========================================================================= */
@media (max-width: 900px) {
    .bento-large, .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .hero .flex-center {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .join-form {
        flex-direction: column;
    }
}
