﻿/* ANTIGRAVITY SOFTWARE - Ultra-Minimalist Bento Grid Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Pure Black Background */
    --background: 0 0% 0%;
    --foreground: 0 0% 100%;

    /* Neon Cyan & Magenta */
    --primary: 180 100% 50%;
    /* Cyan #00FFFF */
    --accent: 320 100% 50%;
    /* Magenta #FF00FF */
    --secondary: 280 100% 60%;
    /* Purple */

    --muted: 0 0% 10%;
    --muted-foreground: 0 0% 60%;
    --border: 0 0% 15%;
    --card: 0 0% 5%;
    --radius: 1.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000000;
    color: hsl(var(--foreground));
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

#header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #00FFFF 0%, #FF00FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00FFFF, #FF00FF);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px #00FFFF;
}

.nav-link:hover {
    color: #00FFFF;
}

.nav-link:hover::before {
    width: 100%;
}

.lang-btn {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    color: #fff;
}

.lang-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.mobile-nav-controls {
    display: none;
}

/* Hero Section - Neural Network Background */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 10rem 2rem 6rem;
    overflow: hidden;
}

/* Neural Network Mesh Background */
.neural-network {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(0, 255, 255, 0.03) 100px, rgba(0, 255, 255, 0.03) 101px),
        repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(0, 255, 255, 0.03) 100px, rgba(0, 255, 255, 0.03) 101px);
    animation: neuralPulse 8s ease-in-out infinite;
}

.neural-network::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 10s ease-in-out infinite;
}

.neural-network::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes neuralPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, -50px);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 5.5rem);
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    color: #FFFFFF;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    line-height: 1.1;
    text-transform: uppercase;
    word-break: break-word;
    /* Prevent long words from breaking layout */
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Neon Pill Button */
.btn-neon,
.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, #00FFFF, #FF00FF, #00FFFF);
    background-size: 200% auto;
    color: #000;
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.4),
        0 0 60px rgba(255, 0, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Space Grotesk', sans-serif;
    animation: gradientFlow 4s linear infinite;
}

.btn-accent {
    width: 100%;
    margin-top: 1rem;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: all 0.6s ease;
}

.btn-accent:hover::before {
    left: 150%;
}

.btn-neon:hover,
.btn-accent:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 0 50px rgba(0, 255, 255, 0.7),
        0 0 100px rgba(255, 0, 255, 0.4);
    filter: brightness(1.1);
}

.btn-accent:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-accent:disabled {
    background: #222;
    color: #555;
    box-shadow: none;
    cursor: not-allowed;
    animation: pulseMuted 2s infinite;
}

.btn-accent.generating {
    animation: btnPulse 1.5s infinite;
    cursor: wait;
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 60px rgba(255, 0, 255, 0.8), 0 0 100px rgba(0, 255, 255, 0.4);
    }

    100% {
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseMuted {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.8;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
    color: #00FFFF;
    filter: drop-shadow(0 0 10px #00FFFF);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(15px);
    }
}

/* Bento Grid Section */
.bento-section {
    padding: 6rem 0;
    background: #000;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.bento-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Bento Cards - Glassmorphism */
.bento-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bento-card:hover {
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: #00FFFF;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tech Stack Card */
.tech-diagram {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.tech-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.tech-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.6));
}

.tech-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.connection-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.glow-line {
    stroke: #00FFFF;
    stroke-width: 2;
    fill: none;
    filter: drop-shadow(0 0 5px #00FFFF);
    animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Case Study Card */
.performance-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 180px;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chart-bar {
    flex: 1;
    height: var(--height);
    background: linear-gradient(180deg, #00FFFF, #FF00FF);
    border-radius: 0.5rem;
    position: relative;
    animation: barGrow 1s ease-out forwards, barPulse 3s ease-in-out infinite 1s;
    animation-delay: var(--delay), calc(var(--delay) + 1s);
    transform-origin: bottom;
    transform: scaleY(0);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

@keyframes barGrow {
    to {
        transform: scaleY(1);
    }
}

@keyframes barPulse {

    0%,
    100% {
        transform: scaleY(1);
        filter: brightness(1);
    }

    50% {
        transform: scaleY(0.95);
        filter: brightness(1.2);
    }
}

.bar-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.chart-metric {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00FFFF, #FF00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Timeline Card */
.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.timeline-step.active {
    opacity: 1;
}

.step-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.5);
    background: transparent;
    flex-shrink: 0;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.timeline-step.active .step-dot {
    background: #00FFFF;
    box-shadow: 0 0 15px #00FFFF;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00FFFF;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.step-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Vision Card (Formerly Analytics) */
.vision-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 1rem;
}

.vision-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.4));
}

.vision-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
}

/* Code Editor Card */
.editor-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.editor-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #FF5F56;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #27C93F;
}

.editor-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Courier New', monospace;
}

.editor-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
}

.editor-content pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
}

.editor-content code {
    color: #fff;
}

/* Syntax Highlighting */
.keyword {
    color: #FF00FF;
}

.function {
    color: #00FFFF;
}

.param {
    color: #FFD700;
}

.variable {
    color: #98FB98;
}

.property {
    color: #FFA500;
}

/* Portfolio Section - Bento Grid Style */
.portfolio {
    padding: 6rem 0;
    background: #000;
    display: block;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover {
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.3);
}

.portfolio-card:hover::before {
    opacity: 1;
}

.portfolio-card img {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-card-content {
    padding: 2rem;
}

.portfolio-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: #00FFFF;
    margin-bottom: 0.5rem;
}

.portfolio-card .category {
    font-size: 0.9rem;
    color: #FF00FF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tech Stack Section */
.tech-stack {
    padding: 6rem 0;
    background: #000;
    display: block;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tech-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00FFFF, #FF00FF);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-card:hover {
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
}

.tech-card .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.6));
    transition: transform 0.4s ease;
}

.tech-card:hover .icon {
    transform: scale(1.2) rotate(10deg);
}

.tech-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #00FFFF;
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: #000;
    display: block;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 950px;
    margin: 0 auto;
}

.team-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 3rem;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.4);
}

.tech-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.4));
}

.tech-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: #000;
    display: block;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.team-card:hover {
    border-color: #FF00FF;
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255, 0, 255, 0.2);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #00FFFF, #FF00FF);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #000;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
}

.team-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.team-card .title {
    color: #00FFFF;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.team-card .role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    background: #050505;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #00FFFF;
    filter: drop-shadow(0 0 10px #00FFFF);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav-controls {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .mobile-menu-btn {
        background: transparent;
        border: none;
        cursor: pointer;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 1002;
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        content: '';
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        position: absolute;
        transition: all 0.3s ease;
    }

    .hamburger {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    .mobile-menu-btn.active .hamburger {
        background: transparent;
    }

    .mobile-menu-btn.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .mobile-menu-btn.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        background: #000;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding: 2rem;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-nav-link {
        font-size: 1.5rem;
        font-weight: 700;
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
    }

    .hero-title {
        font-size: 12vw;
    }

    .bento-grid,
    .bento-grid-bottom {
        grid-template-columns: 1fr;
    }

    .tech-diagram,
    .performance-chart {
        height: 150px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .ai-tool-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* --- ANIMATED PROJECT ICONS --- */

/* Container for the animated icon */
.project-icon-container {
    width: 100%;
    aspect-ratio: 16/9;
    /* Match image ratio */
    background: #080808;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

/* --- MELODIXOR (Music Equalizer) --- */
.icon-melodixor {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
    width: 100px;
    justify-content: center;
}

.eq-bar {
    width: 12px;
    background: linear-gradient(to top, #FF00FF, #00FFFF);
    border-radius: 4px;
    animation: equalize 1s ease-in-out infinite alternate;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.eq-bar:nth-child(1) {
    height: 40%;
    animation-delay: 0.1s;
    animation-duration: 0.6s;
}

.eq-bar:nth-child(2) {
    height: 70%;
    animation-delay: 0.3s;
    animation-duration: 0.8s;
}

.eq-bar:nth-child(3) {
    height: 100%;
    animation-delay: 0.0s;
    animation-duration: 0.5s;
    background: linear-gradient(to top, #00FFFF, #FF00FF);
}

.eq-bar:nth-child(4) {
    height: 60%;
    animation-delay: 0.2s;
    animation-duration: 0.7s;
}

.eq-bar:nth-child(5) {
    height: 30%;
    animation-delay: 0.4s;
    animation-duration: 0.9s;
}

@keyframes equalize {
    0% {
        height: 20%;
        filter: hue-rotate(0deg);
    }

    100% {
        height: 100%;
        filter: hue-rotate(45deg);
    }
}

/* --- GIYDIR (Fashion Scanner) --- */
.icon-giydir {
    position: relative;
    width: 80px;
    height: 100px;
}

.t-shirt-shape {
    width: 100%;
    height: 100%;
    background: transparent;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px 10px 0 0;
    position: relative;
    /* Simplified T-shirt SVG path via clip-path or simple shapes would be better, but let's use a simple CSS shape representing a garment frame */
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 2l-2 2h-4l-2-2H4v6l2 2v12h12v-12l2-2V2z' fill='black'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 2l-2 2h-4l-2-2H4v6l2 2v12h12v-12l2-2V2z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    background-color: rgba(255, 255, 255, 0.1);
}

.t-shirt-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00FFFF, #FF00FF);
    opacity: 0.8;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 4px;
    background: #00FFFF;
    box-shadow: 0 0 15px #00FFFF, 0 0 30px #00FFFF;
    animation: scan 2s linear infinite;
    z-index: 2;
}

@keyframes scan {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* --- MIRA WEATHER (Minimalist) --- */
.icon-weather {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sun {
    width: 50px;
    height: 50px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 40px #FFD700;
    position: absolute;
    top: 15px;
    right: 15px;
    animation: pulseSun 4s infinite ease-in-out;
}

.cloud {
    width: 70px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    position: absolute;
    bottom: 25px;
    left: 10px;
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: floatCloud 3s infinite ease-in-out alternate;
}

.cloud::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.rain-drop {
    width: 3px;
    height: 10px;
    background: #00FFFF;
    position: absolute;
    bottom: 0;
    border-radius: 2px;
    animation: rain 1s infinite linear;
    opacity: 0;
}

.rain-drop:nth-child(1) {
    left: 30px;
    animation-delay: 0.2s;
}

.rain-drop:nth-child(2) {
    left: 45px;
    animation-delay: 0.5s;
}

.rain-drop:nth-child(3) {
    left: 60px;
    animation-delay: 0.8s;
}

@keyframes pulseSun {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 40px #FFD700;
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 60px #FFD700, 0 0 20px #FF0000;
    }
}

@keyframes floatCloud {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(10px);
    }
}

@keyframes rain {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(30px);
        opacity: 0;
    }
}

.team-card {
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #00FFFF, #FF00FF);
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.team-card:hover::before {
    opacity: 0.3;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 255, 255, 0.3);
}

.team-avatar {
    width: 160px;
    height: 160px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #00FFFF, #FF00FF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    color: #000;
    border: 3px solid rgba(0, 255, 255, 0.5);
    transition: all 0.4s ease;
    text-align: center;
    line-height: 1;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.6);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-avatar::before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00FFFF, #FF00FF);
    opacity: 0;
    filter: blur(30px);
    transition: opacity 0.4s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 70px rgba(0, 255, 255, 0.8);
}

.team-card:hover .team-avatar::before {
    opacity: 0.6;
}

.team-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: #00FFFF;
    margin-bottom: 0.75rem;
}

.team-card .title {
    color: #FF00FF;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-card .role {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* AI Tool Section */
.ai-tool {
    padding: 6rem 0;
    background: #000;
    display: block;
}

.ai-tool-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ai-form-card,
.ai-output-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 3rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.ai-form-card:hover,
.ai-output-card:hover {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 15px 50px rgba(0, 255, 255, 0.2);
}

.ai-form-card h3,
.ai-output-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: #00FFFF;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00FFFF;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.ai-output {
    min-height: 350px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius);
    white-space: pre-wrap;
    line-height: 1.8;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.ai-output .placeholder {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 5rem 2rem;
    font-style: italic;
}

.ai-output.loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(0, 255, 255, 0.2);
    border-top-color: #00FFFF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    padding: 3rem 0;
    backdrop-filter: blur(20px);
    display: block;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer .logo {
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.social-links a:hover {
    color: #00FFFF;
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: #00FFFF;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}

/* Section Headers - Thematic Update */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #00FFFF 50%, #FF00FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #00FFFF;
    box-shadow: 0 0 20px #00FFFF;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav-controls {
        display: flex;
    }

    .hero {
        padding-top: 8rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .bento-section {
        padding: 4rem 0;
    }

    .bento-card {
        padding: 2rem;
    }
}

/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    padding: 1rem 0;
    flex-direction: column;
    z-index: 999;
    animation: slideDown 0.3s ease-out;
}

.mobile-menu.active {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    padding: 1rem 2rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(0, 255, 255, 0.05);
    color: #00FFFF;
    padding-left: 2.5rem;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Typewriter Effect */
.typewriter-cursor {
    display: inline;
    border-right: 3px solid #00FFFF;
    margin-left: 2px;
    animation: blink-caret 0.75s step-end infinite;
    white-space: pre-wrap;
    word-break: break-word;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #00FFFF
    }
}

/* AI Designer & Browser Mockup */
.ai-designer {
    padding-bottom: 8rem;
}

.designer-preview {
    padding: 0 !important;
    overflow: hidden;
    background: #050505 !important;
    border: 1px solid rgba(0, 255, 255, 0.3) !important;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.browser-mockup {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.browser-header {
    background: #1a1a1a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.browser-header .dot:nth-child(1) {
    background: #ff5f56;
}

.browser-header .dot:nth-child(2) {
    background: #ffbd2e;
}

.browser-header .dot:nth-child(3) {
    background: #27c93f;
}

.browser-address {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 1rem;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    flex: 1;
    font-family: monospace;
    max-width: 400px;
}

.browser-body {
    flex: 1;
    position: relative;
    padding: 0;
    overflow-y: auto;
    background: #000;
    min-height: 440px;
}

.initial-message {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background: #050505;
    color: rgba(255, 255, 255, 0.6);
    position: absolute;
    inset: 0;
}

.initial-message .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

/* AI Loading Overlay */
.ai-loading-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #00ff00;
    font-family: 'Courier New', monospace;
}

.matrix-loader {
    width: 50px;
    height: 50px;
    border: 3px solid #00ff00;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px #00ff00;
}

.status-logs {
    max-width: 80%;
    font-size: 0.85rem;
    text-align: left;
    height: 120px;
    overflow: hidden;
}

.log-entry {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
    color: #00ff00;
}

/* Generated Template Styles (Dynamic) */
.preview-site {
    font-family: 'Inter', sans-serif;
    animation: scaleIn 0.5s ease-out;
    background: white;
    height: 100%;
    color: #333;
    text-align: left;
}

.preview-hero {
    padding: 3rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.preview-nav {
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.preview-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.preview-image-box {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #999;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .ai-tool-container {
        grid-template-columns: 1fr;
    }
}

/* --- ADVANCED TECH STACK ANIMATIONS --- */
.tech-icon-container {
    height: 100px;
    width: 100px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* REACT NATIVE (Atom) */
.tech-react {
    width: 60px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
}

.react-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #61DAFB;
    border-radius: 50%;
    box-shadow: 0 0 20px #61DAFB;
    animation: corePulse 2s infinite alternate;
}

.react-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 35%;
    border: 2px solid #61DAFB;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(97, 218, 251, 0.4);
}

.react-orbit.o1 {
    animation: orbitSpin 3s linear infinite;
}

.react-orbit.o2 {
    animation: orbitSpin 3s linear infinite -1s;
    transform: translate(-50%, -50%) rotate(60deg);
}

.react-orbit.o3 {
    animation: orbitSpin 3s linear infinite -2s;
    transform: translate(-50%, -50%) rotate(120deg);
}

@keyframes orbitSpin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) rotateX(65deg) rotateY(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) rotateX(65deg) rotateY(0deg);
    }
}

@keyframes corePulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
        box-shadow: 0 0 30px #61DAFB;
    }
}

/* FLUTTER (Floating Layers) */
.tech-flutter {
    width: 50px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(10deg) rotateY(-10deg);
}

.layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    opacity: 0.8;
    transition: transform 0.5s ease;
    animation: layerFloat 3s ease-in-out infinite;
}

.layer.l1 {
    background: rgba(66, 165, 245, 0.9);
    transform: translateZ(0);
    box-shadow: 0 5px 15px rgba(66, 165, 245, 0.4);
    animation-delay: 0s;
}

.layer.l2 {
    background: rgba(41, 182, 246, 0.7);
    transform: translateZ(20px);
    top: -10px;
    left: 10px;
    animation-delay: 0.2s;
}

.layer.l3 {
    background: rgba(3, 169, 244, 0.5);
    transform: translateZ(40px);
    top: -20px;
    left: 20px;
    animation-delay: 0.4s;
}

@keyframes layerFloat {

    0%,
    100% {
        transform: translateY(0) translateZ(var(--z, 0));
    }

    50% {
        transform: translateY(-10px) translateZ(var(--z, 0));
    }
}

/* SWIFT (Bird/Path) */
.tech-swift {
    width: 60px;
    height: 50px;
    position: relative;
}

.swift-wing {
    position: absolute;
    width: 40px;
    height: 8px;
    background: #F05138;
    border-radius: 10px;
    top: 20px;
    left: 10px;
    transform-origin: left;
    transform: rotate(-30deg);
    box-shadow: 0 0 15px #F05138;
    animation: wingBeat 1s ease-in-out infinite alternate;
}

.swift-body {
    position: absolute;
    width: 50px;
    height: 12px;
    background: linear-gradient(90deg, #F05138, #FFD700);
    border-radius: 20px;
    top: 30px;
    left: 5px;
    animation: swiftFly 2s linear infinite;
}

@keyframes wingBeat {
    0% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(-50deg);
    }
}

@keyframes swiftFly {
    0% {
        transform: translateX(-5px);
        opacity: 0.8;
    }

    50% {
        transform: translateX(5px);
        opacity: 1;
    }

    100% {
        transform: translateX(-5px);
        opacity: 0.8;
    }
}

/* KOTLIN (Gear) */
.tech-kotlin {
    width: 60px;
    height: 60px;
    position: relative;
    animation: gearSpin 6s linear infinite;
}

.gear-tooth {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 100%;
    background: linear-gradient(to bottom, #7F52FF, #C2185B);
    border-radius: 4px;
}

.gear-tooth:nth-child(2) {
    transform: translateX(-50%) rotate(90deg);
}

.gear-tooth:nth-child(3) {
    transform: translateX(-50%) rotate(45deg);
}

.gear-tooth:nth-child(4) {
    transform: translateX(-50%) rotate(135deg);
}

.gear-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: #000;
    border: 3px solid #7F52FF;
    border-radius: 50%;
    box-shadow: inset 0 0 10px #7F52FF;
}

@keyframes gearSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* NODE.JS (Cluster) */
.tech-node {
    width: 70px;
    height: 70px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: nodePulse 3s ease-in-out infinite;
}

.node-center {
    width: 24px;
    height: 24px;
    background: #339933;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px #339933;
}

.node-sat {
    position: absolute;
    inset: 0;
    animation: rotateSatContainer 4s linear infinite;
}

.node-sat::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #83CD29;
    border-radius: 50%;
    box-shadow: 0 0 5px #83CD29;
    transform: translateX(-50%);
}

.node-sat.s1 {
    animation-delay: 0s;
}

.node-sat.s2 {
    animation-delay: -1.33s;
}

.node-sat.s3 {
    animation-delay: -2.66s;
}

@keyframes rotateSatContainer {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes nodePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* FIREBASE (Cloud Sync) */
.tech-firebase {
    width: 60px;
    height: 60px;
    position: relative;
}

.cloud-base {
    position: absolute;
    bottom: 10px;
    width: 60px;
    height: 30px;
    background: rgba(255, 202, 40, 0.2);
    border-radius: 20px;
    border: 2px solid #FFCA28;
    box-shadow: 0 0 10px rgba(255, 202, 40, 0.3);
}

.sync-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FF6F00;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

.sync-dot.d1 {
    animation: uploadDot 2s ease-out infinite;
}

.sync-dot.d2 {
    animation: downloadDot 2s ease-out infinite 1s;
}

.sync-arrow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #FFCA28;
    animation: arrowBounce 1s ease-in-out infinite alternate;
}

@keyframes uploadDot {
    0% {
        bottom: 15px;
        opacity: 1;
    }

    100% {
        bottom: 50px;
        opacity: 0;
    }
}

@keyframes downloadDot {
    0% {
        top: -10px;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 15px;
        opacity: 0;
    }
}

@keyframes arrowBounce {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    100% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* GENKIT AI (Brain) */
.tech-brain {
    width: 60px;
    height: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.brain-lobe {
    width: 25px;
    height: 40px;
    background: transparent;
    border: 2px solid #00FFFF;
    border-radius: 15px 15px 10px 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    animation: brainPulse 3s infinite alternate;
}

.brain-lobe.l2 {
    animation-delay: 1s;
    border-color: #FF00FF;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.synapse {
    position: absolute;
    background: white;
    height: 2px;
    width: 0;
    top: 50%;
    left: 50%;
    opacity: 0;
}

.synapse.s1 {
    width: 40px;
    transform: translate(-50%, -10px) rotate(15deg);
    animation: fireSynapse 2s infinite;
}

.synapse.s2 {
    width: 40px;
    transform: translate(-50%, 10px) rotate(-15deg);
    animation: fireSynapse 2s infinite 0.5s;
}

@keyframes brainPulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
    }
}

@keyframes fireSynapse {
    0% {
        width: 0;
        left: 20%;
        opacity: 0.8;
    }

    100% {
        width: 20px;
        left: 70%;
        opacity: 0;
    }
}

/* FIGMA (Cursor) */
.tech-figma {
    width: 60px;
    height: 60px;
    position: relative;
}

.figma-shape {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    border: 2px solid #A259FF;
    border-radius: 5px;
    animation: shapeMorph 4s infinite;
}

.cursor-pointer {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 16px solid white;
    transform: rotate(-45deg);
    top: 60px;
    left: 60px;
    filter: drop-shadow(0 0 5px white);
    animation: cursorMove 4s infinite;
}

@keyframes shapeMorph {
    0% {
        border-radius: 5px;
        border-color: #A259FF;
        transform: rotate(0deg);
    }

    25% {
        border-radius: 50%;
        border-color: #F24E1E;
        transform: scale(0.8);
    }

    50% {
        border-radius: 0;
        border-color: #1ABCFE;
        transform: rotate(45deg);
    }

    75% {
        border-radius: 50% 50% 0 0;
        border-color: #0ACF83;
    }

    100% {
        border-radius: 5px;
        border-color: #A259FF;
    }
}

@keyframes cursorMove {
    0% {
        top: 60px;
        left: 60px;
    }

    25% {
        top: 30px;
        left: 30px;
        transform: rotate(-45deg) scale(0.9);
    }

    30% {
        transform: rotate(-45deg) scale(0.8);
    }

    /* Click */
    50% {
        top: 10px;
        left: 40px;
    }

    100% {
        top: 60px;
        left: 60px;
    }
}

/* --- BACKGROUND CODE SNIPPETS EFFECT --- */
.code-snippet {
    position: fixed;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(0, 255, 255, 0.4);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
    pointer-events: none;
    z-index: -1;
    white-space: nowrap;
    animation: snippetFlicker 4s ease-in-out infinite, snippetFloat 15s linear forwards;
}

@keyframes snippetFlicker {

    0%,
    100% {
        opacity: 0;
    }

    5%,
    95% {
        opacity: 0.3;
    }

    10%,
    90% {
        opacity: 0.1;
    }

    20%,
    80% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.2;
    }
}

@keyframes snippetFloat {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100vh);
    }
}

/* --- PREMIUM UI/UX ENHANCEMENTS --- */

/* Digital Grain Overlay */
.digital-grain {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
    animation: grainMove 8s steps(10) infinite;
}

@keyframes grainMove {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -5%);
    }

    20% {
        transform: translate(-10%, 5%);
    }

    30% {
        transform: translate(5%, -10%);
    }

    40% {
        transform: translate(-5%, 15%);
    }

    50% {
        transform: translate(-10%, 5%);
    }

    60% {
        transform: translate(15%, 0);
    }

    70% {
        transform: translate(0, 10%);
    }

    80% {
        transform: translate(-15%, 0);
    }

    90% {
        transform: translate(10%, 5%);
    }
}

/* 3D Tilt Support */
.bento-card,
.portfolio-card,
.tech-card,
.team-card {
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.03, 0.98, 0.52, 0.99), box-shadow 0.3s ease;
}

.bento-card>*,
.portfolio-card>*,
.tech-card>*,
.team-card>* {
    transform: translateZ(30px);
}

/* Application Section Styles */
.application-section {
    padding: 6rem 0;
    background: #000;
}

.application-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    background: rgba(10, 10, 10, 0.8);
    position: relative;
    z-index: 1;
}

.application-card .section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50px;
    color: #00FFFF;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.application-card .section-title {
    font-size: 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #00FFFF, #FF00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.application-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

/* Hide placeholder initially to prevent overlap with label */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
    transition: color 0.3s ease;
}

/* Show placeholder only when input is focused or not empty (label moved up) */
.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder,
.form-group input:not(:placeholder-shown)::placeholder,
.form-group textarea:not(:placeholder-shown)::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: #111;
    color: #fff;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -1.2rem;
    font-size: 0.85rem;
    color: #00FFFF;
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #00FFFF, #FF00FF);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.form-group input:focus~.focus-border,
.form-group textarea:focus~.focus-border,
.form-group select:focus~.focus-border {
    width: 100%;
    left: 0;
}

.matrix-input input,
.matrix-input textarea {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    color: #00FF41;
    /* Classic Matrix Green */
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.matrix-input label {
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.matrix-input input:focus~label,
.matrix-input input:not(:placeholder-shown)~label,
.matrix-input textarea:focus~label,
.matrix-input textarea:not(:placeholder-shown)~label {
    color: #00FF41;
}

/* Technological Sinking Border */
.matrix-input .focus-border {
    background: linear-gradient(90deg, #00FF41, #008F11);
    height: 2px;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

/* Terminal Cursor Simulation */
.matrix-input input:focus,
.matrix-input textarea:focus {
    caret-color: #00FF41;
}

/* Innovative Pulsing Focus */
.matrix-input input:focus,
.matrix-input textarea:focus {
    background: rgba(0, 255, 65, 0.02);
    border-bottom: 1px solid rgba(0, 255, 65, 0.5);
}

.form-group textarea {
    min-height: 120px;
    resize: none;
}

.form-status {
    margin-top: 1.5rem;
    text-align: center;
    font-weight: 600;
    min-height: 1.5rem;
    transition: all 0.3s ease;
}

.form-status.success {
    color: #00FF99;
}

.form-status.error {
    color: #FF3366;
}

/* Custom Cursor Animation for Inputs */
@keyframes matrixPulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(0, 255, 65, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
    }
}

.matrix-input input:focus,
.matrix-input textarea:focus {
    animation: matrixPulse 2s infinite ease-in-out;
}

/* Field Hints */
.field-hint {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
    font-style: italic;
}

.application-form input:focus~.field-hint,
.application-form textarea:focus~.field-hint {
    color: rgba(0, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .application-form .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .application-card {
        padding: 50px 30px;
        border-radius: 30px;
    }
}

/* --- New Innovative Application Section Styles --- */
.application {
    padding: 120px 0;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 255, 0.05) 0%, transparent 40%);
}

.application-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 80px;
    backdrop-filter: blur(25px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1000px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.application-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 255, 255, 0.1);
    transform: translateY(-5px);
}

.application-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
}

.application .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.application .badge {
    background: linear-gradient(90deg, #00FFFF, #FF00FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.application-form {
    max-width: 800px;
    margin: 0 auto;
}

.application-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.application-form .full-width {
    grid-column: span 2;
}

.btn-accent {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, #00FFFF, #0080FF);
    border: none;
    border-radius: 16px;
    color: #000;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-accent:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.btn-accent .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.6s;
}

.btn-accent:hover .btn-glow {
    left: 100%;
}