/**
 * BestUGC Rates page (1.0.101).
 * UGC rate card: broadcast energy, giant condensed type, gold pricing,
 * tiered package cards, add-on grid, testimonial, client strip.
 * Mobile-first at 440px; honors prefers-reduced-motion through main.js.
 */

/* ---------- Page backdrop ---------- */
/* The rates sections are designed on a dark navy canvas; the theme's
   default <main> background is light, so paint it here. */
#main:has(.rt-hero) {
  background: #0a1424;
  /* iOS Safari inflates text in narrow blocks when this is unset,
     which once blew a $1,000 price up to giant size on iPhone. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ---------- Hero ---------- */
.rt-hero { position: relative; overflow: hidden; padding: 5.5rem 0 3.5rem; text-align: center; }
.rt-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(224, 181, 99, .14), transparent 70%),
    radial-gradient(40% 30% at 85% 90%, rgba(255, 77, 46, .06), transparent 70%);
}
.rt-kicker { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-bottom: 1.1rem; }
.rt-title {
  font-family: var(--font-display);
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(4.2rem, 19vw, 10.5rem);
  line-height: .88; letter-spacing: .01em; margin: 0 0 1.2rem;
  text-wrap: balance; color: #fff;
}
.rt-title .rt-gold {
  background: linear-gradient(100deg, #f7dc9a 5%, var(--gold-bright) 45%, #c98f2e 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rt-lede { max-width: 34rem; margin: 0 auto 1.6rem; font-size: 1.06rem; line-height: 1.6; color: rgba(255,255,255,.82); }
.rt-cred {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .5rem 1rem; margin: 0 auto 2rem; max-width: 44rem;
  font-size: .95rem; color: rgba(255,255,255,.78);
}
.rt-cred strong { color: var(--gold-bright); font-weight: 800; }
.rt-cred .rt-dot { color: rgba(224,181,99,.5); }
.rt-ctas { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-bottom: 1rem; }

.rt-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; font-size: 1.02rem; text-decoration: none;
  padding: .95rem 1.9rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.rt-btn-gold {
  color: #14100a; background: linear-gradient(100deg, #f7dc9a, var(--gold-bright) 55%, #d29a3f);
  box-shadow: 0 10px 34px rgba(224, 181, 99, .35);
}
.rt-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(224, 181, 99, .45); }
.rt-btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.rt-btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold-bright); color: var(--gold-bright); }
.rt-meta { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* Headline entrance */
@keyframes rt-rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.rt-hero .rt-title { animation: rt-rise .8s cubic-bezier(.2,.8,.2,1) both; }
.rt-hero .rt-lede, .rt-hero .rt-ctas, .rt-hero .rt-kicker, .rt-hero .rt-cred { animation: rt-rise .8s .12s cubic-bezier(.2,.8,.2,1) both; }
.rt-hero .rt-meta { animation: rt-rise .8s .22s cubic-bezier(.2,.8,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  .rt-hero .rt-title, .rt-hero .rt-lede, .rt-hero .rt-ctas, .rt-hero .rt-kicker, .rt-hero .rt-cred, .rt-hero .rt-meta { animation: none; }
}

/* ---------- Ticker ---------- */
.rt-ticker { border-top: 1px solid rgba(224,181,99,.25); border-bottom: 1px solid rgba(224,181,99,.25); background: rgba(0,0,0,.35); }
.rt-ticker .ticker-track span {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; font-size: 1rem; color: var(--gold-bright); padding: 0 1.4rem;
}

/* ---------- Section headings ---------- */
.rt-head { text-align: center; max-width: 42rem; margin: 0 auto; }
.rt-head h2 {  text-transform: uppercase;  margin: .6rem 0 1rem; color: #fff; }
.rt-head p { color: rgba(255,255,255,.75); line-height: 1.6; margin: 0; }

/* ---------- Packages ---------- */
.rt-packages { padding: 4.5rem 0; }
.rt-grid { display: grid; gap: 1.1rem; margin-top: 2.4rem; }
.rt-card {
  border: 1px solid rgba(224,181,99,.28); border-radius: 14px;
  background: linear-gradient(165deg, rgba(224,181,99,.09), rgba(10,20,36,.65));
  padding: 1.6rem 1.4rem; position: relative; overflow: hidden;
}
.rt-card-featured {
  border-color: var(--gold-bright);
  box-shadow: 0 18px 50px rgba(224, 181, 99, .18);
}
.rt-card-featured::before {
  content: "Best Value"; position: absolute; top: 1rem; right: -2.6rem;
  transform: rotate(38deg); background: linear-gradient(100deg, #f7dc9a, var(--gold-bright) 55%, #d29a3f);
  color: #14100a; font-family: var(--font-display); font-weight: 800; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; padding: .35rem 3rem;
}
.rt-card-top h3 {
   text-transform: uppercase; letter-spacing: .06em;
  margin: 0 0 .25rem; color: #fff;
}
.rt-handle { color: var(--gold-bright); font-size: .88rem; margin-bottom: 1.1rem; }
.rt-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.rt-tiers li {
  display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: baseline;
  padding: .65rem .2rem; border-bottom: 1px solid rgba(255,255,255,.07);
}
.rt-tiers li:last-child { border-bottom: 0; }
.rt-tier {
  font-family: var(--font-display); font-weight: 800; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: #14100a;
  background: linear-gradient(100deg, #f7dc9a, var(--gold-bright) 60%, #d29a3f);
  border-radius: 4px; padding: .22rem .5rem; white-space: nowrap;
}
.rt-desc { font-size: .92rem; color: rgba(255,255,255,.85); }
.rt-price {
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  color: var(--gold-bright); white-space: nowrap;
}
.rt-note { margin: 1rem 0 0; font-size: .85rem; color: rgba(255,255,255,.6); font-style: italic; }

/* ---------- Add-ons ---------- */
.rt-addons { padding: 4.5rem 0; }
.rt-addon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 2.2rem; background: rgba(224,181,99,.22); border: 1px solid rgba(224,181,99,.22); }
.rt-addon { background: #0a1424; padding: 1.3rem 1rem; text-align: center; }
.rt-addon-name { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: .45rem; }
.rt-addon-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 7vw, 2.2rem); color: var(--gold-bright); line-height: 1; }
.rt-slots { text-align: center; margin: 2rem 0 0; color: rgba(255,255,255,.65); font-size: .95rem; }
@media (max-width: 719px) {
  .rt-addon-grid .rt-addon:last-child { grid-column: 1 / -1; }
  /* Tighter rhythm on phones: less dead space between add-ons and quote. */
  .rt-addons { padding: 3.5rem 0 2.5rem; }
  .rt-quote { padding: 2.5rem 0 3rem; }
}

/* ---------- Testimonial ---------- */
.rt-quote { padding: 3.5rem 0; text-align: center; }
.rt-quote blockquote { margin: 0; }
.rt-quote blockquote p {
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: clamp(1.8rem, 7vw, 3rem); line-height: 1.15; margin: 0 0 1rem;
  background: linear-gradient(100deg, #f7dc9a 5%, var(--gold-bright) 45%, #c98f2e 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rt-quote cite {
  font-style: normal; font-size: .85rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}

/* ---------- Clients ---------- */
.rt-clients { padding: 4.5rem 0 2rem; }
.rt-client-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2.2rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08);
}
.rt-client { background: #0a1424; display: flex; align-items: center; justify-content: center; padding: 1.4rem .8rem; }
.rt-client img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; }
.rt-fbgroup { text-align: center; margin: 2.2rem auto 0; max-width: 40rem; color: rgba(255,255,255,.72); line-height: 1.65; font-size: .95rem; }
.rt-fbgroup a { color: var(--gold-bright); font-weight: 700; }

/* ---------- CTA band ---------- */
.rt-cta { padding: 5rem 0 6rem; text-align: center; position: relative; overflow: hidden; }
.rt-cta h2 {  text-transform: uppercase;  margin: 0 0 1.2rem; color: #fff; }
.rt-cta p { color: rgba(255,255,255,.78); max-width: 32rem; margin: 0 auto 2rem; line-height: 1.6; }

/* ---------- Wider screens ---------- */
@media (min-width: 720px) {
  .rt-grid { grid-template-columns: repeat(2, 1fr); }
  .rt-card-featured { grid-column: 1 / -1; }
  .rt-addon-grid { grid-template-columns: repeat(3, 1fr); }
  .rt-client-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1080px) {
  .rt-grid { grid-template-columns: repeat(3, 1fr); }
  .rt-card-featured { grid-column: auto; }
}
