/* ===== Clients, testimonials, tech stack (MediaHouse99 theme) ===== */

/* --- Clients / trusted worldwide --- */
.clients-sec{
  padding:72px 0 36px;background:linear-gradient(180deg,#f4f4f3 0%,#fafaf9 100%);
  overflow:hidden;
}
.clients-sec .section-head{margin-bottom:18px;text-align:center}
.clients-sec .eyebrow{letter-spacing:.08em}
.clients-sec h2{font-size:clamp(1.6rem,3.4vw,2.35rem);line-height:1.35;margin:.5rem 0 .2rem;color:var(--ink)}
.clients-stats{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 6px;
  color:var(--muted);font-weight:700;font-size:.92rem;margin:18px auto 28px;max-width:820px;text-align:center;
}
.clients-stats span{display:inline-flex;align-items:center;gap:8px;padding:0 6px}
.clients-stats svg{width:16px;height:16px;stroke:var(--accent);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.clients-stats .dot{width:4px;height:4px;padding:0;border-radius:50%;background:#cbd5e1;display:inline-block}
.clients-rows{display:flex;flex-direction:column;gap:14px;position:relative}
.clients-rows::before,.clients-rows::after{
  content:"";position:absolute;top:0;bottom:0;width:72px;z-index:2;pointer-events:none;
}
.clients-rows::before{right:0;background:linear-gradient(to left, #f6f6f5, transparent)}
.clients-rows::after{left:0;background:linear-gradient(to right, #f6f6f5, transparent)}
.clients-row{overflow:hidden;direction:ltr}
.clients-track{
  display:flex;gap:12px;width:max-content;
  animation:mh-marquee var(--mh-speed,40s) linear infinite;direction:ltr;
}
.clients-row.reverse .clients-track{animation-direction:reverse;animation-duration:var(--mh-speed,48s)}
.clients-row:hover .clients-track{animation-play-state:paused}
.client-pill{
  display:inline-flex;align-items:center;gap:10px;
  background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:8px 16px 8px 10px;box-shadow:0 1px 2px rgba(15,23,42,.04);
  color:var(--ink);font-weight:800;font-size:.92rem;white-space:nowrap;
}
.client-pill img{width:36px;height:36px;object-fit:contain;border-radius:9px;background:#f8fafc;flex:none}
@keyframes mh-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce){
  .clients-track{animation:none!important;flex-wrap:wrap;width:auto;justify-content:center;max-width:1100px;margin:0 auto}
  .clients-track .client-pill:nth-child(n+22){display:none} /* hide the duplicate set */
  .clients-rows::before,.clients-rows::after{display:none}
}

/* --- Testimonials --- */
.tm-sec{padding:28px 0 80px;background:var(--bg)}
.tm-sec .section-head{text-align:center;margin-bottom:32px}
.tm-sec h2{font-size:clamp(1.6rem,3.4vw,2.35rem);line-height:1.35}
.tm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.tm-card{
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px 22px 18px;
  box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:10px;position:relative;min-height:100%;
  direction:rtl;text-align:right;
}
.tm-card.is-ph{border-style:dashed}
.tm-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:2px}
.tm-ph{
  position:static;background:var(--accent-50);color:var(--accent);
  border:1px solid var(--accent-100);border-radius:999px;font-size:.68rem;font-weight:800;padding:3px 8px;flex:none;
}
.tm-rate{display:flex;align-items:center;gap:8px;justify-content:flex-start}
.tm-stars{display:inline-flex;gap:2px;color:#f5b301}
.tm-star{width:16px;height:16px}
.tm-rate b{font-size:1.05rem;color:var(--ink)}
.tm-quote{color:var(--ink-2);font-weight:600;line-height:1.85;margin:0;flex:1}
.tm-card.is-ph .tm-quote{color:var(--muted-2);font-style:italic}
.tm-who{display:flex;flex-direction:column;gap:2px;margin-top:6px}
.tm-who strong{font-size:.95rem}
.tm-who span{color:var(--muted);font-size:.85rem;font-weight:600}
.tm-app{color:var(--muted-2);font-size:.8rem;font-weight:700}
@media (max-width:980px){.tm-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.tm-grid{grid-template-columns:1fr}.clients-stats{font-size:.82rem}}

/* --- Tech stack --- */
.tech-sec{
  background:#0f172a;color:#e2e8f0;padding:80px 0 100px;position:relative;overflow:hidden;
}
.tech-sec::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(800px 400px at 80% 0%, rgba(37,99,235,.18), transparent 60%);
}
.tech-sec .container{position:relative;z-index:1}
.tech-sec .section-head{text-align:center;margin-bottom:28px}
.tech-sec .eyebrow{
  background:rgba(255,255,255,.06);color:#bfdbfe;border-color:rgba(255,255,255,.12);
}
.tech-sec h2{color:#fff;font-size:clamp(1.7rem,3.6vw,2.5rem);line-height:1.3}
.tech-tabs-wrap{display:flex;justify-content:center;margin:0 0 28px}
.tech-tabs{
  display:inline-flex;flex-wrap:wrap;justify-content:center;gap:4px;
  background:rgba(15,23,42,.7);border:1px solid rgba(255,255,255,.1);
  border-radius:999px;padding:5px;
}
.tech-tabs [role="tab"]{
  appearance:none;border:0;background:transparent;color:#cbd5e1;
  font:800 .9rem Cairo,Tahoma,sans-serif;padding:9px 16px;border-radius:999px;
  cursor:pointer;transition:background .2s,color .2s;
}
.tech-tabs [role="tab"].on, .tech-tabs [role="tab"][aria-selected="true"]{
  background:#2563eb;color:#fff;
}
.tech-tabs [role="tab"]:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}
.tech-panel{display:none;opacity:0}
.tech-panel.on{display:block;animation:techFade .35s ease both}
@keyframes techFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.tech-grid{
  display:grid;grid-template-columns:repeat(6,1fr);gap:16px;
}
.tech-card{
  background:#1e293b;border:1px solid rgba(255,255,255,.06);border-radius:18px;
  padding:22px 14px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;
  min-height:148px;
}
.tech-logo{
  width:52px;height:52px;display:grid;place-items:center;margin-bottom:4px;
}
.tech-logo img{width:44px;height:44px;object-fit:contain}
.tech-card h3{margin:0;color:#fff;font-size:.92rem;font-weight:800}
.tech-card p{margin:0;color:#94a3b8;font-size:.75rem;font-weight:600;line-height:1.45}
@media (max-width:1100px){.tech-grid{grid-template-columns:repeat(4,1fr)}}
@media (max-width:760px){.tech-grid{grid-template-columns:repeat(3,1fr)}.tech-card{min-height:136px;padding:18px 10px 14px}}
@media (max-width:520px){
  .tech-grid{grid-template-columns:repeat(2,1fr)}
  .tech-tabs{border-radius:16px}
  .clients-rows::before,.clients-rows::after{width:36px}
}
@media (prefers-reduced-motion: reduce){
  .tech-panel.on{animation:none;opacity:1}
}

.tech-logo.wordmark{width:58px;height:36px}
.tech-logo.wordmark img{width:58px;height:32px;background:#fff;border-radius:7px;padding:4px 5px;box-sizing:border-box}

/* --- Guarantees & trust --- */
.trust-sec{padding:36px 0 56px;background:var(--bg)}
.trust-sec .section-head{text-align:center;margin-bottom:32px}
.trust-sec h2{font-size:clamp(1.6rem,3.4vw,2.35rem);line-height:1.35}
.trust-sec .section-head p{max-width:36rem;margin:.6rem auto 0;color:var(--muted);font-weight:600}
.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.trust-card{
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px 22px 22px;
  box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:8px;min-height:100%;
}
.trust-ico{
  width:48px;height:48px;border-radius:14px;background:var(--accent-50);color:var(--accent);
  display:grid;place-items:center;margin-bottom:6px;
}
.trust-ico svg,.trust-ico .ix{width:24px;height:24px}
.trust-card h3{margin:0;font-size:1.05rem;color:var(--ink)}
.trust-card p{margin:0;color:var(--muted);font-weight:600;line-height:1.75;font-size:.92rem}
@media (max-width:980px){.trust-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.trust-grid{grid-template-columns:1fr}}


/* --- Support & maintenance plans --- */
.plans-sec{padding:64px 0 72px;background:#fff;border-top:1px solid var(--line);scroll-margin-top:96px}
.plans-sec .section-head{text-align:center;margin-bottom:8px}
.plans-sec h2{font-size:clamp(1.7rem,3.6vw,2.5rem);line-height:1.3}
.plans-lead{max-width:38rem;margin:.7rem auto 0;color:var(--muted);font-weight:600;line-height:1.8}
.plans-toggle-wrap{display:flex;justify-content:center;margin:28px 0 32px}
.plans-toggle{
  display:inline-flex;align-items:center;gap:4px;
  background:#f1f5f9;border:1px solid var(--line);border-radius:999px;padding:5px;
  position:relative;
}
.plans-toggle [data-cycle]{
  appearance:none;border:0;background:transparent;color:var(--ink-2);
  font:800 .92rem Cairo,Tahoma,sans-serif;padding:9px 18px;border-radius:999px;
  cursor:pointer;transition:background .2s,color .2s,box-shadow .2s;
}
.plans-toggle [data-cycle].on{
  background:#fff;color:var(--ink);box-shadow:0 1px 4px rgba(15,23,42,.1);
}
.plans-save{
  display:inline-flex;align-items:center;margin-inline-start:6px;
  background:var(--accent);color:#fff;font:800 .72rem Cairo,Tahoma,sans-serif;
  padding:.18rem .55rem;border-radius:999px;white-space:nowrap;
}
.plans-toggle [data-cycle="y"]{display:inline-flex;align-items:center;gap:8px}
.plans-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:stretch;
}
.plan-card{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:22px;
  padding:28px 24px 24px;display:flex;flex-direction:column;gap:10px;
  box-shadow:var(--shadow-sm);min-height:100%;
}
.plan-card.featured{
  border:2px solid var(--accent);
  box-shadow:0 16px 40px -20px rgba(37,99,235,.45);
  background:linear-gradient(180deg,#f8fbff 0%,#fff 42%);
}
.plan-badge{
  position:absolute;top:-13px;right:22px;
  background:var(--accent);color:#fff;font:800 .75rem Cairo,Tahoma,sans-serif;
  padding:.22rem .7rem;border-radius:999px;letter-spacing:.01em;
}
.plan-card h3{margin:4px 0 0;font-size:1.2rem;color:var(--ink)}
.plan-blurb{margin:0;color:var(--muted);font-weight:600;line-height:1.7;font-size:.92rem}
.plan-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:.35rem .55rem;margin:.4rem 0 .2rem}
.plan-price strong{font-size:2rem;color:var(--ink);letter-spacing:-.03em}
.plan-unit{color:var(--muted);font-weight:700;font-size:.95rem}
.plan-old{color:#94a3b8;font-weight:700;font-size:.95rem}
.plan-old s{text-decoration:line-through;text-decoration-thickness:1.5px}
.plan-features{list-style:none;margin:8px 0 14px;padding:0;display:flex;flex-direction:column;gap:10px;flex:1}
.plan-features li{
  position:relative;padding-inline-start:1.7rem;color:var(--ink-2);
  font-weight:600;line-height:1.65;font-size:.92rem;
}
.plan-features li::before{
  content:"";position:absolute;inset-inline-start:0;top:.35rem;
  width:16px;height:16px;border-radius:50%;
  background:var(--accent-50) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/10px no-repeat;
}
.plan-cta{margin-top:auto;width:100%;text-align:center;justify-content:center}
.plan-card.featured .plan-cta{box-shadow:none}
.plans-note{max-width:40rem;margin:26px auto 0;text-align:center;color:var(--muted);font-weight:600;font-size:.88rem;line-height:1.8}
@media (max-width:980px){
  .plans-grid{grid-template-columns:1fr;max-width:440px;margin:0 auto}
  .plan-card.featured{order:-1}
}

/* --- Store games teaser on the landing page --- */
.games-teaser{background:#fff;border-top:1px solid var(--line);padding:36px 0}
.games-teaser-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
.games-teaser h2{margin:.35rem 0 .4rem;font-size:clamp(1.35rem,2.6vw,1.85rem)}
.games-teaser p{margin:0;max-width:36rem;color:var(--muted);font-weight:600;line-height:1.75}
.games-teaser .btn{white-space:nowrap}
@media (max-width:700px){.games-teaser-inner{flex-direction:column;align-items:stretch;text-align:center}.games-teaser p{margin-inline:auto}.games-teaser .btn{justify-content:center}}

/* --- Landing showcase: real VOICE CHAT + game screenshots --- */
.sc-shot{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:top center;display:block;
  background:#0b1220;
}
.sc-store-link{
  display:inline-flex;align-items:center;gap:.45rem;
  margin-top:1.4rem;color:#93c5fd;font-weight:800;
  text-decoration:none;border-bottom:1px solid rgba(147,197,253,.35);
  padding-bottom:2px;
}
.sc-store-link:hover{color:#fff;border-bottom-color:#fff}
.sc-strip-wrap{position:relative;z-index:2;margin-top:3.2rem}
.sc-sub{
  margin:0 0 1.1rem;font-size:1.15rem;font-weight:800;
  color:rgba(255,255,255,.92);
}
.sc-strip{
  display:flex;gap:1rem;overflow-x:auto;padding:4px 2px 16px;
  scroll-snap-type:x mandatory;scrollbar-width:thin;
}
.sc-mini{
  flex:0 0 auto;width:112px;text-decoration:none;color:#fff;
  scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:.55rem;
}
.sc-mini span:last-child{
  font-size:.78rem;font-weight:700;color:rgba(255,255,255,.82);
  text-align:center;line-height:1.4;
}
.sc-mini-ph{
  display:block;width:112px;height:230px;border-radius:22px;
  padding:6px;background:linear-gradient(145deg,#26344b,#090e1a 40%,#16213c);
  box-shadow:0 18px 30px -18px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.12) inset;
  overflow:hidden;
}
.sc-mini-ph img{
  width:100%;height:100%;object-fit:cover;object-position:top center;
  border-radius:16px;display:block;background:#0b1220;
}
.sc-mini:hover .sc-mini-ph{transform:translateY(-4px);transition:transform .25s}
.sc-games{position:relative;z-index:2;margin-top:4rem}
.sc-games .section-head{margin-bottom:1.6rem}
.sc-games .section-head h3{
  margin:.25rem 0 .4rem;font-size:clamp(1.4rem,2.6vw,2rem);font-weight:900;color:#fff;
}
.sc-games .section-head p{color:rgba(255,255,255,.75);font-weight:600;max-width:36rem}
.sc-games-grid{
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr;
  gap:1.1rem;align-items:stretch;
}
.sc-game{
  display:flex;flex-direction:column;gap:.85rem;
  text-decoration:none;color:#fff;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  border-radius:22px;padding:14px 14px 16px;
  transition:transform .25s,background .25s,border-color .25s;
}
.sc-game:hover{
  transform:translateY(-4px);
  background:rgba(255,255,255,.07);
  border-color:rgba(147,197,253,.35);
}
.sc-frame{
  display:block;position:relative;overflow:hidden;
  background:#0b1220;
  box-shadow:0 16px 28px -18px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.1) inset;
}
.sc-frame img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
.sc-frame.land{
  border-radius:16px;aspect-ratio:16/9;
  box-shadow:0 16px 28px -18px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.1) inset,0 0 0 8px #121a2b;
}
.sc-frame.port{
  border-radius:28px;aspect-ratio:390/844;max-height:420px;margin-inline:auto;width:100%;
  padding:7px;background:linear-gradient(145deg,#26344b,#090e1a 40%,#16213c);
  box-shadow:0 18px 30px -16px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.12) inset;
}
.sc-frame.port img{border-radius:22px}
.sc-game-body h4{margin:0 0 .25rem;font-size:1.05rem;font-weight:900}
.sc-game-body p{margin:0 0 .55rem;color:rgba(255,255,255,.72);font-weight:600;font-size:.88rem;line-height:1.65}
.sc-game-body em{font-style:normal;color:#93c5fd;font-weight:800;font-size:.82rem}
@media (max-width:1100px){
  .sc-games-grid{grid-template-columns:1fr 1fr}
  .sc-game.land{grid-column:1/-1}
  .sc-frame.port{max-height:380px}
}
@media (max-width:700px){
  .sc-games-grid{grid-template-columns:1fr 1fr;gap:.8rem}
  .sc-game{padding:10px 10px 12px;border-radius:18px}
  .sc-frame.port{max-height:280px;padding:5px;border-radius:22px}
  .sc-frame.port img{border-radius:18px}
  .sc-mini{width:96px}
  .sc-mini-ph{width:96px;height:196px;border-radius:18px}
}
@media (max-width:560px){
  .sc-store-link{margin-top:1rem}
}
