/* ==========================================
   TQX SCRIPTS — LANDING PAGE CSS
   Refined Minimal Aesthetic
   ========================================== */

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

:root {
  --bg: #08080C;
  --bg-card: rgba(255,255,255,0.025);
  --bg-card-hover: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.14);

  --chrome: linear-gradient(135deg, #ffffff 0%, #b0b0b0 40%, #e8e8e8 70%, #888 100%);
  --chrome-solid: #c0c0c0;

  --text: #e8e8e8;
  --text-dim: #666;
  --text-muted: #3a3a3a;

  --hit-green: #22c55e;
  --warn-yellow: #f59e0b;
  --info-blue: #60a5fa;

  --font: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ensure all content sits above the canvas */
.navbar, .hero, section, footer {
  position: relative;
  z-index: 1;
}


/* ==================== SHARED ==================== */
.gradient-text {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.electric-text {
  color: #00f2ff;
  text-shadow: 0 0 15px rgba(0, 242, 255, 0.4), 0 0 30px rgba(0, 242, 255, 0.2);
  font-weight: 800;
}

.green-glow {
  color: #26ff73;
  text-shadow: 0 0 15px rgba(38, 255, 115, 0.6), 0 0 30px rgba(38, 255, 115, 0.3);
  font-weight: 800;
}

.yellow-glow {
  color: #fff500;
  text-shadow: 0 0 15px rgba(255, 245, 0, 0.6), 0 0 30px rgba(255, 245, 0, 0.3);
  font-weight: 800;
}

.cyan-glow {
  color: #00ffff;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.6), 0 0 30px rgba(0, 255, 255, 0.3);
  font-weight: 800;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  display: block;
}

.section-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  font-weight: 400;
  line-height: 1.7;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.5s var(--ease);
}

.navbar.scrolled {
  background: rgba(8, 8, 12, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
}

.nav-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 55px; opacity: 1; transition: transform 0.3s var(--ease); }
.logo:hover img { transform: scale(1.05); }

.nav-links { display: flex; gap: 38px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.btn-primary-sm {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border-hover);
  transition: all 0.3s var(--ease);
  letter-spacing: 0.2px;
}
.btn-primary-sm:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
}

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 20px 90px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(34,197,94,0.7);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: blink 2.5s infinite;
}

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

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  max-width: 900px;
  margin-bottom: 24px;
  color: #fff;
}

.hero-sub {
  color: var(--text-dim);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  max-width: 600px;
  margin-bottom: 48px;
  font-weight: 400;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 75px;
}

.btn-primary {
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 32px;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: all 0.3s var(--ease);
}
.btn-primary:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,255,255,0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  letter-spacing: 0.2px;
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); }

/* STATS BAR */
.stats-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 60px;
  margin-bottom: 65px;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 45px;
}

.stat-val {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}

.stat-lbl {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* TERMINAL */
.terminal {
  width: 100%;
  max-width: 860px;
  background: #05050A;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  text-align: left;
}

.terminal-bar {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.terminal-dots span:nth-child(1) { background: #ff5f56; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #27c93f; }

.terminal-label {
  flex: 1;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  font-family: var(--mono);
}

.terminal-body {
  padding: 18px 22px;
  font-family: var(--mono);
  font-size: 0.8rem;
  height: 210px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #1a1a1a transparent;
}

.tl { margin-bottom: 8px; line-height: 1.5; }
.tc-dim { color: #333; }
.tc-info { color: #4a7fa5; }
.tc-hit { color: var(--hit-green); }
.tc-warn { color: #7a6020; }
.tc-white { color: #ccc; }

/* ==================== DIVIDER ==================== */
.section-divider {
  max-width: 1100px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--border);
}

/* ==================== PROOF ==================== */
.proof-section {
  padding: 110px 20px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.proof-section h2 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 12px;
  color: #fff;
}

.proof-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 48px;
}

.proof-tag {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s var(--ease);
  font-family: var(--mono);
  color: var(--text);
}

.proof-tag:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.proof-type {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--mono);
}

.proof-2l .proof-type  { background: rgba(139,92,246,0.15); color: #a78bfa; }
.proof-3l .proof-type  { background: rgba(59,130,246,0.15); color: #60a5fa; }
.proof-2n .proof-type  { background: rgba(245,158,11,0.15); color: #fbbf24; }
.proof-3n .proof-type  { background: rgba(245,158,11,0.15); color: #fbbf24; }
.proof-2c .proof-type  { background: rgba(236,72,153,0.15); color: #f472b6; }
.proof-3c .proof-type  { background: rgba(236,72,153,0.15); color: #f472b6; }
.proof-word .proof-type { background: rgba(34,197,94,0.15); color: #4ade80; }

/* ==================== FEATURES ==================== */
.features-section {
  padding: 110px 20px;
  max-width: 1150px;
  margin: 0 auto;
  text-align: center;
}

.features-section h2, .how-section h2, .pricing-section h2, .faq-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1px;
  margin-top: 60px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}

.feat-card {
  background: rgba(255,255,255,0.02);
  padding: 35px 32px;
  transition: background 0.3s;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feat-card:hover { background: rgba(255,255,255,0.04); }
.feat-card:hover .feat-icon {
  color: #fff;
  opacity: 1;
  text-shadow: 0 0 10px rgba(255,255,255,0.8), 0 0 20px rgba(255,255,255,0.4);
}

.feat-icon {
  font-size: 1.1rem;
  color: var(--chrome-solid);
  margin-bottom: 18px;
  opacity: 0.8;
}

.feat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: #fff; }
.feat-card p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.75; font-weight: 400; }

/* ==================== HOW IT WORKS ==================== */
.how-section {
  padding: 110px 20px;
  text-align: center;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 60px auto 0;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 260px;
  padding: 40px 35px;
  text-align: left;
  border-right: 1px solid var(--border);
}

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

.step-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 18px;
  font-family: var(--mono);
}

.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.step-card p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.75; font-weight: 400; }

.step-arrow { display: none; }

/* ==================== PRICING ==================== */
.pricing-section {
  padding: 110px 20px;
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
  align-items: stretch;
}

.pricing-col {
  display: flex;
  flex-direction: column;
}

.cloud-cards, .source-card { flex: 1; }

.price-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: left;
  position: relative;
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-card .price-features { flex: 1; }

.pricing-col-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-card:hover { border-color: var(--border-hover); }
.price-card.featured { border-color: rgba(255,255,255,0.12); }

.popular-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--chrome-solid);
  margin-bottom: 12px;
  display: block;
}

/* Cloud SaaS card */
.price-rate-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 6px;
}

.price-rate {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
}

.price-rate-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 400;
}

.price-calc-grid {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.83rem;
}

.calc-dep { color: var(--text-dim); width: 90px; }
.calc-arrow { color: var(--text-muted); }
.calc-hits { color: #fff; font-weight: 700; }

.crypto-inline {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Source code card */
.price-tier { font-size: 0.75rem; font-weight: 600; color: var(--text-dim); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.price-amount { font-size: 3.5rem; font-weight: 700; letter-spacing: -1px; line-height: 1; color: #fff; margin: 8px 0; }
.price-sub { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 24px; font-weight: 400; }

.price-features { list-style: none; margin-bottom: 28px; }
.price-features li { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 0.88rem; margin-bottom: 11px; font-weight: 400; }
.price-features li i { color: #22c55e; font-size: 0.7rem; flex-shrink: 0; }

.btn-outline-full, .btn-primary-full {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.btn-outline-full { border: 1px solid var(--border-hover); color: var(--text); }
.btn-outline-full:hover { background: rgba(255,255,255,0.04); }

.btn-primary-full { background: #fff; color: #000; }
.btn-primary-full:hover { background: #e8e8e8; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,255,255,0.1); }

.btn-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #5865F2 !important;
  color: #fff !important;
}
.btn-buy-now:hover { background: #4752c4 !important; box-shadow: 0 8px 25px rgba(88,101,242,0.3) !important; }

.source-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
  font-weight: 400;
}

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

/* ==================== FAQ ==================== */
.faq-section {
  padding: 110px 20px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.faq-section h2 { margin-bottom: 50px; }

.faq-list { text-align: left; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-q:hover { color: #fff; }

.faq-q i {
  transition: transform 0.4s var(--ease);
  color: var(--text-muted);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--chrome-solid); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.8;
  transition: all 0.4s var(--ease);
  font-weight: 400;
}

.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }

/* ==================== CTA ==================== */
.cta-section {
  padding: 130px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: #fff;
}

.cta-section p { color: var(--text-dim); font-size: 1rem; margin-bottom: 45px; font-weight: 400; }

.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(88,101,242,0.15);
  border: 1px solid rgba(88,101,242,0.3);
  color: #818cf8;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.btn-discord:hover { background: rgba(88,101,242,0.25); border-color: rgba(88,101,242,0.5); }

/* ==================== FOOTER ==================== */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 20px 30px;
  background: rgba(6, 6, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  align-items: flex-start;
}

.footer-brand img { height: 70px; opacity: 0.9; }

.footer-cols {
  display: flex;
  gap: 60px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.footer-col a { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; font-weight: 400; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 400;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .stat-divider { display: none; }
  .stat-item { padding: 12px 20px; }
  .stats-bar { padding: 10px; }
  .steps-row { flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
  .step-card { border-right: none; border-bottom: 1px solid var(--border); }
  .step-card:last-child { border-bottom: none; }
  .footer-cols { justify-content: flex-start; gap: 30px; }
  .footer-inner { flex-direction: column; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .hero-btns, .cta-btns { flex-direction: column; align-items: center; width: 100%; }
  .btn-primary, .btn-ghost, .btn-discord { width: 100%; text-align: center; justify-content: center; }
}
