/* ===================== Base ===================== */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #070b09;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #070b09;
}
::-webkit-scrollbar-thumb {
  background: #1f3a2a;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2e5a3e;
}

/* ===================== Background grid ===================== */
.bg-grid {
  background-image:
    linear-gradient(rgba(74, 222, 128, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}

/* ===================== Header ===================== */
#site-header.scrolled {
  background-color: rgba(7, 11, 9, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 222, 128, 0.1);
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #4ade80;
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ===================== Reveal animations ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal[data-reveal="left"] {
  transform: translateX(40px);
}
.reveal[data-reveal="right"] {
  transform: translateX(-40px);
}
.reveal.show {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* ===================== Hero coins ===================== */
.coin {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.08);
}
.coin-btc { background: #f7931a; }
.coin-eth { background: #627eea; }
.coin-usdt { background: #26a17b; font-size: 1.6rem; }
.coin-bnb { background: #f0b90b; color: #1a1a1a; }
.coin-sol { background: linear-gradient(135deg, #9945ff, #14f195); }
.coin-xrp { background: #23292f; }
.coin-usdc { background: #2775ca; }
.coin-ada { background: #0033ad; }
.coin-doge { background: #c2a633; color: #1a1a1a; }
.coin-ltc { background: #345d9d; }

.coin-sm {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
}

@media (max-width: 480px) {
  .coin { width: 44px; height: 44px; font-size: 1.15rem; }
  .coin-sm { width: 32px; height: 32px; font-size: 0.85rem; }
}

/* ===================== Hero badges (slides 2 & 3) ===================== */
.badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.08);
}
.badge-1 { background: #3b82f6; }
.badge-2 { background: #8b5cf6; }
.badge-3 { background: #ec4899; }
.badge-4 { background: #f59e0b; }
.badge-5 { background: #10b981; }
.badge-6 { background: #06b6d4; }

@media (max-width: 480px) {
  .badge { width: 44px; height: 44px; font-size: 1.05rem; }
}

/* ===================== Hero slider ===================== */
.hero-slide {
  width: 100%;
  flex-shrink: 0;
}

/* ===================== Service / process cards ===================== */
.process-card,
.why-card {
  background-color: #101b15;
  border: 1px solid rgba(74, 222, 128, 0.12);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 35px rgba(74, 222, 128, 0.12);
}

.why-card {
  padding: 1.5rem;
}
.why-card:hover {
  border-color: rgba(74, 222, 128, 0.35);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.35s ease, transform 0.35s ease;
}
.process-card:hover .icon-box {
  background: #4ade80;
  color: #070b09;
  transform: scale(1.08) rotate(-6deg);
}

/* ===================== Service cards (with image) ===================== */
.service-card {
  background-color: #101b15;
  border: 1px solid rgba(74, 222, 128, 0.12);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 35px rgba(74, 222, 128, 0.12);
}
.service-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img {
  transform: scale(1.08);
}
.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #101b15 0%, rgba(16, 27, 21, 0.15) 55%, rgba(16, 27, 21, 0.4) 100%);
}
.service-icon {
  position: absolute;
  bottom: -28px;
  left: 1.75rem;
  border: 4px solid #101b15;
}
.service-card:hover .service-icon {
  background: #4ade80;
  color: #070b09;
  transform: scale(1.08) rotate(-6deg);
}
.service-body {
  padding: 2.5rem 1.75rem 1.75rem;
}

@media (max-width: 480px) {
  .service-img-wrap { height: 170px; }
}

.process-card {
  position: relative;
  overflow: hidden;
}
.step-num {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(74, 222, 128, 0.15);
  line-height: 1;
}

/* ===================== Testimonials ===================== */
.testimonial-card {
  background-color: #101b15;
  border: 1px solid rgba(74, 222, 128, 0.12);
  border-radius: 1.25rem;
  padding: 2rem;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.carousel-btn:hover {
  background: #4ade80;
  color: #070b09;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.25);
  transition: all 0.25s ease;
  cursor: pointer;
}
.t-dot.active {
  background: #4ade80;
  width: 24px;
  border-radius: 999px;
}

/* ===================== FAQ ===================== */
.faq-item {
  background-color: #0f1a14;
  border: 1px solid rgba(74, 222, 128, 0.12);
  border-radius: 1rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 1.25rem 1.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.faq-question i {
  color: #4ade80;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
}
.faq-item.open .faq-answer {
  padding: 0 1.5rem 1.25rem;
}

/* ===================== Forms ===================== */
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-input {
  width: 100%;
  background-color: #0c1611;
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-input::placeholder {
  color: #4b5563;
}
.form-input:focus {
  outline: none;
  border-color: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}
.form-input option {
  background-color: #0c1611;
}

/* ===================== Misc ===================== */
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(74, 222, 128, 0.2);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.social-icon:hover {
  background: #4ade80;
  color: #070b09;
  transform: translateY(-3px);
}

.footer-link {
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-link:hover {
  color: #4ade80;
  padding-left: 4px;
}

#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

section[id] {
  scroll-margin-top: 5rem;
}
