:root {
    --color-bg: #fafaf9;
    --color-bg-elevated: #f5f5f4;
    --color-bg-card: #ffffff;
    --color-text: #1c1917;
    --color-text-muted: #78716c;
    --color-accent: #c2410c;
    --color-accent-light: #fed7aa;
    --color-border: #e7e5e4;

    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', monospace;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --section-padding: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-display);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Grain overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Scroll glow effect */
.scroll-glow {
    position: fixed;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(194, 65, 12, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.scroll-glow.active {
    opacity: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 24px;
    transition: background-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background-color: rgba(250, 250, 249, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--color-border);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--color-text);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background-color: var(--color-text);
    transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(2.5px, 2.5px);
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    padding: 20px 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 500;
}

/* Hero */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 520px;
}

.hero-badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 10px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-text);
    border: none;
    color: var(--color-bg);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all var(--transition);
}

.btn-primary:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.btn-primary svg {
    transition: transform var(--transition);
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    opacity: 0.8;
    mix-blend-mode: multiply;
}

/* Sections */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    font-size: 10px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

/* About */
.about {
    padding: var(--section-padding) 0;
}

.about-content {
    max-width: 560px;
}

.about-text {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 20px;
}

.about-text .accent {
    color: var(--color-accent);
}

.about-secondary {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-note {
    display: inline-block;
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
}

/* Team */
.team {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg-elevated);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.team-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: border-color var(--transition), box-shadow var(--transition);
    align-items: center;
}

.team-card:hover {
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.team-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.team-title {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--color-accent);
    display: block;
}

/* Investors */
.investors {
    padding: var(--section-padding) 0;
}

.investors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 32px;
}

.investor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.investor-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.investor-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

/* Contact */
.contact {
    padding: 80px 0;
    background: var(--color-bg-elevated);
    text-align: center;
}

.contact h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-email {
    font-size: 16px;
    font-family: var(--font-mono);
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity var(--transition);
}

.contact-email:hover {
    opacity: 0.7;
}

/* Footer */
footer {
    padding: 32px 24px;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text-sm {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.copyright {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
}

/* Responsive - Tablet */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        justify-content: center;
        order: -1;
    }

    .hero-image img {
        max-height: 280px;
        opacity: 0.7;
    }

    .investors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
    :root {
        --section-padding: 64px;
    }

    .navbar {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        top: 54px;
        padding: 16px 20px;
    }

    .hero {
        padding: 70px 20px 48px;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge {
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image img {
        max-height: 200px;
        opacity: 0.6;
    }

    .section-container {
        padding: 0 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    .investors-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .investor-img {
        width: 40px;
        height: 40px;
    }

    .investor-name {
        font-size: 13px;
    }

    .contact {
        padding: 56px 0;
    }

    .contact h2 {
        font-size: 22px;
    }

    .contact-email {
        font-size: 14px;
    }

    .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    footer {
        padding: 24px 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeIn 0.5s ease-out;
}

.hero-image {
    animation: fadeIn 0.6s ease-out 0.15s both;
}

.team-card {
    opacity: 0;
    transform: translateY(12px);
}

.team-card.visible {
    animation: fadeIn 0.35s ease-out forwards;
}
