/* Trading Strategies — Base Styles */

:root {
    --bg: #0f0f1a;
    --surface: #1a1a2e;
    --surface-hover: #252540;
    --text: #e0e0e0;
    --text-muted: #8888a0;
    --accent: #4fc3f7;
    --accent-dark: #0288d1;
    --border: #2a2a45;
    --tag-stocks: #4caf50;
    --tag-crypto: #ff9800;
    --tag-forex: #2196f3;
    --tag-options: #e91e63;
}

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

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

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

/* Header */
header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.logo { font-size: 1.25rem; font-weight: 700; }

.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

/* Hero */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
}

.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-primary {
    background: var(--accent-dark);
    color: white;
}
.btn-primary:hover { background: var(--accent); }

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 4rem 1.5rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: background 0.2s;
}

.feature-card:hover { background: var(--surface-hover); }
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Latest */
.latest { padding: 2rem 1.5rem 4rem; }
.latest h2 { margin-bottom: 1.5rem; font-size: 1.5rem; }

.strategy-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: background 0.2s;
}

.strategy-item:hover { background: var(--surface-hover); }
.strategy-item h3 { margin-bottom: 0.3rem; }
.strategy-item h3 a {
    color: var(--text);
    text-decoration: none;
}
.strategy-item h3 a:hover { color: var(--accent); }
.strategy-item p { color: var(--text-muted); font-size: 0.9rem; }

/* Tags */
.tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tag-stocks { background: var(--tag-stocks); color: #000; }
.tag-crypto { background: var(--tag-crypto); color: #000; }
.tag-forex { background: var(--tag-forex); color: #fff; }
.tag-options { background: var(--tag-options); color: #fff; }

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

footer p:last-child { font-size: 0.8rem; color: var(--text-muted); }

/* Page header */
.page-header {
    padding: 3rem 1.5rem 1rem;
    text-align: center;
}
.page-header h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.page-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Article / strategy detail pages */
.content-page { padding: 2rem 1.5rem 4rem; }
.content-page h1 { font-size: 2rem; margin-bottom: 1rem; }
.content-page h2 { font-size: 1.35rem; margin: 1.5rem 0 0.75rem; color: var(--accent); }
.content-page h3 { font-size: 1.1rem; margin: 1.25rem 0 0.5rem; }
.content-page p { margin-bottom: 1rem; color: var(--text-muted); }
.content-page ul, .content-page ol { margin: 0 0 1rem 1.5rem; color: var(--text-muted); }
.content-page strong { color: var(--text); }

.meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.meta span { margin-right: 1rem; }
