:root {
    --primary: #FF4B26;
    --bg: #FFFFFF;
    --bg-light: #FAFAFA;
    --text: #050505;
    --text-muted: #666666;
    --border: #E5E5E5;
    --font-main: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --nav-height: 80px;
}

html {
    scroll-behavior: smooth;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-link {
    color: var(--text);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* Hero */
.hero {
    padding: 120px 0;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(255, 75, 38, 0.05), transparent);
}

.hero-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #F5F5F5;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.text-gradient {
    color: var(--primary);
}

.hero p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: var(--text-muted);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Stats */
.stats {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.stats h2 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.stat-item h3 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
}

.partners-marquee {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    opacity: 0.5;
    flex-wrap: wrap;
}

.partners-marquee img {
    height: 30px;
    filter: grayscale(1);
}

/* Features */
.features {
    padding: 100px 0;
    scroll-margin-top: var(--nav-height);
}

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

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-card.reverse {
    direction: rtl;
}

.feature-card.reverse > * {
    direction: ltr;
}

.feature-label {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.feature-content h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.feature-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.feature-links {
    display: flex;
    gap: 24px;
}

.feature-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.feature-grid {
    display: grid;
    gap: 32px;
}

.sub-feature h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.sub-feature p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Builders Section */
.builders {
    padding: 120px 0;
    background: #050505;
    color: white;
    text-align: center;
    scroll-margin-top: var(--nav-height);
}

.builders-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.builders-header p {
    color: #888;
    font-size: 18px;
    margin-bottom: 60px;
}

.code-preview {
    max-width: 800px;
    margin: 0 auto 60px;
    background: #111;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: left;
    overflow: hidden;
}

.code-header {
    background: #1A1A1A;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #333;
}

.code-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.code-header .file-name {
    font-size: 12px;
    color: #888;
    margin-left: 8px;
}

.code-preview pre {
    padding: 24px;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #DDD;
    overflow-x: auto;
}

.builders-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
}

.builder-item h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.builder-item p {
    color: #888;
}

.builders-footer {
    margin-top: 40px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand img {
    height: 28px;
    margin-bottom: 24px;
}

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

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

.link-group h4 {
    font-size: 14px;
    margin-bottom: 24px;
}

.link-group a {
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.legal {
    display: flex;
    gap: 24px;
}

.legal a {
    text-decoration: none;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-link {
        display: none;
    }
    .hero h1 {
        font-size: 40px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-card {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 40px;
    }
    .feature-card.reverse {
        direction: ltr;
    }
    .builders-grid {
        flex-direction: column;
        gap: 32px;
    }
    .footer-grid {
        flex-direction: column;
        gap: 40px;
    }
}
