/* =========================================================
   Proptradingexpert – Custom Styles
   Brand: navy #0A0E1A + lime #B6F84A (FOR Traders inspired)
   ========================================================= */

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: #0A0E1A;
  color: #E5E7EB;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---- Brand colors helpers ---- */
.bg-navy-900 { background-color: #0A0E1A; }
.bg-navy-800 { background-color: #0F1424; }
.bg-navy-700 { background-color: #161C30; }
.bg-navy-600 { background-color: #1E2640; }
.text-lime { color: #B6F84A; }
.bg-lime { background-color: #B6F84A; color: #0A0E1A; }
.border-lime { border-color: #B6F84A; }
.ring-lime { --tw-ring-color: #B6F84A; }

.gradient-text {
  background: linear-gradient(135deg, #B6F84A, #7DD934);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-white-lime {
  background: linear-gradient(135deg, #ffffff 0%, #B6F84A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- CTA buttons ---- */
.btn-primary {
  background: #B6F84A;
  color: #0A0E1A;
  font-weight: 800;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(182, 248, 74, 0);
}
.btn-primary:hover {
  background: #C4FB60;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(182, 248, 74, 0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: #E5E7EB;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.btn-secondary:hover {
  border-color: rgba(182, 248, 74, 0.5);
  background: rgba(182, 248, 74, 0.05);
}

/* ---- Cards ---- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.card:hover {
  border-color: rgba(182, 248, 74, 0.35);
  background: linear-gradient(180deg, rgba(182,248,74,0.04), rgba(255,255,255,0.01));
  transform: translateY(-3px);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(182, 248, 74, 0.12);
  border: 1px solid rgba(182, 248, 74, 0.25);
  color: #B6F84A;
  border-radius: 12px;
  margin-bottom: 16px;
}

/* ---- Hero glow + grid pattern ---- */
.hero-bg {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(182, 248, 74, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(36, 92, 200, 0.15) 0%, transparent 50%),
    #0A0E1A;
}
.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}

/* ---- Comparison table ---- */
.compare-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 0.95rem;
}
.compare-table th, .compare-table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.compare-table thead th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9CA3AF;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.compare-table .col-prop {
  background: rgba(182, 248, 74, 0.04);
  color: #ffffff;
}
.compare-table .col-prop strong { color: #B6F84A; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .row-label {
  color: #9CA3AF;
  font-weight: 600;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-lime {
  background: rgba(182, 248, 74, 0.12);
  color: #B6F84A;
  border: 1px solid rgba(182, 248, 74, 0.3);
}
.badge-muted {
  background: rgba(255,255,255,0.06);
  color: #9CA3AF;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ---- Step numbers ---- */
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(182, 248, 74, 0.18), rgba(182, 248, 74, 0.05));
  border: 1px solid rgba(182, 248, 74, 0.4);
  color: #B6F84A;
  font-weight: 800;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---- FAQ accordion ---- */
.faq-item {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s, background 0.2s;
}
.faq-item[open] {
  border-color: rgba(182, 248, 74, 0.3);
  background: rgba(182, 248, 74, 0.025);
}
.faq-summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  color: #F3F4F6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after {
  content: '+';
  color: #B6F84A;
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] .faq-summary::after {
  transform: rotate(45deg);
}
.faq-body {
  padding: 0 24px 22px;
  color: #9CA3AF;
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ---- Stat / social proof ---- */
.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff, #B6F84A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Testimonial card ---- */
.testimonial {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 28px;
  position: relative;
}

.payout-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 14px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.payout-card:hover {
  transform: translateY(-3px);
  border-color: rgba(182,248,74,0.30);
  box-shadow: 0 18px 50px -22px rgba(182,248,74,0.25);
}
.payout-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.payout-card figcaption {
  margin-top: 12px;
  padding: 0 6px 4px;
  font-size: 0.85rem;
  color: #D1D5DB;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}
.testimonial-stars { color: #FFB840; letter-spacing: 2px; font-size: 0.95rem; }
.testimonial-quote {
  color: #E5E7EB;
  font-size: 1rem;
  line-height: 1.65;
  margin: 14px 0 22px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B6F84A, #1E2640);
  color: #0A0E1A;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.testimonial-photo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(182, 248, 74, 0.25);
  flex-shrink: 0;
}

/* ---- Calculator ---- */
.calc-wrap {
  background: linear-gradient(135deg, rgba(182,248,74,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(182, 248, 74, 0.2);
  border-radius: 22px;
  padding: 32px;
}
.calc-input {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  color: #F3F4F6;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s;
}
.calc-input:focus {
  border-color: #B6F84A;
}
.calc-output {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #B6F84A;
  font-variant-numeric: tabular-nums;
}
.calc-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.07); }
.calc-row:last-child { border-bottom: none; }
.calc-label { color: #9CA3AF; font-size: 0.92rem; }
.calc-val { color: #F3F4F6; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---- Sticky CTA bar ---- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(10,14,26,0.85), #0A0E1A);
  border-top: 1px solid rgba(182, 248, 74, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-text { font-size: 0.9rem; color: #E5E7EB; font-weight: 500; }
.sticky-cta .btn-primary { padding: 10px 22px; font-size: 0.92rem; }

/* ---- Reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive helpers ---- */
@media (max-width: 768px) {
  .compare-table th, .compare-table td { padding: 14px 12px; font-size: 0.88rem; }
  .calc-wrap { padding: 22px; }
  .calc-output { font-size: 1.75rem; }
  .stat-num { font-size: 2rem; }
}
