/*
Theme Name: Top4x Trading
Theme URI: https://zevriq.com
Author: Zevriq
Author URI: https://zevriq.com
Description: Institutional-grade Forex education and strategy platform theme with dark aesthetic and orange accents.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: top4x
Tags: dark, trading, forex, education, strategy
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --bg-primary: #0a0b0e;
  --bg-secondary: #111318;
  --bg-card: #16181f;
  --bg-card-hover: #1c1e27;
  --orange: #f97316;
  --orange-dark: #ea6c0a;
  --orange-glow: rgba(249,115,22,0.15);
  --text-primary: #ffffff;
  --text-secondary: #a0a6b8;
  --text-muted: #5c6075;
  --border: rgba(255,255,255,0.07);
  --border-orange: rgba(249,115,22,0.3);
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-orange { color: var(--orange); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge-orange {
  background: var(--orange);
  color: #fff;
}

.badge-outline-orange {
  background: var(--orange-glow);
  border: 1px solid var(--border-orange);
  color: var(--orange);
}

.badge-analysis { background: var(--orange); color: #fff; }
.badge-education { background: #2563eb; color: #fff; }
.badge-strategy { background: #7c3aed; color: #fff; }
.badge-news { background: #059669; color: #fff; }

/* ============================================================
   SECTION EYEBROWS
   ============================================================ */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,11,14,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.header-cta .btn-primary {
  padding: 10px 22px;
  font-size: 14px;
  border-radius: 50px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   TICKER BAR
   ============================================================ */
.ticker-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  margin-top: 70px;
}

.ticker-track {
  display: flex;
  gap: 40px;
  padding: 10px 0;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-bar:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.ticker-pair {
  color: var(--text-secondary);
  font-weight: 400;
}

.ticker-price {
  color: var(--text-primary);
}

.ticker-change.up { color: #22c55e; }
.ticker-change.down { color: #ef4444; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-chart-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='0,300 80,280 160,310 240,250 320,270 400,220 480,240 560,180 640,200 720,150 800,170 880,120 960,140 1040,90 1120,110 1200,60' fill='none' stroke='%23f97316' stroke-width='2'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero-gradient-left {
  position: absolute;
  top: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-gradient-right {
  position: absolute;
  top: 0;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 0;
}

.hero-content .badge {
  margin-bottom: 24px;
}

.hero-content h1 {
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  color: var(--orange);
  display: block;
}

.hero-content p {
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-number .orange { color: var(--orange); }

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   STRATEGY CARDS
   ============================================================ */
.strategies-section {
  background: var(--bg-primary);
}

.strategies-header {
  margin-bottom: 50px;
}

.strategies-header h2 {
  margin-top: 8px;
}

.strategies-header h2 span {
  color: var(--orange);
  display: block;
}

.strategies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.strategy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.strategy-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.strategy-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-orange);
  transform: translateY(-4px);
}

.strategy-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--orange-glow);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  color: var(--orange);
}

.strategy-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.strategy-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.card-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.metric-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-sparkline {
  margin-top: 16px;
  opacity: 0.6;
}

.card-sparkline svg {
  width: 100%;
  height: 40px;
}

/* ============================================================
   BLOG / INTELLIGENCE SECTION
   ============================================================ */
.blog-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.blog-header h2 span {
  color: var(--orange);
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  transition: gap var(--transition);
}

.view-all:hover { gap: 10px; }

.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
}

.blog-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-3px);
}

.blog-card.featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.blog-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.blog-card.featured .blog-card-image {
  height: 280px;
}

.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1d28 0%, #0f1018 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.blog-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.blog-card-body {
  padding: 22px;
  flex: 1;
}

.blog-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 10px 0 8px;
  color: var(--text-primary);
  line-height: 1.4;
}

.blog-card.featured .blog-card-body h3 {
  font-size: 20px;
}

.blog-card-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   LEARNING HUB SECTION
   ============================================================ */
.learning-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.learning-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.25s ease;
}

.learning-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-3px);
}

.learning-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.learning-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.learning-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.level-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.level-beginner { background: rgba(34,197,94,0.15); color: #22c55e; }
.level-intermediate { background: rgba(249,115,22,0.15); color: var(--orange); }
.level-advanced { background: rgba(239,68,68,0.15); color: #ef4444; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  margin-bottom: 16px;
}

.cta-box h2 span { color: var(--orange); }

.cta-box p {
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 50px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 260px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--orange); }

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */
.page-hero {
  padding: 120px 0 60px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-top: 10px;
  margin-bottom: 16px;
}

.page-hero h1 span { color: var(--orange); }

.page-hero p {
  font-size: 17px;
  max-width: 600px;
}

/* Strategies Page */
.strategies-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Blog Page */
.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Insights Page */
.insights-featured {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

/* Learning Page */
.learning-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 60px 0;
}

.post-header {
  margin-bottom: 32px;
}

.post-featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  background: var(--bg-card);
}

.post-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.post-content h2,
.post-content h3 {
  color: var(--text-primary);
  margin: 32px 0 14px;
}

.post-content p { margin-bottom: 18px; }

.post-content strong { color: var(--text-primary); }

.post-content a { color: var(--orange); }

.post-content blockquote {
  border-left: 3px solid var(--orange);
  padding: 16px 24px;
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text-primary);
  font-size: 17px;
  font-style: italic;
}

.post-sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
}

.sidebar-widget h5 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 16px;
}

/* ============================================================
   FORMS (Login/Register)
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 40px;
  background: var(--bg-primary);
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}

.auth-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.auth-card .subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  transition: border-color var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--orange);
}

.form-submit {
  width: 100%;
  padding: 12px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--orange-dark);
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--orange);
  font-weight: 600;
}

/* ============================================================
   WOOCOMMERCE OVERRIDES (if needed)
   ============================================================ */
.woocommerce-page .entry-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ============================================================
   WORDPRESS SPECIFIC
   ============================================================ */
.wp-block-image { margin: 24px 0; }

.aligncenter { margin: 0 auto; text-align: center; }

.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .strategies-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .learning-grid { grid-template-columns: repeat(2, 1fr); }
  .single-post-layout { grid-template-columns: 1fr; }
  .insights-featured { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .header-inner { padding: 0 16px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }

  .hero-content { padding: 40px 0; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .strategies-grid { grid-template-columns: 1fr; }
  .learning-grid { grid-template-columns: 1fr; }
  .blog-page-grid { grid-template-columns: 1fr; }
  .strategies-page-grid { grid-template-columns: 1fr; }
  .learning-page-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }

  .cta-box { padding: 36px 24px; }

  .section { padding: 50px 0; }

  .blog-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 20px 14px; }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

.mobile-menu .btn-primary {
  margin-top: 12px;
  text-align: center;
  justify-content: center;
  border-radius: 50px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
