/* TradingSuite Pro — SEO Pages Shared Stylesheet
   Dark theme: bg #080f1f, card #0f1629, accent #2563eb
   Production-ready, mobile-first responsive CSS
   ================================================ */

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #080f1f;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

/* ── Typography ───────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  color: #f8fafc;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 1rem;
  margin-top: 3rem;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1.1rem;
  color: #cbd5e1;
  font-size: 1.0625rem;
}

strong {
  color: #f1f5f9;
  font-weight: 600;
}

/* ── Layout Containers ────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 4rem 0;
}

/* ── Navigation ───────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(8, 15, 31, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.03em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo:hover {
  color: #60a5fa;
  text-decoration: none;
}

.nav-logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #f8fafc;
  text-decoration: none;
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
}

/* ── Buttons ──────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #2563eb;
  color: #ffffff !important;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  text-decoration: none !important;
  color: #ffffff !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  color: #e2e8f0 !important;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  text-decoration: none !important;
  border: 1px solid rgba(100, 116, 139, 0.5);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: #60a5fa;
  color: #60a5fa !important;
  background-color: rgba(37, 99, 235, 0.08);
  text-decoration: none !important;
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
}

/* ── Badge / Tag ──────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
  list-style: none;
  padding: 0;
}

.tag-list li {
  margin: 0;
}

.tag-list .tag {
  display: inline-block;
  background-color: rgba(15, 22, 41, 0.8);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #94a3b8;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
}

/* ── Hero Section ─────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero h1 {
  max-width: 800px;
  margin: 0 auto 1.25rem;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-meta {
  font-size: 0.8125rem;
  color: #64748b;
}

/* ── Stats Row ────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  background-color: #0f1629;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 14px;
  padding: 2rem;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.35rem;
}

/* ── Feature Grid ─────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
  list-style: none;
  padding: 0;
}

.feature-card {
  background-color: #0f1629;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
  color: #f1f5f9;
}

.feature-card p {
  font-size: 0.9375rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

/* ── Content Sections ─────────────────────────── */
.content-section {
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.content-section:first-of-type {
  border-top: none;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.highlight-box {
  background-color: #0f1629;
  border-left: 3px solid #2563eb;
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box p {
  margin: 0;
  color: #cbd5e1;
}

/* ── Comparison Table ─────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9375rem;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.comparison-table thead {
  background-color: rgba(37, 99, 235, 0.12);
}

.comparison-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 700;
  color: #f1f5f9;
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.comparison-table td {
  padding: 0.875rem 1.25rem;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background-color: rgba(37, 99, 235, 0.05);
}

.comparison-table .check {
  color: #22c55e;
  font-weight: 700;
}

.comparison-table .cross {
  color: #ef4444;
}

/* ── FAQ ──────────────────────────────────────── */
.faq-section {
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #0f1629;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.faq-item summary,
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: #f1f5f9;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: #2563eb;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: #94a3b8;
  font-size: 0.9375rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1rem;
}

.faq-answer p {
  color: #94a3b8;
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* ── CTA Section ──────────────────────────────── */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  background-color: #0f1629;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  margin-top: 0;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  margin-bottom: 1rem;
}

.cta-inner p {
  color: #94a3b8;
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.cta-fine {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: #64748b;
}

/* ── Pricing Grid ─────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.pricing-card {
  background-color: #0f1629;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 14px;
  padding: 2rem;
}

.pricing-card.featured {
  border-color: #2563eb;
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-name {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pricing-features li {
  font-size: 0.9rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
}

.pricing-features li::before {
  content: '✓';
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── Footer ───────────────────────────────────── */
footer {
  background-color: #060c1a;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 0 2rem;
}

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

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  font-size: 0.9rem;
  color: #475569;
  max-width: 280px;
  margin-top: 0.65rem;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li {
  margin: 0;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: #e2e8f0;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: #475569;
  margin: 0;
}

.footer-bottom a {
  color: #475569;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #94a3b8;
}

/* ── Internal Link List ───────────────────────── */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0;
  list-style: none;
  padding: 0;
}

.link-grid li {
  margin: 0;
}

.link-grid a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: #0f1629;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.link-grid a:hover {
  border-color: rgba(37, 99, 235, 0.4);
  color: #60a5fa;
  text-decoration: none;
}

.link-grid a::before {
  content: '→';
  color: #2563eb;
  font-size: 0.875rem;
}

/* ── Steps / How-it-works ─────────────────────── */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  counter-reset: step-counter;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  counter-increment: step-counter;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
}

.step-body h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.step-body p {
  font-size: 0.9375rem;
  color: #94a3b8;
  margin: 0;
}

/* ── Utility classes ──────────────────────────── */
.text-center { text-align: center; }
.text-muted   { color: #64748b; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-0  { margin-bottom: 0; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }

/* ── Responsive adjustments ───────────────────── */
@media (max-width: 768px) {
  section {
    padding: 2.75rem 0;
  }

  h2 {
    margin-top: 2rem;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .cta-inner {
    padding: 2.5rem 1.25rem;
  }

  .comparison-table {
    font-size: 0.875rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

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

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
    width: 100%;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem 1rem;
  }

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