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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Container ─────────────────────────────────────────── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
    background: #010B21;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo-link {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 40px;
    width: auto;
    transition: opacity 0.2s;
}

.header-logo-link:hover .header-logo {
    opacity: 0.85;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: 0.2s;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.header-titles {
    display: flex;
    flex-direction: column;
}

.site-header h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.tagline {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-large {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero .btn-primary {
    background: white;
    color: #667eea;
}

.hero .btn-primary:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ── Features ───────────────────────────────────────────── */
.features {
    padding: 5rem 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1a202c;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102,126,234,0.15);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.feature-card p {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* ── Embed Example ──────────────────────────────────────── */
.embed-example {
    padding: 5rem 0;
    background: #f7fafc;
    text-align: center;
}

.embed-example h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1a202c;
}

.code-block {
    background: #1a202c;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-align: left;
    max-width: 720px;
    margin: 0 auto 1rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.code-caption {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

/* ── CTA Section ────────────────────────────────────────── */
.cta-section {
    padding: 5rem 0;
    background: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.cta-section p {
    color: #718096;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
    background: #010B21;
    color: rgba(255,255,255,0.6);
    padding: 1.5rem 0;
    margin-top: auto;
    text-align: center;
}

.site-footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.site-footer a:hover {
    color: white;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero h2 { font-size: 2rem; }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .site-header h1 { font-size: 1.1rem; }
    .tagline { display: none; }
    .header-logo { height: 28px; }
    .nav-link { font-size: 0.8rem; padding: 0.4rem 0.5rem; }
}
