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

:root {
    --primary: #000000;
    --secondary: #6b7280;
    --accent: #3b82f6;
    --bg: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-light: #fafafa;
    --text: #0a0a0a;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --border: #e5e7eb;
    --border-dark: #1f1f1f;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}


/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.nav-links a {
    font-size: 15px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a {
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    background: var(--bg);
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-main {
    max-width: 800px;
    margin-bottom: 80px;
}

.hero-intro {
    margin-bottom: 32px;
}

.hero-greeting {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 500;
    display: block;
    margin-bottom: 16px;
}

.hero-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(56px, 10vw, 96px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.hero-role {
    font-size: 24px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}

.hero-stats {
    display: flex;
    gap: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -2px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Section Styles */
.section {
    padding: 120px 0;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 80px;
}

.section-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    min-width: 40px;
}

.section-dark .section-number {
    color: rgba(255, 255, 255, 0.4);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--text);
}

.section-dark .section-title {
    color: var(--text-white);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 120px;
    align-items: start;
}

.about-text {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 24px;
}

.about-links {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.about-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-block {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.info-block:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

.skill-group-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-white);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-name {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

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

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #8b5cf6);
    border-radius: 2px;
    width: 0;
    transition: width 1.2s ease;
}

/* Work Section */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.work-card {
    padding: 48px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.work-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.work-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

.work-card:hover::after {
    opacity: 0.05;
}

.work-icon {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.work-card:hover .work-icon {
    color: var(--accent);
}

.work-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.work-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-light);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-gradient-1 {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

.portfolio-gradient-2 {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

.portfolio-gradient-3 {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.portfolio-gradient-4 {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

.portfolio-gradient-5 {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.portfolio-gradient-6 {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.05) 10px,
            rgba(255, 255, 255, 0.05) 20px
        );
    opacity: 0.3;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 32px;
    text-align: left;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 1;
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.85) 60%, transparent 100%);
    padding-bottom: 40px;
}

.portfolio-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.portfolio-category {
    font-size: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-weight: 500;
}

.portfolio-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-top: 8px;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-quote {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 64px;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.testimonial-author {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Section */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 64px;
    text-align: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(6px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.method-icon {
    font-size: 32px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 12px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.method-info {
    flex: 1;
}

.method-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}

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

.contact-method svg {
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.contact-method:hover svg {
    transform: translate(4px, -4px);
    color: var(--accent);
}

/* Footer */
.footer {
    padding: 64px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
}

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

.footer-content p {
    font-size: 14px;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .skills-container {
        grid-template-columns: 1fr;
        gap: 64px;
    }

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

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-stats {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .nav-wrapper {
        padding: 20px 24px;
        flex-wrap: wrap;
        gap: 16px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-links {
        flex-direction: column;
    }

    .hero-main {
        margin-bottom: 60px;
    }
    
    .hero-stats {
        gap: 40px;
    }

    .work-card {
        padding: 32px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-wrapper {
        padding: 16px 20px;
    }

    .nav-logo {
        font-size: 20px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 18px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 36px;
    }
}
