/* ==========================================================================
   VISIONOVA AI — Stylesheet
   Premium / Futuristic / Minimal AI Creative Studio
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@600;700;800;900&family=Tajawal:wght@300;400;500;700&display=swap');

:root{
  /* Brand tokens — locked to logo palette */
  --bg: #050507;
  --bg-2: #0B0C10;
  --card: #111217;
  --card-hover: #15161c;
  --purple: #8B4DFF;
  --blue: #35A8FF;
  --violet: #C56BFF;
  --white: #F2F2F5;
  --silver: #C8CAD0;

  --grad-main: linear-gradient(135deg, #8B4DFF 0%, #35A8FF 100%);
  --grad-main-soft: linear-gradient(135deg, rgba(139,77,255,.16) 0%, rgba(53,168,255,.16) 100%);
  --grad-text: linear-gradient(90deg, #C56BFF 0%, #8B4DFF 45%, #35A8FF 100%);

  --border: rgba(242,242,245,.09);
  --border-strong: rgba(242,242,245,.16);
  --glass: rgba(17,18,23,.55);

  --shadow-glow-purple: 0 0 60px rgba(139,77,255,.22);
  --shadow-glow-blue: 0 0 60px rgba(53,168,255,.18);
  --shadow-card: 0 10px 40px rgba(0,0,0,.45);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-display: 'Cairo', 'Tajawal', system-ui, sans-serif;
  --font-body: 'Tajawal', 'Cairo', system-ui, sans-serif;

  --ease: cubic-bezier(.22,.9,.26,1);
  --container: 1200px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"]{ direction: rtl; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.28;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

p{ margin: 0 0 1em; color: var(--silver); }

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
button{ font-family: inherit; cursor: pointer; }
ul{ margin: 0; padding: 0; list-style: none; }

::selection{ background: rgba(139,77,255,.35); color: #fff; }

:focus-visible{
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  direction: ltr;
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 1px;
  background: var(--grad-main);
}

.section{ padding: 120px 0; position: relative; }
.section-head{ max-width: 680px; margin-bottom: 64px; }
.section-head.center{ margin-inline: auto; text-align: center; }
.section-head h2{ font-size: clamp(28px, 4vw, 44px); }
.section-head p{ font-size: 17px; }

.section-alt{ background: var(--bg-2); }

.text-grad{
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary{
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 8px 30px rgba(139,77,255,.35);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 40px rgba(139,77,255,.5); }
.btn-primary:active{ transform: translateY(0); }

.btn-ghost{
  background: rgba(242,242,245,.04);
  color: var(--white);
  border-color: var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover{ background: rgba(242,242,245,.08); border-color: rgba(139,77,255,.5); transform: translateY(-2px); }

.btn-block{ width: 100%; }
.btn-lg{ padding: 18px 40px; font-size: 16px; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar{
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled{
  padding: 12px 0;
  background: rgba(5,5,7,.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.navbar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand{ display: flex; align-items: center; }
.brand-chip{
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #fff, #eceef2);
  border-radius: 14px;
  padding: 6px 14px;
  box-shadow: 0 6px 22px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.6) inset;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.brand-chip:hover{ transform: translateY(-1px); box-shadow: 0 10px 28px rgba(139,77,255,.35), 0 0 0 1px rgba(255,255,255,.7) inset; }
.brand-chip img{ height: 34px; width: auto; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a{
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--silver);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-links a:hover{ color: var(--white); background: rgba(242,242,245,.06); }

.nav-actions{ display: flex; align-items: center; gap: 12px; }

.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(242,242,245,.04);
  color: var(--white);
}
.nav-toggle svg{ width: 20px; height: 20px; }

.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(5,5,7,.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-menu.open{ opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a{
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  padding: 14px 0;
  color: var(--white);
}
.mobile-menu a:hover{ color: var(--blue); }
.mobile-menu .btn{ margin-top: 20px; }
.mobile-menu-close{
  position: absolute;
  top: 24px; inset-inline-end: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(242,242,245,.05);
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu-close svg{ width: 20px; height: 20px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: clip;
}

.hero-bg{
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg .blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}
.blob-1{
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(139,77,255,.55), transparent 70%);
  top: -180px; inset-inline-start: -160px;
  animation: float-a 18s ease-in-out infinite;
}
.blob-2{
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(53,168,255,.45), transparent 70%);
  bottom: -220px; inset-inline-end: -140px;
  animation: float-b 22s ease-in-out infinite;
}
.blob-3{
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(197,107,255,.35), transparent 70%);
  top: 40%; inset-inline-start: 40%;
  animation: float-a 26s ease-in-out infinite reverse;
}
@keyframes float-a{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(40px,-30px) scale(1.08); }
}
@keyframes float-b{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-30px,30px) scale(1.05); }
}
.hero-grid-lines{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(242,242,245,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,242,245,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
}
.particles{ position: absolute; inset: 0; }
.particle{
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0;
  animation: twinkle linear infinite;
}
@keyframes twinkle{
  0%{ opacity: 0; transform: translateY(0) scale(.6); }
  10%{ opacity: .8; }
  90%{ opacity: .5; }
  100%{ opacity: 0; transform: translateY(-120px) scale(1); }
}

.hero .container{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.hero-mark{
  display: inline-flex;
  margin-bottom: 28px;
}
.hero-mark img{ width: 76px; height: 76px; filter: drop-shadow(0 0 26px rgba(139,77,255,.55)); }

.hero h1{
  font-size: clamp(36px, 5.4vw, 64px);
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 span{ display: inline; }

.hero-sub{
  font-size: 18px;
  max-width: 560px;
  color: var(--silver);
  margin-bottom: 40px;
}

.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

.hero-stats{
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stats .stat b{
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats .stat span{
  font-size: 13px;
  color: var(--silver);
}

.hero-visual{
  position: relative;
  justify-self: center;
}
.hero-phone{
  position: relative;
  width: min(280px, 78vw);
  aspect-ratio: 9/16;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #000;
  box-shadow: var(--shadow-card), var(--shadow-glow-purple);
  cursor: pointer;
  transition: transform .5s var(--ease);
}
.hero-phone:hover{ transform: translateY(-6px) rotate(-1deg); }
.hero-phone img{ width: 100%; height: 100%; object-fit: cover; }
.hero-phone .play-badge{
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(5,5,7,0) 40%, rgba(5,5,7,.75) 100%);
}
.hero-phone .play-badge .dot{
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(242,242,245,.14);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.hero-phone:hover .dot{ transform: scale(1.08); background: var(--grad-main); }
.hero-phone .play-badge svg{ width: 20px; height: 20px; margin-inline-start: 3px; }
.hero-phone .tag{
  position: absolute;
  bottom: 16px; inset-inline: 16px;
  font-size: 12px;
  color: var(--silver);
  display: flex;
  justify-content: space-between;
}
.hero-ring{
  position: absolute;
  inset: -30px;
  border-radius: 44px;
  border: 1px solid rgba(139,77,255,.25);
  z-index: -1;
}
.hero-badge-float{
  position: absolute;
  top: -30px; inset-inline-start: -46px;
  background: var(--glass);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  animation: bob 6s ease-in-out infinite;
}
.hero-badge-float span.dotpulse{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-main);
  box-shadow: 0 0 0 4px rgba(139,77,255,.2);
}
@keyframes bob{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.scroll-cue{
  position: absolute;
  bottom: 36px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--silver);
  z-index: 2;
  opacity: .8;
}
.scroll-cue .line{
  width: 1px; height: 34px;
  background: linear-gradient(var(--purple), transparent);
  animation: scrollline 2.4s ease-in-out infinite;
}
@keyframes scrollline{
  0%{ transform: scaleY(0); transform-origin: top; }
  50%{ transform: scaleY(1); transform-origin: top; }
  50.01%{ transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].in{ opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"]{ transition-delay: .08s; }
[data-reveal-delay="2"]{ transition-delay: .16s; }
[data-reveal-delay="3"]{ transition-delay: .24s; }
[data-reveal-delay="4"]{ transition-delay: .32s; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease);
}
.service-card::before{
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-main);
  opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.service-card:hover{ transform: translateY(-8px); background: var(--card-hover); }
.service-card:hover::before{ opacity: 1; }
.service-card .num{
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .1em;
  direction: ltr;
  display: block;
  margin-bottom: 20px;
}
.service-card .icon{
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad-main-soft);
  border: 1px solid rgba(139,77,255,.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--white);
  transition: transform .45s var(--ease);
}
.service-card:hover .icon{ transform: scale(1.08) rotate(-4deg); }
.service-card .icon svg{ width: 24px; height: 24px; }
.service-card h3{ font-size: 19px; color: var(--white); margin-bottom: 10px; }
.service-card p{ font-size: 14.5px; margin: 0; }

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.project-card{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #000;
  border: 1px solid var(--border);
  cursor: pointer;
  isolation: isolate;
}
.project-card .thumb{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.project-card:hover .thumb{ transform: scale(1.06); filter: brightness(.55); }
.project-card::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,7,0) 30%, rgba(5,5,7,.92) 100%);
  z-index: 1;
}
.project-card .glow{
  position: absolute; inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 50%, rgba(139,77,255,.35), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  mix-blend-mode: screen;
}
.project-card:hover .glow{ opacity: 1; }
.project-card .info{
  position: absolute;
  inset-inline: 0; bottom: 0;
  z-index: 2;
  padding: 26px;
}
.project-card .info .cat{
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--blue);
  direction: ltr;
  display: block;
  margin-bottom: 8px;
}
.project-card .info h3{
  font-size: 21px;
  color: var(--white);
  margin: 0 0 6px;
}
.project-card .info p{
  font-size: 13.5px;
  margin: 0;
  opacity: .85;
  max-width: 90%;
}
.project-card .playbtn{
  position: absolute;
  top: 50%; inset-inline-start: 50%;
  transform: translate(-50%,-50%) scale(.7);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .4s var(--ease);
}
.project-card:hover .playbtn{ opacity: 1; transform: translate(-50%,-50%) scale(1); background: var(--grad-main); }
.project-card .playbtn svg{ width: 22px; height: 22px; margin-inline-start: 3px; }

.portfolio-more{
  text-align: center;
  margin-top: 48px;
}

/* ==========================================================================
   Modal / Lightbox
   ========================================================================== */
.modal-overlay{
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(2,2,4,.9);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.modal-overlay.open{ opacity: 1; visibility: visible; }
.modal-box{
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 90px rgba(0,0,0,.6), var(--shadow-glow-purple);
  transform: scale(.94);
  transition: transform .4s var(--ease);
}
.modal-overlay.open .modal-box{ transform: scale(1); }
.modal-box video{ width: 100%; height: 100%; object-fit: cover; }
.modal-close{
  position: absolute;
  top: -52px; inset-inline-end: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(242,242,245,.08);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.modal-close svg{ width: 18px; height: 18px; }
.modal-meta{
  position: absolute;
  top: 0; inset-inline: 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(0,0,0,.75), transparent);
  z-index: 2;
  pointer-events: none;
}
.modal-meta .cat{ font-size: 11px; color: var(--blue); letter-spacing: .12em; direction: ltr; }
.modal-meta h3{ font-size: 17px; margin: 4px 0 0; color: #fff; }

/* ==========================================================================
   Process
   ========================================================================== */
.process-track{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-track::before{
  content: "";
  position: absolute;
  top: 27px;
  inset-inline: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--blue), transparent);
  opacity: .5;
}
.process-step{ position: relative; padding-inline-end: 6px; }
.process-step .step-num{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.process-step:hover .step-num{
  background: var(--grad-main);
  border-color: transparent;
  box-shadow: 0 0 0 6px rgba(139,77,255,.14);
}
.process-step h3{ font-size: 18px; color: var(--white); margin-bottom: 8px; }
.process-step p{ font-size: 14px; margin: 0; }

/* ==========================================================================
   Why us
   ========================================================================== */
.why-wrap{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.why-visual{
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: radial-gradient(circle at 30% 30%, rgba(139,77,255,.16), transparent 60%), var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.why-visual img{ width: 46%; filter: drop-shadow(0 0 40px rgba(139,77,255,.45)); }
.why-visual .ring{
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139,77,255,.18);
}
.why-visual .ring.r1{ inset: 8%; animation: spin 40s linear infinite; }
.why-visual .ring.r2{ inset: 20%; border-color: rgba(53,168,255,.18); animation: spin 28s linear infinite reverse; }
@keyframes spin{ to{ transform: rotate(360deg); } }

.why-list{ display: grid; gap: 6px; }
.why-item{
  display: flex;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
}
.why-item:last-child{ border-bottom: none; }
.why-item .mark{
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-main-soft);
  border: 1px solid rgba(139,77,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  font-size: 14px;
}
.why-item h3{ font-size: 17px; color: var(--white); margin-bottom: 4px; }
.why-item p{ font-size: 14px; margin: 0; }

/* ==========================================================================
   Technologies
   ========================================================================== */
.tech-marquee{
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 34px 0;
}
.tech-track{
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
@media (prefers-reduced-motion: reduce){ .tech-track{ animation: none; overflow-x: auto; } }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.tech-pill{
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--silver);
  white-space: nowrap;
}
.tech-pill .dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--grad-main); }

/* ==========================================================================
   About
   ========================================================================== */
.about-wrap{
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
}
.about-card p{ font-size: 17px; color: var(--white); font-weight: 400; }
.about-card p:last-child{ margin: 0; color: var(--silver); font-size: 15px; }
.about-stats{ display: grid; gap: 26px; }
.about-stats .stat{
  padding-inline-start: 20px;
  border-inline-start: 2px solid;
  border-image: var(--grad-main) 1;
}
.about-stats .stat b{
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  display: block;
  color: var(--white);
}
.about-stats .stat span{ font-size: 13.5px; color: var(--silver); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta{
  position: relative;
  text-align: center;
  padding: 130px 0;
  overflow: hidden;
}
.cta-glow{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(139,77,255,.28), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(53,168,255,.22), transparent 55%);
  animation: ctaglow 14s ease-in-out infinite;
}
@keyframes ctaglow{
  0%,100%{ opacity: .7; }
  50%{ opacity: 1; }
}
.cta .container{ position: relative; z-index: 1; }
.cta-seal{
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 28px;
  box-shadow: 0 0 0 1px rgba(242,242,245,.14), 0 20px 60px rgba(139,77,255,.35);
}
.cta h2{ font-size: clamp(32px, 5.4vw, 56px); margin-bottom: 8px; }
.cta h2.sub{ color: var(--silver); font-size: clamp(20px, 3vw, 28px); font-weight: 700; margin-bottom: 40px; }
.cta-actions{ display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.contact-card:hover{ transform: translateY(-6px); border-color: rgba(139,77,255,.4); }
.contact-card .icon{
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 10px 30px rgba(139,77,255,.35);
}
.contact-card .icon svg{ width: 28px; height: 28px; }
.contact-card h3{ font-size: 21px; color: var(--white); }
.contact-card .value{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  direction: ltr;
  text-align: end;
}
.contact-card p{ margin: 0; font-size: 14.5px; }
.contact-card .btn{ margin-top: auto; align-self: stretch; }

.contact-note{
  margin-top: 40px;
  text-align: center;
  color: var(--silver);
  font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer{
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 28px;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand-chip{ margin-bottom: 18px; }
.footer-brand p{ font-size: 14.5px; max-width: 320px; }
.footer-col h4{
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul{ display: grid; gap: 12px; }
.footer-col a{ font-size: 14.5px; color: var(--silver); transition: color .3s var(--ease); }
.footer-col a:hover{ color: var(--blue); }
.footer-social{ display: flex; gap: 10px; margin-top: 18px; }
.footer-social a{
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(242,242,245,.04);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.footer-social a:hover{ background: var(--grad-main); border-color: transparent; transform: translateY(-3px); }
.footer-social svg{ width: 19px; height: 19px; }

.footer-bottom{
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--silver);
}
.footer-bottom .made{ direction: ltr; opacity: .7; }

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.fab-whatsapp{
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #29d366, #1fa855);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 34px rgba(41,211,102,.4);
  transition: transform .35s var(--ease), opacity .4s var(--ease), visibility .4s;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.9);
}
.fab-whatsapp.visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.fab-whatsapp:hover{ transform: translateY(-4px) scale(1.05); }
.fab-whatsapp svg{ width: 28px; height: 28px; color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-wrap, .about-wrap{ grid-template-columns: 1fr; }
  .why-visual{ max-width: 380px; margin-inline: auto; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px){
  .nav-links{ display: none; }
  .nav-actions .btn-primary{ display: none; }
  .nav-toggle{ display: flex; }
  .hero .container{ grid-template-columns: 1fr; text-align: center; }
  .hero-sub{ margin-inline: auto; }
  .hero-actions{ justify-content: center; }
  .hero-stats{ justify-content: center; }
  .hero-visual{ margin-top: 40px; }
  .hero-badge-float{ display: none; }
  .process-track{ grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process-track::before{ display: none; }
  .contact-grid{ grid-template-columns: 1fr; }
  .section{ padding: 88px 0; }
}

@media (max-width: 620px){
  .services-grid{ grid-template-columns: 1fr; }
  .portfolio-grid{ grid-template-columns: 1fr; }
  .process-track{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom{ flex-direction: column; text-align: center; }
  .about-card{ padding: 30px; }
  .contact-card{ padding: 28px; }
  .cta{ padding: 90px 0; }
  .fab-whatsapp{ width: 52px; height: 52px; bottom: 18px; inset-inline-end: 18px; }
}

@media (max-width: 400px){
  .container{ padding-inline: 18px; }
  .hero{ padding-top: 130px; }
}
