/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: #0a0a0b;
    --color-bg-elevated: #141416;
    --color-text: #ffffff;
    --color-text-muted: #8a8a8e;
    --color-accent: #6366f1;
    --color-accent-hover: #818cf8;
    --color-border: rgba(255, 255, 255, 0.08);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

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

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

.btn-secondary {
    background: var(--color-bg-elevated);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

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

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
}

/* About */
.about {
    border-top: 1px solid var(--color-border);
}

.about-content {
    max-width: 680px;
}

.about-content .lead {
    font-size: 1.35rem;
    color: var(--color-text);
    margin-bottom: 24px;
    line-height: 1.6;
}

.about-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

/* Work / Projects */
.work {
    background: var(--color-bg-elevated);
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--color-bg);
    border-radius: 24px;
    padding: 60px;
    border: 1px solid var(--color-border);
}

.project-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-preview {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6B8DD6 100%);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 25px 80px rgba(99, 102, 241, 0.3);
}

.breathing-circle {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: breathe 4s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.app-name {
    position: absolute;
    bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.05em;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-info h3 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.project-tagline {
    font-size: 1.2rem;
    color: var(--color-text);
    font-weight: 500;
}

.project-info p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.feature-list {
    list-style: none;
    margin: 8px 0 16px;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

.app-store-btn {
    width: fit-content;
    margin-top: 8px;
}

/* Contact */
.contact {
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.contact-text {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.contact-email {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

.contact-email:hover {
    color: var(--color-accent-hover);
}

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

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

.footer-logo {
    font-weight: 600;
    font-size: 1.1rem;
}

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

/* Mobile Responsive */
@media (max-width: 900px) {
    .project-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 30px;
    }

    .project-visual {
        order: -1;
    }

    .project-info {
        align-items: center;
    }

    .feature-list {
        text-align: left;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

    .section {
        padding: 80px 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .app-preview {
        width: 220px;
        height: 220px;
    }

    .breathing-circle {
        width: 80px;
        height: 80px;
    }

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