
:root {
    --bg: #0f172a;
    --bg-card: #1e293b;
    --bg-hover: #334155;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #818cf8;
    --accent-light: #c7d2fe;
    --success: #34d399;
    --warning: #fbbf24;
    --danger: #f87171;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.3);
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Navigation */
.top-nav {
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo { font-size: 1.5rem; }
.nav-brand h1 { font-size: 1.2rem; font-weight: 600; }

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }
.sister-link { 
    background: var(--accent);
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 60px 24px;
    background: linear-gradient(135deg, #1e1b4b, #312e81, #1e1b4b);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    background: linear-gradient(to right, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    padding: 20px 24px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.stat-icon { font-size: 1.5rem; }
.stat-number { font-size: 2rem; font-weight: 700; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* Framework Overview */
.framework-overview {
    padding: 40px 24px;
    text-align: center;
}

.framework-overview h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.framework-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.fw-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 24px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.fw-pill:hover {
    border-color: var(--fw-color, var(--accent));
    background: var(--bg-hover);
}

/* Strategies Grid */
.strategies-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.strategy-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card-header {
    padding: 24px;
    background: var(--bg-hover);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.card-icon { font-size: 2rem; }
.card-header h3 { font-size: 1.3rem; flex: 1; }
.card-description { 
    width: 100%;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}
.post-count {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.card-body {
    padding: 24px;
}

.strategies-section h4,
.related-posts-section h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.strategy-item {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.strategy-item h4 {
    color: var(--accent-light);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.label {
    font-weight: 600;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.goal .value {
    color: var(--success);
    font-style: italic;
}

ul {
    list-style: none;
    margin-left: 20px;
}

li {
    position: relative;
    padding: 4px 0;
    color: var(--text-muted);
}

li::before {
    content: "→";
    position: absolute;
    left: -20px;
    color: var(--accent);
}

.related-posts-section {
    margin-top: 24px;
}

.related-post {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.post-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    min-width: 80px;
}

.post-link {
    color: var(--accent);
    text-decoration: none;
    flex: 1;
}

.post-link:hover { text-decoration: underline; }

.post-author {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Posts Section */
.posts-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.posts-section h2 {
    margin-bottom: 24px;
}

.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filters select,
.filters input {
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
}

.filters input { flex: 1; min-width: 200px; }

.posts-list {
    display: grid;
    gap: 16px;
}

.post-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius);
    transition: transform 0.2s;
}

.post-card:hover { transform: translateX(4px); }

.post-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.post-date { color: var(--text-muted); font-size: 0.85rem; }
.post-author { color: var(--accent); font-size: 0.85rem; }

.post-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.post-title a {
    color: var(--text);
    text-decoration: none;
}

.post-title a:hover { color: var(--accent); }

.post-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.post-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-tag {
    background: rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Quick Actions */
.quick-actions {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.quick-actions h2 {
    text-align: center;
    margin-bottom: 32px;
}

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

.action-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius);
    border-top: 3px solid var(--accent);
}

.action-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.action-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.action-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step {
    background: rgba(0,0,0,0.2);
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Download Section */
.download-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
    text-align: center;
}

.download-section h2 {
    margin-bottom: 24px;
}

.download-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    transition: transform 0.2s;
}

.download-card:hover { transform: translateY(-4px); }

.dl-icon { font-size: 2rem; }
.dl-title { font-weight: 600; }
.dl-desc { color: var(--text-muted); font-size: 0.8rem; }

/* Footer */
footer {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

footer p { margin: 4px 0; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-stats { flex-direction: column; align-items: center; }
    .nav-links { display: none; }
    .filters { flex-direction: column; }
    .related-post { flex-direction: column; align-items: flex-start; }
}
