/* ==========================================================================
   GasShield Mobile Web3 — Stylesheet (mobile.css)
   Design System: Obsidian Noir (#06080e), Emerald (#00f59b), Cyber Cyan (#38bdf8)
   ========================================================================== */

.mobile-page-wrapper {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.mobile-hero {
  text-align: center;
  max-width: 860px;
  margin: 20px auto 48px auto;
  position: relative;
}

.mobile-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 245, 155, 0.08);
  border: 1px solid rgba(0, 245, 155, 0.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--accent-emerald);
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 245, 155, 0.15);
}

.mobile-hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 18px;
}

.mobile-hero-title .gradient-text {
  background: linear-gradient(135deg, #00f59b 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-hero-subtitle {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto 32px auto;
}

/* --------------------------------------------------------------------------
   DESKTOP QR & MOBILE FAST-LANE DUAL SPLIT
   -------------------------------------------------------------------------- */
.mobile-launchpad-card {
  background: linear-gradient(180deg, rgba(16, 22, 38, 0.85) 0%, rgba(9, 13, 24, 0.95) 100%);
  border: 1px solid rgba(0, 245, 155, 0.25);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 245, 155, 0.08);
  backdrop-filter: blur(20px);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.mobile-launchpad-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 155, 0.6), transparent);
}

.launchpad-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Left: 1-Tap Fastlane Buttons */
.fastlane-action-col h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fastlane-action-col p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 24px;
}

.wallet-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-mobile-wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-mobile-wallet .wallet-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-mobile-wallet .wallet-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.btn-mobile-wallet .wallet-names {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-mobile-wallet .wallet-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.btn-mobile-wallet .wallet-hint {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 400;
}

.btn-mobile-wallet .wallet-action-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.btn-mobile-wallet:hover {
  transform: translateY(-2px);
}

/* MetaMask Button Hover */
.btn-mm:hover {
  background: rgba(246, 133, 27, 0.12);
  border-color: rgba(246, 133, 27, 0.45);
  box-shadow: 0 0 20px rgba(246, 133, 27, 0.2);
}
.btn-mm:hover .wallet-action-tag {
  background: rgba(246, 133, 27, 0.25);
  color: #f6851b;
  border-color: rgba(246, 133, 27, 0.4);
}

/* Trust Wallet Button Hover */
.btn-tw:hover {
  background: rgba(5, 0, 255, 0.12);
  border-color: rgba(51, 117, 255, 0.5);
  box-shadow: 0 0 20px rgba(51, 117, 255, 0.25);
}
.btn-tw:hover .wallet-action-tag {
  background: rgba(51, 117, 255, 0.25);
  color: #38bdf8;
  border-color: rgba(51, 117, 255, 0.4);
}

/* Telegram Bot Button Hover */
.btn-tg:hover {
  background: rgba(0, 136, 204, 0.14);
  border-color: rgba(41, 182, 246, 0.5);
  box-shadow: 0 0 20px rgba(0, 136, 204, 0.25);
}
.btn-tg:hover .wallet-action-tag {
  background: rgba(41, 182, 246, 0.25);
  color: #29b6f6;
  border-color: rgba(41, 182, 246, 0.4);
}

/* Direct Browser Button Hover */
.btn-browser:hover {
  background: rgba(0, 245, 155, 0.1);
  border-color: rgba(0, 245, 155, 0.4);
  box-shadow: 0 0 20px rgba(0, 245, 155, 0.2);
}
.btn-browser:hover .wallet-action-tag {
  background: rgba(0, 245, 155, 0.2);
  color: var(--accent-emerald);
  border-color: rgba(0, 245, 155, 0.4);
}

/* Right: QR Code Scanner for Desktop */
.qr-scan-col {
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-box-outer {
  position: relative;
  padding: 16px;
  background: #06080e;
  border: 2px solid rgba(0, 245, 155, 0.4);
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(0, 245, 155, 0.18);
  margin-bottom: 20px;
  display: inline-block;
}

.qr-box-outer img,
.qr-box-outer svg {
  display: block;
  width: 190px;
  height: 190px;
  border-radius: 8px;
}

.qr-scan-pulse {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f59b, transparent);
  box-shadow: 0 0 8px #00f59b;
  animation: qrScanAnim 3s ease-in-out infinite alternate;
}

@keyframes qrScanAnim {
  0% { top: 16px; opacity: 0.2; }
  50% { opacity: 1; }
  100% { top: calc(100% - 18px); opacity: 0.2; }
}

.qr-scan-col h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.qr-scan-col p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 16px;
  max-width: 280px;
}

.qr-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #38bdf8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qr-copy-pill:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   HOW IT WORKS: 3 DETAILED METHODS
   -------------------------------------------------------------------------- */
.mobile-guide-section {
  margin-bottom: 70px;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.method-card {
  background: rgba(16, 22, 36, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 26px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.method-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 245, 155, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 245, 155, 0.08);
}

.method-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.method-number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-emerald);
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.25);
  padding: 4px 10px;
  border-radius: 8px;
}

.method-icon {
  font-size: 28px;
}

.method-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.method-card p.method-desc {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 22px;
}

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

.step-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.method-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all 0.2s ease;
}

.method-action-btn:hover {
  background: rgba(0, 245, 155, 0.15);
  border-color: rgba(0, 245, 155, 0.4);
  color: var(--accent-emerald);
}

/* --------------------------------------------------------------------------
   BENEFITS BANNER
   -------------------------------------------------------------------------- */
.mobile-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 70px;
}

.feature-pill-card {
  background: rgba(16, 22, 36, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
}

.feature-pill-card .feat-icon {
  font-size: 26px;
  margin-bottom: 10px;
}

.feature-pill-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.feature-pill-card p {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   FAQ SECTION
   -------------------------------------------------------------------------- */
.mobile-faq-section {
  max-width: 820px;
  margin: 0 auto 70px auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(16, 22, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(0, 245, 155, 0.25);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-chevron {
  transition: transform 0.25s ease;
  color: var(--text-dim);
  font-size: 14px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 22px 20px 22px;
}

/* --------------------------------------------------------------------------
   RESPONSIVENESS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .methods-grid {
    grid-template-columns: 1fr;
  }
  .mobile-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .launchpad-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .mobile-page-wrapper {
    padding: 24px 16px 60px 16px;
  }
  .mobile-launchpad-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .mobile-features-grid {
    grid-template-columns: 1fr;
  }
  .qr-scan-col {
    padding: 20px 14px;
  }
  .qr-box-outer img,
  .qr-box-outer svg {
    width: 160px;
    height: 160px;
  }
  .btn-mobile-wallet {
    padding: 12px 14px;
  }
}
