:root {
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --border: #eaeaea;
    --text: #1a1a1a;
    --text-muted: #6b7280;
    --accent: #000000;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1.25rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 450;
    transition: color 0.2s;
}

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 3rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-alt);
    border-radius: 100px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: #333;
}

.btn-secondary {
    background: var(--bg-alt);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* Hero Visual */
.hero-visual {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.visual-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.visual-circle:nth-child(1) {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.visual-circle:nth-child(2) {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
}

.visual-circle:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    background: var(--bg-alt);
}

.visual-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
}

.visual-dot:nth-child(4) { top: 0; left: 50%; transform: translate(-50%, -50%); }
.visual-dot:nth-child(5) { top: 50%; right: 0; transform: translate(50%, -50%); }
.visual-dot:nth-child(6) { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.visual-dot:nth-child(7) { top: 50%; left: 0; transform: translate(-50%, -50%); }

.visual-line {
    position: absolute;
    background: var(--border);
}

.visual-line:nth-child(8) {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
}

.visual-line:nth-child(9) {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
}

/* Sections */
.section {
    padding: 6rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat {
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: 12px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 0.25rem;
}

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

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.skill-card {
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.skill-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.skill-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.skill-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.skill-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s;
}

.contact-item:hover {
    background: var(--border);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.contact-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-visual {
    background: var(--bg-alt);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.contact-graphic {
    width: 200px;
    height: 200px;
    position: relative;
}

.contact-graphic::before,
.contact-graphic::after {
    content: '';
    position: absolute;
    border: 1px solid var(--border);
    border-radius: 50%;
}

.contact-graphic::before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.contact-graphic::after {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    background: white;
}

/* Footer */
footer {
    padding: 3rem;
    text-align: center;
    border-top: 1px solid var(--border);
    width: 100%;
}

footer p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        justify-content: center;
    }

    .hero-text {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s;
        pointer-events: none;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero {
        padding: 100px 1.5rem 3rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

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