/* Reset et Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8b5cf6;
    --secondary-color: #a855f7;
    --accent-color: #c084fc;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-text: #ffffff;
    --gray-text: #cccccc;
    --card-bg: rgba(20, 20, 20, 0.8);
    --gradient-primary: linear-gradient(135deg, #8b5cf6, #c084fc);
    --gradient-secondary: linear-gradient(135deg, #a855f7, #e879f9);
    --font-main: 'Roboto', sans-serif;
    --font-accent: 'Orbitron', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
    line-height: 1.6;
}

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

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    animation: pulse 2s infinite;
}

.loading-logo {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: rotate 2s linear infinite;
}

.loading-text {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    animation: loading 3s ease-in-out;
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    border-bottom-color: var(--primary-color);
}

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

.nav-logo {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    color: var(--light-text);
}

.logo-accent {
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.nav-link {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 98%, var(--primary-color) 100%),
        linear-gradient(var(--darker-bg) 30%, transparent 31%);
    background-size: 50px 50px;
    animation: matrix 20s linear infinite;
    opacity: 0.1;
}

@keyframes matrix {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border: 2px solid var(--primary-color);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    border-color: var(--accent-color);
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    border-color: var(--secondary-color);
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(10deg); }
    66% { transform: translateY(10px) rotate(-5deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-family: var(--font-accent);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title.line:nth-child(3) { animation-delay: 0.6s; }

.title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark-bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.code-animation {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.code-line {
    height: 20px;
    background: var(--gradient-primary);
    margin-bottom: 10px;
    border-radius: 10px;
    opacity: 0;
    animation: typewriter 2s ease-in-out infinite;
}

.code-line:nth-child(1) { 
    width: 80%; 
    animation-delay: 0s;
}
.code-line:nth-child(2) { 
    width: 60%; 
    animation-delay: 0.4s;
}
.code-line:nth-child(3) { 
    width: 90%; 
    animation-delay: 0.8s;
}
.code-line:nth-child(4) { 
    width: 70%; 
    animation-delay: 1.2s;
}
.code-line:nth-child(5) { 
    width: 50%; 
    animation-delay: 1.6s;
}

@keyframes typewriter {
    0%, 10% { 
        width: 0; 
        opacity: 0; 
    }
    50% { 
        opacity: 1; 
    }
    90%, 100% { 
        opacity: 0; 
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: var(--primary-color);
    animation: floatIcon 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
    color: var(--primary-color);
}

.floating-icon:nth-child(2) {
    top: 30%;
    right: 10%;
    animation-delay: 1s;
    color: var(--accent-color);
}

.floating-icon:nth-child(3) {
    bottom: 40%;
    left: 10%;
    animation-delay: 2s;
    color: var(--secondary-color);
}

.floating-icon:nth-child(4) {
    bottom: 20%;
    right: 30%;
    animation-delay: 3s;
    color: var(--primary-color);
}

.floating-icon:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 4s;
    color: var(--accent-color);
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    25% { transform: translateY(-15px) rotate(5deg); opacity: 1; }
    50% { transform: translateY(-30px) rotate(-5deg); opacity: 0.8; }
    75% { transform: translateY(-15px) rotate(5deg); opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.team {
    padding: 100px 0;
    background: var(--dark-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 4rem auto;
    gap: 3rem;
}

.team-member {
    position: relative;
}

.member-card {
    background: var(--card-bg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: 100%;
}

.member-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.member-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar {
    font-size: 4rem;
    color: var(--dark-bg);
    z-index: 2;
    transition: all 0.3s ease;
}

.member-card:hover .member-avatar {
    transform: scale(1.1) rotate(5deg);
}

.member-particle {
    z-index: 1;
    animation: memberParticleFloat 3s ease-in-out infinite;
}

@keyframes memberParticleFloat {
    0% { 
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% { 
        opacity: 0.8;
        transform: translateY(-20px) scale(1);
    }
    100% { 
        opacity: 0;
        transform: translateY(-40px) scale(0.5);
    }
}

.kamu-card .member-image {
    background: linear-gradient(135deg, #8b5cf6, #c084fc);
}

.kamu-card .member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="50" fill="rgba(0,0,0,0.1)">{ }</text></svg>') repeat;
    background-size: 50px 50px;
    animation: float 6s ease-in-out infinite;
}



.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-card:hover .member-overlay {
    opacity: 1;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.member-social .social-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.member-social .social-link:hover {
    transform: scale(1.1);
    background: var(--accent-color);
}

.member-content {
    padding: 2rem;
}

.member-name {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.member-role {
    font-size: 1.1rem;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.member-description {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

.team-collaboration {
    background: var(--card-bg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    margin-top: 3rem;
}

.collaboration-title {
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.collaboration-description {
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.collaboration-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.collab-stat {
    text-align: center;
}

.collab-number {
    display: block;
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.collab-label {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.skills {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.skills.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: var(--font-accent);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

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

.skill-category {
    background: var(--card-bg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

.skill-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.category-header h3 {
    font-family: var(--font-accent);
    font-size: 1.5rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    border-radius: 4px;
    transition: width 2s ease;
}

.projects {
    padding: 100px 0;
    background: var(--dark-bg);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--light-text);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-description {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--font-accent);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info p {
    color: var(--gray-text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-methods {
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: border-color 0.3s ease;
}

.contact-method:hover {
    border-color: var(--primary-color);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
}

.method-info {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.method-value {
    font-weight: 500;
    color: var(--light-text);
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--gray-text);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--card-bg);
    padding: 0 0.5rem;
}

.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

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

.footer-title {
    font-family: var(--font-accent);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray-text);
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-text);
}

.contracts {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.contracts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contract-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%2300ff88" stroke-width="0.1" opacity="0.1"/><circle cx="10" cy="10" r="0.5" fill="%2300ff88" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23contract-grid)"/></svg>');
    pointer-events: none;
    animation: contractsBackground 20s linear infinite;
}

.contracts::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(0, 170, 255, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 102, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes contractsBackground {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-20px) translateY(-20px); }
}

.contracts-intro {
    text-align: center;
    margin-bottom: 80px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--gray-text);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-accent);
    letter-spacing: 0.5px;
}

.contracts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.contract-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contract-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 255, 136, 0.5);
}

.contract-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    border-radius: 50%;
    pointer-events: none;
}

.contract-card:hover::before {
    transform: scaleX(1);
}

.contract-card:hover::after {
    width: 300px;
    height: 300px;
}

.contract-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 
        0 25px 50px rgba(0, 255, 136, 0.25),
        0 0 30px rgba(0, 255, 136, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.contract-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.server-logo {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--darker-bg);
    box-shadow: 
        0 10px 25px rgba(0, 255, 136, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.server-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.contract-card:hover .server-logo::before {
    left: 100%;
}

.contract-info h3 {
    color: var(--light-text);
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 700;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contract-status {
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-accent);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    cursor: default;
    transition: all 0.3s ease;
}

.contract-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contract-status:hover::before {
    left: 100%;
}

.contract-status.active {
    background: rgba(139, 92, 246, 0.25);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: 
        0 0 15px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(139, 92, 246, 0.2);
}

.contract-status.active::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px var(--primary-color);
}

.contract-status.completed {
    background: rgba(46, 204, 113, 0.25);
    color: #2ecc71;
    border: 1px solid #2ecc71;
    box-shadow: 
        0 0 15px rgba(46, 204, 113, 0.3),
        inset 0 1px 0 rgba(46, 204, 113, 0.2);
}

.contract-status.upcoming {
    background: rgba(241, 196, 15, 0.25);
    color: #f1c40f;
    border: 1px solid #f1c40f;
    box-shadow: 
        0 0 15px rgba(241, 196, 15, 0.3),
        inset 0 1px 0 rgba(241, 196, 15, 0.2);
}

.contract-details p {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 25px;
}

.contract-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

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

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-accent);
    font-weight: 600;
}

.stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-accent);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.contract-services h4 {
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-accent);
    font-weight: 600;
}

.contract-services ul {
    list-style: none;
    padding: 0;
}

.contract-services li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--gray-text);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contract-services li i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.upcoming-contract .contract-services li i {
    color: #f1c40f;
}

.completed-contract .contract-services li i {
    color: #2ecc71;
}

.contracts-cta {
    text-align: center;
    padding: 50px 40px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 25px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contracts-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="cta-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="%2300ff88" opacity="0.1"/><circle cx="10" cy="10" r="1" fill="%2300d4ff" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%2300d4ff" opacity="0.1"/><circle cx="10" cy="50" r="1" fill="%2300d4ff" opacity="0.1"/><circle cx="50" cy="50" r="1" fill="%2300d4ff" opacity="0.1"/></pattern></defs><rect width="60" height="60" fill="url(%23cta-pattern)"/></svg>');
    pointer-events: none;
    animation: ctaPattern 15s linear infinite;
}

@keyframes ctaPattern {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(60px) translateY(60px); }
}

.contracts-cta h3 {
    color: var(--light-text);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contracts-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contract-card {
    opacity: 0;
    transform: translateY(50px) rotateX(15deg);
    animation: contractFadeIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.contract-card:nth-child(1) { animation-delay: 0.1s; }
.contract-card:nth-child(2) { animation-delay: 0.25s; }
.contract-card:nth-child(3) { animation-delay: 0.4s; }
.contract-card:nth-child(4) { animation-delay: 0.55s; }

@keyframes contractFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(15deg) scale(0.9);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
        filter: blur(0px);
    }
}

@keyframes statGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
        transform: scale(1.05);
    }
}

.contract-card:hover .stat-value {
    animation: statGlow 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--darker-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .collaboration-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contracts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contract-card {
        padding: 20px;
    }
    
    .contract-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contract-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .projects-filter {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.preview-modal {
  position: fixed;
  z-index: 20000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
}
.preview-modal-content {
  position: relative;
  background: #111;
  padding: 20px;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
    box-shadow: 0 0 30px #8b5cf6;
}
.preview-modal-content img {
  max-width: 80vw;
  max-height: 70vh;
  border-radius: 8px;
  display: block;
}
.preview-modal-close {
  position: absolute;
  top: 10px; right: 18px;
  color: #8b5cf6;
  font-size: 2rem;
  cursor: pointer;
  font-family: var(--font-accent);
}

.navbar .nav-container {
    padding-left: 5 !important;
    margin-left: 0 !important;
}
.nav-logo {
    margin-left: 5 !important;
}

.site-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 10px;
}
    
.projects-grid {
    justify-content: center;
}
.projects-grid .project-card {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.member-modal {
  position: fixed;
  z-index: 20000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
}

.member-modal-content {
  position: relative;
  background: var(--card-bg);
  padding: 30px 40px;
  border-radius: 16px;
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 0 30px var(--primary-color);
  color: var(--light-text);
  min-width: 320px;
  border: 1px solid var(--primary-color);
  backdrop-filter: blur(15px);
  overflow-y: auto;
}

.member-modal-content h2 {
  color: var(--primary-color);
  font-family: var(--font-accent);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.member-modal-list li {
  background: rgba(139,92,246,0.08);
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  color: var(--light-text);
  font-family: var(--font-main);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.member-modal-list li::before {
  content: '✦';
  position: absolute;
  left: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.member-modal-list li {
  padding-left: 3rem;
}

.member-modal-list li:hover {
  background: rgba(139,92,246,0.15);
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(139,92,246,0.2);
}

.member-modal-close {
  position: absolute;
  top: 15px; right: 20px;
  color: var(--primary-color);
  font-size: 2rem;
  cursor: pointer;
  font-family: var(--font-accent);
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.member-modal-close:hover {
  background: rgba(139,92,246,0.1);
  transform: scale(1.1);
}

.member-modal-content {
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.member-modal-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem 1rem 3rem;
}

.script-name {
  flex: 1;
  font-weight: 500;
}

.script-preview-btn {
  background: var(--gradient-primary);
  color: var(--dark-bg);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.script-preview-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.script-preview-btn i {
  font-size: 0.8rem;
}

.video-modal {
  position: fixed;
  z-index: 30000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(15px);
}

.video-modal-content {
  position: relative;
  background: var(--card-bg);
  padding: 30px;
  border-radius: 16px;
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 0 40px var(--primary-color);
  border: 1px solid var(--primary-color);
  backdrop-filter: blur(15px);
  animation: videoModalSlideIn 0.4s ease-out;
}

@keyframes videoModalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(-100px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.video-modal-content h3 {
  color: var(--primary-color);
  font-family: var(--font-accent);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--primary-color);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: 15px; right: 20px;
  color: var(--primary-color);
  font-size: 2rem;
  cursor: pointer;
  font-family: var(--font-accent);
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(139,92,246,0.1);
}

.video-modal-close:hover {
  background: rgba(139,92,246,0.2);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .video-modal-content {
    padding: 20px;
    margin: 20px;
  }
  
  .video-container {
    max-width: 100%;
  }
  
  .member-modal-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .script-preview-btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}
