/* 9XTrade Landing — Blinkit-style flat theme */

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.landing-nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-nav .brand .logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--yellow-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text);
}

.landing-nav .brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 32px 80px;
  position: relative;
  background: var(--bg);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 340px;
  height: 380px;
}

.hero-main-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--yellow-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.hero-main-card span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--text);
}
.hero-main-card small {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}

.hero-float-card {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
}
.hero-float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-top: 4px;
}
.hero-float-card.fc-1 { top: 8%; left: 0; border-left: 3px solid var(--blue); }
.hero-float-card.fc-1 strong { color: var(--blue); }
.hero-float-card.fc-2 { top: 12%; right: 0; border-left: 3px solid var(--green); }
.hero-float-card.fc-2 strong { color: var(--green); }
.hero-float-card.fc-3 { bottom: 10%; left: 10%; border-left: 3px solid var(--red); }
.hero-float-card.fc-3 strong { color: var(--red); }

.hero-stats {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.8rem;
  box-shadow: var(--shadow-sm);
}
.mini-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--blue);
}

/* Sections */
.section {
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

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

.feature-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--yellow-soft);
  border: 1px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--yellow-dark);
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--yellow-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 auto 16px;
  font-size: 1rem;
}

.step-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

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

.step-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.68rem;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Token section */
.token-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.token-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.token-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.token-list li i { color: var(--green); }

.token-visual {
  display: flex;
  justify-content: center;
}

.gapif-card {
  width: 220px;
  height: 220px;
  background: var(--yellow);
  border: 3px solid var(--yellow-dark);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.gapif-card span {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
}
.gapif-card small {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* dApp strip */
.dapp-strip {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 32px;
}
.dapp-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.dapp-strip h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.dapp-strip p {
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 480px;
}
.dapp-steps {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.dapp-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}
.dapp-step .ds-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  border: 1px solid var(--yellow-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  text-align: left;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--yellow-soft); }
.faq-question i { color: var(--yellow-dark); transition: transform 0.3s; }
.faq-item.open .faq-question i { transform: rotate(45deg); }

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

.faq-answer p {
  padding: 0 22px 18px;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Community CTA */
.cta-section {
  text-align: center;
  padding: 72px 32px;
  background: var(--yellow-soft);
  border-top: 2px solid var(--yellow);
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

.cta-section p {
  color: var(--text-dim);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.community-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.community-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--blue);
}
.community-stat span {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Footer */
.landing-footer {
  padding: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg);
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-card-stack { width: 280px; height: 300px; }
  .hero-main-card { width: 180px; height: 180px; }
  .hero-main-card span { font-size: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .token-section { grid-template-columns: 1fr; }
}

/* ── Bot Trading Landing v2 ── */
.landing-bot .landing-nav .brand span small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.landing-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hero-bot { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-muted) 100%); }
.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
}
.hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: lpPulse 1.2s ease-in-out infinite;
}
@keyframes lpPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero-mini-stats {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-mini-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--blue);
}
.hero-mini-stats div span {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-bot-terminal {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(145deg, #0f1419, #1a2332);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: var(--radius);
  padding: 18px;
  color: #e8edf4;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.hbt-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.hbt-dot.live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hbt-ticker {
  display: flex;
  gap: 14px;
  font-size: 0.72rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.hbt-ticker .up { color: #4ade80; }
.hbt-ticker .down { color: #f87171; }
.hbt-bots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.hbt-bot {
  text-align: center;
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.68rem;
}
.hbt-bot i { display: block; font-size: 1rem; color: var(--yellow); margin-bottom: 4px; }
.hbt-bot b { display: block; margin-top: 4px; color: #4ade80; font-size: 0.82rem; }
.hbt-bot.hyper b { color: #f87171; }
.hbt-wallet {
  text-align: center;
  padding: 14px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 8px;
}
.hbt-wallet span { font-size: 0.68rem; color: #8b9cb3; text-transform: uppercase; }
.hbt-wallet strong { display: block; font-size: 1.5rem; color: var(--yellow); margin: 4px 0; }
.hbt-wallet small { font-size: 0.68rem; color: #6b7d94; }

.lp-bot-strip {
  background: var(--yellow-soft);
  border-top: 1px solid var(--yellow);
  border-bottom: 1px solid var(--yellow);
  padding: 28px 32px;
}
.lp-bot-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.lp-bot-strip h3 { margin-bottom: 14px; font-size: 1.1rem; }
.lp-bot-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.lp-pill-hyper { border-color: var(--red); color: var(--red); background: rgba(239, 68, 68, 0.06); }
.feature-card.fc-bot .feature-icon { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.25); color: #3b82f6; }
.features-grid { grid-template-columns: repeat(3, 1fr); }
.cta-bot p { color: var(--text-dim); margin-bottom: 20px; }
.landing-footer-wrap {
  border-top: 1px solid var(--border);
  background: var(--bg);
  margin-top: 0;
}
.landing-footer-bot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: none;
  background: transparent;
}
.landing-footer-bot .footer-brand {
  text-decoration: none;
  color: inherit;
  justify-self: start;
  gap: 10px;
}
.landing-footer-bot .footer-brand .logo {
  width: 34px;
  height: 34px;
  font-size: 0.62rem;
  border-width: 1.5px;
  box-shadow: none;
}
.landing-footer-bot .footer-brand span {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.15;
}
.landing-footer-bot .footer-brand span small {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 1px;
}
.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  text-align: center;
  justify-self: center;
}
.landing-footer-bot .footer-links {
  justify-self: end;
}

@media (max-width: 768px) {
  .landing-nav { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .landing-menu-btn { display: flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
    order: 4;
  }
  .nav-links.open { display: flex; }
  .landing-nav.menu-open .nav-actions { width: 100%; justify-content: stretch; }
  .landing-nav.menu-open .nav-actions .btn { flex: 1; text-align: center; }
  .hero { padding: 100px 16px 60px; }
  .section { padding: 56px 16px; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-mini-stats { gap: 16px; }
  .hero-bot-terminal { max-width: 100%; }
  .lp-bot-strip { padding: 24px 16px; }
  .lp-bot-pills { gap: 8px; }
  .lp-pill { font-size: 0.72rem; padding: 6px 10px; }
  .landing-footer-bot {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 16px;
    gap: 16px;
  }
  .landing-footer-bot .footer-brand { justify-self: center; }
  .footer-copy { order: 3; }
  .landing-footer-bot .footer-links {
    justify-self: center;
    justify-content: center;
  }
}