/* =============================================
   BigToken — Landing page styles
   Requires: common.css (loaded first)
   ============================================= */

body {
  font-size: 15px;
}

.screen-content {
  animation: flicker 8s infinite;
}

/* ===== Container ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== Promo Banner ===== */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  background: linear-gradient(90deg, var(--amber), #ff9d4a);
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--amber);
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.25);
  transition: filter 0.2s, transform 0.2s;
  position: relative;
  z-index: 101;
}
.promo-banner:hover {
  filter: brightness(1.08);
}
.promo-banner-icon {
  font-size: 1.05rem;
  animation: promo-pulse 1.6s ease-in-out infinite;
}
.promo-banner-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes promo-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}
@media (max-width: 600px) {
  .promo-banner { font-size: 0.8rem; padding: 8px 12px; }
  .promo-banner-text { white-space: normal; text-align: center; }
}

/* ===== Navigation ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-amber);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--amber);
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px var(--amber-glow-strong);
}

.navbar-logo .logo-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid var(--amber);
  position: relative;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  box-shadow: 0 0 6px var(--amber-glow-strong);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar-links a {
  color: var(--text-dim);
  text-decoration: none;
  padding: 6px 14px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.15s;
}

.navbar-links a:hover {
  color: var(--amber);
  border-color: var(--border-amber);
  background: var(--amber-glow);
  text-shadow: 0 0 8px var(--amber-glow-strong);
}

.navbar-links .btn-login {
  color: var(--amber);
  border: 1px solid var(--border-amber-bright);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-amber);
  color: var(--amber);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 10px;
  font-family: inherit;
}

/* ===== Hero Section ===== */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.terminal-frame {
  border: 2px solid var(--border-amber-bright);
  background: var(--bg-screen);
  padding: 0;
  max-width: 760px;
  margin: 0 auto;
  box-shadow:
    0 0 30px rgba(214, 41, 62, 0.06),
    0 8px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(214, 41, 62, 0.06);
  border-bottom: 1px solid var(--border-amber);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.terminal-titlebar .title {
  color: var(--amber-dim);
}

.terminal-titlebar .status {
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-titlebar .status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: blink-dot 2s ease-in-out infinite;
}

@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.terminal-body {
  padding: 32px;
  text-align: left;
}

.terminal-line {
  margin-bottom: 4px;
  line-height: 1.8;
}

.terminal-box {
  font-family: inherit;
  font-size: inherit;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
  color: var(--text-dim);
}

.prompt {
  color: var(--green);
}

.cmd {
  color: var(--amber-bright);
}

.keyword {
  color: var(--cyan);
  font-weight: bold;
}

.output {
  color: var(--text-dim);
}

.highlight {
  color: var(--amber-bright);
  text-shadow: 0 0 6px var(--amber-glow-strong);
}

.cursor-blink {
  display: inline-block;
  width: 10px;
  height: 18px;
  background: var(--amber);
  vertical-align: text-bottom;
  animation: cursor-blink-anim 1s step-end infinite;
  margin-left: 2px;
}

@keyframes cursor-blink-anim {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-wordmark {
  color: var(--amber-dim);
  margin-bottom: 24px;
}
.hero-wordmark svg {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 0 4px var(--amber-glow));
}

.hero-subtitle {
  color: var(--text-dim);
  margin: 20px 0;
  font-size: 0.9rem;
}

/* ===== Hero Terminal Panels ===== */
.hero-terminal-panel {
  display: none;
}

.hero-terminal-panel.active {
  display: block;
}

/* ===== Terminal Bottom Tabs ===== */
.terminal-tabs {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border-amber);
  background: rgba(0, 0, 0, 0.03);
}

.terminal-tab {
  flex: 1;
  padding: 10px 12px;
  background: none;
  border: none;
  border-right: 1px solid var(--border-amber);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  position: relative;
}

.terminal-tab:last-child {
  border-right: none;
}

.terminal-tab:hover {
  color: var(--amber);
  background: rgba(0, 0, 0, 0.04);
}

.terminal-tab.active {
  color: var(--amber);
  background: rgba(214, 41, 62, 0.08);
  text-shadow: 0 0 8px var(--amber-glow-strong);
}

.terminal-tab.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber-glow-strong);
}



/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  text-shadow: 0 0 10px var(--amber-glow);
  margin-bottom: 12px;
}

.section-header .divider {
  display: block;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-dim), transparent);
  margin: 12px auto;
}

.section-header p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

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

.feature-card {
  border: 1px solid var(--border-amber);
  background: var(--bg-panel);
  padding: 24px;
  position: relative;
  transition: all 0.2s;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--amber-dim);
  opacity: 0;
  transition: opacity 0.2s;
}

.feature-card:hover {
  border-color: var(--amber-dim);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
}

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

.feature-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber-dim);
  margin-bottom: 10px;
  padding: 2px 8px;
  border: 1px solid var(--border-amber);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: bold;
  color: var(--amber-bright);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ===== Service Nodes Map ===== */
.nodes-map-frame {
  border: 2px solid var(--border-amber-bright);
  background: var(--bg-screen);
  max-width: 860px;
  margin: 0 auto;
  box-shadow:
    0 0 30px rgba(214, 41, 62, 0.06),
    0 8px 30px rgba(0, 0, 0, 0.06);
}

.nodes-map-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(214, 41, 62, 0.06);
  border-bottom: 1px solid var(--border-amber);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nodes-map-titlebar .title {
  color: var(--amber-dim);
}

.nodes-legend {
  display: flex;
  gap: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.online {
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber-glow-strong);
}

.legend-dot.maintenance {
  background: rgba(0, 0, 0, 0.3);
}

.nodes-map-canvas {
  width: 100%;
  height: 460px;
}

@media (max-width: 768px) {
  .nodes-map-canvas { height: 320px; }
  .nodes-map-titlebar { font-size: 0.65rem; padding: 8px 10px; }
  .nodes-legend { gap: 10px; }
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-card {
  border: 1px solid var(--border-amber);
  background: var(--bg-panel);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: all 0.2s;
}

.pricing-card:hover {
  border-color: var(--amber-dim);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
}

.pricing-card.featured {
  border-color: var(--amber);
  box-shadow: 0 0 20px rgba(214, 41, 62, 0.08);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 16px;
  background: var(--amber);
  color: var(--bg-dark);
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
  margin-top: 8px;
}

.pricing-card.featured h3 {
  color: var(--amber);
}

.pricing-amount {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--amber-bright);
  text-shadow: 0 0 10px var(--amber-glow);
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.pricing-amount .currency {
  font-size: 1.2rem;
  vertical-align: top;
  margin-right: 2px;
}

.pricing-amount .period {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: normal;
}

.pricing-credits {
  color: var(--green-dim);
  font-size: 0.85rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-amber);
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  text-align: left;
}

.pricing-features li {
  padding: 4px 0;
  color: var(--text-dim);
  font-size: 0.82rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features li::before {
  content: '>';
  color: var(--green-dim);
  flex-shrink: 0;
  font-weight: bold;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-amber-bright);
  background: transparent;
  color: var(--amber);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.pricing-btn:hover {
  background: var(--amber);
  color: var(--bg-dark);
  box-shadow: 0 0 15px var(--amber-glow);
}

.pricing-card.featured .pricing-btn {
  background: rgba(214, 41, 62, 0.1);
  border-color: var(--amber);
}

.pricing-card.featured .pricing-btn:hover {
  background: var(--amber);
  color: var(--bg-dark);
}

/* ===== Quick Start ===== */
.steps-row {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border: 1px solid var(--border-amber);
}

.step-item {
  flex: 1;
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid var(--border-amber);
  position: relative;
}

.step-item:last-child {
  border-right: none;
}

.step-num {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 2px solid var(--amber);
  line-height: 28px;
  text-align: center;
  color: var(--amber);
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 12px;
  box-shadow: 0 0 8px var(--amber-glow);
}

.step-item h3 {
  font-size: 0.9rem;
  color: var(--amber-bright);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.step-item p {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.code-block {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--border-amber);
  background: var(--bg-screen);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border-amber);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.code-header .dots {
  display: flex;
  gap: 6px;
}

.code-header .dots span {
  width: 8px;
  height: 8px;
  border: 1px solid var(--amber-dim);
}

.code-header .dots span:first-child { background: var(--red); border-color: var(--red); }
.code-header .dots span:nth-child(2) { background: var(--amber); border-color: var(--amber); }
.code-header .dots span:nth-child(3) { background: var(--green); border-color: var(--green); }

.code-body {
  padding: 20px 24px;
  overflow-x: auto;
}

.code-body pre {
  font-family: inherit;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-dim);
}

.code-body .comment { color: rgba(0, 0, 0, 0.15); }
.code-body .keyword { color: var(--amber-bright); }
.code-body .string { color: var(--green); }

/* ===== FAQ ===== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-amber);
  margin-bottom: 8px;
  background: var(--bg-panel);
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: var(--amber-dim);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  color: var(--amber);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  letter-spacing: 0.5px;
  transition: all 0.15s;
}

.faq-question:hover {
  color: var(--amber-bright);
  text-shadow: 0 0 6px var(--amber-glow);
}

.faq-question .q-prefix {
  color: var(--green-dim);
  margin-right: 10px;
  flex-shrink: 0;
}

.faq-chevron {
  color: var(--text-dim);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
  font-size: 0.8rem;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--amber);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 20px 16px 44px;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-amber);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 1px;
}

.footer-note {
  flex-basis: 100%;
  color: var(--text-dim);
  font-size: 0.74rem;
  line-height: 1.6;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 1px;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--amber);
}

/* ===== Separator lines ===== */
.section-sep {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-amber), transparent);
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-amber);
    padding: 8px;
    gap: 2px;
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links a {
    padding: 10px 16px;
    width: 100%;
  }

  .mobile-toggle {
    display: block;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .steps-row {
    flex-direction: column;
  }

  .step-item {
    border-right: none;
    border-bottom: 1px solid var(--border-amber);
  }

  .step-item:last-child {
    border-bottom: none;
  }

  .hero {
    padding: 40px 0;
  }

  .section {
    padding: 50px 0;
  }

  .terminal-body {
    padding: 20px 16px;
  }


  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {

  .terminal-tab {
    font-size: 0.68rem;
    padding: 8px 6px;
    letter-spacing: 0;
  }
}

/* ===== Droid Guide ===== */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.guide-card {
  border: 1px solid var(--border-amber);
  background: var(--bg-panel);
  padding: 24px;
  position: relative;
  transition: all 0.2s;
}

.guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-dim), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.guide-card:hover {
  border-color: var(--amber-dim);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
}

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

.guide-card .guide-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
  display: inline-block;
}

.guide-card h3 {
  font-size: 1rem;
  font-weight: bold;
  color: var(--amber-bright);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.guide-card p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.7;
}

.guide-card .guide-label {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-dim);
  margin-bottom: 10px;
  padding: 2px 8px;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.guide-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-amber);
  border-bottom: none;
  max-width: 640px;
  margin: 0 auto;
}

.guide-tab {
  flex: 1;
  padding: 10px 16px;
  background: var(--bg-panel);
  border: none;
  border-right: 1px solid var(--border-amber);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}

.guide-tab:last-child {
  border-right: none;
}

.guide-tab:hover {
  color: var(--amber);
  background: rgba(0, 0, 0, 0.03);
}

.guide-tab.active {
  color: var(--amber);
  background: var(--bg-screen);
  text-shadow: 0 0 8px var(--amber-glow);
  border-bottom: 2px solid var(--amber);
}

.guide-code-panel {
  display: none;
  max-width: 640px;
  margin: 0 auto;
}

.guide-code-panel.active {
  display: block;
}

.guide-note {
  max-width: 640px;
  margin: 20px auto 0;
  padding: 14px 20px;
  border: 1px dashed var(--border-amber);
  background: rgba(0, 0, 0, 0.03);
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.guide-note .note-prefix {
  color: var(--amber);
  font-weight: bold;
  margin-right: 6px;
}

.guide-full-width {
  grid-column: 1 / -1;
}

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

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
