@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-color: #030712;
    --card-bg: #111827;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --accent-primary: #6366f1;
    --accent-secondary: #06b6d4;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(17, 24, 39, 0.7);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

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

section {
    padding: 10rem 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

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

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

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

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

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    text-align: center;
    width: 100%;
}

.hero-prefix {
    font-size: 1.8rem;
    color: var(--accent-secondary);
    margin-bottom: 2rem;
    display: block;
}

.hero-title {
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 1.1;
    margin-bottom: 3rem;
}

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

.hero-description {
    font-size: 1.8rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
}

.hero-btns {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 1.2rem 3rem;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-secondary);
}

/* About Section */
.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-label {
    font-size: 1.4rem;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 1rem;
    display: block;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
}

.about-image::after {
    content: "";
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: -2rem;
    bottom: -2rem;
    border: 2px solid var(--accent-primary);
    border-radius: 2rem;
    z-index: -1;
}

.about-text p {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item h4 {
    font-size: 2.4rem;
    color: var(--text-primary);
}

.stat-item p {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.6rem;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 2.5rem;
}

.project-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 1.1rem;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border-radius: 10rem;
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-info p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

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

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px -20px rgba(99, 102, 241, 0.3);
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    padding: 3px;
    background: var(--accent-gradient);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--card-bg);
}

.member-info h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.member-info p {
    color: var(--accent-secondary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.member-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.member-links a {
    color: var(--text-secondary);
    font-size: 1.8rem;
    transition: var(--transition);
}

.member-links a:hover {
    color: var(--text-primary);
    transform: scale(1.2);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 6rem 0 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.footer-info {
    max-width: 400px;
}

.footer-logo {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.footer-col h4 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 1rem;
}

.footer-col a {
    font-size: 1.4rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.4rem;
}

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

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

    .footer-content {
        flex-direction: column;
        gap: 4rem;
    }
}