/* =========================================================
   Proziner — digital media & advertising agency
   Palette: electric violet→magenta, amber energy, warm white
   ========================================================= */

:root{
  --canvas:#F6F9F9;
  --panel:#FFFFFF;
  --ink:#2B3138;
  --muted:#6C757C;
  --line:#E4ECEC;

  --teal:#1EA39D;
  --teal-2:#28BEB4;
  --teal-deep:#147F7A;
  --teal-wash:#E3F4F2;
  --orange:#EC5021;
  --orange-2:#FF7A45;

  --grad:linear-gradient(120deg,#1EA39D 0%,#147F7A 100%);
  --grad-soft:linear-gradient(120deg,#28BEB4 0%,#1EA39D 100%);
  --grad-warm:linear-gradient(120deg,#EC5021 0%,#FF7A45 100%);

  --radius:18px;
  --radius-lg:26px;
  --shadow:0 24px 60px -28px rgba(12,90,85,.42);
  --shadow-sm:0 10px 30px -18px rgba(12,90,85,.32);

  --font-display:'Bricolage Grotesque',system-ui,sans-serif;
  --font-body:'Inter',system-ui,sans-serif;
  --wrap:1180px;
}

/* Arabic mode swaps fonts + direction */
html[lang="ar"]{ --font-display:'Tajawal',sans-serif; --font-body:'Tajawal',sans-serif; }

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3{ font-family:var(--font-display); font-weight:700; line-height:1.04; letter-spacing:-.02em; margin:0; }
p{ margin:0; }

.wrap{ width:min(var(--wrap),92vw); margin-inline:auto; }
.eyebrow{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--font-body); font-weight:600; font-size:.82rem;
  color:var(--teal-deep); letter-spacing:.01em;
  background:var(--teal-wash); padding:.4rem .8rem; border-radius:100px;
}
.eyebrow::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--grad); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  font-weight:600; font-size:1rem; padding:.85rem 1.5rem; border-radius:100px;
  border:1.5px solid transparent; transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--grad); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 18px 40px -16px rgba(30,163,157,.55); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--teal); color:var(--teal-deep); }
.btn-light{ background:#fff; color:var(--teal-deep); }
.btn-light:hover{ transform:translateY(-2px); }

:focus-visible{ outline:3px solid var(--teal); outline-offset:3px; border-radius:6px; }

/* ---------------- Header ---------------- */
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(150%) blur(12px);
  background:rgba(250,249,251,.8);
  border-bottom:1px solid transparent;
  transition:border-color .3s ease, background .3s ease;
}
.site-header.scrolled{ border-color:var(--line); background:rgba(250,249,251,.92); }
.nav{ display:flex; align-items:center; justify-content:space-between; height:74px; gap:1rem; }
.nav-links{ display:flex; align-items:center; gap:2rem; }
.nav-links a{ font-weight:500; color:var(--ink); font-size:.98rem; position:relative; padding:.2rem 0; }
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-3px; height:2px; width:0; background:var(--grad); transition:width .25s ease;
}
.nav-links a:hover::after{ width:100%; }
.nav-right{ display:flex; align-items:center; gap:.9rem; }
.lang-toggle{
  display:flex; align-items:center; gap:.35rem; font-weight:600; font-size:.9rem;
  background:var(--panel); border:1.5px solid var(--line); color:var(--ink);
  padding:.5rem .8rem; border-radius:100px; transition:border-color .2s ease;
}
.lang-toggle:hover{ border-color:var(--teal); }
.lang-toggle svg{ width:16px; height:16px; }
.nav-toggle{ display:none; background:none; border:none; padding:.4rem; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; border-radius:2px; transition:.3s; }

/* ---------------- Hero ---------------- */
.hero{ position:relative; padding:72px 0 90px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(2.6rem,6vw,4.6rem); margin:1.1rem 0 1.3rem; }
.hero h1 .grad{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-lead{ font-size:1.18rem; color:var(--muted); max-width:34ch; margin-bottom:2rem; }
.hero-cta{ display:flex; gap:.9rem; flex-wrap:wrap; }
.hero-proof{ display:flex; gap:2.2rem; margin-top:2.6rem; flex-wrap:wrap; }
.hero-proof .num{ font-family:var(--font-display); font-weight:700; font-size:1.7rem; color:var(--ink); }
.hero-proof .lbl{ font-size:.86rem; color:var(--muted); }

/* animated signal panel */
.hero-visual{ position:relative; aspect-ratio:1/1; }
.orb{
  position:absolute; inset:6% ; border-radius:32% 68% 60% 40% / 42% 40% 60% 58%;
  background:var(--grad); filter:blur(2px); opacity:.95;
  animation:morph 14s ease-in-out infinite;
  box-shadow:0 40px 100px -30px rgba(20,127,122,.5);
}
.orb::after{
  content:""; position:absolute; inset:0; border-radius:inherit;
  background:radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 45%);
}
@keyframes morph{
  0%,100%{ border-radius:32% 68% 60% 40% / 42% 40% 60% 58%; transform:rotate(0deg) scale(1);}
  50%{ border-radius:58% 42% 38% 62% / 60% 55% 45% 40%; transform:rotate(8deg) scale(1.03);}
}
.equalizer{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; gap:9px; z-index:2;
}
.equalizer i{
  width:11px; border-radius:8px; background:rgba(255,255,255,.92);
  animation:eq 1.1s ease-in-out infinite; transform-origin:center;
}
.equalizer i:nth-child(1){ height:34%; animation-delay:0s;}
.equalizer i:nth-child(2){ height:64%; animation-delay:.12s;}
.equalizer i:nth-child(3){ height:88%; animation-delay:.24s;}
.equalizer i:nth-child(4){ height:50%; animation-delay:.36s;}
.equalizer i:nth-child(5){ height:74%; animation-delay:.48s;}
.equalizer i:nth-child(6){ height:40%; animation-delay:.6s;}
.equalizer i:nth-child(7){ height:60%; animation-delay:.72s;}
@keyframes eq{ 0%,100%{ transform:scaleY(.5);} 50%{ transform:scaleY(1);} }
.hero-badge{
  position:absolute; z-index:3; background:#fff; border-radius:16px; padding:.75rem 1rem;
  box-shadow:var(--shadow); display:flex; align-items:center; gap:.6rem; font-size:.86rem; font-weight:600;
}
.hero-badge small{ color:var(--muted); font-weight:500; display:block; font-size:.74rem; }
.hero-badge .dot{ width:9px; height:9px; border-radius:50%; background:#2ECC71; box-shadow:0 0 0 4px rgba(46,204,113,.18); }
.hero-badge.b1{ top:8%; inset-inline-start:-4%; }
.hero-badge.b2{ bottom:10%; inset-inline-end:-6%; }
.hero-badge .pill{ font-family:var(--font-display); color:var(--teal-deep); }

/* ---------------- Marquee ---------------- */
.marquee{ border-block:1px solid var(--line); background:var(--panel); padding:18px 0; overflow:hidden; }
.marquee-track{ display:flex; gap:3.5rem; width:max-content; animation:scroll 26s linear infinite; }
html[dir="rtl"] .marquee-track{ animation-direction:reverse; }
.marquee-track span{
  font-family:var(--font-display); font-weight:600; font-size:1.15rem; color:var(--muted);
  display:inline-flex; align-items:center; gap:3.5rem; white-space:nowrap;
}
.marquee-track span::after{ content:"✦"; color:var(--teal); font-size:.9rem; }
@keyframes scroll{ to{ transform:translateX(-50%);} }

/* ---------------- Sections ---------------- */
section{ padding:96px 0; }
.sec-head{ max-width:56ch; margin-bottom:52px; }
.sec-head.center{ margin-inline:auto; text-align:center; }
.sec-head h2{ font-size:clamp(2rem,4vw,3rem); margin:1rem 0 1rem; }
.sec-head p{ color:var(--muted); font-size:1.1rem; }

/* Services — asymmetric, not identical cards */
.services{ background:var(--panel); }
.svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.svc{
  border:1px solid var(--line); border-radius:var(--radius); padding:30px 28px;
  background:var(--canvas); transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.svc:hover{ transform:translateY(-4px); border-color:transparent; box-shadow:var(--shadow-sm); }
.svc.feature{ grid-column:span 1; background:var(--grad); color:#fff; border-color:transparent; }
.svc.feature .svc-ico{ background:rgba(255,255,255,.18); color:#fff; }
.svc.feature p{ color:rgba(255,255,255,.85); }
.svc-ico{
  width:52px; height:52px; border-radius:14px; display:grid; place-items:center;
  background:var(--teal-wash); color:var(--teal-deep); margin-bottom:18px;
}
.svc-ico svg{ width:26px; height:26px; }
.svc h3{ font-size:1.32rem; margin-bottom:.5rem; }
.svc p{ color:var(--muted); font-size:.98rem; }

/* Stats band */
.stats{ background:var(--ink); color:#fff; }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.stat .n{ font-family:var(--font-display); font-weight:700; font-size:clamp(2.2rem,4vw,3.2rem); background:var(--grad-soft); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat .c{ color:rgba(255,255,255,.6); margin-top:.3rem; font-size:.96rem; }

/* Work / portfolio */
.work-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.project{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; min-height:290px;
  display:flex; flex-direction:column; justify-content:flex-end; padding:28px; color:#fff;
  isolation:isolate;
}
.project::before{ content:""; position:absolute; inset:0; z-index:-2; }
.project::after{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,transparent 30%,rgba(10,4,26,.72) 100%); }
.project.p1::before{ background:linear-gradient(135deg,#1EA39D,#147F7A); }
.project.p2::before{ background:linear-gradient(135deg,#2B3138,#4A555C); }
.project.p3::before{ background:linear-gradient(135deg,#EC5021,#FF9142); }
.project.p4::before{ background:linear-gradient(135deg,#147F7A,#EC5021); }
.project .tag{ font-size:.78rem; font-weight:600; background:rgba(255,255,255,.2); backdrop-filter:blur(4px); padding:.3rem .7rem; border-radius:100px; align-self:flex-start; margin-bottom:.8rem; }
.project h3{ font-size:1.5rem; }
.project .res{ margin-top:.4rem; font-size:.95rem; color:rgba(255,255,255,.85); }
.project:hover{ transform:translateY(-4px); transition:transform .25s ease; }

/* Process — legitimately a sequence, so numbered */
.process{ background:var(--panel); }
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; counter-reset:step; }
.step{ padding:28px 24px; border-top:2px solid var(--line); }
.step .idx{ font-family:var(--font-display); font-weight:700; font-size:1.1rem; color:var(--teal); counter-increment:step; }
.step .idx::before{ content:"0" counter(step); }
.step h3{ font-size:1.22rem; margin:.7rem 0 .5rem; }
.step p{ color:var(--muted); font-size:.95rem; }

/* Quote */
.quote{ text-align:center; }
.quote blockquote{
  font-family:var(--font-display); font-weight:600; font-size:clamp(1.6rem,3.4vw,2.5rem);
  line-height:1.25; max-width:20ch; margin:0 auto 1.6rem; letter-spacing:-.02em;
}
.quote blockquote::before{ content:"“"; color:var(--teal); }
.quote blockquote::after{ content:"”"; color:var(--teal); }
.quote cite{ font-style:normal; color:var(--muted); font-size:1rem; }
.quote cite b{ color:var(--ink); font-weight:600; display:block; }

/* CTA / Contact */
.cta{ background:var(--grad); color:#fff; border-radius:32px; padding:64px; position:relative; overflow:hidden; }
.cta::after{ content:""; position:absolute; inset-inline-end:-60px; top:-60px; width:280px; height:280px; border-radius:50%; background:rgba(255,255,255,.12); }
.cta-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; position:relative; z-index:2; }
.cta h2{ font-size:clamp(2rem,4vw,3rem); color:#fff; margin-bottom:1rem; }
.cta p{ color:rgba(255,255,255,.85); font-size:1.1rem; margin-bottom:1.6rem; }
.cta-contacts{ display:flex; flex-direction:column; gap:.8rem; }
.cta-contacts a{ display:inline-flex; align-items:center; gap:.6rem; font-weight:500; }
.cta-contacts svg{ width:18px; height:18px; }

.form{ background:#fff; border-radius:22px; padding:30px; box-shadow:var(--shadow); }
.form h3{ color:var(--ink); font-size:1.3rem; margin-bottom:1.2rem; }
.field{ margin-bottom:1rem; }
.field label{ display:block; font-size:.86rem; font-weight:600; color:var(--ink); margin-bottom:.4rem; }
.field input,.field textarea{
  width:100%; padding:.8rem 1rem; border:1.5px solid var(--line); border-radius:12px;
  font-family:inherit; font-size:1rem; color:var(--ink); background:var(--canvas); transition:border-color .2s;
}
.field input:focus,.field textarea:focus{ outline:none; border-color:var(--teal); }
.form .btn-primary{ width:100%; }
.form-note{ font-size:.8rem; color:var(--muted); margin-top:.8rem; text-align:center; }

/* Footer */
.site-footer{ background:var(--ink); color:rgba(255,255,255,.75); padding:64px 0 32px; }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:40px; }
.foot-brand p{ color:rgba(255,255,255,.55); margin-top:1rem; font-size:.95rem; max-width:32ch; }
.foot-col h4{ font-family:var(--font-body); font-size:.85rem; text-transform:none; color:#fff; margin:0 0 1rem; font-weight:600; }
.foot-col a{ display:block; color:rgba(255,255,255,.6); padding:.3rem 0; font-size:.94rem; transition:color .2s; }
.foot-col a:hover{ color:#fff; }
.foot-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:24px; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; font-size:.86rem; color:rgba(255,255,255,.5); }
.socials{ display:flex; gap:.6rem; }
.socials a{ width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.08); display:grid; place-items:center; transition:background .2s; }
.socials a:hover{ background:var(--teal); }
.socials svg{ width:18px; height:18px; }

/* Reveal on scroll */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------------- Responsive ---------------- */
@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-visual{ max-width:380px; margin-inline:auto; width:100%; }
  .svc-grid{ grid-template-columns:repeat(2,1fr); }
  .work-grid{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .stats-grid{ grid-template-columns:repeat(2,1fr); gap:36px 24px; }
  .cta-grid,.foot-grid{ grid-template-columns:1fr; }
  .cta{ padding:44px 28px; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:680px){
  body{ font-size:16px; }
  section{ padding:70px 0; }
  .nav-links{
    position:fixed; inset:74px 0 auto 0; flex-direction:column; align-items:flex-start;
    background:var(--panel); padding:1.4rem 6vw; gap:1.1rem; border-bottom:1px solid var(--line);
    transform:translateY(-140%); transition:transform .35s ease; box-shadow:var(--shadow);
  }
  .nav-links.open{ transform:translateY(0); }
  .nav-toggle{ display:block; }
  .svc-grid{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .hero-badge{ display:none; }
  .foot-grid{ grid-template-columns:1fr; }
  .cta{ padding:32px 22px; }
  .form{ padding:22px; }
}

@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
}

/* ===== Brand logo sizing + accents (Proziner teal/orange) ===== */
.logo-img{ height:46px; width:auto; display:block; }
.logo-foot{ height:52px; }
@media (max-width:680px){ .logo-img{ height:38px; } .logo-foot{ height:46px; } }

/* orange pop to echo the logo's accent */
.eyebrow::before{ background:var(--orange); }
.marquee-track span::after{ color:var(--orange); }
.hero-badge.b2 .pill{ color:var(--orange); }

/* orange accent bubbles floating near the hero orb (echoes the logo mark) */
.hero-visual .accent-dot{ position:absolute; border-radius:50%; background:var(--orange); z-index:3; box-shadow:0 8px 20px -6px rgba(236,80,33,.6); }
.hero-visual .d1{ width:26px; height:26px; top:4%; inset-inline-start:34%; }
.hero-visual .d2{ width:16px; height:16px; top:-1%; inset-inline-start:26%; }
.hero-visual .d3{ width:11px; height:11px; top:2%; inset-inline-start:44%; }
