:root {
    --bg-color: #000000;
    --card-bg: #151816;
    --card-border: #1a1e1b;
    --text-primary: #ededeb;
    --text-secondary: #9aa29c;
    --accent-green: #6c8c73;
    --btn-green: #597a61;
    --btn-green-hover: #4d6d54;
    --icon-bg: #1c241f;

    --font-serif: 'DM Serif Display', serif;
    --font-sans: 'Inter', sans-serif;
}

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

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

/* Navbar */
.navbar {
    padding: 32px 64px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--text-primary);
}

.logo svg {
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--btn-green);
    color: #fff;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 64px 64px;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    flex: 0;
    max-width: 800px;
    padding-top: 0;
    z-index: 2;
    margin-top: 40px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 80px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-title .highlight {
    color: var(--accent-green);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-model {
    width: 100%;
    height: 70vh; /* Increased from 50vh */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden; /* Changed from visible to hidden to clip watermark */
}

#canvas3d {
    width: 100% !important;
    height: calc(100% + 150px) !important; /* Extra height to hide watermark */
    pointer-events: none;
    outline: none;
    margin-bottom: -75px; /* Shift it down more */
    transform: scale(0.85); /* Zoom out slightly */
}

.spline-mask {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px; /* Wide enough to cover typical logo */
    height: 70px; /* Tall enough to cover typical logo */
    background: black; /* Matches page background */
    z-index: 5;
    pointer-events: none;
}

.placeholder-sphere {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #a2c4a9, #597a61 40%, #1c241f 80%, black);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset -20px -20px 40px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
    position: relative;
    right: 40px;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Features Section */
.features {
    padding: 120px 64px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 64px;
}

.features-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent-green);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.features-title {
    font-family: var(--font-serif);
    font-size: 48px;
    margin-bottom: 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 48px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #29312d;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--icon-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-name {
    font-family: var(--font-serif);
    font-size: 28px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 120px 64px;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-color), #0a0c0b);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 56px;
    margin-bottom: 16px;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-model {
        margin-top: 60px;
        justify-content: center;
    }
    
    .placeholder-sphere {
        right: 0;
        width: 350px;
        height: 350px;
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    
    .features-title {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 40px;
    }
}
