:root {
    --parchment: #f4f1e8;
    --parchment-dark: #e8e2d5;
    --text-dark: #2c2416;
    --text-light: #5a4a3a;
    --accent: #8b6914;
    --accent-hover: #6d520f;
    --nav-height: 80px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--parchment);
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='35' viewBox='0 0 40 35' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%238b6914' stroke-width='1.5' opacity='0.12'%3E%3Cpath d='M10 8.75 L10 26.25 L20 35 L30 26.25 L30 8.75 L20 0 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 20px 17px;
    pointer-events: none;
    z-index: 0;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(44, 36, 22, 0.08);
    background: linear-gradient(to bottom, var(--parchment), rgba(244, 241, 232, 0.98));
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-link {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link-primary {
    background: var(--parchment);
    color: var(--accent);
    border: 1px solid var(--accent);
    filter: drop-shadow(0 0 8px rgba(139, 105, 20, 0.3));
}

.nav-link-primary:hover {
    background: var(--parchment-dark);
    color: var(--accent-hover);
    border-color: var(--accent-hover);
    filter: drop-shadow(0 0 10px rgba(139, 105, 20, 0.5));
}

.nav-link-secondary {
    background: var(--parchment);
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.nav-link-secondary:hover {
    background: var(--text-dark);
    color: var(--parchment);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding-top: calc(var(--nav-height) + 4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    min-height: 100vh;
}

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

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    line-height: 1.4;
}


/* 3D Container */
.three-container {
    width: 750px;
    height: 750px;
    margin: 2rem auto;
}

/* Content Section */
.content-section {
    padding: 5rem 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-align: center;
    text-transform: uppercase;
}

.container p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.mobile-demo-btn {
    display: none;
    margin: 2rem auto;
    width: fit-content;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--nav-height) + 1rem);
        padding-bottom: 2rem;
        justify-content: center;
        gap: 1rem;
        min-height: calc(100vh - var(--nav-height));
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .three-container {
        width: min(400px, 85vw);
        height: min(400px, 85vw);
        margin: 1rem auto;
        /* No border-radius or overflow here either */
    }

    .nav-link-secondary {
        display: none;
    }
    
    h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 1.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container p {
        font-size: 1rem;
    }
}