:root {
    /* Tech / Professional Palette */
    --bg-main: #f5f5f7;
    /* Apple-ish light grey */
    --bg-card: #ffffff;

    --text-main: #1d1d1f;
    /* Almost black */
    --text-muted: #86868b;

    --accent-red: #ff3b30;
    /* System Red */
    --accent-blue: #0071e3;
    /* System Blue */
    --border-color: #d2d2d7;

    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --transition: all 0.3s cubic-bezier(0, 0, 0.44, 1.18);
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: var(--font-stack);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography - Clean & Engineered */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    /* Tighter tracking for headlines */
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.container {
    max-width: 980px;
    /* Standard compact width */
    margin: 0 auto;
    padding: 0 22px;
}

/* Navigation - Translucent & Blur */
nav {
    height: 48px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

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

.logo {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.logo:hover {
    opacity: 1;
}

.logo img {
    height: 24px;
    width: 24px;
    border-radius: 50%;
}

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

.nav-links a {
    font-size: 12px;
    color: var(--text-muted);
    /* Distinct grey for links */
    transition: color 0.2s ease;
}

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

/* Hero Section - Minimalist */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
}

.hero-logo-large {
    width: 140px;
    height: 140px;
    margin-bottom: 24px;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 6px solid white;
    /* No border, clean cut */
    animation: float 6s ease-in-out infinite;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.hero p {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 400;
    color: var(--text-main);
    max-width: 600px;
    margin: 0 auto 32px;
}

/* Buttons - Pill Shaped */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 980px;
    /* Pill */
    font-size: 15px;
    font-weight: 500;
    /* Regular weight */
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: #0077ed;
    /* Slightly lighter */
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-outline {
    color: var(--accent-blue);
    background: transparent;
}

.btn-outline:hover {
    text-decoration: underline;
}

/* Sections */
.section {
    padding: 100px 0;
    background: #fff;
    border-top: 1px solid #f5f5f7;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: left;
}

/* Grid & Cards - Clean Blocks */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--bg-main);
    padding: 40px 30px;
    border-radius: 18px;
    text-align: flex-start;
    transition: var(--transition);
}

.card:hover {
    transform: scale(1.02);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Featured Project */
.featured {
    background: #f5f5f7;
    /* Distinct section background */
}

.project-showcase {
    display: flex;
    align-items: center;
    gap: 80px;
}

.project-image-container {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 20px;
    /* Frame look */
}

.project-image {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.project-content {
    flex: 1;
}

.project-content h3 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.availability-text {
    font-size: 21px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: block;
}

.project-tags {
    margin-bottom: 30px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--text-muted);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 60px 0;
    background: #f5f5f7;
    text-align: center;
    border-top: 1px solid #d2d2d7;
}

.social-links a {
    color: var(--text-muted);
    margin: 0 12px;
    font-size: 20px;
}

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

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 800px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .project-showcase {
        flex-direction: column;
        gap: 40px;
        text-align: left;
    }

    .hero h1 {
        font-size: 40px;
    }
}