/*
Theme Name: Goat Funded Futures
Theme URI: https://goatfundedfuturesprop.com/
Author: Goat Funded Futures Prop Trading Firm
Description: Premium dark theme for Goat Funded Futures Prop Trading Firm.
Version: 1.0.4
License: GNU General Public License v2 or later
Text Domain: goat-funded-futures
*/

:root {
  --bg: #08070a;
  --bg-2: #0d0c11;
  --bg-3: #121017;
  --line: rgba(255, 214, 128, 0.14);
  --ink: #f3efe7;
  --muted: #a49d92;
  --gold: #e9b949;
  --gold-2: #ffd97a;
  --gold-3: #b6842b;
  --good: #58d68d;
  --radius: 16px;
  --wrap: 1180px;
  --font-h: "Sora", system-ui, sans-serif;
  --font-b: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
  background-image:
    radial-gradient(900px 500px at 82% -10%, rgba(233, 185, 73, 0.14), transparent 60%),
    radial-gradient(700px 500px at 0% 40%, rgba(233, 185, 73, 0.06), transparent 60%);
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--gold); }
h1, h2 { font-family: var(--font-h); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }
.narrow { width: min(820px, 92%); }
.center { text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--gold); color: #000; padding: 8px 14px; z-index: 999; border-radius: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(8, 7, 10, 0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; padding: 14px 0; }
.site-branding { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.site-logo { width: 42px; height: 42px; filter: drop-shadow(0 0 14px rgba(233,185,73,.35)); }
.site-title { font-family: var(--font-h); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.site-title em { font-style: normal; color: var(--gold); }
.main-navigation { margin-left: auto; }
.menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--ink); font-size: .95rem; font-weight: 600; opacity: .82; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--gold); transition: width .25s ease; }
.menu a:hover, .current-menu-item > a { opacity: 1; color: var(--gold-2); }
.menu a:hover::after, .current-menu-item > a::after { width: 100%; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--gold); margin: 4px 0; transition: .25s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-h); font-weight: 700; font-size: .95rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
  position: relative; overflow: hidden;
}
.btn-gold { background: linear-gradient(120deg, var(--gold-3), var(--gold-2) 45%, var(--gold)); color: #14100a; box-shadow: 0 10px 30px -12px rgba(233,185,73,.7); }
.btn-gold:hover { transform: translateY(-2px); color: #14100a; box-shadow: 0 16px 40px -12px rgba(233,185,73,.85); }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55) 45%, transparent 70%); transform: translateX(-120%); }
.btn-gold:hover::after { animation: shine .8s ease forwards; }
@keyframes shine { to { transform: translateX(120%); } }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: .86rem; }
.btn-block { display: flex; width: 100%; margin-top: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,7,10,.55), rgba(8,7,10,.92) 72%, var(--bg)); }
.hero-inner { position: relative; padding: 120px 0 130px; max-width: 900px; }
.kicker { font-family: var(--font-h); text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; color: var(--gold); margin-bottom: 14px; font-weight: 700; }
.kicker.glow { text-shadow: 0 0 22px rgba(233,185,73,.55); }
.lead { font-size: 1.14rem; color: #cfc8bc; max-width: 68ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 42px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 0; }
.hero-stats li { flex: 1 1 150px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; backdrop-filter: blur(6px); }
.hero-stats strong { display: block; font-family: var(--font-h); font-size: 1.6rem; color: var(--gold-2); }
.hero-stats span { font-size: .82rem; color: var(--muted); }

.ticker { position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid var(--line); background: rgba(0,0,0,.5); overflow: hidden; }
.ticker-track { display: flex; gap: 46px; white-space: nowrap; padding: 11px 0; animation: slide 28s linear infinite; font-family: var(--font-h); font-size: .84rem; color: var(--gold-2); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 96px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid rgba(255,255,255,.04); }
.section-head { max-width: 780px; margin-bottom: 52px; }
.page-hero { padding: 110px 0 60px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(233,185,73,.08), transparent 70%); }
.page-hero.small { padding: 96px 0 44px; }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; }

.trust-strip { padding: 44px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.trust-grid div { border: 1px solid var(--line); border-radius: 14px; padding: 22px 12px; background: rgba(255,255,255,.02); }
.trust-grid strong { display: block; font-family: var(--font-h); font-size: 1.7rem; color: var(--gold-2); }
.trust-grid span { font-size: .82rem; color: var(--muted); }

.cards { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(233,185,73,.45); box-shadow: 0 24px 50px -28px rgba(233,185,73,.55); }
.card p:last-child { margin-bottom: 0; }
.card-ico { font-family: var(--font-h); font-size: .78rem; letter-spacing: .18em; color: var(--gold-3); }
.card-title { font-family: var(--font-h); font-weight: 700; font-size: 1.12rem; color: var(--ink); margin: 10px 0 8px; }
.card > p:not(.card-title) { color: var(--muted); font-size: .96rem; }

.price { display: flex; flex-direction: column; position: relative; }
.price-tag { font-family: var(--font-h); font-size: 2.1rem; color: var(--gold-2); margin: 6px 0 14px; }
.price-tag span { font-size: .9rem; color: var(--muted); }
.price .ticks { flex: 1; }
.featured { border-color: rgba(233,185,73,.55); background: linear-gradient(165deg, rgba(233,185,73,.16), rgba(255,255,255,.02)); }
.badge { position: absolute; top: -12px; right: 18px; background: var(--gold); color: #14100a; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }

.ticks { list-style: none; padding: 0; margin: 0 0 6px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 9px; color: var(--muted); font-size: .95rem; }
.ticks li::before { content: "\\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.ticks.warn li::before { content: "\\2022"; color: #e07a5f; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 26px; }
.steps li { counter-increment: s; position: relative; padding-left: 48px; margin-bottom: 18px; color: var(--muted); }
.steps li strong { color: var(--ink); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--font-h); font-size: .85rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.tbl { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
.tbl th, .tbl td { padding: 15px 18px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.06); }
.tbl thead th { background: rgba(233,185,73,.1); font-family: var(--font-h); color: var(--gold-2); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.tbl tbody tr:hover { background: rgba(255,255,255,.03); }
.tbl td.good { color: var(--good); font-weight: 600; }
.tbl td { color: var(--muted); }
.tbl td:first-child { color: var(--ink); font-weight: 600; }

.quote .q-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.quote .q-top img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold-3); }
.q-name { font-family: var(--font-h); font-weight: 700; margin: 0; }
.q-meta { font-size: .8rem; color: var(--muted); margin: 0; }
.stars { color: var(--gold); letter-spacing: 3px; margin-top: 12px; }

.prose h2 { margin-top: 1.9em; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { color: #c6bfb4; }
.legal-list { counter-reset: l; list-style: none; padding: 0; margin: 0; }
.legal-list > li { counter-increment: l; border-bottom: 1px solid rgba(255,255,255,.06); padding: 24px 0; }
.legal-list > li h2 { font-size: 1.12rem; margin: 0 0 8px; }
.legal-list > li h2::before { content: counter(l) ". "; color: var(--gold); }
.legal-list > li p { margin: 0; color: var(--muted); font-size: .97rem; }

.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 54px 18px 22px; font-family: var(--font-h); font-weight: 600; font-size: 1rem; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.4rem; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] { border-color: rgba(233,185,73,.4); }
.faq-a { padding: 0 22px 20px; color: var(--muted); font-size: .96rem; }

.cta-band { background:
  linear-gradient(90deg, rgba(8,7,10,.94) 30%, rgba(8,7,10,.55)),
  url("assets/images/cta-banner.jpg") center/cover no-repeat;
  border-block: 1px solid var(--line);
}
.cta-inner { max-width: 760px; padding: 26px 0; }
.micro { font-size: .78rem; color: var(--muted); margin-top: 14px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-lead { color: var(--muted); font-size: .93rem; margin: 14px 0 18px; }
.footer-head { font-family: var(--font-h); font-weight: 700; color: var(--gold-2); margin-bottom: 12px; font-size: .95rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--muted); font-size: .93rem; }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06); font-size: .8rem; color: var(--muted); }
.disclaimer { max-width: 80ch; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; order: 3; margin-left: auto; }
  .header-cta { display: none; }
  .main-navigation { order: 4; width: 100%; max-height: 0; overflow: hidden; transition: max-height .35s ease; margin-left: 0; }
  .main-navigation.is-open { max-height: 420px; }
  .menu { flex-direction: column; gap: 4px; padding: 10px 0 4px; }
  .menu a { display: block; padding: 10px 0; }
  .split, .trust-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 68px 0; }
  .hero-inner { padding: 86px 0 110px; }
}
