/* ============================================
   NEUROKINETIC - STYLESHEET
   Dark theme with neon accents
   ============================================ */

/* CSS Variables */
:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --bg-tertiary: #0f1429;
    --accent-blue: #00d4ff;
    --accent-cyan: #00ffff;
    --accent-magenta: #ff00ff;
    --accent-purple: #8b5cf6;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d4;
    --text-muted: #6b6b8a;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #ff00ff 100%);
    --gradient-secondary: linear-gradient(135deg, #00ffff 0%, #8b5cf6 100%);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-glow-strong: 0 0 30px rgba(0, 212, 255, 0.5);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('./img/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    contain: layout style paint;
    transform: translateZ(0);
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    will-change: contents;
    transform: translateZ(0);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 255, 0.05) 0%, transparent 50%),
        rgba(10, 14, 39, 0.7);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 212, 255, 0.03) 2px,
            rgba(0, 212, 255, 0.03) 4px
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
    will-change: transform, opacity;
    transform: translateZ(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
    letter-spacing: 4px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    }
    to {
        filter: drop-shadow(0 0 40px rgba(255, 0, 255, 0.5));
    }
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Buttons */
.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
}

.cta-button.secondary {
    background: transparent;
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.cta-button.secondary:hover {
    background: var(--accent-blue);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-blue);
    border-radius: 25px;
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
    transform: translateX(-50%) rotate(45deg);
    animation: scrollDown 2s infinite;
}

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

@keyframes scrollDown {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* Vision Section */
.vision {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
}

.vision-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
}

.highlight {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.step-card:hover::before {
    opacity: 0.05;
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    color: var(--accent-blue);
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.step-card:hover .step-icon {
    color: var(--accent-cyan);
    transform: scale(1.1);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Technology Section */
.technology {
    padding: 8rem 0;
    background: var(--bg-tertiary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.tech-card {
    background: var(--bg-secondary);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--accent-magenta);
    transition: var(--transition-smooth);
}

.tech-card:hover .tech-icon {
    color: var(--accent-cyan);
    transform: rotate(5deg) scale(1.1);
}

.tech-icon svg {
    width: 100%;
    height: 100%;
}

.tech-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* Impact Section */
.impact {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
}

.impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.impact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.impact-text {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.impact-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Gallery Section */
.gallery {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-item {
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-placeholder {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.gallery-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
}

.gallery-caption {
    margin-top: 1rem;
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.95rem;
}

/* Project Gallery Section */
.project-gallery {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.gallery-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    background: var(--bg-primary);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.project-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.project-item:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: 4rem 0;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    color: var(--accent-blue);
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        min-height: 500px;
    }

    .vision,
    .how-it-works,
    .technology,
    .impact,
    .gallery,
    .project-gallery {
        padding: 4rem 0;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid,
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .cta-button {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

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

    .step-card,
    .tech-card {
        padding: 2rem 1.5rem;
    }
}

/* Animations for scroll reveal */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Wave animation for step icons */
.step-icon .wave {
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Team Section */
.team {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.team-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.team-member-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 212, 255, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.team-member-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.team-member-card:hover::before {
    opacity: 0.05;
}

.team-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-blue);
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.team-member-card:hover .team-photo {
    border-color: var(--accent-cyan);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.team-role {
    color: var(--accent-cyan);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.team-bio-short {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.team-link {
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.team-member-card:hover .team-link {
    color: var(--accent-cyan);
    transform: translateX(5px);
}

.team-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Team Detail Page */
.page-nav {
    padding: 1.5rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

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

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 600;
}

.nav-link:hover {
    color: var(--accent-blue);
}

.team-header {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.team-detail {
    padding: 4rem 0 8rem;
    background: var(--bg-primary);
}

.team-member-detail {
    margin-bottom: 6rem;
    scroll-margin-top: 100px;
}

.team-member-detail:last-child {
    margin-bottom: 0;
}

.team-member-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: var(--transition-smooth);
}

.team-member-content:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.team-member-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--accent-blue);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-info {
    display: flex;
    flex-direction: column;
}

.team-member-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-member-role {
    color: var(--accent-cyan);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.team-member-bio {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.1rem;
}

.team-member-bio p {
    margin-bottom: 1.5rem;
}

.team-member-bio p:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Team */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .team-member-image {
        max-width: 250px;
        margin: 0 auto;
    }

    .team-member-name {
        font-size: 2rem;
    }

    .page-nav .container {
        flex-direction: column;
        gap: 1rem;
    }
}

