@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg: #000000;
    --bg-1: #0a0a0a;
    --bg-2: #111111;
    --card: #0d0d0d;
    --border: #1a1a1a;
    --border-2: #222222;
    --text: #ffffff;
    --text-2: #888888;
    --text-3: #555555;
    --accent: #ffffff;
    --radius: 12px;
    --max: 1200px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { font-family: 'Cascadia Code', monospace; font-size: 13px; color: #ccc; background: var(--bg-2); padding: 3px 10px; border-radius: 6px; border: 1px solid var(--border); }

.container { width: 100%; margin: 0; padding: 0 48px; }

/* Header */
.header {
    position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 1000;
    width: calc(100% - 32px); max-width: var(--max);
    background: rgba(10,10,10,0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 16px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 24px; max-width: var(--max); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.3px; color: var(--text); }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--text-2); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav a:hover, .nav a.active { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; transition: all 0.2s; cursor: pointer; border: none; white-space: nowrap; font-family: var(--font); }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #e0e0e0; }
.btn-dark { background: var(--bg-2); color: var(--text); border: 1px solid var(--border-2); }
.btn-dark:hover { border-color: #444; background: #1a1a1a; }
.btn-lg { padding: 14px 36px; font-size: 15px; }

/* Hero */
.hero { padding: 160px 0 100px; }
.hero-inner { max-width: 100%; }
.hero h1 { font-size: 56px; font-weight: 800; line-height: 1.05; letter-spacing: -1.5px; margin-bottom: 24px; max-width: 900px; }
.hero p { font-size: 19px; color: var(--text-2); max-width: 700px; margin-bottom: 40px; line-height: 1.6; text-align: left; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Section base */
.section { padding: 100px 0; border-top: 1px solid var(--border); }
.section-eyebrow { font-size: 13px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; text-align: left; }
.section h2 { font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 20px; text-align: left; }
.section-desc { font-size: 17px; color: var(--text-2); max-width: 700px; margin-bottom: 60px; text-align: left; }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 80px 0; border-bottom: 1px solid var(--border); }
.feature-row:last-child { border-bottom: none; }
.feature-row:nth-child(even) .feature-img { order: 2; }
.feature-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.feature-img img { width: 100%; height: 420px; object-fit: cover; }
.feature-text h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 20px; }
.feature-text p { color: var(--text-2); font-size: 16px; margin-bottom: 24px; line-height: 1.7; }
.feature-list { list-style: none; }
.feature-list li { padding: 8px 0 8px 24px; position: relative; color: var(--text); font-size: 15px; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 14px; width: 8px; height: 1px; background: var(--text-2); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { padding: 48px 32px; text-align: left; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat .num { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; color: var(--text); }
.stat .label { font-size: 14px; color: var(--text-2); }

/* OS list */
.os-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.os-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all 0.2s; }
.os-item:hover { border-color: var(--border-2); background: var(--bg-2); }
.os-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.os-item p { color: var(--text-2); font-size: 14px; line-height: 1.6; }

/* Download */
.dl-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl-item { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all 0.2s; text-decoration: none; color: var(--text); }
.dl-item:hover { border-color: #444; background: var(--bg-2); }
.dl-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.dl-item .file { color: var(--text-2); font-size: 13px; margin-bottom: 4px; }
.dl-item .meta { color: var(--text-3); font-size: 12px; }

/* Tabs */
.tab-buttons { display: flex; gap: 4px; margin-bottom: 32px; background: var(--bg-2); padding: 4px; border-radius: 10px; border: 1px solid var(--border); max-width: 480px; }
.tab-btn { flex: 1; padding: 10px 20px; background: transparent; border: none; color: var(--text-2); font-size: 14px; font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.2s; font-family: var(--font); }
.tab-btn.active { background: #fff; color: #000; }
.tab-content { display: none; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.tab-content.active { display: block; }

/* Steps */
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 14px 0 14px 48px; position: relative; color: var(--text); font-size: 15px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 10px; width: 28px; height: 28px; background: var(--bg-2); border: 1px solid var(--border-2); color: var(--text); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }

/* Docs */
.docs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.docs-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.2s; text-decoration: none; color: var(--text); }
.docs-item:hover { border-color: var(--border-2); background: var(--bg-2); }
.docs-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.docs-item p { color: var(--text-2); font-size: 14px; line-height: 1.6; }

/* Docs content */
.docs-content { max-width: 100%; padding: 120px 32px 80px; }
.docs-content h2 { font-size: 24px; font-weight: 700; margin: 40px 0 16px; }
.docs-content h3 { font-size: 18px; font-weight: 600; margin: 28px 0 12px; }
.docs-content p, .docs-content li { color: var(--text-2); font-size: 15px; line-height: 1.8; }
.docs-content ul, .docs-content ol { padding-left: 24px; margin-bottom: 16px; }
.docs-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.docs-content th, .docs-content td { padding: 10px 16px; border: 1px solid var(--border); text-align: left; color: var(--text-2); font-size: 14px; }
.docs-content th { background: var(--bg-2); color: var(--text); }
.docs-content pre { background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 16px; overflow-x: auto; margin: 12px 0; }
.docs-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--text-2); font-size: 14px; }
.docs-back:hover { color: var(--text); }

/* FAQ */
.faq-list { max-width: 100%; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { padding: 24px 0; cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--text-3); transition: transform 0.2s; font-weight: 300; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 24px; color: var(--text-2); font-size: 15px; line-height: 1.7; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 20px; }
.contact-row { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.contact-row:last-child { border-bottom: none; }
.contact-row .label { font-size: 12px; color: var(--text-3); margin-bottom: 3px; }
.contact-row a { color: var(--text); }

/* CTA */
.cta { padding: 80px 0; border-top: 1px solid var(--border); }
.cta-inner { text-align: left; max-width: 100%; }
.cta-inner h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.cta-inner p { color: var(--text-2); font-size: 17px; margin-bottom: 36px; }

/* Footer */
.footer { background: var(--bg-1); border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 18px; color: var(--text); }
.footer-col a, .footer-col p { display: block; color: var(--text-3); font-size: 13px; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; text-align: center; }
.footer-bottom p { color: var(--text-3); font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
    .nav { display: none; }
    .feature-row { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
    .feature-row:nth-child(even) .feature-img { order: 0; }
    .stats { grid-template-columns: 1fr; }
    .stat { border-bottom: 1px solid var(--border); }
    .stat:nth-child(2) { border-right: none; }
    .os-list, .dl-list, .docs-list, .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 16px; }
    .section h2 { font-size: 28px; }
    .cta-inner h2 { font-size: 26px; }
    .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.pricing-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; position: relative; }
.pricing-card-popular { border-color: var(--accent); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #000; font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 20px; }
.pricing-header h3 { font-size: 24px; margin-bottom: 8px; }
.pricing-price { font-size: 32px; font-weight: 800; color: var(--accent); margin-bottom: 24px; }
.pricing-features p { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.pricing-features p:last-child { border-bottom: none; }
.pricing-table { margin: 20px 0; }
.pricing-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pricing-table th { text-align: left; padding: 8px; border-bottom: 1px solid var(--border-2); color: var(--text-3); font-weight: 500; }
.pricing-table td { padding: 8px; border-bottom: 1px solid var(--border); }
.pricing-card .btn { width: 100%; text-align: center; box-sizing: border-box; margin-top: 8px; }
