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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b1120;
  color: #e5e7eb;
  line-height: 1.6;
}

/* Layout */
.section {
  padding: 3.5rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.section-intro {
  margin-bottom: 1.2rem;
  color: #9ca3af;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(15, 23, 42, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.logo a {
  color: #facc15;
  text-decoration: none;
}

.logo a:hover {
  opacity: 0.9;
}

.nav a {
  margin-left: 1rem;
  text-decoration: none;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.nav a:hover {
  color: #facc15;
}

/* Hero */
.hero {
  padding: 4.5rem 1.5rem 3.5rem;
  background: radial-gradient(circle at top left, #22d3ee, #0f172a);
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 1.5rem;
  max-width: 640px;
  color: #e5e7eb;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: #facc15;
  color: #111827;
  border: none;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  color: #facc15;
  border: 1px solid #facc15;
}

.btn-secondary:hover {
  background: rgba(250, 204, 21, 0.08);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: #020617;
  border-radius: 0.9rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.75);
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin-bottom: 0.5rem;
}

/* Keep descriptions roughly same height so pills/buttons line up */
.tagline {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  min-height: 3rem; /* ~2 lines on desktop */
}

.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.pill-list li {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.75rem;
  color: #cbd5f5;
}

/* Make buttons sit at bottom of card */
.card .btn-secondary,
.card .btn-primary {
  margin-top: auto;
  align-self: flex-start;
}

/* Indicator docs */
.section-doc h1,
.section-doc h2 {
  margin-bottom: 1rem;
}

.section-doc h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.settings-grid h4 {
  margin-bottom: 0.5rem;
}

.settings-grid ul {
  list-style: disc;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

/* TradingView link button spacing */
.doc-actions {
  margin: 0.75rem 0 0.5rem;
}

/* Guides */
.guide-list {
  list-style: none;
  font-size: 0.95rem;
}

.guide-list li {
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  padding: 1.5rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.8rem;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  margin-top: 2rem;
}

/* Mobile */
@media (max-width: 600px) {
  .nav {
    display: none; /* simple mobile version for now */
  }
}
