:root {
    --bg-light: #fbfbfd;
    --bg-dark: #161617;
    --bg-gray: #f5f5f7;
    --bg-dark-gray: #1d1d1f;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-light: #f5f5f7;
    --text-muted: #a1a1a6;
    --accent: #0066cc;
    --accent-hover: #0077ed;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-dark-bg: rgba(29, 29, 31, 0.7);
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.08);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 52px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.logo {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

.btn-primary {
    background: var(--accent);
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 14px;
    font-weight: 500;
}

.btn-primary.large {
    padding: 12px 28px;
    border-radius: 20px;
    font-size: 1.1rem;
}

.btn-secondary {
    background: rgba(0,0,0,0.05);
    color: var(--text-primary) !important;
    padding: 12px 28px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: radial-gradient(circle at center 20%, #fbfbfd 0%, #f5f5f7 100%);
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #0066cc 0%, #8a2be2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.6rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: -0.3px;
}

/* Mockup Window */
.mockup-window {
    margin-top: 60px;
    width: 600px;
    max-width: 100%;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    text-align: left;
    overflow: hidden;
}

.mockup-window.dark {
    background: #1e1e1e;
    border: 1px solid #333;
}

.mockup-header {
    height: 28px;
    background: rgba(0,0,0,0.02);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}

.mockup-window.dark .mockup-header {
    background: #2a2a2a;
    border-bottom: 1px solid #111;
}

.dot {
    width: 10px; height: 10px; border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    padding: 24px;
    font-size: 0.95rem;
    font-family: 'Courier New', Courier, monospace;
}

.mockup-body code {
    line-height: 1.6;
    color: #333;
}
.mockup-window.dark .mockup-body pre code {
    color: #e6e6e6;
}

.keyword { color: #0066cc; font-weight: bold; }
.keyword.ai { color: #8a2be2; }
.token-function { color: #61afef; }
.token-string { color: #98c379; }
.token-number { color: #d19a66; }

/* Sections */
.section {
    padding: 120px 20px;
}

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

.section-light {
    background: var(--bg-gray);
    color: var(--text-primary);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 80px;
}
.section-light .section-subtitle {
    color: var(--text-secondary);
}

/* Data Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.data-card {
    background: var(--bg-dark-gray);
    border-radius: 20px;
    padding: 40px 30px;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.data-card:hover {
    transform: translateY(-8px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.data-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: monospace;
    color: #e0e0e0;
}

/* Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-text {
    flex: 1;
}

.split-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.split-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.split-text code {
    background: rgba(0,0,0,0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: 1.05rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li span {
    color: var(--accent);
    font-weight: bold;
}

.split-code {
    flex: 1;
}

/* Download/CTA Section */
.cta-section {
    text-align: center;
}

.download-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.doc-card {
    background: var(--bg-dark-gray);
    padding: 40px;
    border-radius: 20px;
    width: 300px;
}

.doc-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.doc-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.doc-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--bg-dark);
}

/* Footer */
footer {
    background: #1d1d1f;
    color: #86868b;
    padding: 30px 20px;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content .logo {
    color: #f5f5f7;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { animation-delay: 0.1s; transition-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; transition-delay: 0.3s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.2rem; }
    .split-layout { flex-direction: column; }
    .download-cards { flex-direction: column; align-items: center; }
}
