/* ============================================================
   RXT — 1:1 amtrades.com replica, RXT-skinned (light theme, orange accent)
   Brand: Space Grotesk · #FFBE00 orange · #EAEAEA light gray · #121212 text
   ============================================================ */

:root {
  --bg: #EAEAEA;            /* very light gray — page background */
  --surface: #ffffff;       /* white — cards, sections */
  --surface-2: #F5F5F5;     /* off-white — secondary surfaces */
  --text: #121212;          /* very dark gray — primary text */
  --text-dim: #A9A9A7;      /* dim gray — secondary text */
  --accent: #FFBE00;        /* pure orange — brand accent */
  --accent-hover: #E6AB00;  /* darker orange — hover state */
  --border: rgba(18, 18, 18, 0.12);
  --border-strong: rgba(18, 18, 18, 0.22);
  --max-w: 1280px;
  --section-pad: 110px;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-size: 16px;
  font-weight: 400;
  padding-top: 80px;  /* offset for fixed .site-header */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ============================================================
   1. HEADER — sticky, all elements visible, search on FAR RIGHT
   ============================================================ */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex; align-items: center;
  height: 80px;
  gap: 28px;
}
.brand {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 26px; font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: lowercase;
  text-decoration: none;
  flex-shrink: 0;
}
.nav {
  display: flex; align-items: center; gap: 36px;
  font-size: 15px; font-weight: 500;
  margin-left: 8px;
}
.nav > a {
  color: var(--text);
  transition: color .15s ease;
  text-decoration: none;
}
.nav > a:hover { color: var(--accent-hover); }
.nav-pill {
  margin-left: auto;  /* push to the right */
  padding: 10px 20px;
  background: var(--accent);
  color: var(--text);
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: background .15s ease, transform .12s ease;
  flex-shrink: 0;
}
.nav-pill:hover { background: var(--accent-hover); transform: translateY(-1px); }
.icon-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  color: var(--text);
  border-radius: 8px;
  transition: background .15s ease;
  flex-shrink: 0;
}
.icon-btn:hover { background: var(--surface-2); }

@media (max-width: 860px) {
  .nav-row { gap: 16px; }
  .nav { gap: 20px; font-size: 14px; }
  .nav-pill { padding: 8px 14px; font-size: 13px; }
}
@media (max-width: 600px) {
  .nav-row { gap: 12px; }
  .nav { gap: 14px; font-size: 13px; }
  .nav-pill { padding: 7px 12px; font-size: 12px; }
}

/* ============================================================
   2. HERO — h2 + sub + 2 video cards (1:1 amtrades)
   ============================================================ */

.hero {
  background: var(--bg);
  padding: var(--section-pad) 0 calc(var(--section-pad) - 20px);
}
.hero-head { margin-bottom: 48px; }
.hero-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.hero-head p {
  font-size: 16px;
  color: var(--text-dim);
}
.hero-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) {
  .hero-videos { grid-template-columns: 1fr; }
}
.video-card {
  display: flex; flex-direction: column;
  background: var(--text);  /* dark card to make YouTube thumb pop */
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform .12s ease, box-shadow .12s ease;
}
.video-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(0,0,0,0.4); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured-pill {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  border-radius: 999px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.duration-badge {
  position: absolute; bottom: 14px; right: 14px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  border-radius: 6px;
  font-size: 12px; font-weight: 500;
}
.video-body { padding: 24px 28px 28px; }
.video-body h3 {
  font-size: 20px; font-weight: 600; line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 10px;
}
.video-body p {
  font-size: 14px; line-height: 1.55;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   3. COMMUNITY — h1 + Join Discord + Discord mock (1:1 amtrades)
   ============================================================ */

.community {
  background: var(--bg);
  padding: var(--section-pad) 0;
}
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .community-grid { grid-template-columns: 1fr; gap: 40px; }
}
.community-text h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.community-text p {
  font-size: 18px; line-height: 1.5;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 32px;
}
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--text);
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background .15s ease, transform .12s ease;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.community-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.18);
}
.community-visual img { width: 100%; height: auto; display: block; }

/* ============================================================
   4. THE LOOP — light section break (1:1 amtrades "One defined model")
   ============================================================ */

.light-section { background: var(--surface); color: var(--text); }

.loop {
  padding: var(--section-pad) 0;
}
.loop-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.loop-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
}
.loop-head p {
  font-size: 16px; line-height: 1.5;
  color: var(--text-dim);
}
.loop-cta {
  display: flex; justify-content: center; gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.btn-dark {
  display: inline-block;
  padding: 12px 22px;
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: background .15s ease, transform .12s ease;
}
.btn-dark:hover { background: #2a2a2a; transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  padding: 12px 22px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: background .15s ease, transform .12s ease;
}
.btn-outline:hover { background: var(--surface-2); transform: translateY(-1px); }
.loop-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}
.loop-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.loop-card:last-child { border-bottom: none; }
.loop-card:hover { transform: none; box-shadow: none; }
.loop-card-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}
.loop-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.loop-card-body h3 {
  font-size: 18px; font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.loop-card-body p {
  font-size: 15px; line-height: 1.5;
  color: var(--text-dim);
  max-width: 560px;
}

/* ============================================================
   5. RECEIPTS — testimonial carousel (1:1 amtrades)
   ============================================================ */

.receipts {
  background: var(--bg);
  padding: var(--section-pad) 0;
}
.receipts-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.receipts-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
}
.receipts-head p {
  font-size: 16px; line-height: 1.5;
  color: var(--text-dim);
}
.receipts-carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  min-height: 220px;
}
.receipt-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.receipt-slide blockquote {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
  font-style: italic;
  margin-bottom: 32px;
  max-width: 640px;
}
.receipt-author {
  display: flex; align-items: center; gap: 14px;
  text-align: left;
}
.receipt-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 18px;
}
.receipt-name { font-size: 14px; font-weight: 600; color: var(--text); }
.receipt-role { font-size: 13px; color: var(--text-dim); }
.receipts-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 32px;
}
.receipts-dots .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background .15s ease;
}
.receipts-dots .dot.active { background: var(--text); }

/* ============================================================
   6. SOCIALS — h2 + founder + 4 social cards (1:1 amtrades)
   ============================================================ */

.socials {
  background: var(--surface);
  padding: var(--section-pad) 0;
}
.socials-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.socials-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
}
.socials-head p {
  font-size: 16px; line-height: 1.5;
  color: var(--text-dim);
}
.socials-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .socials-row { grid-template-columns: 1fr; } }
.founder {
  display: grid; place-items: center;
}
.founder img {
  width: 100%; max-width: 380px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.18);
}
.social-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) { .social-cards { grid-template-columns: 1fr; } }
.social-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.social-card:hover {
  border-color: var(--border-strong);
  background: #F0F0F0;
  transform: translateY(-2px);
}
.sc-body { min-width: 0; }
.sc-body h3 {
  font-size: 15px; font-weight: 500;
  color: var(--text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-sep { color: var(--text-dim); margin: 0 4px; font-weight: 300; }
.sc-handle { color: var(--text-dim); font-weight: 400; }
.sc-cta {
  padding: 6px 14px;
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  flex-shrink: 0;
}
.sc-cta-discord { background: var(--accent); color: var(--text); }

/* ============================================================
   7. FOOTER — brand cards + hero heading + logo + Made by + socials + 3-col nav + copyright
   ============================================================ */

.site-footer {
  background: var(--bg);
  padding: 96px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-banners {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-bottom: 80px;
}
.footer-banner {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 56px 32px 40px;
  background: linear-gradient(180deg, #131c2e 0%, #0c121e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  min-height: 280px;
  transition: border-color .15s ease, transform .12s ease;
  overflow: hidden;
}
.footer-banner:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-2px); }
.footer-banner-content {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.footer-banner-eyebrow {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.6);
  letter-spacing: 0; text-transform: lowercase;
}
.footer-banner-mark {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 88px; font-weight: 700; color: #fff;
  line-height: 0.9; letter-spacing: -0.04em;
  text-transform: lowercase;
}
.footer-banner-mark .cutout {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #fff;
}
.footer-banner-tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; max-width: 90%;
}
.footer-banner-tags .tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-size: 13px; color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.tag-icon { flex-shrink: 0; display: block; height: 14px; width: auto; max-width: 36px; object-fit: contain; }
.banner-arrow {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--text);
  border-radius: 50%;
  font-size: 18px; font-weight: 700;
  line-height: 1;
  transition: transform .15s ease;
}
.footer-banner:hover .banner-arrow { transform: translate(2px, -2px); }

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 32px;
}
@media (max-width: 760px) { .footer-main { grid-template-columns: 1fr; gap: 48px; } }
.footer-left { display: flex; flex-direction: column; gap: 32px; }
.footer-hero {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
  max-width: 520px;
}
.footer-bottom-block {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.footer-logo {
  display: inline-flex; text-decoration: none;
}
.footer-logo-mark {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 24px; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em; line-height: 1;
}
.footer-madeby { font-size: 15px; color: var(--text-dim); margin: 0; }
.footer-brandlink { color: var(--accent); font-weight: 500; transition: color .15s ease; }
.footer-brandlink:hover { color: var(--accent-hover); }
.footer-socials { display: flex; gap: 10px; margin-top: 4px; }
.footer-socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: #fff;
  background: var(--text);
  border-radius: 10px;
  transition: background .15s ease, transform .15s ease;
}
.footer-socials a:hover { background: #2a2a2a; transform: translateY(-2px); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 0;
  border-top: none;
  width: 100%;
  margin: 0;
}
@media (max-width: 540px) { .footer-cols { grid-template-columns: 1fr; gap: 28px; } }
.footer-col h4 {
  font-size: 13px; font-weight: 600; color: var(--text);
  margin: 0 0 16px; letter-spacing: 0.04em; text-transform: uppercase;
}
.footer-col a {
  display: block; font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 10px;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .site-footer { padding: 64px 0 32px; }
  .footer-hero { font-size: 26px; }
  .footer-bottom-block { gap: 12px; }
}
