/* =========================================================
   TRADEHUB — css/style.css (FULL WEBSITE, MERGED FINAL)
   Base styles (yours) + full navbar restore + capabilities +
   markets + contact form + expanded footer, all in one file.
   ========================================================= */

:root {
  --bg: #03050a;
  --card: #0d0f16;
  --card2: #010102a1;
  --border: #212433;
  --text: #ffffff;
  --text-muted: #9aa0ab;
  --text-dim: #5c626c;
  --primary: #10b981;
  --primary-soft: rgba(16, 185, 129, 0.12);
  --primary-dark: #0b8a63;
  --gold: #f5a623;
  --gold-soft: rgba(245, 166, 35, 0.12);
  --active-accent: #22d3ee;
  --radius: 18px;
  --maxw: 1180px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}
img {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
.faq-q:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-right: max(20px, env(safe-area-inset-right));
  padding-left: max(20px, env(safe-area-inset-left));
}

.section {
  padding: 90px 0;
}
.section.alt {
  background: var(--card);
}
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.center {
  display: flex;
  width: fit-content;
  margin: 0 auto 18px;
}

.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 44px;
}
.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--active-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn-primary {
  background: var(--primary);
  color: #04140f;
}
.btn-primary:hover {
  background: #0dbf87;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline.light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(3, 5, 10, 0.9);
  border-bottom: 1px solid rgba(33, 36, 51, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.navbar.scrolled {
  background: rgba(3, 5, 10, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  min-height: 64px;
  margin: 0 auto;
  padding-top: calc(12px + env(safe-area-inset-top));
  padding-right: max(20px, env(safe-area-inset-right));
  padding-bottom: 12px;
  padding-left: max(20px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}
.logo-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  background: rgba(45, 189, 88, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.logo-mark svg {
  width: 20px;
  height: 20px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-title {
  font-size: 18px;
  font-weight: 800;
}
.logo-tagline {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.btn-sm {
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 12px;
}

/* ---- Full nav links (restored for full website) ---- */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

.nav-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #303442;
  border-radius: 12px;
  background: #12141c;
  color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.nav-toggle:hover {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.12);
}
.nav-toggle:active {
  transform: scale(0.95);
}
.nav-menu-icon {
  width: 22px;
  height: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.nav-menu-icon span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 10px;
  background: #ffffff;
}
.nav-close-icon {
  position: relative;
  width: 22px;
  height: 22px;
  display: none;
}
.nav-close-icon span {
  position: absolute;
  top: 10px;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 10px;
  background: #ffffff;
}
.nav-close-icon span:first-child {
  transform: rotate(45deg);
}
.nav-close-icon span:last-child {
  transform: rotate(-45deg);
}
.nav-toggle.is-open .nav-menu-icon {
  display: none;
}
.nav-toggle.is-open .nav-close-icon {
  display: block;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.65);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}
.nav-overlay.show {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: fixed;
    top: calc(64px + env(safe-area-inset-top));
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 950;
    width: 100%;
    min-height: calc(100dvh - 64px - env(safe-area-inset-top));
    padding-top: 32px;
    padding-right: max(24px, env(safe-area-inset-right));
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
    padding-left: max(24px, env(safe-area-inset-left));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    overflow-y: auto;
    background: var(--bg);
    border-top: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 13px 12px;
    border-bottom: 1px solid rgba(33, 36, 51, 0.7);
    color: var(--text);
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    min-height: 60px;
    gap: 10px;
    padding-top: calc(10px + env(safe-area-inset-top));
    padding-bottom: 10px;
  }
  .logo {
    gap: 8px;
    font-size: 18px;
  }
  .logo-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .nav-cta {
    gap: 8px;
  }
  .btn-sm span {
    display: none;
  }
  .btn-sm {
    min-width: 42px;
    padding: 10px 12px;
  }
  .nav-toggle {
    width: 40px;
    height: 40px;
  }
  .nav-links {
    top: calc(60px + env(safe-area-inset-top));
    min-height: calc(100dvh - 60px - env(safe-area-inset-top));
  }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 90px;
  background: radial-gradient(
    circle at 80% 0%,
    rgba(16, 185, 129, 0.14),
    transparent 55%
  );
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}
.hero h1 {
  font-size: clamp(32px, 5.4vw, 54px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero p {
  max-width: 520px;
  margin-bottom: 32px;
  color: var(--text-muted);
  font-size: 17px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.apk-meta {
  margin-top: -20px;
  margin-bottom: 24px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.2px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.hero-stat b {
  display: block;
  font-size: 22px;
  font-weight: 800;
}
.hero-stat span {
  color: var(--text-dim);
  font-size: 12.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.accent-text {
  color: var(--primary);
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-mock {
  width: 270px;
  padding: 14px;
  border: 8px solid #1b1c20;
  border-radius: 32px;
  background: var(--card);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}
.phone-card {
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card2);
}
.phone-card small {
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.phone-rate {
  display: inline-block;
  padding: 3px 8px;
  margin: 6px 0;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}
.phone-price {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 800;
}
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card2);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
  font-size: 13px;
  font-weight: 700;
}
.floating-badge svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}
.badge-1 {
  top: 10%;
  left: -6%;
}
@media (max-width: 900px) {
  .hero {
    padding: 120px 0 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}
@media (max-width: 620px) {
  .hero {
    padding-top: 104px;
  }
  .hero-btns {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-btns .btn {
    width: 100%;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .hero-stat b {
    font-size: 17px;
  }
  .hero-stat span {
    display: block;
    font-size: 10px;
    line-height: 1.35;
  }
}
@media (max-width: 520px) {
  .badge-1 {
    display: none;
  }
  .phone-mock {
    width: min(270px, 86vw);
  }
}

/* ============ TRUST STRIP ============ */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 0;
  text-align: center;
}
.trust-inner div b {
  display: block;
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
}
.trust-inner div span {
  color: var(--text-muted);
  font-size: 12.5px;
}
@media (max-width: 700px) {
  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============ CAPABILITIES SECTION ============ */
.capabilities-section {
  background: var(--bg);
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.capability-card {
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: var(--radius);
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--accent) 6%, transparent),
      transparent
    ),
    var(--card);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.capability-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.capability-icon svg {
  width: 22px;
  height: 22px;
}
.capability-title {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
}
.capability-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
}
@media (max-width: 900px) {
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .capability-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ SHARED 3D DECK BASE (used by BOTH sliders) ============ */
.deck-view {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  justify-content: center;
  outline: none;
  perspective: 1400px;
}
.deck-viewport {
  width: 100%;
  overflow: visible;
}
.deck-stack {
  position: relative;
  width: 100%;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  transform-style: preserve-3d;
}
.deck-arrow {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #228d43;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  transition: 0.2s;
  z-index: 20;
}
.deck-arrow:hover {
  border-color: var(--active-accent);
  color: var(--active-accent);
}
.deck-arrow:active {
  transform: scale(0.94);
}
.deck-arrow svg {
  width: 20px;
  height: 20px;
}

.deck-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  transition:
    transform 0.5s cubic-bezier(0.22, 0.9, 0.3, 1),
    opacity 0.4s ease;
}
.deck-card.pos-active {
  z-index: 5;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) translateZ(0) scale(1) rotateY(0deg);
}
.deck-card.pos-prev {
  z-index: 3;
  opacity: 0.65;
  transform: translateX(-58%) translateZ(-120px) scale(0.82) rotateY(35deg);
}
.deck-card.pos-next {
  z-index: 3;
  opacity: 0.65;
  transform: translateX(58%) translateZ(-120px) scale(0.82) rotateY(-35deg);
}
.deck-card.pos-far {
  z-index: 1;
  opacity: 0;
  transform: translateX(0) translateZ(-300px) scale(0.6);
}

.deck-dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}
.deck-dots .dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: 0.25s ease;
}
.deck-dots .dot.active {
  width: 26px;
  border-radius: 6px;
  background: var(--accent, var(--active-accent));
}

@media (max-width: 720px) {
  .deck-arrow {
    width: 40px;
    height: 40px;
  }
  .deck-card.pos-prev {
    transform: translateX(-46%) translateZ(-100px) scale(0.76) rotateY(32deg);
  }
  .deck-card.pos-next {
    transform: translateX(46%) translateZ(-100px) scale(0.76) rotateY(-32deg);
  }
}
@media (max-width: 480px) {
  .deck-arrow {
    width: 34px;
    height: 34px;
  }
  .deck-arrow svg {
    width: 16px;
    height: 16px;
  }
  .deck-card.pos-prev {
    opacity: 0.45;
    transform: translateX(-34%) translateZ(-90px) scale(0.72) rotateY(28deg);
  }
  .deck-card.pos-next {
    opacity: 0.45;
    transform: translateX(34%) translateZ(-90px) scale(0.72) rotateY(-28deg);
  }
}

/* ============ APP SHOWCASE (screenshot deck) ============ */
.app-showcase-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;
  background: #03050a;
}
.showcase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(34, 211, 238, 0.1),
      transparent 55%
    ),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1), transparent 55%);
}
.shot-view {
  grid-template-columns: 52px minmax(0, 300px) 52px;
  column-gap: 18px;
  min-height: 620px;
}
.shot-view .deck-stack {
  height: 580px;
}

.shot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 14px 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--card2);
  box-shadow: 0 0 40px -12px rgba(34, 211, 238, 0.35);
}
.shot-phone {
  position: relative;
  width: 100%;
  max-width: 190px;
  aspect-ratio: 9 / 19.5;
  margin-bottom: 14px;
  border: 6px solid #1b1c20;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7);
}
.shot-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 44%;
  height: 16px;
  border-radius: 10px;
  background: #1b1c20;
  z-index: 2;
}
.shot-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.shot-step {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.16);
  color: var(--active-accent);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.shot-title {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 800;
}
.shot-text {
  color: var(--text-muted);
  font-size: 12.5px;
  max-width: 260px;
}

@media (max-width: 720px) {
  .shot-view {
    grid-template-columns: 40px minmax(0, 250px) 40px;
    column-gap: 8px;
    min-height: 560px;
  }
  .shot-view .deck-stack {
    height: 520px;
  }
  .app-showcase-section {
    padding: 70px 0 80px;
  }
}
@media (max-width: 480px) {
  .shot-view {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    column-gap: 2px;
    min-height: 520px;
    perspective: 900px;
  }
  .shot-view .deck-stack {
    height: 480px;
  }
  .shot-phone {
    max-width: 160px;
  }
  .shot-card {
    padding: 14px 10px 20px;
    border-radius: 20px;
  }
  .shot-title {
    font-size: 14.5px;
  }
  .shot-text {
    font-size: 11.5px;
  }
}

/* ============ PLANS (index plan deck) ============ */
.plans-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;
  background: var(--card);
}
.plans-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(34, 211, 238, 0.08),
      transparent 55%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(245, 166, 35, 0.08),
      transparent 55%
    );
}
.plan-view {
  grid-template-columns: 52px minmax(0, 320px) 52px;
  column-gap: 18px;
  min-height: 600px;
}
.plan-view .deck-stack {
  height: 560px;
}

.plan-card {
  padding: 32px 26px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--card2);
  box-shadow: 0 0 40px -12px color-mix(in srgb, var(--accent) 45%, transparent);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.plan-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 25%, transparent);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.plan-icon {
  width: 64px;
  height: 64px;
  margin: 6px auto 18px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.plan-icon svg {
  width: 28px;
  height: 28px;
}
.plan-eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.plan-title {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 800;
}
.plan-subtitle {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 12.5px;
}
.plan-stat {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}
.plan-stat-label {
  margin-top: 4px;
  margin-bottom: 18px;
  color: var(--text-dim);
  font-size: 11.5px;
}
.plan-features {
  flex: 1;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 12.5px;
}
.plan-features li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}
.plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 13px;
  border-radius: 12px;
  background: var(--accent);
  color: #04140f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: 0.2s;
}
.plan-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.plan-btn svg {
  width: 15px;
  height: 15px;
}
.plans-footer-cta {
  position: relative;
  z-index: 2;
  margin-top: 50px;
  text-align: center;
}

@media (max-width: 720px) {
  .plan-view {
    grid-template-columns: 40px minmax(0, 270px) 40px;
    column-gap: 10px;
    min-height: 560px;
  }
  .plan-view .deck-stack {
    height: 520px;
  }
  .plans-section {
    padding: 70px 0 80px;
  }
}
@media (max-width: 480px) {
  .plan-view {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    column-gap: 2px;
    min-height: 540px;
    perspective: 900px;
  }
  .plan-view .deck-stack {
    height: 500px;
  }
  .plan-card {
    padding: 26px 18px;
    border-radius: 20px;
  }
  .plan-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
  }
  .plan-icon svg {
    width: 24px;
    height: 24px;
  }
  .plan-title {
    font-size: 18px;
  }
  .plan-stat {
    font-size: 29px;
  }
  .plan-features li {
    font-size: 12px;
  }
}

/* ============ MARKETS SECTION ============ */
.markets-section {
  background: #03050a;
}
.markets-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.markets-head .section-title {
  margin-bottom: 8px;
}
.markets-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.markets-cta svg {
  width: 16px;
  height: 16px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.market-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card2);
}
.market-card.is-up {
  border-color: rgba(52, 211, 153, 0.35);
}
.market-card.is-down {
  border-color: rgba(245, 166, 35, 0.35);
}
.market-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.market-top h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 2px;
}
.market-symbol {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.4px;
}
.market-change {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
}
.market-card.is-up .market-change {
  background: rgba(52, 211, 153, 0.16);
  color: #34d399;
}
.market-card.is-down .market-change {
  background: rgba(245, 166, 35, 0.16);
  color: #f5a623;
}
.market-price {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 18px;
}
.market-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 12.5px;
}
.market-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
}
.market-note-icon {
  width: 13px;
  height: 13px;
}
.market-card.is-up .market-note {
  color: #34d399;
}
.market-card.is-down .market-note {
  color: #f5a623;
}
.market-card.is-down .market-note-icon {
  transform: rotate(90deg);
}

@media (max-width: 900px) {
  .market-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .market-grid {
    grid-template-columns: 1fr;
  }
  .markets-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============ BENEFITS ============ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.benefit-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.step-icon.gold {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon.gold svg {
  width: 22px;
  height: 22px;
}
.benefit-card h3 {
  margin-bottom: 8px;
  font-size: 15.5px;
  font-weight: 700;
}
.benefit-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}
@media (max-width: 900px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ FAQ ============ */
#faq {
  width: 100%;
  overflow: hidden;
}
.faq-list {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  cursor: pointer;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
}
.faq-q > span:first-child {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}
.faq-q .plus {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: transform 0.25s ease;
}
.faq-q .plus-icon {
  width: 20px;
  height: 20px;
}
.faq-item.open .plus {
  transform: rotate(45deg);
}
.faq-a {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p {
  width: 100%;
  margin: 0;
  padding-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
@media (max-width: 520px) {
  .faq-q {
    align-items: flex-start;
    font-size: 16px;
  }
}

/* ============ CONTACT FORM ============ */
.contact-wrap {
  max-width: 900px;
}
.contact-form {
  margin-top: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.form-field.full-width {
  grid-column: 1 / -1;
}
.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}
.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card2);
}
.input-wrap.no-icon {
  padding: 0 14px;
}
.input-icon {
  width: 16px;
  height: 16px;
  color: var(--text-dim);
  flex-shrink: 0;
}
.input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 13px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}
.input-wrap input:focus {
  outline: none;
}
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card2);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}
.contact-form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-dim);
}
.contact-submit {
  width: fit-content;
}
@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ CTA BANNER ============ */
.cta-banner {
  padding: 60px 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary-dark), #063f2f);
  text-align: center;
}
.cta-banner h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 800;
}
.cta-banner p {
  max-width: 520px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.8);
}
.cta-banner .btn-primary {
  background: #fff;
  color: #063f2f;
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
@media (max-width: 520px) {
  .cta-banner {
    padding: 40px 20px;
    border-radius: 20px;
  }
  .cta-btns {
    display: grid;
    grid-template-columns: 1fr;
  }
  .cta-btns .btn {
    width: 100%;
  }
}

/* ============ EXPANDED 4-COLUMN FOOTER ============ */
footer {
  padding: 60px 0 24px;
  border-top: 1px solid var(--border);
  background: var(--card);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-about {
  max-width: 300px;
  margin: 16px 0 18px;
  color: var(--text-muted);
  font-size: 13.5px;
}
.footer-grid h5 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
}
.footer-grid ul li {
  margin-bottom: 10px;
}
.footer-grid ul li a {
  color: var(--text-muted);
  font-size: 13.5px;
}
.footer-grid ul li a:hover {
  color: var(--primary);
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--primary);
  flex-shrink: 0;
}
.footer-contact span,
.footer-contact a {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: 0.2s;
}
.social-icons a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.social-icons svg {
  width: 16px;
  height: 16px;
}
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 12.5px;
  text-align: center;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  right: max(22px, calc(22px + env(safe-area-inset-right)));
  bottom: max(22px, calc(22px + env(safe-area-inset-bottom)));
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6);
  animation: pulse 2.4s infinite;
}
.wa-float svg {
  width: 26px;
  height: 26px;
  color: #fff;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
@media (max-width: 480px) {
  .wa-float {
    width: 54px;
    height: 54px;
  }
}

/* ============ FADE-UP ANIMATION ============ */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 64px;
  min-width: 64px;
  height: 40px;
  padding: 0;
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
  flex-shrink: 0;
}

.lang-toggle .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
}

#langToggleLabel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-family: "Noto Sans Devanagari", "Inter", sans-serif;
  text-align: center;
}

/* When Hindi is active, switch to a font that renders Devanagari script
   correctly — Inter does not include Hindi characters. */
body.lang-hi {
  font-family: "Noto Sans Devanagari", "Inter", system-ui, sans-serif;
}
body.lang-hi .plan-stat {
  font-family: "Noto Sans Devanagari", "JetBrains Mono", monospace;
}

@media (max-width: 480px) {
  .nav-inner {
    min-height: 60px;
    gap: 10px;
    padding-top: calc(10px + env(safe-area-inset-top));
    padding-bottom: 10px;
  }
  .lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    min-width: 56px;
    height: 40px;
    padding: 0;
    gap: 5px;
  }

  .lang-toggle .icon {
    width: 15px;
    height: 15px;
  }

  #langToggleLabel {
    display: inline-flex;
  }
  .logo {
    gap: 8px;
    font-size: 18px;
  }
  .logo-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .nav-cta {
    gap: 6px;
  }

  /* Icon-only buttons on mobile: fixed square, no leftover padding,
     content perfectly centered — matches the hamburger's size. */
  .btn-sm span {
    display: none;
  }
  .btn-sm {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    flex: 0 0 40px;
    border-radius: 12px;
  }
  .btn-sm svg {
    width: 18px;
    height: 18px;
    margin: 0;
  }
  .lang-toggle svg {
    width: 17px;
    height: 17px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .nav-links {
    top: calc(60px + env(safe-area-inset-top));
    min-height: calc(100dvh - 60px - env(safe-area-inset-top));
  }
}

@media (max-width: 900px) {
  .lang-toggle,
  .lang-toggle #langToggleLabel {
    display: inline-flex !important;
  }
}
