* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000;
    --bg-secondary: #111;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --accent: #2997ff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 32px;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: clamp(48px, 12vw, 120px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(90deg, #fb6fbb, #6078ea, #17ead9);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    font-weight: 300;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.scroll-indicator {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0; top: 20px; }
}

/* Sections */
.section {
    padding: 120px 24px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 56px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.3s;
}

.about-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.about-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 500;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Work Section */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.work-item {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-item:hover {
    transform: scale(1.02);
}

.work-image {
    aspect-ratio: 16/10;
    border-radius: 20px;
    margin-bottom: 16px;
}

.work-item h3 {
    font-size: 20px;
    font-weight: 500;
    padding-left: 8px;
}

/* Contact Section */
.contact {
    text-align: center;
    background: var(--bg-secondary);
}

.contact-text {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-btn {
    display: inline-block;
    padding: 18px 48px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 980px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s;
}

.contact-btn:hover {
    background: #0077ed;
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .about-card, .work-item {
        opacity: 0;
        transform: translateY(40px);
        animation: fadeUp 0.8s ease forwards;
    }
    
    .about-card:nth-child(1) { animation-delay: 0.1s; }
    .about-card:nth-child(2) { animation-delay: 0.2s; }
    .about-card:nth-child(3) { animation-delay: 0.3s; }
    .work-item:nth-child(1) { animation-delay: 0.1s; }
    .work-item:nth-child(2) { animation-delay: 0.2s; }
    .work-item:nth-child(3) { animation-delay: 0.3s; }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.work-desc {
    color: var(--text-secondary);
    font-size: 14px;
    padding-left: 8px;
    margin-top: 4px;
}

.contact-email {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.card-icon {
    font-size: 32px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
}
