/* For-Ex Trading — modern amber theme (no icon / no outlines) */
:root{
  --brand:#f59e0b;      /* amber */
  --brand2:#f97316;     /* orange */
  --ink:#111827;
  --muted:#4b5563;
  --bg:#fffaf0;
  --line: rgba(245, 158, 11, .35);
  --line-strong: rgba(245, 158, 11, .70);
  --shadow: 0 16px 48px rgba(17,24,39,.10);
}

html,body{height:100%}
body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);
  background: var(--bg);
  overflow-x:hidden;
}

/* 100vw fixed background image (still) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,250,240,.0), rgba(255,250,240,1.0)),
    url("1.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index:-2;
}
body::after{
  content:"";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 10% 15%, rgba(245,158,11,.16), transparent 62%),
    radial-gradient(900px 650px at 90% 18%, rgba(249,115,22,.12), transparent 60%);
  z-index:-1;
  pointer-events:none;
}

.theme-heading{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-white {
color: white;
}

a{ text-decoration:none; color: inherit; }
a:hover{ color: inherit; }

.navbar{
  background: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(17,24,39,.06);
  backdrop-filter: blur(12px);
}

.kicker{
  letter-spacing:.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--
  2);
  font-size: .78rem;
}

.small-muted{ color:var(--muted); font-size:.95rem; line-height:1.75; }
.lead{ color:var(--muted); line-height:1.75; }

h1,h2,h3{ letter-spacing:-.02em; }
h1{ font-weight: 900; }
.section{ padding: 70px 0; }

/* Hero */
.hero{
  position:relative;
  padding: 110px 0 90px;
  min-height: 92vh;
  display:flex;
  align-items:center;
}
.hero > .container{ position:relative; z-index:1; }

.hero-card{
  background: rgba(255,255,255,.60);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(17,24,39,.06);
}

/* Badge */
.hero-badge{
  display:inline-flex; align-items:center;
  padding:.45rem .75rem;
  border-radius:999px;
  border-bottom: 2px solid var(--line);
  background: rgba(255,255,255,.65);
  color: var(--muted);
  font-size:.92rem;
}

/* Underlined cards (no outlines) */
.cardx{
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(17,24,39,.06);
  position: relative;
}
.cardx::after{
  content:"";
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  height: 2px;
  background: linear-gradient(90deg, var(--line-strong), rgba(245,158,11,0));
  border-radius: 2px;
  opacity: .9;
}

/* Underline separator */
.hr-soft{
  border:0;
  border-top: 1px solid rgba(17,24,39,.08);
  opacity: 1;
}

/* Inputs: underline-only */
.form-control, .form-select{
  border:0 !important;
  border-bottom: 2px solid rgba(17,24,39,.18) !important;
  border-radius: 0 !important;
  padding: .75rem .1rem;
  background: transparent !important;
}
.form-control:focus, .form-select:focus{
  box-shadow: none !important;
  border-bottom-color: var(--
  2) !important;
}

/* Buttons: modern + subtle underline */
.btn{
  border-radius: 999px;
  padding: .70rem 1.05rem;
  border: none;
  position: relative;
}
.btn::after{
  content:"";
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 2px;
  background: rgba(17,24,39,.18);
  border-radius: 2px;
  opacity: .35;
}
.btn-brand{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#111827;
}
.btn-brand:hover{ filter: brightness(.99); }
.btn-brand::after{
  display:none !important;
}


.btn-outline-secondary{
  background: rgba(255,255,255,.60);
  border: 1px solid rgba(17,24,39,.10);
  color: var(--ink);
}
.btn-outline-secondary:hover{ background: rgba(255,255,255,.72); }

.signup{
  padding: 84px 0;
  background: rgba(255,255,255,.30);
  border-top: 1px solid rgba(17,24,39,.06);
  border-bottom: 1px solid rgba(17,24,39,.06);
}

/* Sticky CTA */
.sticky-cta{
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
}
.sticky-cta .wrap{
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 999px;
  box-shadow: 0 18px 52px rgba(17,24,39,.14);
  padding: 10px 12px;
  display:flex;
  gap:10px;
  align-items:center;
  backdrop-filter: blur(12px);
}
.sticky-cta .text{ display:none; color:var(--muted); font-size:.92rem; }
@media (min-width: 768px){ .sticky-cta .text{ display:block; } }

/* Popup: always show on homepage reload */
.promo-overlay{
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,.62);
  z-index: 2000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
}
.promo-card{
  position: relative;
  max-width: 580px;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.14);
  transform: translateY(8px);
  animation: popIn .25s ease-out forwards;
}
@keyframes popIn{
  from{ opacity:.0; transform: translateY(14px) scale(.98); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}
.promo-card img{ width:100%; height:auto; display:block; }
.promo-close{
  position:absolute;
  top: 10px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 12px;
  color: #111827;
  cursor:pointer;
  user-select:none;
  opacity:.55;
}
.promo-close:hover{ opacity: .9; }

/* Scroll reveal animation */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.footer{
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: .95rem;
}
.footer a{ color: var(--muted); }
.footer a:hover{ color: var(--ink); }

/* Mobile fallback: fixed backgrounds can be buggy on iOS */
@media (max-width: 991.98px){
  body::before{ background-attachment: scroll; }
  .hero{ min-height: auto; padding: 96px 0 70px; }
}

/* Honeypot field: hidden from humans */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  top:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* Popup CTA button */
.promo-actions{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding: 14px 16px 16px;
  display:flex;
  justify-content:center;
  background: linear-gradient(180deg, rgba(17,24,39,0), rgba(17,24,39,.55));
}
.promo-btn{
  min-width: 180px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}
