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

:root {
    --bg-dark: #0a0e27;
    --bg-darker: #060a1a;
    --bg-card: #141932;
    --accent: #818cf8;
    --accent-hover: #6366f1;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --border: #1e293b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg-darker);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.header-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 24px;
    font-size: 15px;
}

.header-nav a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #6366f1 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 0 8px;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.cta-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.cta-secondary:hover {
    background: var(--accent);
    color: white;
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Features */
.features {
    background: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Code Examples */
.code-section {
    background: var(--bg-darker);
}

.code-example {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    max-width: 800px;
    margin: 0 auto 20px;
}

.code-example h3 {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-secondary);
}

pre {
    background: var(--bg-darker);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #a5f3fc;
}

/* Pricing */
.pricing-simple {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
}

.pricing-simple strong {
    color: var(--accent);
}

.pricing-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    background: var(--bg-darker);
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

footer a:hover {
    text-decoration: underline;
}

/* Content pages */
.content-page {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.content-page .last-updated {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 40px;
}

.content-page h2 {
    text-align: left;
    font-size: 24px;
    margin: 40px 0 16px;
}

.content-page h3 {
    font-size: 18px;
    margin: 24px 0 12px;
}

.content-page p, .content-page li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

.content-page ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.content-page a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content-page a.cta-button {
    color: white;
}

.content-page code {
    background: var(--bg-card);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: #a5f3fc;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    section h2 {
        font-size: 28px;
    }

    .steps, .features-grid {
        grid-template-columns: 1fr;
    }

    .header-row {
        flex-direction: column;
        gap: 12px;
    }
}

/* Logo link — no underline */
a.logo {
    text-decoration: none;
    color: var(--accent);
}

a.logo:hover {
    text-decoration: none;
}
