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

:root {
    /* Lighter dark palette */
    --color-bg: #141414;
    --color-bg-alt: #1c1c1c;
    --color-surface: #242424;
    --color-border: #333333;
    --color-text: #ffffff;
    --color-text-secondary: #b3b3b3;
    --color-text-muted: #808080;
    --color-accent: #3b82f6;
    --color-accent-hover: #60a5fa;

    /* Modern sans-serif font stack */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;

    --max-width: 1200px;
    --nav-height: 72px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation - Clean and minimal */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background-color: rgba(20, 20, 20, 0.95);
    box-shadow: 0 1px 0 var(--color-border);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

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

/* Hamburger menu button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

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

.nav-toggle-active span:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section - Clean and spacious */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 40px 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59, 130, 246, 0.08), transparent);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(52px, 8vw, 72px);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: var(--color-text);
}

.tagline {
    font-size: clamp(22px, 3vw, 28px);
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--color-text-muted);
    line-height: 1.75;
    font-weight: 400;
}

/* Sections - More whitespace */
.section {
    position: relative;
    padding: 120px 40px;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

/* Section gradients */
#about::before {
    background: radial-gradient(ellipse 50% 50% at 0% 50%, rgba(59, 130, 246, 0.08), transparent);
}

#services::before {
    background: radial-gradient(ellipse 50% 50% at 100% 50%, rgba(59, 130, 246, 0.10), transparent);
}

#approach::before {
    background: radial-gradient(ellipse 50% 50% at 50% 100%, rgba(59, 130, 246, 0.08), transparent);
}

#contact::before {
    background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(59, 130, 246, 0.12), transparent);
}

.section h2 {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 56px;
    text-align: center;
    color: var(--color-text);
}

/* About Section */
.about-content {
    max-width: 720px;
    margin: 0 auto;
}

.about-content p {
    color: var(--color-text-secondary);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Services Grid - Card style like Airbnb */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.service-item {
    padding: 36px;
    background-color: rgba(36, 36, 36, 0.2);
    border: 1px solid rgba(51, 51, 51, 0.3);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    background-color: rgba(36, 36, 36, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.service-item p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.65;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 80px;
    max-width: 960px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
}

.value-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.value-item p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.65;
}

/* Contact Section */
#contact {
    text-align: center;
}

.contact-intro {
    color: var(--color-text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-email {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    padding: 18px 40px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all 0.2s ease;
}

.contact-email:hover {
    border-color: var(--color-text-secondary);
    background-color: rgba(255, 255, 255, 0.03);
}

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

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

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-copyright {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.footer-location {
    font-size: 14px;
    color: var(--color-text-muted);
}

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

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .container,
    .nav-container {
        padding: 0 24px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        gap: 0;
    }

    .nav-links.nav-open {
        max-height: 300px;
        padding: 16px 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links a {
        display: block;
        padding: 16px 24px;
        font-size: 16px;
    }

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

    .hero {
        min-height: auto;
        padding: 140px 24px 80px;
    }

    .section {
        padding: 80px 24px;
    }

    .section h2 {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .services-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .values-grid {
        gap: 36px;
    }

    .footer {
        padding: 40px 24px;
    }

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

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

    .contact-email {
        font-size: 16px;
        padding: 16px 32px;
    }
}

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

    .section {
        padding: 64px 20px;
    }

    .section h2 {
        font-size: 26px;
        margin-bottom: 32px;
    }

    .service-item {
        padding: 28px;
    }

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

    .tagline {
        font-size: 20px;
    }
}
