/* =================================================================
   Region Page V2 — Huawei Cloud in KSA / Egypt
   Scoped under .rv2 so it cannot collide with the rest of the site.
   Same craft level as industry-v2 / partner-v2; brand-aligned colors.
   Signature: animated local data-center / region map.
   ================================================================= */
.rv2{
  --rv2-navy:#121D37;        /* brand navy */
  --rv2-navy-2:#1A2A50;      /* brand navy-light */
  --rv2-ivory:#F8F7F5;
  --rv2-fog:#E8EDF5;
  --rv2-red:#C52127;         /* brand red */
  --rv2-teal:#85D0CF;        /* brand teal */
  --rv2-mute:#5D6B85;
  --rv2-display:'Bricolage Grotesque', system-ui, sans-serif;
  --rv2-sans:'Inter', system-ui, sans-serif;

  background:var(--rv2-ivory);
  color:var(--rv2-navy);
  font-family:var(--rv2-sans);
}
.rv2 *,.rv2 *::before,.rv2 *::after{box-sizing:border-box}
.rv2 img,.rv2 svg{max-width:100%}
.rv2 a{color:inherit;text-decoration:none}

.rv2-wrap{max-width:1240px;margin:0 auto;padding:0 40px}
@media(max-width:720px){.rv2-wrap{padding:0 20px}}

/* ════ HERO ════════════════════════════════════════════════════ */
.rv2-hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(900px 600px at 82% 14%, rgba(197,33,39,.18), transparent 60%),
    radial-gradient(760px 560px at 6% 96%, rgba(133,208,207,.12), transparent 65%),
    linear-gradient(165deg,#16233f 0%,#101c34 45%,var(--rv2-navy) 100%);
  color:var(--rv2-ivory);
  padding:150px 0 96px;
}
.rv2-hero::before{
  content:'';position:absolute;inset:0;pointer-events:none;opacity:.35;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .04 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  mix-blend-mode:overlay;
}
.rv2-hero-inner{
  position:relative;z-index:2;
  display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center;
}
@media(max-width:980px){.rv2-hero-inner{grid-template-columns:1fr;gap:48px}}

.rv2-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:22px;font-size:12px;color:rgba(248,247,245,.5)}
.rv2-breadcrumb a:hover{color:rgba(248,247,245,.9)}
.rv2-breadcrumb span{color:rgba(248,247,245,.3)}

.rv2-hero-eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 16px;border-radius:999px;
  background:rgba(133,208,207,.12);border:1px solid rgba(133,208,207,.32);
  font-size:12px;font-weight:600;letter-spacing:.04em;color:var(--rv2-teal);
  margin-bottom:24px;
}
.rv2-hero-eyebrow::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--rv2-teal);animation:rv2-pulse 2.4s ease-in-out infinite}
@keyframes rv2-pulse{0%,100%{opacity:1}50%{opacity:.35}}

.rv2-hero h1{
  font-family:var(--rv2-display);font-weight:700;
  font-size:clamp(38px,5vw,64px);line-height:1.04;letter-spacing:-.02em;
  margin:0 0 20px;
}
.rv2-hero h1 em{
  font-style:normal;
  background:linear-gradient(120deg, var(--rv2-teal), #BEE3D2);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.rv2-hero-sub{font-size:18px;line-height:1.7;color:rgba(248,247,245,.78);max-width:56ch;margin:0 0 34px}
.rv2-hero-cta{display:flex;gap:14px;flex-wrap:wrap}

.rv2-btn-primary{
  background:var(--rv2-red);color:var(--rv2-ivory);
  font-family:var(--rv2-sans);font-weight:600;font-size:15px;
  padding:16px 26px;border-radius:999px;display:inline-flex;align-items:center;gap:10px;
  transition:transform .2s, box-shadow .2s;box-shadow:0 8px 24px rgba(197,33,39,.32);
}
.rv2-btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(197,33,39,.48)}
.rv2-btn-primary::after{content:'→';transition:transform .2s}
.rv2-btn-primary:hover::after{transform:translateX(4px)}
.rv2-btn-ghost{
  color:var(--rv2-ivory);font-family:var(--rv2-sans);font-weight:500;font-size:15px;
  padding:16px 24px;border-radius:999px;border:1px solid rgba(248,247,245,.24);
  transition:background .2s, border-color .2s;
}
.rv2-btn-ghost:hover{background:rgba(248,247,245,.06);border-color:rgba(248,247,245,.4)}

/* hero stats */
.rv2-hero-stats{display:flex;gap:40px;margin-top:38px;padding-top:30px;border-top:1px solid rgba(248,247,245,.12);flex-wrap:wrap}
.rv2-stat-num{
  font-family:var(--rv2-display);font-weight:700;font-size:clamp(28px,3.4vw,40px);line-height:1;
  background:linear-gradient(180deg, var(--rv2-ivory) 0%, rgba(248,247,245,.6) 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.rv2-stat-suf{color:var(--rv2-teal);font-family:var(--rv2-display);font-weight:700;font-size:.7em}
.rv2-stat-lbl{font-size:13px;color:rgba(248,247,245,.55);margin-top:6px;line-height:1.4;max-width:20ch}

/* ════ SIGNATURE — realistic Earth (canvas) with geo-located pins ═ */
.rv2-hero-art{position:relative;height:480px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}
@media(max-width:980px){.rv2-hero-art{height:400px}}
.rv2-globe{position:relative;width:420px;height:420px}
@media(max-width:980px){.rv2-globe{width:320px;height:320px}}
.rv2-globe canvas{width:100%;height:100%;display:block}
.rv2-globe-cap-html{font-family:var(--rv2-display);font-weight:700;font-size:13px;color:rgba(248,247,245,.85);text-align:center}
/* sphere body + atmospheric glow */
.rv2-globe-atm{fill:url(#rv2-atm)}
.rv2-globe-face{fill:url(#rv2-face);stroke:rgba(133,208,207,.45);stroke-width:1.2}
/* lat/long grid — static spherical reference */
.rv2-grid line,.rv2-grid ellipse,.rv2-grid circle{fill:none;stroke:rgba(133,208,207,.22);stroke-width:.9}
/* continents — a world-map texture that scrolls horizontally inside the
   clipped sphere, giving the illusion of a rotating Earth */
.rv2-land{animation:rv2-rotate 60s linear infinite}
.rv2-land path{fill:rgba(133,208,207,.20);stroke:rgba(133,208,207,.45);stroke-width:.7}
@keyframes rv2-rotate{from{transform:translateX(0)}to{transform:translateX(-300px)}}
/* data-center node pinned on the globe */
.rv2-dc-glow{fill:rgba(197,33,39,.20)}
.rv2-dc-core{fill:var(--rv2-red);filter:drop-shadow(0 0 8px rgba(197,33,39,.95))}
.rv2-dc-ring{fill:none;stroke:var(--rv2-red);stroke-width:1.6;transform-box:fill-box;transform-origin:center;animation:rv2-ring 3.2s ease-out infinite}
.rv2-dc-ring.r2{animation-delay:1.06s}
.rv2-dc-ring.r3{animation-delay:2.13s}
@keyframes rv2-ring{0%{r:4px;opacity:.9}100%{r:34px;opacity:0}}
/* secondary (teal) nodes — AZ satellites or worldwide regions */
.rv2-az{fill:var(--rv2-teal);filter:drop-shadow(0 0 5px rgba(133,208,207,.85))}
.rv2-az-ring{fill:none;stroke:var(--rv2-teal);stroke-width:1.2;transform-box:fill-box;transform-origin:center;animation:rv2-ring 3.6s ease-out infinite}
/* arcs connecting regions (worldwide) */
.rv2-arc{fill:none;stroke:rgba(133,208,207,.5);stroke-width:1.2;stroke-dasharray:3 4}
.rv2-pulse{fill:var(--rv2-teal)}
/* label under the globe */
.rv2-globe-label{font-family:var(--rv2-sans);font-size:11px;font-weight:600;letter-spacing:.04em;fill:rgba(248,247,245,.7)}
.rv2-globe-cap{font-family:var(--rv2-display);font-size:12px;font-weight:700;fill:var(--rv2-ivory)}
/* gentle float for the whole globe */
.rv2-globe{animation:rv2-bob 7s ease-in-out infinite}
@keyframes rv2-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}

/* ════ SECTIONS ════════════════════════════════════════════════ */
.rv2-section{padding:96px 0}
.rv2-section.is-gray{background:var(--rv2-fog)}
.rv2-section.is-navy{background:linear-gradient(180deg,var(--rv2-navy) 0%,var(--rv2-navy-2) 100%);color:var(--rv2-ivory)}
.rv2-eyebrow{font-family:var(--rv2-sans);font-weight:600;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--rv2-red);margin-bottom:14px}
.rv2-section.is-navy .rv2-eyebrow{color:var(--rv2-teal)}
.rv2-title{font-family:var(--rv2-display);font-weight:700;font-size:clamp(28px,3.4vw,44px);line-height:1.1;letter-spacing:-.02em;margin:0 0 18px;max-width:22ch}
.rv2-lede{font-size:18px;line-height:1.7;color:var(--rv2-mute);max-width:60ch;margin:0 0 8px}
.rv2-section.is-navy .rv2-lede{color:rgba(248,247,245,.72)}

/* feature grid (numbered) */
.rv2-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:48px}
@media(max-width:900px){.rv2-grid{grid-template-columns:1fr}}
.rv2-card{
  background:#fff;border:1px solid rgba(18,29,55,.08);border-radius:18px;padding:30px;
  box-shadow:0 1px 0 rgba(18,29,55,.04);transition:transform .25s, box-shadow .25s, border-color .25s;
}
.rv2-section.is-gray .rv2-card{background:#fff}
.rv2-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px -18px rgba(18,29,55,.25);border-color:rgba(133,208,207,.5)}
.rv2-card-num{font-family:var(--rv2-display);font-weight:700;font-size:14px;color:var(--rv2-red);margin-bottom:14px}
.rv2-card h3{font-family:var(--rv2-display);font-weight:700;font-size:19px;letter-spacing:-.01em;margin:0 0 10px;color:var(--rv2-navy)}
.rv2-card p{font-size:14.5px;line-height:1.65;color:var(--rv2-mute);margin:0}

/* split: text + dark spec panel */
.rv2-split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
@media(max-width:900px){.rv2-split{grid-template-columns:1fr;gap:40px}}
.rv2-panel{background:linear-gradient(165deg,var(--rv2-navy),var(--rv2-navy-2));border-radius:22px;padding:36px;position:relative;overflow:hidden}
.rv2-panel-tag{font-family:var(--rv2-display);font-weight:700;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--rv2-teal);margin-bottom:22px}
.rv2-panel-row{display:flex;align-items:flex-start;gap:16px;padding:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:12px;margin-bottom:12px}
.rv2-panel-row:last-child{margin-bottom:0}
.rv2-panel-ico{font-family:var(--rv2-display);font-weight:700;font-size:22px;color:var(--rv2-red);min-width:46px;line-height:1.1}
.rv2-panel-row h4{font-family:var(--rv2-display);font-weight:700;font-size:15px;color:#fff;margin:0 0 3px}
.rv2-panel-row p{font-size:12.5px;color:rgba(248,247,245,.55);margin:0;line-height:1.5}

/* checklist pills */
.rv2-checks{display:flex;flex-direction:column;gap:12px;margin-top:24px}
.rv2-check{display:flex;align-items:center;gap:12px;padding:14px 18px;background:#fff;border:1px solid rgba(18,29,55,.08);border-left:3px solid var(--rv2-red);border-radius:10px;font-size:14.5px;color:var(--rv2-navy)}
.rv2-check svg{width:18px;height:18px;color:var(--rv2-teal);flex-shrink:0}

/* quote band */
.rv2-quote{text-align:center;max-width:780px;margin:0 auto}
.rv2-quote .rv2-eyebrow{color:var(--rv2-teal)}
.rv2-quote h2{font-family:var(--rv2-display);font-weight:700;font-size:clamp(24px,3.4vw,40px);line-height:1.18;letter-spacing:-.02em;color:#fff;margin:0}

/* compliance / sector badges */
.rv2-badges{display:flex;flex-wrap:wrap;gap:12px;margin-top:40px}
.rv2-badge{padding:12px 20px;background:#fff;border:1px solid rgba(18,29,55,.1);border-radius:999px;font-size:13.5px;font-weight:600;color:var(--rv2-navy)}
.rv2-section.is-gray .rv2-badge{background:#fff}
/* lead badge (highlighted local licenses) — navy pill, white text. Kept more
   specific than the .is-gray override so it wins inside the gray section. */
.rv2-badge.lead,.rv2-section.is-gray .rv2-badge.lead{background:var(--rv2-navy);color:#fff;border-color:var(--rv2-navy)}

/* CTA band */
.rv2-cta-band{
  position:relative;overflow:hidden;text-align:center;
  background:linear-gradient(120deg,var(--rv2-red),#9e1a1f);
  color:#fff;border-radius:28px;margin:0 auto;max-width:1160px;padding:64px 40px;
}
.rv2-cta-band h2{font-family:var(--rv2-display);font-weight:700;font-size:clamp(28px,4vw,44px);line-height:1.12;letter-spacing:-.02em;margin:0 0 16px}
.rv2-cta-band p{font-size:17px;line-height:1.6;color:rgba(255,255,255,.9);max-width:52ch;margin:0 auto 30px}
.rv2-cta-band .rv2-btn-primary{background:var(--rv2-ivory);color:var(--rv2-red);box-shadow:0 8px 24px rgba(0,0,0,.18)}
.rv2-cta-band .rv2-btn-primary:hover{background:#fff}

/* ════ Reveal (decoration only — content always visible) ═══════ */
.rv2 .rv2-reveal{transition:transform .7s cubic-bezier(.2,.8,.2,1)}
.rv2.js-ready .rv2-reveal.is-pending{transform:translateY(16px)}
.rv2.js-ready .rv2-reveal.is-in{transform:none}
.rv2.js-ready .rv2-reveal.delay-1{transition-delay:.08s}
.rv2.js-ready .rv2-reveal.delay-2{transition-delay:.16s}
.rv2.js-ready .rv2-reveal.delay-3{transition-delay:.24s}
@media(prefers-reduced-motion:reduce){
  .rv2 .rv2-reveal,.rv2-dc-ring,.rv2-az-ring,.rv2-pulse,.rv2-land,.rv2-globe{animation:none;transition:none;transform:none;opacity:1}
}
