/*
Theme Name: Exness Partner Code
Theme URI: https://exnesspartnercode.com
Author: Exness Partner Code
Author URI: https://exnesspartnercode.com
Description: A dark, ticket-inspired WordPress theme built for exnesspartnercode.com — presenting the Exness partner code 5f3dufbelt with trading-desk styling: rate-sheet benefit rows, a torn-ticket code stub, and a clean activation flow.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: exness-partner-code
*/

/* ---------------------------------------------
   Tokens
--------------------------------------------- */
:root{
  --bg: #0B0F14;
  --surface: #121822;
  --surface-2: #171F2B;
  --line: #232D3B;
  --text: #EDEFF2;
  --muted: #8B96A5;
  --gold: #D4A94F;
  --gold-dim: #8A733A;
  --green: #2ECC71;
  --red: #E5484D;

  --display: "Space Grotesk", "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 4px;
  --max: 1140px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--display); margin:0; letter-spacing: -0.01em; }
p{ margin:0; }
.wrap{ max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
::selection{ background: var(--gold); color: #0B0F14; }
:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------------------------------------------
   Header
--------------------------------------------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(11,15,20,0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}
.site-logo{
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  display:flex; align-items:baseline; gap:8px;
}
.site-logo .tick{ color: var(--gold); font-family: var(--mono); font-size: 14px; }
.main-nav ul{ display:flex; gap: 32px; }
.main-nav a{
  font-size: 14px; color: var(--muted); font-weight:500;
  transition: color .15s ease;
}
.main-nav a:hover{ color: var(--text); }
.header-cta{
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 18px;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  color: var(--gold);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.header-cta:hover{ background: var(--gold); color: #0B0F14; }
.nav-toggle{ display:none; }

/* ---------------------------------------------
   Hero + Ticket stub (signature element)
--------------------------------------------- */
.hero{
  padding: 84px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 700px 400px at 85% -10%, rgba(212,169,79,0.10), transparent 60%);
}
.hero .wrap{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items:center;
}
.hero h1{
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  margin: 16px 0 20px;
}
.hero h1 .hl{ color: var(--gold); }
.hero p.lead{
  color: var(--muted);
  font-size: 17px;
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--body); font-weight:600; font-size:15px;
  padding: 14px 24px; border-radius: var(--radius);
  border:1px solid transparent; cursor:pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--gold); color:#0B0F14; }
.btn-primary:hover{ background:#e2bb63; }
.btn-ghost{ border-color: var(--line); color: var(--text); }
.btn-ghost:hover{ border-color: var(--gold-dim); }

/* the ticket stub */
.ticket{
  position:relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 26px 24px;
  font-family: var(--mono);
}
.ticket-row{
  display:flex; justify-content:space-between; align-items:center;
  font-size: 11px; letter-spacing:.08em; text-transform:uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.ticket-row .live{ color: var(--green); display:flex; align-items:center; gap:6px; }
.ticket-row .live::before{
  content:""; width:6px; height:6px; border-radius:50%;
  background: var(--green); display:inline-block;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:.35;} }

.ticket-code-label{ font-size: 12px; color: var(--muted); letter-spacing:.1em; text-transform:uppercase; margin-bottom:8px; }
.ticket-code{
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.03em;
  word-break: break-all;
}
.ticket-divider{
  position:relative;
  height:1px; background: var(--line);
  margin: 22px -26px;
}
.ticket-divider::before,.ticket-divider::after{
  content:""; position:absolute; top:-9px; width:18px; height:18px;
  background: var(--bg); border-radius:50%;
}
.ticket-divider::before{ left:-9px; }
.ticket-divider::after{ right:-9px; }
.ticket-meta{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; font-size: 12.5px; }
.ticket-meta .k{ color: var(--muted); display:block; margin-bottom:3px; }
.ticket-meta .v{ color: var(--text); }
.ticket-meta .v.green{ color: var(--green); }
.copy-btn{
  margin-top:20px; width:100%;
  font-family: var(--mono); font-size:13px;
  padding:12px; border-radius: var(--radius);
  background: var(--surface-2); border:1px solid var(--line); color: var(--text);
  cursor:pointer; transition: border-color .15s ease, color .15s ease;
}
.copy-btn:hover{ border-color: var(--gold-dim); color: var(--gold); }
.copy-btn[data-copied="true"]{ color: var(--green); border-color: var(--green); }

/* ---------------------------------------------
   Rate sheet (benefits)
--------------------------------------------- */
.section{ padding: 84px 0; border-bottom: 1px solid var(--line); }
.section-head{ max-width: 620px; margin-bottom: 44px; }
.section-head h2{ font-size: clamp(26px, 3vw, 34px); margin-top:12px; }
.section-head p{ color: var(--muted); margin-top:14px; font-size:16px; }

.ratesheet{ border-top: 1px solid var(--line); }
.rate-row{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  align-items:center;
}
.rate-row .label{ font-weight:600; font-size:16px; }
.rate-row .label span{ display:block; color: var(--muted); font-weight:400; font-size:13.5px; margin-top:4px; }
.rate-row .std, .rate-row .code{ font-family: var(--mono); font-size:14px; }
.rate-row .std{ color: var(--muted); }
.rate-row .code{ color: var(--green); }
.rate-head{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:20px;
  padding: 0 4px 14px; font-family: var(--mono); font-size:11px;
  letter-spacing:.1em; text-transform:uppercase; color: var(--muted);
}

/* ---------------------------------------------
   Steps (genuinely sequential -> numbered)
--------------------------------------------- */
.steps{ display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.step{
  background: var(--surface); border:1px solid var(--line); border-radius: 8px;
  padding: 28px 24px;
}
.step .num{
  font-family: var(--mono); color: var(--gold); font-size: 13px;
  border:1px solid var(--gold-dim); border-radius:50%;
  width:30px; height:30px; display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.step h3{ font-size: 17px; margin-bottom: 10px; }
.step p{ color: var(--muted); font-size: 14.5px; }
.step code{
  font-family: var(--mono); background: var(--surface-2);
  padding: 2px 6px; border-radius:3px; color: var(--gold); font-size: 13px;
}

/* ---------------------------------------------
   Trust strip
--------------------------------------------- */
.trust-strip{
  display:flex; flex-wrap:wrap; gap: 36px 48px;
  padding: 30px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.trust-item{ display:flex; align-items:center; gap:10px; color: var(--muted); font-size: 13.5px; }
.trust-item .dot{ width:6px; height:6px; border-radius:50%; background: var(--gold); flex-shrink:0; }

/* ---------------------------------------------
   FAQ (accordion)
--------------------------------------------- */
.faq-list{ border-top: 1px solid var(--line); max-width: 780px; }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; color: var(--text);
  font-family: var(--display); font-size: 17px; padding: 22px 4px;
  display:flex; justify-content:space-between; align-items:center; cursor:pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker{ display:none; }
.faq-q::marker{ content:""; }
.faq-q .plus{ font-family: var(--mono); color: var(--gold); font-size: 20px; transition: transform .2s ease; }
.faq-item[open] .plus{ transform: rotate(45deg); }
.faq-a{ padding: 0 4px 22px; color: var(--muted); font-size: 15px; max-width: 62ch; }

/* ---------------------------------------------
   Final CTA
--------------------------------------------- */
.final-cta{
  padding: 90px 0; text-align:center;
  background: radial-gradient(ellipse 800px 300px at 50% 0%, rgba(212,169,79,0.10), transparent 65%);
}
.final-cta h2{ font-size: clamp(28px,3.6vw,40px); margin-bottom:16px; }
.final-cta p{ color: var(--muted); max-width: 52ch; margin: 0 auto 30px; }

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.site-footer{ padding: 48px 0 40px; }
.footer-top{
  display:flex; justify-content:space-between; align-items:flex-start; gap:24px; flex-wrap:wrap;
  padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 24px;
}
.footer-nav ul{ display:flex; gap: 24px; flex-wrap:wrap; }
.footer-nav a{ color: var(--muted); font-size: 13.5px; }
.footer-nav a:hover{ color: var(--text); }
.risk-notice{
  font-size: 12.5px; color: var(--muted); line-height:1.7; max-width: 900px;
}
.copyright{ font-size: 12.5px; color: var(--muted); margin-top: 18px; }

/* ---------------------------------------------
   Responsive
--------------------------------------------- */
@media (max-width: 880px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .main-nav{ display:none; }
  .steps{ grid-template-columns: 1fr; }
  .rate-head{ display:none; }
  .rate-row{ grid-template-columns: 1fr; gap:6px; }
  .rate-row .std::before{ content:"Standard: "; color: var(--muted); }
  .rate-row .code::before{ content:"With code: "; color: var(--muted); }
  .footer-top{ flex-direction:column; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
