/* ============================================================
   FOREX INDICATORS LAB — MAIN STYLESHEET
   Colors: #0B1320 (primary) | #F59E0B (amber) | #60A5FA (blue) | #F5F7FA (text)
   Font: Space Grotesk
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0B1320;
  --primary-light: #162040;
  --secondary: #F59E0B;
  --accent: #60A5FA;
  --text: #F5F7FA;
  --text-muted: #94A3B8;
  --card-bg: #111E35;
  --card-border: rgba(245, 158, 11, 0.15);
  --nav-height: 70px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--primary);
  color: var(--text);
  overflow-x: clip;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================ ANNOUNCEMENT BAR */
.announcement-bar {
  background: var(--secondary);
  color: var(--primary);
  text-align: center;
  padding: 0 50px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  z-index: 1000;
}
.announcement-bar a { color: var(--primary); text-decoration: underline; font-weight: 700; }
.announcement-close {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  font-weight: 700;
}
.announcement-bar.hidden { display: none; }

/* ============================================================ NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11, 19, 32, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.1);
  height: var(--nav-height);
  transition: background 0.3s ease;
}
.navbar.scrolled { background: rgba(11, 19, 32, 0.97); backdrop-filter: blur(16px); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-badge {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(245,158,11,0.35);
}
.logo-img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: rgba(245, 158, 11, 0.08);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: #d97706; transform: scale(1.03); }
.nav-search-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
}
.nav-search-btn:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-search-expand {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 6px 12px;
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.4s ease, opacity 0.3s;
  opacity: 0;
}
.nav-search-expand.open { max-width: 240px; opacity: 1; }
.nav-search-expand input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  width: 180px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: sticky;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: #0d1828;
  border-bottom: 2px solid rgba(245,158,11,0.25);
  z-index: 800;
  flex-direction: column;
  padding: 8px 0 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--secondary); background: rgba(245,158,11,0.05); }
.mobile-menu a.active { color: var(--secondary); }
.mobile-menu .mobile-cta {
  margin: 12px 24px 0;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 10px;
  padding: 13px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  justify-content: center;
  border-bottom: none !important;
}
.mobile-menu .mobile-cta:hover { background: #d97706; color: var(--primary); }

/* ============================================================ GLOBAL */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.section-heading { text-align: center; margin-bottom: 16px; }
.section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; }
.section-heading h2 span { color: var(--secondary); }
.section-subtext { text-align: center; color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto 48px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--secondary);
  color: var(--primary);
}
.btn-primary:hover { background: #d97706; transform: scale(1.03); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(245, 158, 11, 0.4);
}
.btn-outline:hover { border-color: var(--secondary); color: var(--secondary); transform: scale(1.03); }
.btn-accent {
  background: var(--accent);
  color: var(--primary);
}
.btn-accent:hover { background: #3b82f6; transform: scale(1.03); }

/* ============================================================ HERO */
.hero {
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--primary);
  padding: 80px 0;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero-text h1 .highlight { color: var(--secondary); }
.hero-text p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 32px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dashboard {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px;
  position: relative;
}
.dashboard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dashboard-dot { width: 10px; height: 10px; border-radius: 50%; }
.indicator-bars { display: flex; flex-direction: column; gap: 14px; }
.ind-row { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; }
.ind-name { width: 80px; color: var(--text-muted); font-weight: 500; flex-shrink: 0; }
.ind-bar-wrap { flex: 1; height: 8px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.ind-bar { height: 100%; border-radius: 99px; transition: width 1.5s ease; }
.ind-score { width: 40px; text-align: right; font-weight: 700; color: var(--secondary); font-size: 0.8rem; }
.score-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--secondary);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ============================================================ WHY CARDS */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(245, 158, 11, 0.08); }
.why-icon {
  width: 52px;
  height: 52px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.why-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ============================================================ COMPARISON TABLE */
.comparison-section { background: var(--primary-light); }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--card-border); }
.table-wrap::-webkit-scrollbar { height: 6px; }
.table-wrap::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 99px; }
.comp-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.comp-table th {
  background: #0d1929;
  padding: 16px 20px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
.comp-table th.featured { background: rgba(245, 158, 11, 0.08); color: var(--text); }
.comp-table td {
  padding: 14px 20px;
  text-align: center;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}
.comp-table td.featured { background: rgba(245, 158, 11, 0.04); font-weight: 600; }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table td:first-child { text-align: left; font-weight: 600; color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.comp-table td.highlight { color: var(--secondary); font-weight: 700; }
.featured-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table-cta { text-align: center; margin-top: 32px; }
.scroll-hint { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }

/* ============================================================ STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 48px;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 8px, transparent 8px, transparent 16px);
  background-size: 200% 100%;
  animation: dash-flow 3s linear infinite;
  z-index: 0;
}
@keyframes dash-flow { to { background-position: -200% 0; } }
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.step-card.visible { opacity: 1; transform: translateY(0); }
.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ============================================================ FEATURED ARTICLES */
.articles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.article-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.article-card-banner {
  height: 160px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.article-card-body { padding: 24px; }
.cat-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.cat-reviews { background: rgba(245,158,11,0.15); color: var(--secondary); }
.cat-education { background: rgba(96,165,250,0.15); color: var(--accent); }
.cat-strategy { background: rgba(52,211,153,0.15); color: #34d399; }
.cat-comparison { background: rgba(167,139,250,0.15); color: #a78bfa; }
.cat-howto { background: rgba(251,146,60,0.15); color: #fb923c; }
.article-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.article-card-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; }
.read-time { color: var(--text-muted); font-size: 0.8rem; }
.read-more { color: var(--secondary); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.article-card:hover .read-more { gap: 8px; }

/* ============================================================ STATS */
.stats-section { background: var(--primary-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 0 0 0 rgba(245,158,11,0.2);
  transition: box-shadow 0.3s, transform 0.3s;
}
.stat-card:hover { box-shadow: 0 0 40px rgba(245,158,11,0.15); transform: translateY(-4px); }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--secondary); line-height: 1; display: block; margin-bottom: 8px; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.stats-source { text-align: center; color: var(--text-muted); font-size: 0.8rem; margin-top: 32px; }

/* ============================================================ COMBO ANALYZER */
.analyzer-section { background: var(--primary); }
.analyzer-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.analyzer-grid { display: grid; grid-template-columns: 1fr 1fr; }
.analyzer-inputs {
  padding: 36px;
  background: rgba(96, 165, 250, 0.04);
  border-right: 1px solid var(--card-border);
}
.analyzer-inputs h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; color: var(--accent); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.form-group select {
  width: 100%;
  background: rgba(11,19,32,0.8);
  border: 1px solid rgba(96,165,250,0.3);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group select:focus { border-color: var(--accent); }
.analyzer-results {
  padding: 36px;
}
.analyzer-results h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; }
.score-display { text-align: center; margin-bottom: 24px; }
.score-number { font-size: 4rem; font-weight: 800; color: var(--secondary); line-height: 1; }
.score-label { font-size: 1rem; font-weight: 600; margin-top: 8px; padding: 6px 16px; border-radius: 99px; display: inline-block; }
.score-excellent { background: rgba(52,211,153,0.15); color: #34d399; }
.score-usable { background: rgba(245,158,11,0.15); color: var(--secondary); }
.score-poor { background: rgba(239,68,68,0.15); color: #ef4444; }
.score-error { background: rgba(239,68,68,0.15); color: #ef4444; font-size: 0.9rem; }
.score-bar-wrap { height: 8px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; margin: 16px 0; }
.score-bar-fill { height: 100%; border-radius: 99px; transition: width 0.5s ease, background 0.5s; }
.result-details { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.result-details strong { color: var(--text); display: block; margin-bottom: 8px; }
.result-details ul { padding-left: 16px; margin-top: 8px; }
.result-details li { margin-bottom: 4px; }

/* ============================================================ WIDGET SECTIONS */
.widget-section { padding: 80px 0; }
.widget-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.widget-description h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.widget-description h2 span { color: var(--secondary); }
.widget-description ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.widget-description li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.widget-description li::before { content: '●'; color: var(--accent); flex-shrink: 0; font-size: 0.6rem; margin-top: 6px; }
.widget-legend { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.tradingview-widget-container { min-height: 60px; width: 100%; }

/* ============================================================ CTA CARDS */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%); }
.cta-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.cta-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.cta-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.3); }
.cta-watermark {
  position: absolute;
  font-size: 140px;
  font-weight: 800;
  color: rgba(96,165,250,0.05);
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  pointer-events: none;
  line-height: 1;
  user-select: none;
}
.cta-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; position: relative; }
.cta-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; position: relative; }
.cta-card .btn { position: relative; }
.cta-card .btn:hover .btn-arrow { transform: translateX(4px); }
.btn-arrow { display: inline-block; transition: transform 0.2s; }

/* ============================================================ FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(245,158,11,0.4); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  user-select: none;
  gap: 16px;
}
.faq-icon { flex-shrink: 0; color: var(--text-muted); transition: transform 0.3s; font-size: 1.2rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--secondary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-item.open .faq-question { border-left: 4px solid var(--secondary); padding-left: 20px; }

/* ============================================================ NEWSLETTER */
.newsletter-section { background: var(--primary-light); border-top: 1px solid var(--card-border); }
.newsletter-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.newsletter-inner h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.newsletter-inner p { color: var(--text-muted); margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--secondary); }
.newsletter-note { color: var(--text-muted); font-size: 0.8rem; margin-top: 12px; }

/* ============================================================ FOOTER */
.footer {
  background: #070d19;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 24px; }
.social-icons { display: flex; gap: 12px; }
.social-icon {
  width: 38px;
  height: 38px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s;
}
.social-icon:hover { background: rgba(245,158,11,0.1); border-color: var(--secondary); color: var(--secondary); }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--secondary); }
.footer-disclosure { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; }
.footer-disclosure strong { color: var(--text); display: block; margin-bottom: 8px; }
.footer-nav-col { }
.footer-risk {
  border-top: 1px solid var(--card-border);
  padding: 20px 0;
  margin-top: 0;
}
.footer-risk .container {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  background: rgba(248,113,113,0.04);
  border: 1px solid rgba(248,113,113,0.12);
  border-radius: 8px;
  padding: 14px 18px;
}
.footer-risk strong { color: #F87171; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 20px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ============================================================ FLOATING CTA */
.floating-cta {
  position: fixed;
  right: -44px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  z-index: 900;
  background: var(--accent);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 99px 99px 0 0;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(96,165,250,0.3);
  transition: right 0.3s ease;
  cursor: pointer;
}
.floating-cta:hover { right: -36px; }

/* ============================================================ BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 888;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  border: none;
  box-shadow: 0 4px 20px rgba(245,158,11,0.4);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: #d97706; transform: translateY(-4px); }

/* ============================================================ ABOUT PAGE */
.about-hero { padding: 100px 0 60px; text-align: center; }
.about-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; margin-bottom: 16px; }
.about-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.mission-section { padding: 80px 0; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mission-text h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.mission-text p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.trust-badge {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}
.trust-badge .number { font-size: 2.5rem; font-weight: 800; color: var(--secondary); display: block; margin-bottom: 8px; }
.trust-badge p { color: var(--text-muted); font-size: 0.9rem; }

/* ============================================================ BLOG PAGE */
.blog-hero { padding: 80px 0 40px; text-align: center; }
.blog-hero h1 { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 700; margin-bottom: 12px; }
.blog-hero p { color: var(--text-muted); font-size: 1.05rem; }
.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 32px 0 16px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--secondary); color: var(--secondary); }
.filter-btn.active { background: var(--secondary); border-color: var(--secondary); color: var(--primary); }
.blog-search-wrap { max-width: 400px; margin: 0 auto 16px; position: relative; }
.blog-search {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 16px 12px 42px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.blog-search:focus { border-color: var(--secondary); }
.blog-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.blog-count { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog-article-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.blog-article-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.blog-article-card.hidden { display: none; }
.blog-card-banner { height: 120px; }
.blog-card-body { padding: 24px; }
.blog-card-body h3 { font-size: 1.05rem; font-weight: 700; margin: 8px 0 10px; line-height: 1.4; }
.blog-card-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }

/* ============================================================ CONTACT PAGE */
.contact-hero { padding: 80px 0 40px; text-align: center; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; padding: 60px 0 80px; }
.contact-form-wrap { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 20px; padding: 40px; }
.contact-form-wrap h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.contact-form-wrap p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: rgba(11,19,32,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--secondary); }
.contact-info { padding-top: 20px; }
.contact-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-icon { width: 42px; height: 42px; background: rgba(245,158,11,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-item h4 { font-weight: 700; margin-bottom: 4px; font-size: 0.95rem; }
.contact-item p { color: var(--text-muted); font-size: 0.9rem; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1024px) {
  .why-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-dashboard { display: none; }
  .mission-grid { grid-template-columns: 1fr; }
  .widget-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-nav-col { display: none; }
}

@media (max-width: 768px) {
  .why-grid, .stats-grid, .steps-grid, .cta-cards, .trust-grid { grid-template-columns: 1fr; }
  .articles-grid, .blog-grid { grid-template-columns: 1fr; }
  .analyzer-grid { grid-template-columns: 1fr; }
  .analyzer-inputs { border-right: none; border-bottom: 1px solid var(--card-border); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0; min-height: auto; }
  .hero-text h1 { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .floating-cta {
    position: fixed;
    right: 0; left: 0; bottom: 0; top: auto;
    transform: none;
    border-radius: 0;
    text-align: center;
    padding: 14px;
    font-size: 0.95rem;
    z-index: 900;
  }
  .back-to-top { bottom: 72px; }
  .newsletter-form { flex-direction: column; }
}
