/* src/app/globals.css */
/* BeSTeR — Dark Yellow theme (Next.js) */

:root{
  --bg: #07070A;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.68);
  --muted2: rgba(255,255,255,0.55);
  --line: rgba(255,255,255,0.14);

  /* Dark Yellow (brand) */
  --y: #D9A300;
  --y2: #FFCC33;
  --yShadow: rgba(217,163,0,0.35);

  --danger: #ff4d4d;

  --radius: 18px;
  --radius2: 28px;

  --shadow: 0 18px 55px rgba(0,0,0,0.45);
  --shadow2: 0 10px 30px rgba(0,0,0,0.35);

  --container: 1180px;
}

*{ box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  background:
    radial-gradient(900px 500px at 70% 10%, rgba(217,163,0,0.12), transparent 60%),
    radial-gradient(700px 500px at 15% 35%, rgba(255,204,51,0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-inter), ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip: rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* Skip link */
.skipLink{
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(7,7,10,0.92);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  z-index: 2000;
  transform: translateY(-140%);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.skipLink:focus{
  transform: translateY(0);
  outline: 2px solid rgba(255,204,51,0.55);
  outline-offset: 3px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

/* Reading progress */
.read-progress{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: rgba(255,255,255,0.08);
}
.read-progress__bar{
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--y), var(--y2));
  box-shadow: 0 0 18px var(--yShadow);
}

/* =========================
   Header
========================= */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(7,7,10,0.62);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.header.isScrolled{
  background: rgba(7,7,10,0.78);
  border-bottom-color: rgba(217,163,0,0.22);
  box-shadow:
    0 18px 55px rgba(0,0,0,0.35),
    0 0 0 1px rgba(217,163,0,0.10),
    0 0 28px rgba(217,163,0,0.18);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;

  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(10, 10, 12, 0.55);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);

  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.header.isScrolled .header__inner{
  background: rgba(7,7,10,0.72);
  border-color: rgba(217,163,0,0.22);
  box-shadow:
    0 18px 55px rgba(0,0,0,0.40),
    0 0 0 1px rgba(217,163,0,0.10),
    0 0 28px rgba(217,163,0,0.18);
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  user-select: none;
}
.brand__mark{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 900;
  letter-spacing: -0.5px;
  background:
    radial-gradient(90% 120% at 20% 10%, rgba(255,204,51,0.55), transparent 45%),
    linear-gradient(180deg, rgba(217,163,0,0.95), rgba(217,163,0,0.65));
  color: #14120a;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}
.brand__text{
  font-weight: 850;
  letter-spacing: 0.2px;
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap: 10px;
  position: relative;
}

.nav__toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text);
  cursor:pointer;
}
.nav__toggleLines{
  display:block;
  width: 18px;
  height: 12px;
  margin: 0 auto;
  border-top: 2px solid rgba(255,255,255,0.75);
  border-bottom: 2px solid rgba(255,255,255,0.75);
  position: relative;
}
.nav__toggleLines::after{
  content:"";
  position:absolute;
  left:0; right:0;
  top: 4px;
  border-top: 2px solid rgba(255,255,255,0.75);
}

.nav__links{
  display:flex;
  gap: 18px;
  list-style:none;
  padding:0;
  margin:0;
}

.nav__link{
  position: relative;
  padding: 10px 8px;
  border-radius: 12px;

  background: transparent;
  border: none;

  color: rgba(255,255,255,0.80);
  font-weight: 700;
  letter-spacing: 0.2px;

  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease;
}

.nav__link:hover{
  color: rgba(255,255,255,0.96);
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

/* underline glow */
.nav__link::after{
  content:"";
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;

  background: linear-gradient(90deg, var(--y), var(--y2));
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: center;

  transition: opacity 160ms ease, transform 160ms ease;
}

.nav__link:hover::after{
  opacity: 1;
  transform: scaleX(1);
}

.nav__link.isActive{
  color: var(--y2);
}
.nav__link.isActive::after{
  opacity: 1;
  transform: scaleX(1);
}

.header__cta{
  display:flex;
  gap: 10px;
  align-items:center;
}

/* =========================
   Buttons
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 750;
  cursor:pointer;
  transition: transform 130ms ease, filter 130ms ease, background 130ms ease, border-color 130ms ease, box-shadow 130ms ease;
}
.btn:active{ transform: translateY(1px); }
.btn:hover{ transform: translateY(-1px); }

.btn-primary{
  background: linear-gradient(180deg, var(--y2), var(--y));
  color: #16130a;
  box-shadow: 0 18px 45px var(--yShadow);
}
.btn-primary:hover{
  filter: brightness(1.02);
  box-shadow: 0 20px 55px rgba(217,163,0,0.30);
}

.btn-ghost{
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.08); }

.btn-block{ width: 100%; }

/* WhatsApp rectangular CTA */
.btn-whatsapp-rect{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:14px 22px;
  border-radius:14px;
  background:#25D366;
  color:#fff;
  font-weight:700;
  font-size:15px;
  line-height:1;
  border:none;
  box-shadow:0 10px 25px rgba(37,211,102,.25);
  transition:all .25s ease;
}

.btn-whatsapp-rect:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 32px rgba(37,211,102,.35);
  background:#20bd5a;
}

.btn-whatsapp-rect:active{
  transform:translateY(0);
}

.btn-whatsapp-rect .wa-rect-icon{
  width:22px;
  height:22px;
}

.btn-whatsapp-rect .wa-rect-icon path{
  fill:#fff;
}

/* spacing with main CTA */
.heroActions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}



.btn-whatsapp:hover{
  background: rgba(37, 211, 102, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.25);
}


/* =========================
   Hero
========================= */
.hero{
  position: relative;
  padding: 56px 0 26px;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset: -120px -80px auto -80px;
  height: 520px;
  background:
    radial-gradient(600px 280px at 55% 40%, rgba(217,163,0,0.18), transparent 60%),
    radial-gradient(480px 260px at 25% 20%, rgba(255,204,51,0.12), transparent 60%);
  filter: blur(2px);
  pointer-events:none;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 28px;
  align-items: start;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  font-weight: 650;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--y2), var(--y));
  box-shadow: 0 0 18px var(--yShadow);
}

.hero__title{
  margin: 14px 0 8px;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.6px;
}
.hero__subtitle{
  margin: 0 0 12px;
  font-size: clamp(18px, 1.8vw, 22px);
  color: rgba(255,255,255,0.82);
  font-weight: 700;
}
.hero__text{
  margin: 0 0 18px;
  color: rgba(255,255,255,0.74);
  max-width: 60ch;
}

.hero__bullets{
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
}
.hero__bullets li{
  padding-left: 14px;
  position: relative;
  color: rgba(255,255,255,0.78);
  font-weight: 600;
}
.hero__bullets li::before{
  content:"";
  position:absolute;
  left:0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--y2), var(--y));
  box-shadow: 0 0 16px var(--yShadow);
}

.hero__actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}

.trust{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.trust__item{
  flex: 1 1 160px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 12px 14px;
}
.trust__label{
  display:block;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.trust__value{
  display:block;
  margin-top: 4px;
  color: rgba(255,255,255,0.88);
}

/* Hero card */
.hero__card{ display:grid; gap: 12px; }
.device{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.device__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.device__cam{
  width: 12px; height: 12px;
  border-radius: 99px;
  background: rgba(255,255,255,0.18);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.08);
}
.device__title{
  font-weight: 850;
  letter-spacing: 0.2px;
}
.device__chip{
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  color: #15110a;
  background: linear-gradient(180deg, var(--y2), var(--y));
}
.device__content{
  padding: 14px 16px 12px;
  display:grid;
  gap: 14px;
}
.mini-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mini{
  height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.device__now{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.20);
  padding: 12px 12px;
}
.device__nowLabel{
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.60);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.device__nowTitle{
  margin: 6px 0 10px;
  font-weight: 850;
}
.device__bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.10);
}
.device__barFill{
  display:block;
  height: 100%;
  width: 32%;
  background: linear-gradient(90deg, var(--y), var(--y2));
  box-shadow: 0 0 16px var(--yShadow);
}
.device__nowMeta{
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}

.device__bottom{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.chipbtn{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.84);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  cursor:pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}
.chipbtn:hover{ background: rgba(255,255,255,0.08); }
.chipbtn--active{
  background: rgba(217,163,0,0.20);
  border-color: rgba(217,163,0,0.35);
  box-shadow: 0 0 0 4px rgba(217,163,0,0.10);
}

.hero__note{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  padding: 12px 14px;
  color: rgba(255,255,255,0.78);
  display:flex;
  gap: 10px;
  align-items:flex-start;
}
.spark{
  color: var(--y2);
  text-shadow: 0 0 18px var(--yShadow);
}

/* =========================
   Stats
========================= */
.stats{ padding: 18px 0 18px; }
.stats__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 16px 16px;
}
.stat__num{
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -0.3px;
}
.stat__label{
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-weight: 650;
}

/* Sections */
.sectionHead{ margin-bottom: 16px; }
.sectionHead h2{
  margin: 0 0 6px;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.4px;
}
.sectionHead p{
  margin: 0;
  color: rgba(255,255,255,0.72);
  max-width: 70ch;
}

/* =========================
   Showcase
========================= */
.showcase{ padding: 34px 0 28px; }
.carousel{
  display:grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items:center;
  margin-top: 16px;
}
.carousel__btn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.9);
  font-size: 24px;
  cursor:pointer;
}
.carousel__btn:hover{ background: rgba(255,255,255,0.08); }
.carousel__track{
  display:flex;
  gap: 16px;
  overflow:auto;
  padding: 10px 6px;
  scroll-snap-type: x mandatory;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}
.carousel__track:focus{
  outline: 2px solid rgba(217,163,0,0.45);
  outline-offset: 4px;
}

.poster{
  flex: 0 0 210px;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}
.poster__img{
  height: 260px;
  background:
    radial-gradient(110% 70% at 20% 10%, rgba(255,204,51,0.28), transparent 50%),
    linear-gradient(180deg, rgba(217,163,0,0.16), rgba(0,0,0,0.45));
}
.poster__cap{ padding: 12px 12px 14px; }
.poster__title{ margin: 0; font-weight: 900; }
.poster__meta{
  margin: 4px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  font-weight: 650;
}

/* =========================
   Pricing
========================= */
.pricing{ padding: 34px 0 24px; }
.pricing__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.plan{
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 16px 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}
.plan__head h3{
  margin: 0 0 8px;
  font-weight: 950;
}
.plan__price{
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 1000;
  letter-spacing: -0.6px;
}
.plan__price span{
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  font-weight: 750;
}
.plan__sub{
  margin: 0 0 14px;
  color: rgba(255,255,255,0.72);
  font-weight: 650;
}
.plan__list{
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
}
.plan__list li{
  padding-left: 14px;
  position: relative;
  color: rgba(255,255,255,0.78);
  font-weight: 650;
}
.plan__list li::before{
  content:"";
  position:absolute;
  left:0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--y2), var(--y));
  box-shadow: 0 0 14px var(--yShadow);
}
.plan--featured{
  border-color: rgba(217,163,0,0.32);
  background:
    radial-gradient(600px 320px at 20% 10%, rgba(217,163,0,0.14), transparent 55%),
    rgba(255,255,255,0.04);
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
  transform: translateY(-6px);
}
.plan__badge{
  position:absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--y2), var(--y));
  color: #14120a;
  box-shadow: 0 16px 40px var(--yShadow);
}
.pricing__note{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  padding: 14px 14px;
  color: rgba(255,255,255,0.76);
}

/* =========================
   FAQ
========================= */
.faq{ padding: 34px 0 18px; }
.accordion{
  margin-top: 14px;
  display:grid;
  gap: 10px;
}
.qa{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  overflow:hidden;
}
.qa__q{
  cursor:pointer;
  padding: 14px 16px;
  font-weight: 900;
  list-style:none;
}
.qa__q::-webkit-details-marker{ display:none; }
.qa__q::after{
  content:"＋";
  float:right;
  color: rgba(255,255,255,0.75);
}
.qa[open] .qa__q::after{ content:"－"; }
.qa__a{
  padding: 0 16px 14px;
  color: rgba(255,255,255,0.72);
  font-weight: 650;
}

/* ===============================
   Testimonials Slider (FIXED)
================================= */
.testimonials{ padding: 34px 0 24px; }

.testimonials img,
.testimonials picture img,
.testimonials .tAvatar img,
.testimonials .testimonial img{
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

.tAvatar{
  width:56px;
  height:56px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(217,163,0,0.25);
  box-shadow:0 0 0 4px rgba(217,163,0,0.08);
  flex: 0 0 auto;
}
.tAvatar img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}

.tWrap{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;
  align-items:center;
  margin-top:16px;
}
.tBtn{
  width:44px;height:44px;border-radius:14px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.05);
  color:rgba(255,255,255,0.9);
  font-size:24px; cursor:pointer;
}
.tBtn:hover{ background:rgba(255,255,255,0.08); }

.tTrack{
  display:flex;
  gap:16px;
  overflow:auto;
  scroll-snap-type:x mandatory;
  padding:10px 6px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.03);
}
.tCard{
  flex:0 0 420px;
  scroll-snap-align:start;
  border-radius:22px;
  border:1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(900px 260px at 20% 10%, rgba(217,163,0,0.12), transparent 55%),
    rgba(255,255,255,0.04);
  box-shadow:0 14px 44px rgba(0,0,0,0.30);
  padding:16px;
}
.tTop{
  display:grid;
  grid-template-columns:56px 1fr auto;
  gap:12px;
  align-items:center;
}
.tName{ margin:0;font-weight:950; }
.tRole{ margin:2px 0 0;color:rgba(255,255,255,0.68);font-weight:650;font-size:13px; }
.tStars{ display:inline-flex;gap:2px;font-size:14px; }
.tStar{ opacity:0.25; }
.tStar--on{ opacity:1; }
.tText{ margin:12px 0 10px;color:rgba(255,255,255,0.78);font-weight:650;line-height:1.6; }
.tHint{ display:inline-flex;gap:10px;align-items:center;color:rgba(255,255,255,0.62);font-weight:700;font-size:13px; }
.tDots{ display:flex;gap:8px;justify-content:center;margin-top:12px; }
.tDot{
  width:10px;height:10px;border-radius:99px;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.08);
  cursor:pointer;
}
.tDot--on{
  background: linear-gradient(180deg, var(--y2), var(--y));
  border-color: rgba(217,163,0,0.30);
  box-shadow: 0 0 18px rgba(217,163,0,0.25);
}

/* ===============================
   Sticky CTA
================================= */
.stickyCta{
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(120%);
  display: flex;
  gap: 12px;
  padding: 10px;
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  z-index: 60;
  transition: transform 260ms cubic-bezier(.22,1,.36,1);
}
.stickyCta--show{
  transform: translateX(-50%) translateY(0);
}
.stickyCta .btn{
  padding: 10px 16px;
  font-size: 0.95rem;
}
.stickyCta__wa{
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  background: #25d366;
  color: #0b2e18;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}
.stickyCta__wa:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* WhatsApp Floating Button */
.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 70px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  z-index: 9999;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 140ms ease, filter 140ms ease;
}
.whatsapp-float:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
}
.whatsapp-icon{
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

/* ===============================
   Footer (FIXED ✅)
================================= */
.footer{
  margin-top: 42px;
  padding: 34px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(900px 420px at 30% 0%, rgba(217,163,0,0.12), transparent 60%),
    rgba(0,0,0,0.08);
}

.footer__grid{
  display:grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 18px;
  align-items:start;
}

/* Brand column */
.footer__brand{
  display:flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.brand--footer .brand__mark{
  width: 34px;
  height: 34px;
  border-radius: 12px;
}
.footer__tag{
  margin: 0;
  max-width: 46ch;
  color: rgba(255,255,255,0.70);
  font-weight: 650;
  line-height: 1.6;
}

/* Columns */
.footer__col{
  display:flex;
  flex-direction: column;
  align-items:flex-start;
  gap: 10px;
  min-width: 0;
}
.footer__col h4{
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.2px;
}

/* ✅ Force each link to a separate line */
.footer__link,
.footer__col a{
  display:block;
  width: 100%;
  margin: 0;
  padding: 6px 0;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  font-weight: 700;
  white-space: normal;
  word-break: break-word;
}

.footer__link:hover,
.footer__col a:hover{
  color: rgba(255,255,255,0.96);
  text-decoration: underline;
  text-decoration-color: rgba(255,204,51,0.55);
  text-underline-offset: 4px;
}

/* Bottom row */
.footer__bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255,255,255,0.70);
  font-weight: 650;
}
.footer__bottom p{ margin: 0; }

.toTop{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease;
}
.toTop:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
}

/* =========================
   Responsive
========================= */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .stats__grid{ grid-template-columns: repeat(2, 1fr); }
  .pricing__grid{ grid-template-columns: 1fr; }
  .plan--featured{ transform: none; }

  .footer__grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px){
  .header__cta{ display:none; }
  .nav__toggle{ display:inline-flex; align-items:center; justify-content:center; }

  /* Mobile menu panel */
  .nav__links{
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;

    flex-direction: column;
    gap: 6px;

    padding: 10px;
    border-radius: 16px;

    background: rgba(12, 12, 14, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);

    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    visibility: hidden;

    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 60;
  }

  .nav__links--open{
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
  }

  .nav__links li{ width: 100%; }

  .nav__link{
    width: 100%;
    display:flex;
    justify-content:flex-start;

    padding: 12px 14px;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.92);
  }

  .nav__link::after{ display:none; }

  /* Brand on phones */
  .brand__mark{ width: 32px; height: 32px; border-radius: 11px; }
  .brand__text{ font-size: 0.98rem; }

  /* Testimonials cards on phones */
  .tCard{ flex-basis: 86vw; }

  /* Footer on phones */
  .footer__grid{
    grid-template-columns: 1fr;
  }
  .footer__bottom{
    flex-direction: column;
    align-items:flex-start;
  }
}

/* =========================
   Legal pages
========================= */
.legal {
  padding: 42px 0;
}

.legal__content {
  max-width: 80ch;
  display: grid;
  gap: 14px;
}

.legal__content h2 {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 900;
}

.legal__content p,
.legal__content li {
  color: rgba(255,255,255,0.78);
  font-weight: 650;
  line-height: 1.65;
}

.legal__content ul {
  padding-left: 18px;
}
.legal {
  padding: 42px 0;
}

.legal__content {
  max-width: 80ch;
  display: grid;
  gap: 14px;
}

.legal {
  padding: 42px 0;
}

.legal__content {
  max-width: 80ch;
  display: grid;
  gap: 14px;
}

/* ===============================
   BLOG (home.php) — Cards + Grid
================================ */
.blogHero{
  padding: clamp(28px, 5vw, 54px) 0 18px;
}
.blogHero h1{
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.blogHero__lead{
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

.blogList{ padding: 10px 0 30px; }

.blogGrid{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12, 1fr);
}

.blogCard{
  grid-column: span 6;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease;
}
.blogCard:hover{
  transform: translateY(-2px);
  border-color: rgba(217,163,0,0.35);
}

.blogCard__thumb{
  display: block;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.blogCard__thumb img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 220ms ease;
}
.blogCard:hover .blogCard__thumb img{
  transform: scale(1.06);
}

.blogCard__body{
  padding: 16px 16px 18px;
}

.blogCard__title{
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.25;
}
.blogCard__title a{
  color: var(--text);
  text-decoration: none;
}
.blogCard__title a:hover{
  color: var(--y2);
}

.blogCard__meta{
  margin: 0 0 10px;
  color: var(--muted2);
  font-size: 0.95rem;
}

.blogCard__excerpt{
  color: var(--muted);
  margin: 0 0 12px;
}
.blogCard__read{
  color: var(--y2);
  text-decoration: none;
  font-weight: 700;
}
.blogCard__read:hover{ text-decoration: underline; }

.pagination{
  margin-top: 22px;
  display: flex;
  justify-content: center;
}
.pagination .nav-links{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.pagination a,
.pagination span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
}
.pagination .current{
  border-color: rgba(217,163,0,0.45);
  box-shadow: 0 0 0 3px rgba(217,163,0,0.12);
}

.blogCta{
  padding: 18px 0 40px;
}
.blogCta .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(217,163,0,0.08), rgba(255,255,255,0.03));
}
.blogCta p{ margin: 0; color: var(--muted); }

/* Responsive */
@media (max-width: 860px){
  .blogCard{ grid-column: span 12; }
  .blogCta .container{ flex-direction: column; align-items: flex-start; }
}

/* ===============================
   SINGLE (single.php) — Clean & SEO-friendly
================================ */
.crumbs{
  padding: 14px 0 0;
  color: var(--muted2);
  font-size: 0.95rem;
}
.crumbs a{
  color: var(--muted2);
  text-decoration: none;
}
.crumbs a:hover{ color: var(--y2); }

.post{ padding: 18px 0 40px; }

.postHead{ margin-bottom: 16px; }
.postTitle{
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.postMeta{
  color: var(--muted2);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.postLead{
  color: var(--muted);
  max-width: 82ch;
  margin: 0 0 16px;
}

.postCover{
  margin: 0;
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.postCover img{
  width: 100%;
  height: auto;
  display: block;
}

.postLayout{
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  align-items: start;
}

.toc{
  position: sticky;
  top: 92px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 14px;
}
.toc__title{
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--text);
}
.toc__list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.toc__list a{
  color: var(--muted);
  text-decoration: none;
}
.toc__list a:hover{ color: var(--y2); }

.postBody{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
  min-width: 0;
}

/* Typography داخل المقال */
.postBody h2{ margin-top: 26px; letter-spacing: -0.01em; }
.postBody h3{ margin-top: 22px; }
.postBody p,
.postBody li{
  color: var(--muted);
  line-height: 1.75;
}
.postBody a{ color: var(--y2); }
.postBody a:hover{ text-decoration: underline; }
.postBody img{
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.postCta{
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(217,163,0,0.25);
  background: linear-gradient(180deg, rgba(217,163,0,0.10), rgba(255,255,255,0.03));
}
.postCta p{ margin: 0 0 10px; color: var(--muted); }
.postCta__actions{ display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }

.postFoot{ margin-top: 18px; }
.postNav{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.postNav a{
  color: var(--text);
  text-decoration: none;
}
.postNav a:hover{ color: var(--y2); }

.related{ padding: 22px 0 40px; }
.related h2{ margin: 0 0 14px; }

@media (max-width: 980px){
  .postLayout{ grid-template-columns: 1fr; }
  .toc{ position: static; order: 2; }
}

/* =========================
   PAGE TEMPLATE (page.php)
   ========================= */

.pageMain {
  padding: clamp(32px, 6vw, 72px) 0;
}



.page__header {
  margin-bottom: 24px;
}

.page__title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 0;
}

.page__content {
  max-width: 78ch;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* Typography داخل محتوى Gutenberg */
.page__content > *:first-child {
  margin-top: 0;
}

.page__content p {
  margin: 0 0 1.1em;
}

.page__content h2,
.page__content h3,
.page__content h4 {
  margin: 2.2em 0 0.8em;
  line-height: 1.25;
}

.page__content ul,
.page__content ol {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}

.page__content li {
  margin: 0.35em 0;
}

.page__content a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.page__content a:hover {
  text-decoration-thickness: 2px;
}

/* WP content images */
.page__content img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Pagination for multi-page content */
.page__pagination {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page__pagination a,
.page__pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

.page__pagination a:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.07);
}
/* =========================
   404 PAGE
   ========================= */

.page404 {
  text-align: center;
}

.page404__code {
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 800;
  line-height: 1;
  margin: 0;
  opacity: 0.08;
}

.page404__content {
  margin: 0 auto;
}

.page404__actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   BLOG / CATEGORY GRID
   ========================= */
.blogHead {
  padding: clamp(18px, 4vw, 36px) 0;
  max-width: 92ch;
}

.blogHead__title {
  font-size: clamp(32px, 5vw, 54px);
  margin: 0 0 10px;
}

.blogHead__sub {
  margin: 0;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 78ch;
}

.postGrid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.postCard {
  grid-column: span 12;
}

@media (min-width: 780px) {
  .postCard { grid-column: span 6; }
}

@media (min-width: 1100px) {
  .postCard { grid-column: span 4; }
}

.postCard__link {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 160ms ease, border-color 160ms ease;
}

.postCard__link:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
}

.postCard__thumb {
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,0.06);
}

.postCard__thumb--empty {
  background: radial-gradient(circle at 30% 30%, rgba(255,200,0,0.12), rgba(255,255,255,0.03));
}

.postCard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.postCard__body {
  padding: 16px 16px 18px;
}

.postCard__meta {
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}

.postCard__dot {
  opacity: 0.7;
}

.postCard__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  color: rgba(255,255,255,0.95);
}

.postCard__excerpt {
  margin: 0 0 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.postCard__cta {
  font-weight: 700;
  color: rgba(255,255,255,0.90);
}

/* Pagination */
.pagination {
  margin: 28px 0 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}

.pagination .page-numbers.current {
  background: rgba(255,200,0,0.14);
  border-color: rgba(255,200,0,0.35);
}

.pagination .page-numbers:hover {
  border-color: rgba(255,255,255,0.18);
}

/* Empty state */
.emptyState {
  margin-top: 22px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 80ch;
}

.emptyState__title {
  margin: 0 0 10px;
}

.emptyState__text {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
}

.emptyState__text a {
  text-decoration: underline;
}
