:root {
    --bg-base: #f9f9fb;
    --bg-surface: #ffffff;
    --bg-muted: #f1f2f4;
    
    --accent: #2e604a;
    --accent-hover: #234c3a;
    --accent-subtle: #e8efe9;

    --text-main: #242628;
    --text-muted: #5e646a;
    --border-color: #dcdfe3;

    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --transition: 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1040px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto clamp(1.75rem, 4vw, 2.5rem) auto;
}

.section-header h2 {
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
    padding: 0.5rem 0;
}

.logo {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.3px;
    color: var(--text-main);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links .nav-cta {
    background: var(--bg-surface);
    color: var(--text-main);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.nav-links .nav-cta:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4.5rem) 0;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.hero-subtext {
    max-width: 580px;
    margin: 0 auto clamp(1.5rem, 3vw, 2rem) auto;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-outline {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: var(--radius-md);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.project-showcase {
    max-width: 580px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.project-media {
    height: 200px;
    overflow: hidden;
    background-color: var(--bg-muted);
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-details {
    padding: clamp(1.25rem, 3vw, 1.5rem);
}

.project-details .badge {
    background: var(--accent-subtle);
    color: var(--accent);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.project-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
    padding: 2.5rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-brand .brand-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.footer-brand .copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--text-main);
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 0.75rem 0;
    }

    .nav-links {
        gap: 0.75rem 1rem;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: 92%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .project-media {
        height: 170px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}