/* ======================================
   A TEAM LANDING PAGE - CYBERPUNK UI
   Design System from UI/UX Pro Max
   ====================================== */

/* CSS Variables - Design System */
/* ======================================
   THEME CONFIGURATION
   ====================================== */

/* Base & Typography (Global) */
:root {
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-theme: 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Smooth theme morph */
}

/* 1. CYBERPUNK THEME (Default) */
.theme-cyberpunk {
    /* Colors */
    --primary: #3B82F6;
    --primary-light: #60A5FA;
    --primary-dark: #2563EB;
    --secondary: #1E293B;
    --background: #0F172A;
    --background-light: #1E293B;
    --surface: rgba(30, 41, 59, 0.5);
    --text: #F1F5F9;
    --text-muted: #94A3B8;
    --accent: #7C3AED;
    --accent-light: #A78BFA;
    --success: #10B981;
    --warning: #F59E0B;

    /* Neon Specials */
    --neon-blue: #00D9FF;
    --neon-purple: #BD00FF;
    --neon-pink: #FF0080;

    /* Radii */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-neon: 0 0 20px rgba(59, 130, 246, 0.5);
    --shadow-neon-intense: 0 0 40px rgba(59, 130, 246, 0.8);

    /* Decorations */
    --scanline-opacity: 0.3;
}

/* 2. AURORA THEME (Nature/Soft) */
.theme-aurora {
    /* Colors */
    --primary: #2E8B57;
    /* Sea Green */
    --primary-light: #66CDAA;
    /* Medium Aquamarine */
    --primary-dark: #1E5638;
    --secondary: #87CEEB;
    --background: #F0FFF4;
    /* Mint Cream */
    --background-light: #E0F2F1;
    --surface: #FFFFFF;
    --text: #1A3320;
    /* Dark Green Text */
    --text-muted: #4A6741;
    --accent: #FFD700;
    /* Gold */
    --accent-light: #FFE44D;

    /* Neons become soft flows */
    --neon-blue: #87CEEB;
    /* Sky Blue */
    --neon-purple: #DDA0DD;
    /* Plum */
    --neon-pink: #FFB6C1;
    /* Light Pink */

    /* Radii - Soft & Rounded */
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2.5rem;

    /* Shadows - Soft Diffusion */
    --shadow-sm: 0 2px 4px rgba(46, 139, 87, 0.1);
    --shadow-md: 0 6px 12px rgba(46, 139, 87, 0.15);
    --shadow-lg: 0 15px 30px rgba(46, 139, 87, 0.2);
    --shadow-neon: 0 10px 20px rgba(46, 139, 87, 0.3);
    --shadow-neon-intense: 0 20px 40px rgba(255, 215, 0, 0.4);

    /* Decorations */
    --scanline-opacity: 0.05;
    /* Almost invisible */
}

/* 3. MIDNIGHT THEME (Deep Space/Mystery) */
.theme-midnight {
    /* Colors */
    --primary: #A855F7;
    /* Purple 500 */
    --primary-light: #C084FC;
    /* Purple 400 */
    --primary-dark: #7E22CE;
    /* Purple 700 */
    --secondary: #312E81;
    /* Indigo 900 */
    --background: #020617;
    /* Slate 950 (Deep Space) */
    --background-light: #0F172A;
    --surface: rgba(15, 23, 42, 0.6);
    /* Translucent dark */
    --text: #E2E8F0;
    /* Slate 200 */
    --text-muted: #94A3B8;
    /* Slate 400 */
    --accent: #F472B6;
    /* Pink 400 */
    --accent-light: #FBCFE8;

    /* Cosmic Neons */
    --neon-blue: #6366F1;
    /* Indigo */
    --neon-purple: #D946EF;
    /* Fuchsia */
    --neon-pink: #EC4899;
    /* Pink */

    /* Radii - Sharp & Technical */
    --radius-sm: 0.125rem;
    --radius-md: 0.25rem;
    --radius-lg: 0.5rem;
    --radius-xl: 1rem;

    /* Shadows - Deep & Void-like */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
    --shadow-neon: 0 0 15px rgba(168, 85, 247, 0.3);
    --shadow-neon-intense: 0 0 30px rgba(168, 85, 247, 0.6);

    /* Decorations */
    --scanline-opacity: 0.1;
    /* Subtle static */
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scanlines Overlay */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: linear-gradient(to bottom,
            transparent 50%,
            rgba(0, 0, 0, 0.03) 50%);
    background-size: 100% 4px;
    opacity: var(--scanline-opacity);
    transition: opacity var(--transition-theme);
}

/* Theme Transitions */
body,
section,
.member-card,
.philosophy-card,
.tool-card,
.btn,
.hero-badge,
.avatar-ring,
.leader-badge,
.skill-tag,
.philosophy-icon,
.member-avatar,
.member-card::before {
    transition:
        background-color var(--transition-theme),
        color var(--transition-theme),
        border-color var(--transition-theme),
        box-shadow var(--transition-theme),
        filter var(--transition-theme),
        transform var(--transition-normal);
    /* Keep transform fast for hover */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent-light), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon-intense);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

/* ======================================
   HERO SECTION
   ====================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-3xl) var(--space-lg);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: var(--space-xl);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    /* Reduced to prevent wrapping */
    font-weight: 700;
    margin-bottom: var(--space-xl);
    min-height: 1.5em;
    white-space: nowrap;
    /* Force single line */
}

.typing-text {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--neon-blue), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(59, 130, 246, 0.4);
    padding-right: 0.1em;
    /* Prevent cursor overlap */
}

.cursor {
    display: inline-block;
    color: var(--primary);
    font-weight: 400;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Decorations */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.glow-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    opacity: 0.15;
    top: 10%;
    left: -10%;
    animation: float 8s ease-in-out infinite;
}

.glow-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    opacity: 0.1;
    bottom: 10%;
    right: -5%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ======================================
   SECTION STYLES
   ====================================== */
section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-md);
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ======================================
   TEAM SECTION
   ====================================== */
.team {
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.02), transparent);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.member-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    backdrop-filter: blur(20px);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.member-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--shadow-neon);
}

.member-card:hover::before {
    opacity: 1;
}

.member-card[data-role="leader"] {
    border-color: rgba(124, 58, 237, 0.3);
}

.member-card[data-role="leader"]::before {
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.member-card[data-role="leader"]:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(124, 58, 237, 0.4);
}

.member-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-lg);
}

.avatar-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0.5;
    animation: spin 8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.avatar-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.leader-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
}

.member-info {
    text-align: center;
}

.member-name {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.member-role {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--primary-light);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.member-card[data-role="leader"] .member-role {
    color: var(--accent-light);
    background: rgba(124, 58, 237, 0.1);
}

.member-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
}

.skill-tag {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

/* ======================================
   PHILOSOPHY SECTION
   ====================================== */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.philosophy-card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
}

.philosophy-card:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-4px);
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.philosophy-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.philosophy-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* ======================================
   TOOLS SECTION
   ====================================== */
.tools {
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.02), transparent);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-xl);
}

.tool-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-slow);
    position: relative;
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-neon);
}

.tool-card.featured {
    border-color: rgba(124, 58, 237, 0.3);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(30, 41, 59, 0.5));
}

.tool-card.featured::before {
    content: 'Featured';
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 0.7rem;
    padding: var(--space-xs) var(--space-sm);
    background: var(--accent);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-card.featured:hover {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.4);
}

.tool-logo {
    margin-bottom: var(--space-lg);
    display: flex;
    justify-content: center;
}

.tool-logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.tool-name {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.tool-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
}

.tool-features span {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-sm);
    color: var(--primary-light);
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
    background: var(--surface);
    padding: var(--space-2xl) 0 var(--space-lg);
    margin-top: var(--space-3xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: var(--space-xs);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ======================================
   ANIMATIONS
   ====================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.member-card,
.philosophy-card,
.tool-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.member-card:nth-child(1) {
    animation-delay: 0.1s;
}

.member-card:nth-child(2) {
    animation-delay: 0.2s;
}

.member-card:nth-child(3) {
    animation-delay: 0.3s;
}

.member-card:nth-child(4) {
    animation-delay: 0.4s;
}

.philosophy-card:nth-child(1) {
    animation-delay: 0.1s;
}

.philosophy-card:nth-child(2) {
    animation-delay: 0.15s;
}

.philosophy-card:nth-child(3) {
    animation-delay: 0.2s;
}

.philosophy-card:nth-child(4) {
    animation-delay: 0.25s;
}

.philosophy-card:nth-child(5) {
    animation-delay: 0.3s;
}

.philosophy-card:nth-child(6) {
    animation-delay: 0.35s;
}

.tool-card:nth-child(1) {
    animation-delay: 0.1s;
}

.tool-card:nth-child(2) {
    animation-delay: 0.2s;
}

.tool-card:nth-child(3) {
    animation-delay: 0.3s;
}

.tool-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* ======================================
   RESPONSIVE DESIGN
   ====================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.8rem, 10vw, 3.5rem);
        white-space: normal;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .team-grid,
    .philosophy-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }

    .member-card,
    .philosophy-card,
    .tool-card {
        padding: var(--space-lg);
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}