/* ClusterMind — Styles */
:root {
    --bg: #0a0e1a;
    --bg-alt: #111827;
    --bg-card: #1a1f2e;
    --text: #f0f0f0;
    --text-muted: #9ca3af;
    --accent: #F59E0B;
    --accent-hover: #d97706;
    --border: #1f2937;
    --radius: 8px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { display: block; border-radius: 4px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.hero-tagline {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-block; padding: 12px 28px; border-radius: var(--radius);
    font-size: 1rem; font-weight: 600; text-decoration: none; transition: all 0.2s;
    cursor: pointer; border: none;
}
.btn-primary {
    background: var(--accent); color: #000;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary {
    background: transparent; color: var(--text); border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
    font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 12px;
}
.section-desc {
    text-align: center; color: var(--text-muted); max-width: 560px;
    margin: 0 auto 48px; font-size: 1.05rem;
}

/* Grid */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 48px; }

/* Cards */
.card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px; transition: border-color 0.2s;
}
.card:hover { border-color: var(--accent); }
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Issue Preview */
.issue-preview {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 40px; max-width: 720px; margin: 48px auto 0;
}
.issue-badge {
    display: inline-block; background: var(--accent); color: #000;
    font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 20px;
    margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em;
}
.issue-preview h3 { font-size: 1.4rem; margin-bottom: 16px; }
.issue-preview p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }

/* Subscribe */
.subscribe-embed {
    margin-top: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Products */
.product-card { position: relative; }
.product-badge {
    display: inline-block; background: var(--accent); color: #000;
    font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 20px;
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px;
}
.badge-soon { background: #374151; color: var(--text-muted); }
.product-price {
    font-size: 1.5rem; font-weight: 700; color: var(--accent); margin: 16px 0;
}
.product-card .btn { margin-top: 8px; }
.product-coming { opacity: 0.75; }

/* Footer */
.footer {
    border-top: 1px solid var(--border); padding: 60px 0 32px;
    background: var(--bg);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}
.footer-logo { margin-bottom: 12px; border-radius: 4px; }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; }
.footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--text); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.footer a:hover { color: var(--accent); }
.footer-bottom {
    margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
    text-align: center; color: var(--text-muted); font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 64px 0 56px; }
    .section { padding: 56px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 0.85rem; }
    .issue-preview { padding: 24px; }
}

/* Page-specific */
.page-header {
    padding: 80px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.page-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.page-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.content-block {
    max-width: 720px; margin: 0 auto; padding: 48px 24px;
}
.content-block h2 { text-align: left; font-size: 1.5rem; margin-bottom: 16px; margin-top: 40px; }
.content-block ul { margin-left: 20px; margin-bottom: 24px; }
.content-block li { color: var(--text-muted); margin-bottom: 8px; }
.content-block li strong { color: var(--text); }
.content-block p { color: var(--text-muted); margin-bottom: 16px; }
