/* Base styling for TechTradeBot AutoTrade site */
:root {
  --brand-primary: #0d6efd;
  --brand-dark: #0a1f44;
  --brand-accent: #1fc8db;
  --bg: #f6f8fb;
  --text: #1f2d3d;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header-etlpi-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--brand-dark);
  transition: opacity 0.2s;
  position: absolute;
  left: 20px;
}

.header-etlpi-link:hover {
  opacity: 0.8;
}

.header-etlpi-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  margin: 0;
}

.header-etlpi-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-dark);
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

header {
  background: #fff;
  box-shadow: 0 1px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  position: relative;
}

.logo {
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}

.logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.etlpi-header {
  text-align: center;
  margin-bottom: 24px;
}

.etlpi-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.etlpi-link:hover {
  opacity: 0.8;
}

.etlpi-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 8px;
  border-radius: 12px;
  object-fit: contain;
}

.etlpi-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .etlpi-title {
    font-size: 2.5rem;
  }
  
  .etlpi-logo {
    width: 60px;
    height: 60px;
  }
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text);
}

.nav-links a:hover {
  background: var(--border);
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.hero {
  background: linear-gradient(145deg, #eef2ff, #e0f7ff);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 32px;
  color: var(--brand-dark);
}

.hero p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--brand-dark);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn {
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.25);
}

.btn-secondary {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid var(--border);
}

.btn:hover {
  transform: translateY(-1px);
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
  color: var(--brand-dark);
}

.muted {
  color: var(--muted);
  line-height: 1.6;
}

.section-title {
  margin: 36px 0 8px;
  font-size: 22px;
  color: var(--brand-dark);
}

.list {
  margin: 8px 0 0 16px;
  padding: 0;
  color: var(--text);
  line-height: 1.6;
}

.code-block {
  background: #0f172a;
  color: #e2e8f0;
  padding: 14px;
  border-radius: 12px;
  overflow-x: auto;
  border: 1px solid #1e293b;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
}

.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: start;
}

.ad-vertical,
.ad-horizontal {
  display: block;
  margin: 12px auto;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: #f8fafc;
}

.ad-vertical {
  min-height: 600px;
  width: 100%;
  max-width: 300px;
}

.ad-horizontal {
  min-height: 120px;
  width: 100%;
}

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

.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--brand-primary);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-separator {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px;
  z-index: 50;
  display: none;
  gap: 10px;
}

.cookie-text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--text);
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.cookie-actions .btn {
  padding: 8px 12px;
  font-size: 14px;
}

.cookie-note {
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    justify-content: center;
  }
}

.ad-label {
  font-size: 12px;
  color: #9ca3af; /* Muted gray */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-align: center;
}

