/* ==222=== Global Styles & Variables ===== */
:root {
    /* Premium Dark Palette */
    --bg-color: #050505;
    --bg-gradient: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #050505 100%);

    /* Neon Accents */
    --primary-accent: #00f3ff;
    /* Cyan */
    --secondary-accent: #bd00ff;
    /* Purple */
    --tertiary-accent: #ff0055;
    /* Pink/Red for highlights */

    /* Text */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 12px;
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-medium: 0.4s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);
}

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

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-accent);
}

/* Selection */
::selection {
    background: var(--primary-accent);
    color: #000;
}

/* ===== Layout & Containers ===== */
.main-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Background Effects */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary-accent);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--secondary-accent);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 60%;
    width: 400px;
    height: 400px;
    background: var(--tertiary-accent);
    opacity: 0.2;
    animation-delay: -10s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--primary-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-accent);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 4rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    font-weight: 600;
    opacity: 0;
    animation: slideUpFade 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    opacity: 0;
    animation: slideUpFade 0.8s var(--ease-out-expo) 0.4s forwards;
}

.hero-desc {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: slideUpFade 0.8s var(--ease-out-expo) 0.6s forwards;
}

.hero-cta {
    opacity: 0;
    animation: slideUpFade 0.8s var(--ease-out-expo) 0.8s forwards;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--text-main);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 243, 255, 0.2);
    border-color: transparent;
}

.btn-primary:hover::before {
    opacity: 1;
}

/* ===== Sections ===== */
.section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary-accent);
    border-radius: 2px;
}

/* ===== Cards (Glassmorphism) ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    /* Glare Effect Setup */
    transform-style: preserve-3d;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow), 0 0 20px rgba(0, 243, 255, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-accent);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Glare Effect */
.glare {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s;
    mix-blend-mode: overlay;
    z-index: 10;
}

/* Tech Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.card:hover .tag {
    background: rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.2);
    color: var(--primary-accent);
}

/* ===== Squad Section ===== */
.squad-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.member-card {
    text-align: center;
    padding: 2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.member-link {
    color: var(--primary-accent);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== Footer ===== */
.footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    color: var(--text-muted);
}

/* ===== Animations ===== */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
        /* Simple hide for mobile for now, or add hamburger later */
    }
}