:root {
    --bg-color: #0d1117;
    --surface-color: #161b22;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --accent-color: #ffffff;
    --border-color: #30363d;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Loader Bar */
.loader-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: #fff;
    z-index: 9999;
    width: 0;
    animation: load 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
}

@keyframes load {
    0% { width: 0; opacity: 1; }
    80% { width: 100%; opacity: 1; }
    100% { width: 100%; opacity: 0; }
}

/* Background Effects */
.dot-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* Nav */
nav {
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #fff;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 auto 24px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #23d160;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(35, 209, 96, 0.5);
}

/* Hero */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 850;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 650;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.05rem;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    background: #e1e4e8;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--surface-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #1f242c;
    border-color: var(--text-secondary);
}

/* Video Showcase */
.video-showcase {
    max-width: 850px;
    margin: 0 auto;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 6px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.video-showcase video {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* Section Common */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -1px;
}

/* Examples Section */
.examples-section {
    padding: 100px 0;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.example-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    transition: all 0.2s ease;
}

.example-card:hover {
    border-color: var(--text-secondary);
    transform: translateY(-4px);
}

.example-prompt {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 24px;
}

.example-tag {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* Why Section */
.why-section {
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
}

.why-content {
    max-width: 900px;
    margin: 0 auto;
}

.why-content > p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 64px;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 48px;
}

.why-item h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.why-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Docs Section */
.docs-section {
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.docs-section h2 {
    color: #fff;
    margin-bottom: 32px;
}

.docs-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.docs-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.docs-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #30363d;
    border: 2px solid var(--bg-color);
    border-radius: 10px;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    h1 { font-size: 2.8rem; }
    .examples-grid { grid-template-columns: 1fr; }
    .action-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}
