/* ════════════════════════════════════════════════
   JECTAR ONE — style.css
   Design system: dark luxury AI startup aesthetic
════════════════════════════════════════════════ */

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── TOKENS ──────────────────────────────────── */
:root {
  --blue:     #00d4ff;
  --purple:   #7c3aed;
  --emerald:  #10b981;
  --rose:     #f43f5e;
  --amber:    #fbbf24;
  --silver:   #94a3b8;
  --bg:       #05050a;
  --bg2:      #0a0a14;
  --card:     rgba(255, 255, 255, 0.03);
  --border:   rgba(255, 255, 255, 0.08);
  --text:     #e2e8f0;
  --muted:    rgba(255, 255, 255, 0.58);
  --faint:    rgba(255, 255, 255, 0.38);

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-head: 'Space Grotesk', system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition:    0.35s var(--ease-out-expo);
}

/* ── BASE ────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── NOISE OVERLAY ───────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9900;
  opacity: 0.45;
}

/* ── PARTICLES ───────────────────────────────── */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── SCROLLBAR ───────────────────────────────── */
::-webkit-scrollbar              { width: 3px; }
::-webkit-scrollbar-track        { background: var(--bg); }
::-webkit-scrollbar-thumb        { background: rgba(0, 212, 255, 0.32); border-radius: 999px; }

/* ════════════════════════════════════════════════
   LOADER
════════════════════════════════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99990;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}

.loader__logo {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #00d4ff 38%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader__track {
  width: 200px;
  height: 1px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.loader__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 999px;
  animation: loaderFill 1.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loaderFill { to { width: 100%; } }

.loader__sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
}

.loader__dots {
  display: flex;
  gap: 0.3rem;
}

.loader__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation: dotBounce 1.4s ease-in-out infinite;
}
.loader__dot:nth-child(1) { background: var(--blue); }
.loader__dot:nth-child(2) { background: var(--purple);  animation-delay: 0.2s; }
.loader__dot:nth-child(3) { background: var(--emerald); animation-delay: 0.4s; }

@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0.55); opacity: 0.35; }
  40%            { transform: scale(1);    opacity: 1;    }
}

/* ════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 8000;
  padding: 1.2rem 1.5rem;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.nav.scrolled {
  background: rgba(5, 5, 10, 0.84);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav__logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.nav__logo-sub {
  color: rgba(255, 255, 255, 0.3);
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__link {
  position: relative;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.3s var(--ease-out-expo);
}

.nav__link:hover              { color: #fff; }
.nav__link:hover::after       { width: 100%; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hamburger */
.nav__ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav__ham-line {
  display: block;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.nav__ham-line:nth-child(1) { width: 22px; }
.nav__ham-line:nth-child(2) { width: 22px; }
.nav__ham-line:nth-child(3) { width: 14px; }

.nav__ham.open .nav__ham-line:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__ham.open .nav__ham-line:nth-child(2) { opacity: 0; }
.nav__ham.open .nav__ham-line:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); width: 22px; }

/* Mobile menu overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 10, 0.97);
  backdrop-filter: blur(20px);
  z-index: 8900;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav__mobile.open { display: flex; }

.nav__mobile-link {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
}

.nav__mobile-link:hover { color: var(--blue); }

/* ════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover          { box-shadow: 0 18px 40px rgba(0, 212, 255, 0.28); }

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: rgba(0, 212, 255, 0.45);
  color: #fff;
  background: rgba(0, 212, 255, 0.06);
}

.btn--sm {
  font-size: 0.8rem;
  padding: 0.55rem 1.25rem;
}

.btn > * { position: relative; z-index: 1; }

/* ════════════════════════════════════════════════
   UTILITIES
════════════════════════════════════════════════ */

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Gradient text */
.g-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 55%, var(--emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient border */
.g-border { position: relative; }

.g-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,212,255,0.5), rgba(124,58,237,0.38), rgba(16,185,129,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

/* Section z-index */
section { position: relative; z-index: 10; }

/* Section spacing */
.section-pad { padding: 6.5rem 0; }

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.section-label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

/* Section title */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.025em;
}

/* Glow divider */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,212,255,0.3) 38%, rgba(124,58,237,0.3) 62%, transparent 100%);
}

/* Grid background */
.grid-bg {
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Progress bar */
.progress-bar  { height: 3px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--purple)); }

/* Stars */
.stars { color: var(--amber); font-size: 0.82rem; letter-spacing: 0.06em; }

/* ════════════════════════════════════════════════
   REVEAL ANIMATIONS
════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}

.reveal.on { opacity: 1; transform: translateY(0); }

.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo); }
.reveal-right { opacity: 0; transform: translateX( 32px); transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo); }
.reveal-left.on, .reveal-right.on { opacity: 1; transform: translateX(0); }

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ════════════════════════════════════════════════
   FLOATING KEYFRAMES
════════════════════════════════════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-16px) rotate(0.6deg); }
  66%       { transform: translateY(-8px)  rotate(-0.6deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes rotateRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateRingRev {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

.anim-float      { animation: float  6s ease-in-out infinite; will-change: transform; }
.anim-float2     { animation: float2 4.5s ease-in-out infinite; will-change: transform; }
.anim-glow-pulse { animation: glowPulse 2.5s ease-in-out infinite; }

/* ════════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5.5rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ── Left: copy ── */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
  margin-bottom: 1.75rem;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  animation: glowPulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--muted);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2.25rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero__stat-val {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.32);
  margin-top: 0.3rem;
}

.hero__divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
  align-self: stretch;
}

/* ── Right: POSTER ── */
.hero__poster {
  position: relative;
  height: 640px;
}

.hero__poster-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__poster-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed;
  top: 50%;
  left: 50%;
}

.hero__poster-ring--1 {
  width: 400px;
  height: 400px;
  margin-top: -200px;
  margin-left: -200px;
  border-color: rgba(0, 212, 255, 0.1);
  animation: rotateRing 24s linear infinite;
}

.hero__poster-ring--2 {
  width: 520px;
  height: 520px;
  margin-top: -260px;
  margin-left: -260px;
  border-color: rgba(124, 58, 237, 0.07);
  animation: rotateRingRev 32s linear infinite;
}

.hero__photo-wrap {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.hero__photo-border {
  position: absolute;
  inset: -2px;
  border-radius: 2.2rem;
  background: linear-gradient(160deg, rgba(0,212,255,0.65) 0%, rgba(124,58,237,0.5) 50%, transparent 80%);
  z-index: 0;
}

.hero__photo-frame {
  position: relative;
  height: 100%;
  border-radius: 2rem;
  overflow: hidden;
  z-index: 1;
}

.hero__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.08) brightness(0.88) saturate(0.88);
}

/* Cinematic gradient overlay on photo */
.hero__photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1) 0%,
    rgba(124, 58, 237, 0.1) 100%
  );
  mix-blend-mode: color;
  z-index: 2;
}

.hero__photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 5, 10, 0.7) 0%,
    transparent 45%
  );
  z-index: 3;
}

/* Name tag on photo */
.hero__nametag {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  z-index: 10;
}

.hero__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.hero__role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.3;
  pointer-events: none;
  z-index: 5;
}

.hero__scroll span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(0, 212, 255, 0.8), transparent);
  animation: float2 2.4s ease-in-out infinite;
}

/* ════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__photo-wrap {
  position: relative;
  max-width: 480px;
}

.about__photo {
  border-radius: 1.75rem;
  overflow: hidden;
  position: relative;
  animation: float2 5s ease-in-out infinite;
  will-change: transform;
}

.about__photo img {
  width: 100%;
  display: block;
  filter: contrast(1.05) brightness(0.88) saturate(0.75);
}

.about__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,212,255,0.07) 0%, rgba(124,58,237,0.09) 100%),
    linear-gradient(to top, rgba(5,5,10,0.35) 0%, transparent 60%);
}

.about__badge {
  position: absolute;
  bottom: -1.1rem;
  right: -0.75rem;
  border-radius: 1rem;
  padding: 0.9rem 1.2rem;
  z-index: 5;
}

.about__badge-label {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.32);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

.about__badge-value {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}

.about__badge-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.38);
}

.about__tag {
  position: absolute;
  top: 1.5rem;
  right: -1.5rem;
  border-radius: 0.9rem;
  padding: 0.65rem 0.9rem;
  z-index: 5;
  animation: float 5s ease-in-out infinite;
  animation-delay: 0.4s;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.about__value {
  border-radius: 1rem;
  padding: 1rem 1.15rem;
}

.about__value-icon { font-size: 1.3rem; margin-bottom: 0.45rem; }
.about__value-title { font-weight: 600; font-size: 0.86rem; margin-bottom: 0.2rem; }
.about__value-desc  { font-size: 0.76rem; color: rgba(255,255,255,0.36); line-height: 1.5; }

/* ════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.svc-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.5rem;
  padding: 1.85rem;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,212,255,0.18);
  box-shadow: 0 20px 44px rgba(0,0,0,0.4);
}

.svc-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

.svc-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.5rem;
}

.svc-card__desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

.svc-card__cta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  margin-top: 1.1rem;
}

/* ════════════════════════════════════════════════
   PORTFOLIO
════════════════════════════════════════════════ */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.port-card {
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
}

.port-card:hover {
  transform: scale(1.022);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}

.port-card__inner {
  height: 100%;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.port-card__tag {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.port-card__title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.port-card__desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
}

.port-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.chip {
  border-radius: 999px;
  padding: 0.16rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
}

/* Overlay on hover */
.port-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,10,0.9) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s;
}

.port-card:hover .port-card__overlay { opacity: 1; }

.port-card--wide { grid-column: span 2; }

/* Placeholder card */
.port-card--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.85rem;
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,0.012);
  border: 1px dashed rgba(255,255,255,0.09);
  min-height: 260px;
}

.port-card--placeholder p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.26);
  max-width: 170px;
  line-height: 1.6;
}

.port-card--placeholder .plus {
  font-size: 2rem;
  opacity: 0.18;
  line-height: 1;
}

/* ════════════════════════════════════════════════
   PROCESS
════════════════════════════════════════════════ */
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.step-card {
  padding: 1.85rem;
  border-radius: 1.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s, transform 0.3s var(--ease-out-expo);
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-card--accent {
  background: linear-gradient(135deg, rgba(0,212,255,0.04), rgba(124,58,237,0.05));
  border-color: rgba(0,212,255,0.13);
}

.step-card__num {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, rgba(0,212,255,0.4), rgba(124,58,237,0.28));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-card__bar {
  width: 34px;
  height: 2px;
  margin: 0.6rem 0;
  border-radius: 999px;
}

.step-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.step-card__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════ */
.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testi-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.5rem;
  padding: 1.85rem;
  transition: border-color 0.4s, transform 0.4s var(--ease-out-expo);
}

.testi-card:hover {
  border-color: rgba(0,212,255,0.12);
  transform: translateY(-4px);
}

.testi-card__body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin: 0.9rem 0 1.25rem;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.testi-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  flex-shrink: 0;
}

.testi-card__name  { font-weight: 600; font-size: 0.88rem; }
.testi-card__title { font-size: 0.72rem; color: rgba(255,255,255,0.3); margin-top: 0.1rem; }

/* ════════════════════════════════════════════════
   TECH STACK
════════════════════════════════════════════════ */
.tech__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 0.52rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  transition: all 0.3s var(--ease-out-expo);
  cursor: default;
}

.tech-badge:hover {
  border-color: rgba(0,212,255,0.22);
  color: #fff;
  transform: translateY(-2px);
}

.tech-badge__icon {
  font-size: 1.05rem;
  line-height: 1;
}

/* ════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════ */
.contact__banner {
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(0,212,255,0.04), rgba(124,58,237,0.07));
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.contact__banner-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}

.contact__banner-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 2.1rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.contact__banner-ctas {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Form + info layout */
.contact__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.5rem;
}

.contact__form-wrap {
  border-radius: 1.5rem;
  padding: 2.25rem;
}

.contact__form-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.contact__form-sub {
  font-size: 0.83rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-bottom: 0.9rem; }
.form__group { margin-bottom: 0.9rem; }

.form__label {
  display: block;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 0.42rem;
  font-weight: 500;
}

.form__field {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.85rem;
  padding: 0.88rem 1.1rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form__field:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}

.form__field::placeholder { color: rgba(255,255,255,0.22); }

textarea.form__field {
  resize: vertical;
  min-height: 118px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.info-card {
  border-radius: 1.2rem;
  padding: 1.35rem;
}

.info-card__icon  { font-size: 1.35rem; margin-bottom: 0.55rem; }
.info-card__label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.22rem;
}
.info-card__value { font-weight: 500; font-size: 0.9rem; }

.info-card--available {
  background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(16,185,129,0.04));
  border: 1px solid rgba(0,212,255,0.13);
}

.available-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  display: inline-block;
  margin-right: 0.4rem;
  position: relative;
  top: -1px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: all 0.3s;
}

.social-link:hover {
  border-color: rgba(0,212,255,0.35);
  background: rgba(0,212,255,0.05);
  color: #fff;
}

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 0;
  position: relative;
  z-index: 10;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer__logo { display: flex; align-items: center; gap: 0.55rem; }
.footer__logo-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700; font-size: 0.85rem;
  color: #fff; flex-shrink: 0;
}
.footer__logo-name { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 0.95rem; }
.footer__logo-domain { font-size: 0.62rem; color: rgba(255,255,255,0.26); }

.footer__links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer__link {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
  transition: color 0.25s;
}

.footer__link:hover { color: #fff; }

.footer__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.22);
}

.footer__social {
  color: rgba(255,255,255,0.38);
  font-size: 0.9rem;
  transition: color 0.25s;
}

.footer__social:hover { color: #fff; }

/* ════════════════════════════════════════════════
   MOBILE DOCK
════════════════════════════════════════════════ */
.dock {
  display: none;
  position: fixed;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5,5,10,0.9);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  z-index: 8400;
  align-items: center;
  gap: 1.6rem;
}

.dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.58rem;
  color: rgba(255,255,255,0.38);
  transition: color 0.2s;
}

.dock__item:hover { color: var(--blue); }
.dock__icon { font-size: 1.2rem; }

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .port-card--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section-pad { padding: 4rem 0; }

  .hero__grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__poster  { display: none; }

  .about__grid   { grid-template-columns: 1fr; gap: 2rem; }
  .about__photo-wrap { max-width: 100%; }
  .about__tag    { display: none; }

  .services__grid  { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .port-card--wide { grid-column: span 1; }
  .process__grid   { grid-template-columns: 1fr; }
  .testi__grid     { grid-template-columns: 1fr; }
  .contact__grid   { grid-template-columns: 1fr; }
  .form__row       { grid-template-columns: 1fr; }
  .footer__inner   { flex-direction: column; align-items: flex-start; }
  .footer__links   { gap: 1.1rem; }

  .nav__links, .nav__actions .btn { display: none; }
  .nav__ham { display: flex; }

  .dock { display: flex; }
}

@media (max-width: 480px) {
  .hero__stats { gap: 1.25rem; }
  .hero__ctas  { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .contact__banner-ctas { flex-direction: column; align-items: center; }
}

/* ════════════════════════════════════════════════
   REDUCED MOTION
════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hero__poster-ring--1,
  .hero__poster-ring--2,
  .hero__scroll-line,
  .anim-float,
  .anim-float2,
  .anim-glow-pulse,
  .hero__badge-dot,
  .loader__dot {
    animation: none !important;
  }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .about__photo {
    animation: none !important;
  }
  .about__tag {
    animation: none !important;
  }
}

/* ════════════════════════════════════════════════
   INDUSTRY & FAQ SECTIONS
   Added for SEO implementation
════════════════════════════════════════════════ */
.industry__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
}

.ind-card {
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  text-align: center;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s;
  min-width: 0;
  overflow: hidden;
}

.ind-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.32);
}

.ind-card__icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.ind-card__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.ind-card__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* FAQ accordion styling */
.faq__wrapper {
  max-width: 800px;
  margin: 3rem auto 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.5rem 0;
  transition: border-color 0.3s;
  width: 100%;
  overflow: hidden;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: none;
  padding: 1.25rem 0.5rem;
  color: #fff;
  font-family: var(--font-head);
  cursor: pointer;
  outline: none;
}

.faq-trigger h3 {
  flex: 1;
  min-width: 0;
  font-size: 1.15rem;
  font-weight: 500;
  text-align: left;
  margin: 0;
  color: #fff;
  overflow-wrap: break-word;
  word-break: break-word;
}

.faq-trigger:hover {
  color: var(--blue);
}

.faq-trigger:hover h3 {
  color: var(--blue);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--muted);
  transition: transform 0.3s var(--ease-out-expo), color 0.3s;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  padding: 0 0.5rem;
}

.faq-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-bottom: 1.25rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Open states */
.faq-item.open .faq-trigger h3 {
  color: var(--blue);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq-item.open .faq-content {
  max-height: 250px;
  opacity: 1;
}

/* RTL overrides for FAQ triggers in Arabic */
[dir="rtl"] .faq-trigger h3 {
  text-align: right;
}
[dir="rtl"] .ind-card {
  text-align: center;
}

@media (max-width: 768px) {
  .faq-trigger {
    align-items: flex-start;
  }

  .faq-icon {
    flex-shrink: 0;
    margin-top: 6px;
  }

  h1 {
    font-size: 42px !important;
    line-height: 1.1 !important;
  }

  h2 {
    font-size: 32px !important;
  }

  p {
    font-size: 16px !important;
  }
}

/* ════════════════════════════════════════════════
   TAILWIND UTILITY REPLACEMENTS (footer only)
════════════════════════════════════════════════ */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-8 { gap: 2rem; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }
.pb-8 { padding-bottom: 2rem; }
.pt-4 { padding-top: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.border-b { border-bottom: 1px solid; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.text-left { text-align: left; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-relaxed { line-height: 1.625; }
.text-white\/30 { color: rgba(255, 255, 255, 0.3); }
.text-white\/40 { color: rgba(255, 255, 255, 0.4); }
.text-white\/50 { color: rgba(255, 255, 255, 0.5); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.transition { transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.hover\:text-white:hover { color: #fff; }
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
}
@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
