:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #111128;
    --text-primary: #e8e8f0;
    --text-secondary: #9090b0;
    --accent: #6c5ce7;
    --accent-bright: #a388ff;
    --success: #00cec9;
}

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

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

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

/* Navigation */
nav {
    background: var(--bg-secondary);
    border-bottom: 1px solid #222244;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

nav .logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-bright), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

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

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

nav .nav-cta {
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
}

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

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent-bright), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero .beta-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.3); 
}

.btn-primary { background: var(--accent); color: white; }
.btn-secondary { background: transparent; color: var(--accent-bright); border: 2px solid var(--accent); }

/* Sections */
.section { padding: 80px 0; }

.section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 48px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.step {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #222244;
}

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

.step h3 { margin-bottom: 12px; }

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #222244;
}

.feature h3 {
    color: var(--accent-bright);
    margin-bottom: 12px;
}

/* Code blocks */
.code-block {
    background: #0d0d1f;
    border: 1px solid #222244;
    border-radius: 8px;
    padding: 24px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    overflow-x: auto;
    margin: 24px 0;
}

.code-keyword { color: #ff79c6; font-weight: 600; }
.code-comment { color: #6272a4; font-style: italic; }
.code-string { color: #50fa7b; }

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
    margin: 48px 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-bright);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Studios section */
.studios {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.studios h2 { margin-bottom: 16px; }

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

/* Template cards */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.template-card {
    background: var(--bg-secondary);
    border: 1px solid #222244;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

.template-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.template-card h3 {
    color: var(--accent-bright);
    margin-bottom: 8px;
}

.template-tag {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.tier-badge {
    display: inline-block;
    background: var(--success);
    color: var(--bg-primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
}

.tier-badge.pro {
    background: var(--accent-bright);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-secondary);
    border: 2px solid #222244;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-bright);
    margin-bottom: 24px;
}

.pricing-card ul {
    text-align: left;
    list-style: none;
    margin-bottom: 32px;
}

.pricing-card li {
    padding: 12px 0;
    border-bottom: 1px solid #222244;
}

.pricing-card li:before {
    content: "✓ ";
    color: var(--success);
    font-weight: 700;
    margin-right: 8px;
}

/* FAQ */
.faq {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid #222244;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

.faq-item h3 {
    color: var(--accent-bright);
    margin-bottom: 12px;
}

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

.footer-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--accent-bright);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero .subtitle { font-size: 1.1rem; }
    nav .nav-links { gap: 16px; font-size: 0.9rem; }
    .section h2 { font-size: 1.8rem; }
    .steps { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .template-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); }
}
