/* ============================================
   Evil Brain Labs - Corporate Site Stylesheet
   The Third Worst AI Company™
   ============================================ */

:root {
    /* Brand Colors */
    --brain-black: #0a0a0a;
    --brain-dark: #1a1a1a;
    --brain-gray: #2a2a2a;
    --brain-light: #3a3a3a;
    --brain-accent: #ff006e;
    --brain-purple: #8b5cf6;
    --brain-cyan: #06b6d4;
    --brain-green: #10b981;
    --brain-orange: #f59e0b;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Layout */
    --container-width: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--brain-black);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-md) 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    height: 126px;
    width: auto;
    max-width: 630px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 0, 110, 0.5));
    animation: glow 3s ease-in-out infinite;
    border-radius: 12px;
    object-position: center;
}

@media (max-width: 768px) {
    .logo-icon {
        height: 50px;
        max-width: 200px;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .tagline {
        font-size: 0.65rem;
    }
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.nav {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.nav-cta {
    padding: var(--space-xs) var(--space-md);
    background: var(--brain-accent);
    color: white !important;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--brain-purple);
    transform: translateY(-1px);
}

/* Hero */
.hero {
    position: relative;
    padding: var(--space-3xl) 0;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid rgba(255, 0, 110, 0.3);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brain-accent);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.gradient-text {
    background: linear-gradient(135deg, var(--brain-accent), var(--brain-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brain-accent);
    color: white;
}

.btn-primary:hover {
    background: var(--brain-purple);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
}

.btn-secondary {
    background: var(--brain-dark);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--brain-gray);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--brain-accent);
}

.btn-outline:hover {
    background: var(--brain-accent);
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.125rem;
}

.arrow {
    font-size: 1.25rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: var(--brain-dark);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 700px;
    margin: 0 auto;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brain-accent), var(--brain-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mission */
.mission {
    padding: var(--space-3xl) 0;
    background: var(--brain-dark);
    text-align: center;
}

.mission-label {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brain-purple);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mission h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-lg);
    line-height: 1.3;
}

.mission-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto var(--space-md);
    line-height: 1.8;
}

.mission-signature {
    font-size: 1.125rem;
    color: var(--brain-accent);
    font-weight: 600;
    font-style: italic;
}

/* Values */
.values {
    padding: var(--space-3xl) 0;
}

.values h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-size: 1.125rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.value-card {
    padding: var(--space-lg);
    background: var(--brain-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--brain-purple);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.value-label {
    font-size: 0.875rem;
    color: var(--brain-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.value-card p {
    color: var(--text-primary);
    font-size: 1.125rem;
    line-height: 1.6;
}

.values-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

/* Products */
.products {
    padding: var(--space-3xl) 0;
    background: var(--brain-dark);
}

.products h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: var(--space-sm);
}

.section-intro {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    font-size: 1.125rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.product-card {
    padding: var(--space-xl);
    background: var(--brain-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--brain-accent);
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.3);
}

.product-card.coming-soon {
    opacity: 0.7;
}

.product-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.product-card p {
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: var(--space-md);
}

.product-status {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--brain-green);
    color: var(--brain-green);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.coming-soon .product-status {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--brain-orange);
    color: var(--brain-orange);
}

/* History */
.history {
    padding: var(--space-3xl) 0;
}

.history-label {
    text-align: center;
    font-size: 0.875rem;
    color: var(--brain-cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.history h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: var(--space-xl);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--brain-accent), var(--brain-purple));
}

.timeline-item {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    position: relative;
}

.timeline-year {
    flex-shrink: 0;
    width: 100px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brain-accent);
    text-align: right;
}

.timeline-content {
    flex-grow: 1;
    padding: var(--space-lg);
    background: var(--brain-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
}

.timeline-content h3 {
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Team */
.team {
    padding: var(--space-3xl) 0;
    background: var(--brain-dark);
}

.team h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: var(--space-xl);
}

.team-grid {
    display: grid;
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--brain-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: all 0.3s;
}

.team-member:hover {
    transform: translateY(-4px);
    border-color: var(--brain-purple);
}

.team-member.featured {
    border-color: var(--brain-accent);
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05), transparent);
}

.member-avatar {
    font-size: 4rem;
    flex-shrink: 0;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.member-title {
    color: var(--brain-accent);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.member-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Careers */
.careers {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.careers h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: var(--space-lg);
}

.careers-content {
    max-width: 600px;
    margin: 0 auto;
}

.careers-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.careers-content p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

/* Final CTA */
.final-cta {
    padding: var(--space-3xl) 0;
    background: var(--brain-dark);
    text-align: center;
}

.final-cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-md);
}

.final-cta p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--brain-black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-brand {
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-about {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: var(--space-xs);
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--text-primary);
}

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

.footer-bottom p {
    margin-bottom: var(--space-xs);
}

.footer-disclaimer {
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .timeline::before {
        left: 50px;
    }

    .timeline-year {
        width: 70px;
    }

    .team-member {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Animations */
@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 0, 110, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 0, 110, 0.8));
    }
}
