/*
Theme Name: MoaTV
Theme URI: https://moatv.us
Author: MoaTV
Author URI: https://moatv.us
Description: MoaTV — Premium IPTV streaming service with 6,000+ live channels, VOD, PPV and sports. Modern dark UI with bold yellow brand accents, Bitcoin-only checkout, multi-device setup guides and SEO-optimized content.
Version: 3.0.0
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moatv
Tags: iptv, streaming, dark, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, blog
*/

/* =========================================================================
   1. ROOT — Bold yellow + black IPTV brand
   ========================================================================= */
:root{
  --bg:#0A0A0A;
  --bg-elevated:#121212;
  --bg-card:#181818;
  --bg-card-hover:#1F1F1F;
  --bg-overlay:rgba(10,10,10,.92);
  --bg-glass:rgba(18,18,18,.65);

  --line:rgba(255,255,255,.08);
  --line-strong:rgba(255,255,255,.14);
  --line-yellow:rgba(255,214,10,.32);

  --text:#FAFAFA;
  --text-soft:#C8C8CC;
  --text-mute:#8A8A90;
  --text-dim:#5C5C62;

  /* Primary yellow — matched to the chunky logo */
  --yellow:#FFD60A;
  --yellow-light:#FFE54A;
  --yellow-deep:#E6BD00;
  --yellow-soft:rgba(255,214,10,.15);
  --yellow-glow:rgba(255,214,10,.45);

  /* Accents */
  --success:#21D17A;
  --danger:#FF3B30;
  --warn:#FFA825;
  --info:#0AC5FF;

  /* Gradients */
  --grad-yellow:linear-gradient(135deg, #FFE54A 0%, #FFD60A 50%, #E6BD00 100%);
  --grad-hero:linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,.85) 80%, var(--bg) 100%);

  /* Typography */
  --font-display:'Archivo Black', 'Anton', Impact, sans-serif;
  --font-body:'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono:'JetBrains Mono', ui-monospace, Consolas, monospace;

  /* Radius */
  --r-sm:6px;
  --r:10px;
  --r-md:14px;
  --r-lg:20px;
  --r-xl:28px;

  /* Shadows */
  --shadow-sm:0 2px 6px rgba(0,0,0,.4);
  --shadow-md:0 8px 24px rgba(0,0,0,.55);
  --shadow-lg:0 20px 48px rgba(0,0,0,.7);
  --shadow-yellow:0 8px 28px rgba(255,214,10,.45);

  --container:1240px;
  --header-h:72px;
}

/* =========================================================================
   2. RESET & BASE
   ========================================================================= */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-body);
  font-size:15.5px;
  line-height:1.65;
  color:var(--text);
  background:var(--bg);
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  letter-spacing:-.005em;
  overflow-x:hidden;
}

/* Ambient yellow glow shapes (behind everything) */
body::before{
  content:"";
  position:fixed;
  inset:auto auto -10% -10%;
  width:55vw;height:55vw;
  background:radial-gradient(circle, rgba(255,214,10,.07) 0%, transparent 60%);
  filter:blur(80px);
  z-index:0;
  pointer-events:none;
}
body::after{
  content:"";
  position:fixed;
  inset:-10% -15% auto auto;
  width:50vw;height:50vw;
  background:radial-gradient(circle, rgba(255,214,10,.06) 0%, transparent 60%);
  filter:blur(100px);
  z-index:0;
  pointer-events:none;
}

main, section, footer, header{position:relative;z-index:1}

img{max-width:100%;height:auto;display:block}

a{color:var(--text);text-decoration:none;transition:color .2s ease}
a:hover{color:var(--yellow)}

::selection{background:var(--yellow);color:var(--bg)}

::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:var(--bg-elevated)}
::-webkit-scrollbar-thumb{background:var(--bg-card-hover);border-radius:10px}
::-webkit-scrollbar-thumb:hover{background:var(--yellow-deep)}

/* =========================================================================
   3. TYPOGRAPHY
   ========================================================================= */
h1,h2,h3,h4,h5,h6{
  font-family:var(--font-display);
  font-weight:400;
  letter-spacing:-.015em;
  line-height:1.06;
  color:var(--text);
  text-wrap:balance;
}
h1{font-size:clamp(2.4rem, 5.5vw, 4.6rem)}
h2{font-size:clamp(1.7rem, 3.6vw, 2.6rem)}
h3{font-size:clamp(1.2rem, 2vw, 1.5rem)}
h4{font-size:1.1rem;font-family:var(--font-body);font-weight:700;letter-spacing:0}

p{margin:0 0 1rem;color:var(--text-soft)}
p:last-child{margin-bottom:0}
strong{color:var(--text);font-weight:700}

.text-y{color:var(--yellow)}
.text-mute{color:var(--text-mute)}
.text-soft{color:var(--text-soft)}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  font-family:var(--font-body);
  font-size:11.5px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--yellow);
  margin-bottom:1rem;
}
.eyebrow::before{
  content:"";
  display:block;
  width:24px;height:2px;
  background:var(--yellow);
}

/* =========================================================================
   4. LAYOUT
   ========================================================================= */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 1.5rem;
}
@media (max-width:768px){.container{padding:0 1rem}}

.section{padding:5rem 0}
.section-sm{padding:3rem 0}
.section-lg{padding:7rem 0}
@media (max-width:768px){
  .section{padding:3.5rem 0}
  .section-lg{padding:4.5rem 0}
}

.section-head{margin-bottom:2.5rem}
.section-head-center{text-align:center}
.section-head-center .eyebrow{justify-content:center}
.section-head p{
  max-width:640px;
  color:var(--text-soft);
  margin-top:.65rem;
}
.section-head-center p{margin-left:auto;margin-right:auto}

/* =========================================================================
   5. BUTTONS — Bold yellow CTAs
   ========================================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding:.85rem 1.5rem;
  font-family:var(--font-body);
  font-size:14px;
  font-weight:700;
  letter-spacing:.005em;
  border-radius:99px;
  border:2px solid transparent;
  cursor:pointer;
  transition:all .22s cubic-bezier(.2,.7,.2,1);
  white-space:nowrap;
  text-decoration:none;
  line-height:1;
}
.btn-lg{padding:1.05rem 1.95rem;font-size:15px}
.btn-sm{padding:.55rem 1.05rem;font-size:13px}
.btn-block{display:flex;width:100%}

.btn-yellow{
  background:var(--yellow);
  color:#0A0A0A;
  border-color:var(--yellow);
  box-shadow:var(--shadow-yellow);
}
.btn-yellow:hover{
  color:#0A0A0A;
  background:var(--yellow-light);
  border-color:var(--yellow-light);
  transform:translateY(-2px);
  box-shadow:0 14px 40px rgba(255,214,10,.55);
}

.btn-ghost{
  background:rgba(255,255,255,.05);
  color:var(--text);
  border-color:var(--line-strong);
  backdrop-filter:blur(8px);
}
.btn-ghost:hover{background:rgba(255,255,255,.10);color:var(--text);border-color:var(--yellow)}

.btn-outline-yellow{
  background:transparent;
  color:var(--yellow);
  border-color:var(--yellow);
}
.btn-outline-yellow:hover{background:var(--yellow);color:var(--bg)}

.btn-dark{
  background:#0A0A0A;
  color:var(--text);
  border-color:#0A0A0A;
}
.btn-dark:hover{background:#1A1A1A;color:var(--yellow)}

.btn svg{width:16px;height:16px;flex-shrink:0}

/* =========================================================================
   6. HEADER — Sticky glass nav
   ========================================================================= */
.site-header{
  position:fixed;
  top:0;left:0;right:0;
  height:var(--header-h);
  background:rgba(10,10,10,.55);
  backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid transparent;
  z-index:100;
  transition:all .3s ease;
}
.site-header.scrolled{
  background:rgba(10,10,10,.93);
  border-bottom-color:var(--line);
}
.header-inner{
  max-width:var(--container);
  margin:0 auto;
  padding:0 1.5rem;
  height:100%;
  display:flex;
  align-items:center;
  gap:2rem;
}
.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  flex-shrink:0;
}
.brand img{height:44px;width:auto;display:block}
@media (max-width:768px){.brand img{height:36px}}

.main-nav{
  display:flex;
  align-items:center;
  gap:.3rem;
  margin:0 auto 0 1rem;
  list-style:none;
}
@media (max-width:1024px){.main-nav{display:none}}
.main-nav a{
  padding:.5rem .95rem;
  font-size:13.5px;
  font-weight:600;
  color:var(--text-soft);
  border-radius:8px;
  transition:all .2s ease;
  position:relative;
}
.main-nav a:hover, .main-nav .current-menu-item > a{
  color:var(--text);
  background:rgba(255,255,255,.05);
}

.header-actions{
  display:flex;
  align-items:center;
  gap:.7rem;
  margin-left:auto;
}

.mobile-toggle{
  display:none;
  width:42px;height:42px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--text);
  cursor:pointer;
  align-items:center;
  justify-content:center;
}
@media (max-width:1024px){.mobile-toggle{display:flex}}
.mobile-toggle svg{width:20px;height:20px;fill:currentColor}

/* Header order CTA — should always be visible */
.header-order-cta{display:none}
@media (min-width:1024px){.header-order-cta{display:inline-flex}}

/* Mobile menu */
.mobile-menu{
  position:fixed;
  top:0;right:-100%;
  width:min(360px, 90vw);
  height:100vh;
  background:var(--bg-elevated);
  border-left:1px solid var(--line);
  z-index:200;
  padding:5rem 1.5rem 2rem;
  transition:right .35s cubic-bezier(.2,.7,.2,1);
  overflow-y:auto;
}
.mobile-menu.open{right:0}
.mobile-menu-close{
  position:absolute;
  top:1.25rem;right:1.25rem;
  width:42px;height:42px;
  border:none;
  background:transparent;
  color:var(--text);
  cursor:pointer;
  font-size:28px;
  line-height:1;
}
.mobile-menu ul{list-style:none;display:flex;flex-direction:column;gap:.25rem}
.mobile-menu a{
  display:block;
  padding:.85rem 1rem;
  font-size:16px;
  font-weight:600;
  color:var(--text-soft);
  border-radius:10px;
  transition:all .2s ease;
}
.mobile-menu a:hover{color:var(--yellow);background:rgba(255,255,255,.05)}
.mobile-menu-footer{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--line)}

/* =========================================================================
   7. HERO — Bold IPTV statement
   ========================================================================= */
.hero{
  position:relative;
  min-height:88vh;
  display:flex;
  align-items:center;
  padding:calc(var(--header-h) + 4rem) 0 4rem;
  overflow:hidden;
  isolation:isolate;
}
.hero-bg{
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(255,214,10,.18) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 70%, rgba(255,214,10,.10) 0%, transparent 55%),
    var(--bg);
}
.hero-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size:48px 48px;
  mask:radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-content{max-width:780px;position:relative}
.hero h1{
  font-size:clamp(2.8rem, 7.5vw, 6rem);
  margin-bottom:1.5rem;
  letter-spacing:-.025em;
}
.hero h1 .y{color:var(--yellow)}
.hero h1 .line{display:block}
.hero p.lead{
  font-size:clamp(1rem, 1.5vw, 1.2rem);
  color:var(--text-soft);
  max-width:560px;
  margin-bottom:2.2rem;
  line-height:1.6;
}
.hero-cta{
  display:flex;
  gap:.85rem;
  flex-wrap:wrap;
}
.hero-trust{
  display:flex;
  gap:1.5rem;
  flex-wrap:wrap;
  margin-top:3rem;
  padding-top:1.5rem;
  border-top:1px solid var(--line);
  font-size:13px;
  color:var(--text-mute);
}
.hero-trust span{display:flex;align-items:center;gap:.5rem}
.hero-trust svg{width:18px;height:18px;fill:var(--yellow)}

.hero-stats{
  display:flex;
  gap:2.5rem;
  flex-wrap:wrap;
  margin-top:3.5rem;
  padding-top:2rem;
  border-top:1px solid var(--line);
}
.hero-stat-num{
  font-family:var(--font-display);
  font-size:2.2rem;
  color:var(--yellow);
  line-height:1;
  margin-bottom:.3rem;
}
.hero-stat-label{
  font-size:12px;
  color:var(--text-mute);
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* =========================================================================
   8. FEATURE CARDS
   ========================================================================= */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.5rem;
}
@media (max-width:880px){.feature-grid{grid-template-columns:1fr;max-width:480px;margin:0 auto}}

.f-card{
  position:relative;
  padding:2rem;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  transition:all .25s ease;
}
.f-card:hover{
  border-color:var(--line-yellow);
  background:var(--bg-card-hover);
  transform:translateY(-4px);
}
.f-card-icon{
  width:52px;height:52px;
  background:var(--yellow-soft);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--yellow);
  margin-bottom:1.25rem;
}
.f-card-icon svg{width:26px;height:26px;fill:currentColor}
.f-card h3{
  font-family:var(--font-body);
  font-size:1.1rem;
  font-weight:700;
  letter-spacing:-.005em;
  margin-bottom:.5rem;
}
.f-card p{
  font-size:14px;
  color:var(--text-mute);
  line-height:1.65;
}

/* App advantages — 4-col compact */
.adv-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1rem;
}
@media (max-width:880px){.adv-grid{grid-template-columns:repeat(2, 1fr)}}
@media (max-width:520px){.adv-grid{grid-template-columns:1fr}}
.adv-item{
  padding:1.5rem;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  transition:all .2s ease;
}
.adv-item:hover{border-color:var(--line-yellow)}
.adv-item-icon{
  width:38px;height:38px;
  background:var(--yellow);
  color:#0A0A0A;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:.85rem;
}
.adv-item-icon svg{width:20px;height:20px;fill:currentColor}
.adv-item h4{font-size:15px;margin-bottom:.35rem;font-weight:700}
.adv-item p{font-size:13px;color:var(--text-mute);line-height:1.55}

/* =========================================================================
   9. PRICING
   ========================================================================= */
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:1rem;
}
@media (max-width:1100px){.pricing-grid{grid-template-columns:repeat(3, 1fr)}}
@media (max-width:760px){.pricing-grid{grid-template-columns:repeat(2, 1fr)}}
@media (max-width:480px){.pricing-grid{grid-template-columns:1fr;max-width:340px;margin:0 auto}}

.plan{
  position:relative;
  padding:2rem 1.5rem;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  text-align:center;
  transition:all .3s ease;
  display:flex;
  flex-direction:column;
}
.plan:hover{border-color:var(--line-yellow);transform:translateY(-4px)}
.plan-featured{
  background:linear-gradient(180deg, rgba(255,214,10,.12) 0%, var(--bg-card) 100%);
  border-color:var(--yellow);
  box-shadow:var(--shadow-yellow);
}
.plan-tag{
  position:absolute;
  top:-12px;left:50%;
  transform:translateX(-50%);
  padding:.35rem .9rem;
  background:var(--yellow);
  color:#0A0A0A;
  font-family:var(--font-body);
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  border-radius:99px;
}
.plan h3{
  font-family:var(--font-display);
  font-size:1.3rem;
  margin:0 0 .25rem;
  color:var(--text);
  letter-spacing:-.005em;
}
.plan-duration{
  font-size:11px;
  color:var(--text-mute);
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:1.5rem;
}
.plan-price{
  font-family:var(--font-display);
  font-size:3rem;
  color:var(--yellow);
  line-height:1;
  margin-bottom:.5rem;
  letter-spacing:-.02em;
}
.plan-price small{
  font-size:1.1rem;
  color:var(--text-mute);
}
.plan-monthly{
  font-size:12px;
  color:var(--text-mute);
  margin-bottom:1.5rem;
}
.plan-features{
  list-style:none;
  text-align:left;
  display:flex;
  flex-direction:column;
  gap:.55rem;
  margin-bottom:1.5rem;
  flex-grow:1;
  padding-top:1.25rem;
  border-top:1px solid var(--line);
}
.plan-features li{
  display:flex;
  align-items:flex-start;
  gap:.55rem;
  font-size:13px;
  color:var(--text-soft);
}
.plan-features li::before{
  content:"";
  flex-shrink:0;
  margin-top:4px;
  width:12px;height:12px;
  background:var(--yellow);
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* =========================================================================
   10. STEPS — How it works
   ========================================================================= */
.steps-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1.5rem;
}
@media (max-width:880px){.steps-grid{grid-template-columns:repeat(2, 1fr)}}
@media (max-width:520px){.steps-grid{grid-template-columns:1fr}}

.step{
  position:relative;
  padding:2rem 1.5rem;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--r-md);
}
.step-num{
  position:absolute;
  top:-18px;left:1.5rem;
  width:42px;height:42px;
  background:var(--yellow);
  color:#0A0A0A;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--font-display);
  font-size:1.3rem;
}
.step h3{
  font-family:var(--font-body);
  font-size:1.05rem;
  font-weight:700;
  margin:1rem 0 .5rem;
}
.step p{
  font-size:13.5px;
  color:var(--text-mute);
  line-height:1.6;
}

/* =========================================================================
   11. TESTIMONIALS
   ========================================================================= */
.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.25rem;
}
@media (max-width:880px){.testimonials-grid{grid-template-columns:1fr}}
.t-card{
  padding:1.75rem;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  transition:all .25s ease;
}
.t-card:hover{border-color:var(--line-yellow)}
.t-stars{
  color:var(--yellow);
  font-size:14px;
  letter-spacing:.15em;
  margin-bottom:.85rem;
}
.t-card p{
  font-size:14.5px;
  color:var(--text-soft);
  line-height:1.7;
  margin-bottom:1.25rem;
}
.t-author{
  display:flex;
  align-items:center;
  gap:.85rem;
  padding-top:1rem;
  border-top:1px solid var(--line);
}
.t-avatar{
  width:42px;height:42px;
  background:var(--yellow);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--font-display);
  color:#0A0A0A;
  font-size:1.1rem;
  flex-shrink:0;
}
.t-name{font-weight:700;font-size:14px;color:var(--text)}
.t-location{font-size:12px;color:var(--text-mute)}

/* =========================================================================
   12. FAQ
   ========================================================================= */
.faq-list{max-width:780px;margin:0 auto}
.faq-item{
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  margin-bottom:.85rem;
  overflow:hidden;
  transition:border-color .2s ease;
}
.faq-item:hover{border-color:var(--line-yellow)}
.faq-q{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:1.25rem 1.5rem;
  background:transparent;
  border:none;
  text-align:left;
  font-family:var(--font-body);
  font-size:15px;
  font-weight:700;
  color:var(--text);
  cursor:pointer;
  gap:1rem;
}
.faq-icon{
  flex-shrink:0;
  width:28px;height:28px;
  background:var(--yellow-soft);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--yellow);
  font-size:18px;
  font-weight:300;
  line-height:1;
  transition:all .25s ease;
}
.faq-item.open .faq-icon{
  background:var(--yellow);
  color:#0A0A0A;
  transform:rotate(45deg);
}
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s cubic-bezier(.2,.7,.2,1), padding .35s ease;
  padding:0 1.5rem;
}
.faq-item.open .faq-a{max-height:600px;padding:0 1.5rem 1.5rem}
.faq-a p{color:var(--text-soft);font-size:14px;line-height:1.7}

/* =========================================================================
   13. CTA BANNER
   ========================================================================= */
.cta-banner{
  position:relative;
  padding:4rem 2.5rem;
  border-radius:var(--r-xl);
  overflow:hidden;
  background:linear-gradient(135deg, #1A1300 0%, #0A0A0A 100%);
  text-align:center;
  isolation:isolate;
}
.cta-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(255,214,10,.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(255,214,10,.18) 0%, transparent 70%);
  z-index:-1;
}
.cta-banner h2{margin-bottom:.75rem}
.cta-banner p{
  max-width:580px;
  margin:0 auto 2rem;
  color:var(--text-soft);
}

/* =========================================================================
   14. FOOTER
   ========================================================================= */
.site-footer{
  background:var(--bg-elevated);
  border-top:1px solid var(--line);
  padding:4rem 0 1.5rem;
  margin-top:4rem;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:2.5rem;
  margin-bottom:3rem;
}
@media (max-width:880px){.footer-grid{grid-template-columns:1fr 1fr;gap:2rem}}
@media (max-width:480px){.footer-grid{grid-template-columns:1fr}}

.footer-brand img{height:52px;margin-bottom:1rem;width:auto}
.footer-brand p{
  font-size:13.5px;
  color:var(--text-mute);
  line-height:1.6;
  max-width:340px;
}
.footer-social{display:flex;gap:.5rem;margin-top:1.25rem}
.footer-social a{
  width:38px;height:38px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--text-soft);
  transition:all .2s ease;
}
.footer-social a:hover{background:var(--yellow);color:var(--bg);border-color:var(--yellow)}
.footer-social svg{width:16px;height:16px;fill:currentColor}

.footer-col h4{
  font-family:var(--font-display);
  font-size:.95rem;
  letter-spacing:.04em;
  color:var(--text);
  margin-bottom:1.25rem;
  text-transform:uppercase;
}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:.6rem}
.footer-col a{
  font-size:13.5px;
  color:var(--text-mute);
}
.footer-col a:hover{color:var(--yellow)}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:1rem;
  padding-top:1.75rem;
  border-top:1px solid var(--line);
  font-size:12.5px;
  color:var(--text-mute);
}
.footer-legal-links{display:flex;gap:1.25rem;flex-wrap:wrap}
.footer-legal-links a{color:var(--text-mute)}
.footer-legal-links a:hover{color:var(--yellow)}

/* =========================================================================
   15. PAGE HERO (interior)
   ========================================================================= */
.page-hero{
  position:relative;
  padding:calc(var(--header-h) + 4rem) 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 40% at 50% 20%, rgba(255,214,10,.08) 0%, transparent 70%),
    var(--bg);
  border-bottom:1px solid var(--line);
}
.page-hero h1{
  font-size:clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom:1rem;
}
.page-hero .lead{
  max-width:680px;
  color:var(--text-soft);
  font-size:1.05rem;
}
.breadcrumbs{
  display:flex;
  align-items:center;
  gap:.5rem;
  font-size:12.5px;
  color:var(--text-mute);
  margin-bottom:1rem;
  letter-spacing:.04em;
}
.breadcrumbs a{color:var(--text-mute)}
.breadcrumbs a:hover{color:var(--yellow)}
.breadcrumbs .sep{color:var(--text-dim)}

/* =========================================================================
   16. FORMS — Order page, contact, etc.
   ========================================================================= */
.form-card{
  max-width:680px;
  margin:0 auto;
  padding:2.5rem;
  background:var(--bg-card);
  border:1px solid var(--line-yellow);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-md);
}
@media (max-width:560px){.form-card{padding:1.75rem 1.5rem}}

.form-card h2{
  font-family:var(--font-display);
  font-size:1.6rem;
  margin-bottom:.5rem;
}
.form-card .sub{
  color:var(--text-mute);
  font-size:14px;
  margin-bottom:2rem;
}

.form-field{margin-bottom:1.25rem}
.form-field label{
  display:block;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.04em;
  color:var(--text);
  margin-bottom:.5rem;
  text-transform:uppercase;
}
.form-field label .req{color:var(--yellow)}
.form-field label small{
  font-weight:500;
  color:var(--text-mute);
  text-transform:none;
  letter-spacing:0;
  margin-left:.4rem;
}
.form-field input,
.form-field select,
.form-field textarea{
  width:100%;
  padding:.95rem 1.05rem;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:10px;
  color:var(--text);
  font-family:var(--font-body);
  font-size:14.5px;
  outline:none;
  transition:all .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  border-color:var(--yellow);
  background:rgba(255,255,255,.06);
}
.form-field input::placeholder{color:var(--text-mute)}
.form-field input.is-invalid{border-color:var(--danger)}
.form-error{
  display:none;
  margin-top:.45rem;
  font-size:12.5px;
  color:var(--danger);
}
.form-field.has-error .form-error{display:block}

.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media (max-width:560px){.form-row{grid-template-columns:1fr}}

/* Radio cards (subscription type) */
.radio-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.85rem;
}
.radio-card{
  position:relative;
  cursor:pointer;
}
.radio-card input{
  position:absolute;opacity:0;width:0;height:0;
  pointer-events:none;
}
.radio-card-inner{
  padding:1rem 1.25rem;
  background:rgba(255,255,255,.04);
  border:2px solid var(--line);
  border-radius:10px;
  transition:all .2s ease;
  display:flex;
  align-items:center;
  gap:.75rem;
}
.radio-card input:checked + .radio-card-inner{
  border-color:var(--yellow);
  background:var(--yellow-soft);
}
.radio-card-check{
  width:20px;height:20px;
  border-radius:50%;
  border:2px solid var(--line-strong);
  flex-shrink:0;
  position:relative;
  transition:all .2s ease;
}
.radio-card input:checked + .radio-card-inner .radio-card-check{
  border-color:var(--yellow);
  background:var(--yellow);
}
.radio-card input:checked + .radio-card-inner .radio-card-check::after{
  content:"";
  position:absolute;
  inset:4px;
  border-radius:50%;
  background:#0A0A0A;
}
.radio-card-label{
  font-weight:700;
  font-size:14.5px;
  color:var(--text);
}
.radio-card-sub{
  display:block;
  font-size:12px;
  font-weight:500;
  color:var(--text-mute);
  margin-top:.15rem;
}

/* =========================================================================
   17. ORDER SUMMARY (Payment Instructions page)
   ========================================================================= */
.order-summary{
  background:var(--bg-card);
  border:1px solid var(--line-yellow);
  border-radius:var(--r-lg);
  overflow:hidden;
  margin-bottom:2rem;
}
.order-summary-head{
  padding:1.5rem 1.75rem;
  background:linear-gradient(135deg, rgba(255,214,10,.15) 0%, rgba(255,214,10,.05) 100%);
  border-bottom:1px solid var(--line-yellow);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:1rem;
}
.order-summary-head h3{
  font-family:var(--font-display);
  font-size:1.1rem;
  margin:0;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.order-summary-id{
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--text-mute);
}
.order-summary-body{padding:1.75rem}
.order-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:.85rem 0;
  border-bottom:1px solid var(--line);
  gap:1rem;
}
.order-row:last-child{border-bottom:none}
.order-label{
  font-size:13px;
  color:var(--text-mute);
  letter-spacing:.04em;
  text-transform:uppercase;
  font-weight:600;
}
.order-value{
  font-size:14.5px;
  color:var(--text);
  font-weight:600;
  text-align:right;
  word-break:break-word;
  max-width:60%;
}
.order-total{
  margin-top:.85rem;
  padding-top:1.25rem;
  border-top:2px solid var(--line-yellow);
}
.order-total .order-label{
  font-size:14px;
  color:var(--text);
  font-weight:700;
}
.order-total .order-value{
  font-family:var(--font-display);
  font-size:2rem;
  color:var(--yellow);
  letter-spacing:-.01em;
}

/* Payment notice */
.payment-notice{
  padding:1.5rem;
  background:rgba(255,214,10,.06);
  border:1px solid var(--line-yellow);
  border-left:4px solid var(--yellow);
  border-radius:10px;
  margin-bottom:2rem;
}
.payment-notice h4{
  display:flex;
  align-items:center;
  gap:.5rem;
  font-size:14px;
  color:var(--yellow);
  margin-bottom:.6rem;
  font-weight:700;
}
.payment-notice h4 svg{width:18px;height:18px;fill:currentColor}
.payment-notice p{font-size:13.5px;color:var(--text-soft);line-height:1.65;margin:0}

/* Payment steps */
.pay-steps{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1rem;
  margin-bottom:2rem;
}
@media (max-width:760px){.pay-steps{grid-template-columns:1fr}}
.pay-step{
  padding:1.5rem;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  display:flex;
  gap:1rem;
  align-items:flex-start;
}
.pay-step-num{
  width:32px;height:32px;
  background:var(--yellow);
  color:#0A0A0A;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--font-display);
  font-size:1.05rem;
  flex-shrink:0;
}
.pay-step h4{font-size:14px;margin-bottom:.4rem;font-weight:700}
.pay-step p{font-size:12.5px;color:var(--text-mute);line-height:1.55;margin:0}

/* Bitcoin guide cards */
.btc-guides{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1rem;
}
@media (max-width:760px){.btc-guides{grid-template-columns:1fr}}
.btc-guide{
  padding:1.25rem 1.5rem;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:10px;
  display:flex;
  align-items:center;
  gap:.85rem;
  text-decoration:none;
  transition:all .2s ease;
}
.btc-guide:hover{
  border-color:var(--line-yellow);
  background:var(--bg-card-hover);
  transform:translateY(-2px);
}
.btc-guide-icon{
  width:40px;height:40px;
  background:var(--yellow-soft);
  color:var(--yellow);
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.btc-guide-icon svg{width:20px;height:20px;fill:currentColor}
.btc-guide-content{flex-grow:1;min-width:0}
.btc-guide-title{
  font-size:13.5px;
  font-weight:700;
  color:var(--text);
  margin-bottom:.15rem;
  line-height:1.3;
}
.btc-guide-sub{
  font-size:11.5px;
  color:var(--text-mute);
}
.btc-guide-arrow{color:var(--text-mute);font-size:14px}
.btc-guide:hover .btc-guide-arrow{color:var(--yellow)}

/* =========================================================================
   18. SETUP INSTRUCTIONS — Device tabs
   ========================================================================= */
.setup-tabs{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  margin-bottom:2rem;
  padding:.5rem;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:99px;
  max-width:fit-content;
}
@media (max-width:680px){.setup-tabs{border-radius:14px}}
.setup-tab{
  padding:.6rem 1.15rem;
  font-family:var(--font-body);
  font-size:13px;
  font-weight:600;
  color:var(--text-soft);
  background:transparent;
  border:none;
  border-radius:99px;
  cursor:pointer;
  transition:all .2s ease;
  display:flex;
  align-items:center;
  gap:.5rem;
}
.setup-tab svg{width:16px;height:16px;fill:currentColor}
.setup-tab:hover{color:var(--text)}
.setup-tab.active{background:var(--yellow);color:#0A0A0A}

.setup-panel{display:none}
.setup-panel.active{display:block}

.setup-steps-list{
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.setup-step{
  display:flex;
  gap:1.25rem;
  padding:1.5rem;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--r-md);
}
.setup-step-num{
  width:42px;height:42px;
  background:var(--yellow);
  color:#0A0A0A;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--font-display);
  font-size:1.3rem;
  flex-shrink:0;
}
.setup-step-content{flex-grow:1}
.setup-step h4{font-size:1rem;margin-bottom:.4rem;font-weight:700}
.setup-step p{font-size:14px;color:var(--text-mute);line-height:1.65}
.setup-step code{
  display:inline-block;
  padding:.15rem .45rem;
  background:rgba(255,214,10,.12);
  border:1px solid var(--line-yellow);
  border-radius:5px;
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--yellow);
}

/* =========================================================================
   19. APP COMPATIBILITY GRID
   ========================================================================= */
.compat-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1rem;
}
@media (max-width:780px){.compat-grid{grid-template-columns:repeat(2, 1fr)}}

.compat-item{
  padding:1.5rem 1rem;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  text-align:center;
  transition:all .2s ease;
}
.compat-item:hover{
  border-color:var(--line-yellow);
  transform:translateY(-3px);
}
.compat-icon{
  width:48px;height:48px;
  margin:0 auto .75rem;
  background:var(--yellow-soft);
  color:var(--yellow);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.compat-icon svg{width:24px;height:24px;fill:currentColor}
.compat-item h4{font-size:14px;margin-bottom:.2rem;font-weight:700}
.compat-item p{font-size:12px;color:var(--text-mute);line-height:1.4}

/* =========================================================================
   20. BLOG
   ========================================================================= */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.5rem;
}
@media (max-width:880px){.blog-grid{grid-template-columns:repeat(2, 1fr)}}
@media (max-width:560px){.blog-grid{grid-template-columns:1fr}}

.b-card{
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:all .3s ease;
}
.b-card:hover{border-color:var(--line-yellow);transform:translateY(-4px)}
.b-card-img{
  aspect-ratio:16/9;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
}
.b-card-img-overlay{
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at center, rgba(255,214,10,.25) 0%, transparent 60%);
}
.b-card-img-badge{
  position:relative;
  font-family:var(--font-display);
  font-size:2.5rem;
  color:var(--yellow);
  letter-spacing:-.02em;
  z-index:2;
  text-shadow:0 4px 12px rgba(0,0,0,.6);
}
.b-card-body{padding:1.5rem;flex-grow:1;display:flex;flex-direction:column}
.b-card-cat{
  display:inline-block;
  font-family:var(--font-body);
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--yellow);
  margin-bottom:.65rem;
}
.b-card h3{
  font-size:1.15rem;
  margin-bottom:.65rem;
  line-height:1.25;
  font-family:var(--font-body);
  font-weight:800;
  letter-spacing:-.005em;
}
.b-card h3 a{color:var(--text)}
.b-card h3 a:hover{color:var(--yellow)}
.b-card p{
  font-size:13.5px;
  color:var(--text-mute);
  margin-bottom:1rem;
  flex-grow:1;
}
.b-card-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:1rem;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--text-mute);
}
.b-card-author{font-weight:600;color:var(--text-soft)}

/* Article body */
.post-body{
  max-width:760px;
  margin:0 auto;
  font-size:16px;
  line-height:1.85;
  color:var(--text-soft);
}
.post-body h2{font-size:1.8rem;margin:2.5rem 0 1rem;color:var(--text);font-family:var(--font-body);font-weight:800;letter-spacing:-.01em}
.post-body h3{font-size:1.3rem;margin:2rem 0 .85rem;color:var(--text);font-family:var(--font-body);font-weight:700}
.post-body p{margin-bottom:1.25rem}
.post-body a{color:var(--yellow);border-bottom:1px solid var(--line-yellow)}
.post-body a:hover{color:var(--yellow-light);border-bottom-color:var(--yellow)}
.post-body ul, .post-body ol{margin:0 0 1.5rem 1.5rem;color:var(--text-soft)}
.post-body li{margin-bottom:.5rem}
.post-body blockquote{
  border-left:3px solid var(--yellow);
  padding:.5rem 0 .5rem 1.5rem;
  margin:2rem 0;
  font-style:italic;
  color:var(--text);
}

/* =========================================================================
   21. 404
   ========================================================================= */
.error-404{
  min-height:80vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:6rem 1rem 2rem;
}
.error-404-num{
  font-family:var(--font-display);
  font-size:clamp(8rem, 25vw, 16rem);
  line-height:.9;
  margin-bottom:1rem;
  color:var(--yellow);
  letter-spacing:-.04em;
  text-shadow:0 0 40px rgba(255,214,10,.4);
}

/* =========================================================================
   22. UTILITIES
   ========================================================================= */
.fade-up{opacity:0;transform:translateY(20px);transition:opacity .8s ease, transform .8s ease}
.fade-up.in{opacity:1;transform:translateY(0)}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    transition-duration:.01ms !important;
  }
}

.stagger > *{opacity:0;transform:translateY(20px);animation:staggerIn .9s cubic-bezier(.2,.7,.2,1) forwards}
.stagger > *:nth-child(1){animation-delay:.1s}
.stagger > *:nth-child(2){animation-delay:.25s}
.stagger > *:nth-child(3){animation-delay:.4s}
.stagger > *:nth-child(4){animation-delay:.55s}
.stagger > *:nth-child(5){animation-delay:.7s}
@keyframes staggerIn{to{opacity:1;transform:translateY(0)}}

.screen-reader-text{
  clip:rect(1px,1px,1px,1px);
  position:absolute;
  height:1px;width:1px;
  overflow:hidden;
  word-wrap:normal;
}
.skip-link{
  position:absolute;
  top:-100px;left:1rem;
  padding:.5rem 1rem;
  background:var(--yellow);
  color:#0A0A0A;
  z-index:9999;
  border-radius:6px;
  font-weight:700;
}
.skip-link:focus{top:1rem}

.divider{
  height:1px;
  background:linear-gradient(90deg, transparent 0%, var(--line-yellow) 50%, transparent 100%);
  margin:3rem 0;
}
