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

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: #e2e8f0;
	background: #0a0e1a;
	min-height: 100vh;
}

a { color: #38bdf8; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { width: 100%; display: block; max-height: 400px; object-fit: cover; }
.hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, rgba(10,14,26,0.3) 0%, rgba(10,14,26,0.85) 100%);
	display: flex; align-items: flex-end; justify-content: center;
	padding: 3rem 2rem;
}
.hero-content { text-align: center; }
.hero h1 {
	font-size: 3rem; font-weight: 800;
	background: linear-gradient(135deg, #38bdf8, #a78bfa, #f472b6);
	background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
	margin-bottom: 0.5rem;
}
.tagline { font-size: 1.15rem; color: #94a3b8; margin-bottom: 1rem; }
.badges { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.badge {
	background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.25);
	color: #7dd3fc; padding: 0.2rem 0.7rem; border-radius: 999px;
	font-size: 0.78rem; font-weight: 500;
}

/* Container */
.container { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem; }

/* Section cards */
.section-card {
	background: rgba(15,23,42,0.7); border: 1px solid rgba(100,116,139,0.15);
	border-radius: 16px; padding: 2rem; margin-bottom: 2rem;
}
.section-card.dark { background: rgba(6,10,20,0.9); }
.section-card h2 {
	font-size: 1.4rem; font-weight: 700; color: #f1f5f9;
	text-align: center; margin-bottom: 1.5rem;
}

/* Architecture image */
.arch-img { width: 100%; border-radius: 12px; margin-bottom: 1rem; }
.arch-caption { text-align: center; color: #64748b; font-size: 0.85rem; }

/* Two column layout */
.two-col {
	display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
	margin-bottom: 2rem; align-items: center;
}
.product-img { width: 100%; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.col-text h2 { font-size: 1.6rem; color: #f1f5f9; margin-bottom: 0.75rem; text-align: left; }
.col-text p { color: #94a3b8; font-size: 0.95rem; margin-bottom: 1rem; }
.col-text .muted { font-size: 0.8rem; color: #475569; }

/* Features grid */
.features-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 1rem; margin-bottom: 2rem;
}
.feature-card {
	background: rgba(15,23,42,0.6); border: 1px solid rgba(100,116,139,0.15);
	border-radius: 14px; padding: 1.5rem;
	transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(56,189,248,0.3); transform: translateY(-2px); }
.feature-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
.feature-card h3 { color: #e2e8f0; font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature-card p { color: #94a3b8; font-size: 0.85rem; line-height: 1.5; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-number {
	background: linear-gradient(135deg, #38bdf8, #818cf8);
	color: white; width: 2.2rem; height: 2.2rem; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.step-content h4 { color: #e2e8f0; font-size: 1rem; margin-bottom: 0.25rem; }
.step-content p { color: #94a3b8; font-size: 0.88rem; }

/* Code blocks */
.code-block {
	background: #070b14; border: 1px solid rgba(56,189,248,0.15);
	border-radius: 10px; padding: 0.75rem 1rem; margin-top: 0.5rem; overflow-x: auto;
}
.code-block.wide { padding: 1.25rem; }
.code-block code {
	color: #38bdf8; font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
	font-size: 0.8rem; white-space: pre; line-height: 1.7;
}

/* Table */
table { width: 100%; border-collapse: collapse; }
th, td {
	padding: 0.65rem 0.75rem; text-align: left;
	border-bottom: 1px solid rgba(100,116,139,0.15); font-size: 0.88rem;
}
th { color: #64748b; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
td { color: #cbd5e1; }
tbody tr:hover { background: rgba(56,189,248,0.04); }
.table-note { color: #475569; font-size: 0.8rem; margin-top: 0.75rem; text-align: center; }
.table-note code { color: #38bdf8; }

/* Footer */
.footer {
	text-align: center; padding: 2.5rem 1rem;
	border-top: 1px solid rgba(100,116,139,0.1);
	color: #475569; font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
	.hero h1 { font-size: 2rem; }
	.two-col { grid-template-columns: 1fr; }
	.features-grid { grid-template-columns: 1fr; }
	.hero-overlay { padding: 2rem 1rem; }
}
