/*
Theme Name: Reiwa EA Theme
Theme URI: https://example.com/reiwa-ea
Author: ふらっと
Author URI: https://example.com
Description: FX EA紹介用ランディングページ＋ブログ機能付きWordPressテーマ。令和のEAをはじめとするEA紹介に最適化されたデザイン。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reiwa-ea-theme
Tags: one-column, custom-menu, featured-images, translation-ready, blog
*/

/* ==============================
   CSS Variables & Reset
   ============================== */
:root {
  --color-bg: #0a0e17;
  --color-bg-secondary: #111827;
  --color-bg-card: #1a2234;
  --color-bg-card-hover: #1f2a40;
  --color-primary: #00d4aa;
  --color-primary-dark: #00b894;
  --color-primary-glow: rgba(0, 212, 170, 0.3);
  --color-accent: #f59e0b;
  --color-accent-glow: rgba(245, 158, 11, 0.3);
  --color-danger: #ef4444;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-text-heading: #f8fafc;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.15);
  --font-heading: 'Noto Sans JP', 'Helvetica Neue', sans-serif;
  --font-body: 'Noto Sans JP', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px var(--color-primary-glow);
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

/* ==============================
   Utility
   ============================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-heading);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--color-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #0a0e17;
  box-shadow: 0 4px 16px var(--color-primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--color-primary-glow);
  color: #0a0e17;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #0a0e17;
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), #d97706);
  color: #0a0e17;
  box-shadow: 0 4px 16px var(--color-accent-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--color-accent-glow);
  color: #0a0e17;
}

/* ==============================
   Header / Navigation
   ============================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 14, 23, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-text-heading);
  letter-spacing: -0.03em;
}

.site-logo span {
  color: var(--color-primary);
}

.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--color-primary);
}

.main-nav a:hover::after,
.main-nav .current-menu-item a::after {
  width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 6px 0;
  transition: all var(--transition);
}

/* ==============================
   Hero Section (Front Page)
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 212, 170, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '●';
  font-size: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-text-heading);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-chart-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.hero-chart-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), transparent, rgba(245, 158, 11, 0.2));
  z-index: -1;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chart-pair {
  font-weight: 700;
  color: var(--color-text-heading);
  font-size: 1.1rem;
}

.chart-profit {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1.3rem;
  font-family: var(--font-mono);
}

.chart-placeholder {
  height: 200px;
  background: linear-gradient(180deg, rgba(0, 212, 170, 0.05), transparent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  border: 1px dashed var(--color-border);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.stat-item {
  text-align: center;
  padding: 12px;
  background: rgba(0, 212, 170, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.stat-value {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ==============================
   Features Section
   ============================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ==============================
   Performance Section
   ============================== */
.performance {
  background: var(--color-bg-secondary);
  position: relative;
}

.performance::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

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

.perf-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}

.perf-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 24px var(--color-primary-glow);
}

.perf-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.perf-value.accent {
  color: var(--color-accent);
}

.perf-value.danger {
  color: var(--color-danger);
}

.perf-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* ==============================
   CTA Section
   ============================== */
.cta-section {
  text-align: center;
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, var(--color-bg-card), var(--color-bg-secondary));
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0, 212, 170, 0.06), transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-heading);
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ==============================
   Risk Disclaimer
   ============================== */
.risk-disclaimer {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 40px;
}

.risk-disclaimer h4 {
  color: var(--color-danger);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.risk-disclaimer p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

/* ==============================
   Myfxbook Widget Section
   ============================== */
.myfxbook-section {
  background: var(--color-bg-secondary);
  position: relative;
}

.myfxbook-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.myfxbook-single {
  max-width: 900px;
  margin: 0 auto;
}

.myfxbook-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.myfxbook-card-header {
  padding: 24px 28px 16px;
}

.myfxbook-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.myfxbook-card-title h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text-heading);
}

.myfxbook-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.myfxbook-status.status-active {
  background: rgba(0, 212, 170, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(0, 212, 170, 0.3);
}

.myfxbook-status.status-active::before {
  content: '●';
  font-size: 0.45rem;
  animation: pulse 2s infinite;
}

.myfxbook-status.status-stopped {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.myfxbook-status.status-testing {
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.myfxbook-card-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
  line-height: 1.7;
}

.myfxbook-embed {
  padding: 0 28px;
  min-height: 200px;
}

.myfxbook-embed iframe {
  width: 100% !important;
  border: none !important;
  border-radius: var(--radius-sm);
}

.myfxbook-card-footer {
  padding: 20px 28px 24px;
  text-align: center;
}

/* Tab Navigation */
.myfxbook-tab-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.myfxbook-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.myfxbook-tab-btn:hover {
  border-color: var(--color-border-light);
  color: var(--color-text);
}

.myfxbook-tab-btn.active {
  background: rgba(0, 212, 170, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.myfxbook-tab-content {
  display: none;
}

.myfxbook-tab-content.active {
  display: block;
  animation: fadeInTab 0.4s ease;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Overview Grid */
.myfxbook-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.myfxbook-overview-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition);
}

.myfxbook-overview-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-2px);
}

.myfxbook-overview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.myfxbook-overview-header h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.myfxbook-overview-desc {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Hero内のMyfxbookウィジェット */
.myfxbook-hero-widget {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 200px;
}

.myfxbook-hero-widget iframe {
  width: 100% !important;
  border: none !important;
}

@media (max-width: 768px) {
  .myfxbook-tab-nav {
    flex-direction: column;
  }

  .myfxbook-tab-btn {
    justify-content: center;
  }

  .myfxbook-embed {
    padding: 0 16px;
  }

  .myfxbook-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   Blog / Archive
   ============================== */
.blog-header {
  padding: 120px 0 40px;
  text-align: center;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border);
}

.blog-header h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-heading);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 60px 0;
}

.posts-grid {
  display: grid;
  gap: 32px;
}

.post-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.post-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.post-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-card-image.placeholder {
  background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.post-card-body {
  padding: 24px;
}

.post-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.post-card-meta .category {
  color: var(--color-primary);
  font-weight: 600;
}

.post-card h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 8px;
  line-height: 1.5;
}

.post-card h2 a {
  color: inherit;
}

.post-card h2 a:hover {
  color: var(--color-primary);
}

.post-card-excerpt {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more:hover {
  gap: 8px;
}

/* ==============================
   Sidebar
   ============================== */
.sidebar .widget {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar .widget-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}

.sidebar .widget ul {
  list-style: none;
}

.sidebar .widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.sidebar .widget ul li:last-child {
  border-bottom: none;
}

.sidebar .widget ul li a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.sidebar .widget ul li a:hover {
  color: var(--color-primary);
}

/* ==============================
   Single Post
   ============================== */
.single-header {
  padding: 120px 0 40px;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border);
}

.single-header .category-badge {
  display: inline-block;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.single-header h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-heading);
  line-height: 1.4;
  margin-bottom: 16px;
}

.single-meta {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  display: flex;
  gap: 20px;
}

.single-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px;
}

.single-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin: 48px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--color-primary);
}

.single-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin: 32px 0 12px;
}

.single-content p {
  margin-bottom: 24px;
  line-height: 2;
}

.single-content ul,
.single-content ol {
  margin: 16px 0 24px 24px;
}

.single-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.single-content blockquote {
  background: var(--color-bg-card);
  border-left: 4px solid var(--color-primary);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-text-muted);
  font-style: italic;
}

.single-content pre {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.single-content code {
  font-family: var(--font-mono);
  background: var(--color-bg-card);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

.single-content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.single-content .wp-caption {
  max-width: 100%;
}

.single-content .wp-caption-text {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  margin-top: 40px;
}

.post-navigation a {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition);
  color: var(--color-text);
}

.post-navigation a:hover {
  border-color: var(--color-primary);
}

.post-navigation .nav-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.post-navigation .nav-title {
  font-weight: 700;
  color: var(--color-text-heading);
}

/* ==============================
   Pagination
   ============================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--color-primary);
  color: #0a0e17;
  border-color: var(--color-primary);
}

/* ==============================
   Footer
   ============================== */
.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 24px;
}

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

.footer-about .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-text-heading);
  margin-bottom: 12px;
}

.footer-about .footer-logo span {
  color: var(--color-primary);
}

.footer-about p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-nav h4,
.footer-social h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav ul li {
  margin-bottom: 8px;
}

.footer-nav ul li a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-nav ul li a:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--color-primary);
  color: #0a0e17;
  border-color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* ==============================
   Comments
   ============================== */
.comments-area {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.comments-area h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 24px;
}

.comment-list {
  list-style: none;
}

.comment {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}

.comment .comment-author {
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.comment .comment-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.comment-respond label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 16px;
  transition: border-color var(--transition);
}

.comment-respond input:focus,
.comment-respond textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.comment-respond input[type="submit"] {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #0a0e17;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.comment-respond input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--color-primary-glow);
}

/* ==============================
   404 Page
   ============================== */
.error-404 {
  text-align: center;
  padding: 160px 24px 80px;
}

.error-404 h1 {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
}

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

/* ==============================
   EA Landing Page Template
   ============================== */
.ea-landing-page {
  padding-top: 72px;
}

/* ---- Section Dividers (global) ---- */
.ea-lp-section,
.ea-lp-cta {
  position: relative;
}

.ea-lp-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 600px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.35), transparent);
}

.ea-lp-section.alt-bg::before {
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.3), transparent);
}

/* ---- Section Title (enhanced) ---- */
.ea-lp-section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text-heading);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 20px;
}

.ea-lp-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
}

.ea-lp-section-title span {
  color: var(--color-primary);
}

.ea-lp-section-sub {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 56px;
  margin-top: 20px;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* ======== HERO ======== */
.ea-lp-hero {
  position: relative;
  padding: 100px 0 80px;
  background:
    linear-gradient(180deg, #0d1220 0%, var(--color-bg-secondary) 40%, var(--color-bg) 100%);
  overflow: hidden;
}

.ea-lp-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(0, 212, 170, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.ea-lp-hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 40%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.ea-lp-hero .container {
  position: relative;
  z-index: 1;
}

.ea-lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.ea-lp-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--color-text-heading);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.ea-lp-title .ea-name-highlight {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ea-lp-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 2.1;
  max-width: 780px;
  margin-bottom: 36px;
}

/* ======== Backtest Card ======== */
.ea-lp-backtest-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
  position: relative;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), 0 0 80px rgba(0, 212, 170, 0.04);
}

.ea-lp-backtest-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
  background-size: 200% 100%;
  animation: shimmerLine 4s linear infinite;
}

@keyframes shimmerLine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.ea-lp-backtest-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.15);
}

.ea-lp-backtest-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.ea-lp-backtest-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.ea-lp-backtest-body {
  padding: 28px 32px;
}

.ea-lp-backtest-body img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.ea-lp-backtest-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 32px 28px;
}

.ea-lp-backtest-stat {
  text-align: center;
  padding: 18px 12px;
  background: rgba(0, 212, 170, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.ea-lp-backtest-stat:hover {
  border-color: rgba(0, 212, 170, 0.25);
  background: rgba(0, 212, 170, 0.06);
}

.ea-lp-backtest-stat .value {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-primary);
  line-height: 1.2;
}

.ea-lp-backtest-stat .value.accent { color: var(--color-accent); }
.ea-lp-backtest-stat .value.danger { color: var(--color-danger); }

.ea-lp-backtest-stat .label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.ea-lp-backtest-note {
  padding: 0 32px 28px;
}

.ea-lp-backtest-note p {
  background: rgba(245, 158, 11, 0.05);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

.ea-lp-backtest-note strong {
  color: var(--color-accent);
}

/* ======== Section blocks ======== */
.ea-lp-section {
  padding: 100px 0;
}

.ea-lp-section.alt-bg {
  background:
    linear-gradient(180deg, var(--color-bg-secondary) 0%, #0f1524 50%, var(--color-bg-secondary) 100%);
}

/* ======== Feature cards ======== */
.ea-lp-features {
  display: grid;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.ea-lp-feature {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 4px var(--radius-md) var(--radius-md) 4px;
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.ea-lp-feature::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.02), transparent 60%);
  pointer-events: none;
}

.ea-lp-feature:hover {
  border-color: rgba(0, 212, 170, 0.2);
  border-left-color: var(--color-accent);
  transform: translateX(4px);
  box-shadow: -4px 4px 24px rgba(0, 0, 0, 0.25), 0 0 40px rgba(0, 212, 170, 0.04);
}

.ea-lp-feature:nth-child(2) {
  border-left-color: var(--color-accent);
}

.ea-lp-feature:nth-child(2)::after {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.02), transparent 60%);
}

.ea-lp-feature:nth-child(3) {
  border-left-color: #818cf8;
}

.ea-lp-feature:nth-child(3)::after {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.02), transparent 60%);
}

.ea-lp-feature-num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 900;
  color: #0a0e17;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 212, 170, 0.2);
}

.ea-lp-feature:nth-child(2) .ea-lp-feature-num {
  background: linear-gradient(135deg, var(--color-accent), #d97706);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}

.ea-lp-feature:nth-child(3) .ea-lp-feature-num {
  background: linear-gradient(135deg, #818cf8, #6366f1);
  box-shadow: 0 4px 16px rgba(129, 140, 248, 0.2);
}

.ea-lp-feature h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text-heading);
  margin-bottom: 10px;
}

.ea-lp-feature p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.95;
}

/* ======== Spec table ======== */
.ea-lp-spec-grid {
  max-width: 880px;
  margin: 0 auto;
}

.ea-lp-spec-table {
  width: 100%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.ea-lp-spec-table th,
.ea-lp-spec-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.ea-lp-spec-table th {
  background: rgba(0, 212, 170, 0.06);
  color: var(--color-primary);
  font-weight: 700;
  width: 200px;
  font-size: 0.9rem;
  border-right: 1px solid var(--color-border);
}

.ea-lp-spec-table td {
  color: var(--color-text);
}

.ea-lp-spec-table tr:last-child th,
.ea-lp-spec-table tr:last-child td {
  border-bottom: none;
}

.ea-lp-spec-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

/* Parameter explanation */
.ea-lp-params {
  max-width: 880px;
  margin: 48px auto 0;
  display: grid;
  gap: 12px;
}

.ea-lp-param {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.ea-lp-param::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity var(--transition);
}

.ea-lp-param:hover {
  border-color: var(--color-border-light);
}

.ea-lp-param:hover::before {
  opacity: 1;
}

.ea-lp-param h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ea-lp-param h4::before {
  content: '⚙️';
  font-size: 0.9rem;
}

.ea-lp-param p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.85;
  padding-left: 28px;
}

/* ======== Results section ======== */
.ea-lp-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.ea-lp-result-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ea-lp-result-card:hover {
  border-color: rgba(0, 212, 170, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 212, 170, 0.04);
  transform: translateY(-3px);
}

.ea-lp-result-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.12);
}

.ea-lp-result-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-heading);
}

.ea-lp-result-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.ea-lp-result-badge.live {
  background: rgba(0, 212, 170, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(0, 212, 170, 0.3);
  animation: livePulse 3s ease infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0); }
  50% { box-shadow: 0 0 12px 2px rgba(0, 212, 170, 0.15); }
}

.ea-lp-result-body {
  padding: 28px;
}

.ea-lp-result-body p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.ea-lp-result-embed {
  min-height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.ea-lp-result-embed iframe {
  width: 100% !important;
  border: none !important;
}

.ea-lp-result-link {
  display: block;
  padding: 18px 28px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  background: rgba(0, 0, 0, 0.08);
  transition: background var(--transition);
}

.ea-lp-result-link:hover {
  background: rgba(0, 212, 170, 0.04);
}

/* ======== CTA ======== */
.ea-lp-cta {
  text-align: center;
  padding: 100px 0;
  background:
    linear-gradient(180deg, var(--color-bg) 0%, #0d1220 50%, var(--color-bg) 100%);
}

.ea-lp-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 600px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.3), transparent);
}

.ea-lp-cta-box {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.3), 0 0 100px rgba(0, 212, 170, 0.04);
}

.ea-lp-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.ea-lp-cta-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 160%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0, 212, 170, 0.03), transparent 60%);
  pointer-events: none;
}

.ea-lp-cta-box h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text-heading);
  margin-bottom: 16px;
  position: relative;
}

.ea-lp-cta-box p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.9;
}

/* ======== LP Responsive ======== */
@media (max-width: 1024px) {
  .ea-lp-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .ea-lp-hero {
    padding: 80px 0 60px;
  }

  .ea-lp-title {
    font-size: 2rem;
  }

  .ea-lp-section {
    padding: 72px 0;
  }

  .ea-lp-section-title {
    font-size: 1.6rem;
  }

  .ea-lp-backtest-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ea-lp-backtest-header,
  .ea-lp-backtest-body,
  .ea-lp-backtest-stats,
  .ea-lp-backtest-note {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ea-lp-feature {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ea-lp-spec-table th {
    width: 130px;
  }

  .ea-lp-results-grid {
    grid-template-columns: 1fr;
  }

  .ea-lp-cta {
    padding: 72px 0;
  }

  .ea-lp-cta-box {
    padding: 48px 28px;
  }

  .ea-lp-param p {
    padding-left: 0;
  }
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .performance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    transform: translateY(-110%);
    transition: transform var(--transition);
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav.active {
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .performance-grid {
    grid-template-columns: 1fr 1fr;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .performance-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}
