/* ════════════════════════════════════════════════════════════
   IQBAL HOSSAIN PORTFOLIO — MAIN STYLESHEET
   ════════════════════════════════════════════════════════════ */

/* ═══ IMPORTS & VARIABLES ═══ */
:root {
  /* Colors */
  --bg:           #04030a;
  --bg-2:         #0a091a;
  --bg-card:      #0d0b1e;
  --border:       rgba(255,255,255,0.07);
  --border-glow:  rgba(0,212,255,0.2);

  --cyan:         #00d4ff;
  --cyan-dim:     rgba(0,212,255,0.15);
  --purple:       #8b5cf6;
  --purple-dim:   rgba(139,92,246,0.15);
  --gold:         #f59e0b;
  --red:          #ff3d5a;
  --green:        #10b981;

  --text:         #e2e8f0;
  --text-muted:   #64748b;
  --text-dim:     #94a3b8;

  /* Typography */
  --font-basic:   Arial, Helvetica, sans-serif;
  --font-display: var(--font-basic);
  --font-body:    var(--font-basic);
  --font-mono:    var(--font-basic);

  /* Sizes */
  --radius:       12px;
  --radius-lg:    20px;
  --nav-h:        80px;
  --container:    1240px;

  /* Transitions */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══ RESET & BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  font-size: 16px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  min-width: 320px;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  overflow-wrap: break-word;
  cursor: none;
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: none; border: none; background: none; }
.fira { font-family: var(--font-mono); }


/* Accessibility link removed from markup; this also hides cached/old skip links. */
.skip-link {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 2px; }

/* ═══ SELECTION ═══ */
::selection { background: var(--cyan); color: var(--bg); }

/* ═══════════════════════════════════════ */
/* CUSTOM CURSOR */
/* ═══════════════════════════════════════ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  top: 0; left: 0;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,212,255,0.5);
  border-radius: 50%;
  top: 0; left: 0;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
}
.cursor-ring.hover {
  width: 56px; height: 56px;
  border-color: var(--cyan);
  background: rgba(0,212,255,0.05);
}
body:not(:hover) .cursor-dot,
body:not(:hover) .cursor-ring { opacity: 0; }

/* ═══════════════════════════════════════ */
/* PRELOADER */
/* ═══════════════════════════════════════ */
.preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.preloader__inner { text-align: center; }
.preloader__name {
  display: flex; gap: 2px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 2rem;
}
.preloader__space { display: inline-block; width: 0.3em; }
.preloader__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: letterReveal 0.6s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 0.06s);
}
@keyframes letterReveal {
  to { opacity: 1; transform: translateY(0); }
}
.preloader__bar {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
  margin: 0 auto 1rem;
}
.preloader__bar::after {
  content: '';
  display: block; width: 0; height: 100%;
  background: var(--cyan);
  animation: barFill 2s var(--ease) forwards;
}
@keyframes barFill { to { width: 100%; } }
.preloader__percent {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
}
.preloader.exit {
  animation: preloaderExit 0.8s var(--ease-out) forwards;
}
@keyframes preloaderExit {
  to { opacity: 0; transform: translateY(-100%); }
}

/* ═══════════════════════════════════════ */
/* NAVIGATION */
/* ═══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(4,3,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav__logo-dot { color: var(--cyan); }
.nav__links {
  display: flex; align-items: center; gap: 0.5rem;
  list-style: none;
}
.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: var(--text-dim);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav__link:hover { color: var(--text); }
.nav__link--cta {
  background: var(--cyan);
  color: var(--bg) !important;
  font-weight: 700;
  padding: 0.55rem 1.4rem;
  border-radius: 8px;
  transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s;
}
.nav__link--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,212,255,0.4);
}
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════ */
/* CONTAINER & SECTION BASE */
/* ═══════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}
.section { padding: 7rem 0; position: relative; overflow: hidden; scroll-margin-top: var(--nav-h); }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════ */
/* BUTTONS */
/* ═══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.btn--primary {
  background: var(--cyan);
  color: var(--bg);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,212,255,0.4);
}
.btn--outline {
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--text);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
}
.btn--full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════ */
/* REVEAL ANIMATIONS */
/* ═══════════════════════════════════════ */
.reveal-up, .reveal-left, .reveal-right, .reveal-fade {
  opacity: 0;
}
.reveal-up { transform: translateY(60px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-fade { /* only opacity */ }

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-fade.is-visible {
  animation: revealIn 0.9s var(--ease-out) calc(var(--delay, 0) * 0.12s) both;
}
@keyframes revealIn {
  from { opacity: 0; transform: translate(0, 60px); }
  to   { opacity: 1; transform: translate(0, 0); }
}
.reveal-left.is-visible { animation-name: revealFromLeft; }
@keyframes revealFromLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}
.reveal-right.is-visible { animation-name: revealFromRight; }
@keyframes revealFromRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}
.reveal-fade.is-visible { animation-name: revealFade; }
@keyframes revealFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════ */
/* HERO */
/* ═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  scroll-margin-top: 0;
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero__noise {
  position: absolute; inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  padding-top: var(--nav-h);
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 2rem;
  opacity: 0;
  animation: heroFadeIn 0.8s 2.8s var(--ease-out) forwards;
}
.hero__tag-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  display: flex; flex-direction: column;
}
.hero__title-line {
  display: block;
  overflow: hidden;
  position: relative;
}
.hero__title-line > * { display: inline-block; }
.hero__title-line {
  color: var(--text);
  opacity: 0;
  transform: translateY(80px);
  animation: heroLineReveal 1s var(--ease-out) forwards;
  animation-delay: 2.2s;
}
.hero__title-line--accent {
  animation-delay: 2.4s;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: heroLineReveal 1s var(--ease-out) 2.4s forwards,
             gradientShift 6s ease infinite 3.5s;
}
@keyframes heroLineReveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes heroFadeIn {
  to { opacity: 1; }
}

.hero__roles {
  display: flex; gap: 0; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeIn 0.8s 3s var(--ease-out) forwards;
}
.hero__role {
  font-size: clamp(0.8rem, 2vw, 1rem);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-mono);
  transition: all 0.3s;
}
.hero__role.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroFadeIn 0.8s 3.1s var(--ease-out) forwards;
}
.hero__actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeIn 0.8s 3.2s var(--ease-out) forwards;
}

.hero__scroll-cue {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0.5rem; margin-top: 3rem;
  opacity: 0;
  animation: heroFadeIn 0.8s 3.5s var(--ease-out) forwards;
}
.hero__scroll-line {
  width: 1.5px; height: 50px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollLinePulse 2s ease-in-out infinite;
}
@keyframes scrollLinePulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}
.hero__scroll-cue span {
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-muted);
}

/* Floating badges */
.hero__badge {
  position: absolute;
  background: rgba(13,11,30,0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  backdrop-filter: blur(20px);
  z-index: 2;
  opacity: 0;
  animation: badgeFloat 0.8s var(--ease-out) forwards;
}
.hero__badge--1 { top: 25%; right: 10%; animation-delay: 3.4s; }
.hero__badge--2 { top: 55%; right: 5%; animation-delay: 3.6s; }
.hero__badge--3 { top: 72%; right: 15%; animation-delay: 3.8s; }
@keyframes badgeFloat {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.badge__inner {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; font-weight: 600; color: var(--text);
}
.hero__badge--1 .badge__inner svg { color: var(--purple); }
.hero__badge--2 .badge__inner svg { color: var(--cyan); }
.hero__badge--3 .badge__inner svg { color: var(--gold); }
.hero__badge { animation-name: badgeFloat, badgeBob; animation-duration: 0.8s, 4s; animation-delay: var(--badge-delay, 3.4s), 4s; animation-timing-function: var(--ease-out), ease-in-out; animation-fill-mode: forwards, none; animation-iteration-count: 1, infinite; }
.hero__badge--1 { --badge-delay: 3.4s; }
.hero__badge--2 { --badge-delay: 3.6s; }
.hero__badge--3 { --badge-delay: 3.8s; }
@keyframes badgeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ═══════════════════════════════════════ */
/* MARQUEE */
/* ═══════════════════════════════════════ */
.marquee-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
  overflow: hidden;
  position: relative; z-index: 2;
}
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 100px; z-index: 1;
  pointer-events: none;
}
.marquee-strip::before { left: 0; background: linear-gradient(to right, var(--bg-2), transparent); }
.marquee-strip::after { right: 0; background: linear-gradient(to left, var(--bg-2), transparent); }
.marquee-track {
  display: flex; gap: 2rem; width: max-content;
  animation: marqueeScroll 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.marquee-track .sep { color: var(--cyan); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

/* ═══════════════════════════════════════ */
/* ABOUT */
/* ═══════════════════════════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.about__image-wrap {
  position: relative;
}
.about__img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about__img-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(139,92,246,0.1));
  z-index: 1; pointer-events: none;
}
.about__img {
  width: 100%; height: auto;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.5s, transform 0.5s var(--ease);
}
.about__image-wrap:hover .about__img {
  filter: grayscale(0%);
  transform: scale(1.02);
}
.about__img-glow {
  position: absolute; inset: -2px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,212,255,0.25);
  pointer-events: none;
  z-index: 2;
}
.about__exp-badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--cyan);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  text-align: center;
  z-index: 3;
  box-shadow: 0 20px 40px rgba(0,212,255,0.3);
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800;
  line-height: 1;
}
.badge-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.about__content { padding-left: 1rem; }
.about__bio {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.about__bio strong { color: var(--text); font-weight: 600; }
.about__bio em { color: var(--cyan); font-style: normal; }

.about__skills { margin: 2.5rem 0; display: flex; flex-direction: column; gap: 1.2rem; }
.skill-info {
  display: flex; justify-content: space-between;
  font-size: 0.9rem; font-weight: 500;
  margin-bottom: 0.5rem;
}
.skill-info span:last-child {
  font-family: var(--font-mono); color: var(--cyan);
}
.skill-bar {
  height: 4px; background: var(--border);
  border-radius: 2px; overflow: hidden;
}
.skill-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 2px;
  transition: width 1.5s var(--ease-out);
}
.about__ctas { margin-top: 2rem; }

/* ═══════════════════════════════════════ */
/* SERVICES */
/* ═══════════════════════════════════════ */
.services { background: var(--bg-2); }
.services__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
  transform-style: preserve-3d;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
}
.service-card--design:hover  { box-shadow: 0 24px 48px rgba(139,92,246,0.2); }
.service-card--marketing:hover { box-shadow: 0 24px 48px rgba(0,212,255,0.2); }
.service-card--security:hover { box-shadow: 0 24px 48px rgba(245,158,11,0.2); }

.service-card__glow {
  position: absolute; inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  border-radius: var(--radius-lg);
}
.service-card--design   .service-card__glow { background: radial-gradient(ellipse at top left, rgba(139,92,246,0.15), transparent 70%); }
.service-card--marketing .service-card__glow { background: radial-gradient(ellipse at top, rgba(0,212,255,0.12), transparent 70%); }
.service-card--security .service-card__glow { background: radial-gradient(ellipse at top right, rgba(245,158,11,0.12), transparent 70%); }
.service-card:hover .service-card__glow { opacity: 1; }

.service-card__icon {
  width: 72px; height: 72px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s var(--ease-bounce);
}
.service-card:hover .service-card__icon { transform: scale(1.1) rotate(-5deg); }
.service-card--design   .service-card__icon { background: var(--purple-dim); color: var(--purple); }
.service-card--marketing .service-card__icon { background: var(--cyan-dim);   color: var(--cyan); }
.service-card--security .service-card__icon { background: rgba(245,158,11,0.1); color: var(--gold); }

.service-card__num {
  position: absolute; top: 2rem; right: 2rem;
  font-size: 0.75rem; color: var(--text-muted);
  letter-spacing: 0.1em;
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}
.service-card__desc {
  font-size: 0.95rem; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 1.5rem;
}
.service-card__list {
  list-style: none; margin-bottom: 2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.service-card__list li {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding-left: 1.2rem;
  position: relative;
}
.service-card__list li::before {
  content: '→';
  position: absolute; left: 0;
  font-size: 0.75rem; color: var(--cyan);
}
.service-card--design   .service-card__list li::before { color: var(--purple); }
.service-card--marketing .service-card__list li::before { color: var(--cyan); }
.service-card--security .service-card__list li::before { color: var(--gold); }

.service-card__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 600;
  transition: gap 0.2s var(--ease-bounce);
}
.service-card--design   .service-card__cta { color: var(--purple); }
.service-card--marketing .service-card__cta { color: var(--cyan); }
.service-card--security .service-card__cta { color: var(--gold); }
.service-card:hover .service-card__cta { gap: 0.8rem; }

/* ═══════════════════════════════════════ */
/* STATS */
/* ═══════════════════════════════════════ */
.stats {
  padding: 6rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.stats__particles { position: absolute; inset: 0; pointer-events: none; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative; z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.3s var(--ease-bounce);
}
.stat-item:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem; color: var(--text-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════ */
/* PORTFOLIO */
/* ═══════════════════════════════════════ */
.portfolio__filters {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 3rem;
  justify-content: center;
}
.filter-btn {
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--bg);
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 380px;
  grid-auto-rows: 280px;
  gap: 1.5rem;
}
.portfolio-item { grid-column: span 1; min-width: 0; }
.portfolio-item--wide { grid-column: span 2; }
.portfolio-item--tall { grid-row: span 2; }
.portfolio-item__inner {
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.portfolio-item:hover .portfolio-item__inner { border-color: var(--cyan); }
.portfolio-item__thumb {
  width: 100%; height: 100%;
  position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.portfolio-item:hover .portfolio-item__thumb { transform: scale(1.03); }

/* Portfolio backgrounds */
.pf-bg-1 { background: linear-gradient(135deg, #1a0a3a, #3b0d6e, #6d28d9); }
.pf-bg-2 { background: linear-gradient(135deg, #042f4a, #065f88, #0ea5e9); }
.pf-bg-3 { background: linear-gradient(135deg, #1a1200, #52400a, #a16207); }
.pf-bg-4 { background: linear-gradient(135deg, #0a2a1a, #065f46, #10b981); }
.pf-bg-5 { background: linear-gradient(135deg, #2a0a1a, #7c1d48, #ec4899); }
.pf-bg-6 { background: linear-gradient(135deg, #1a0510, #580d35, #be185d); }

/* Portfolio pattern overlays */
.pf-bg-1::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(139,92,246,0.4), transparent 60%); }
.pf-bg-2::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 70%, rgba(0,212,255,0.3), transparent 60%); }
.pf-bg-3::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(245,158,11,0.3), transparent 60%); }

.pf-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,3,10,0.95) 0%, rgba(4,3,10,0.3) 60%, transparent 100%);
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}
.portfolio-item:hover .pf-overlay { transform: translateY(0); opacity: 1; }
.pf-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem;
}
.pf-overlay p {
  font-size: 0.85rem; color: var(--text-dim);
  line-height: 1.5; margin-bottom: 0.8rem;
}
.pf-tag {
  display: inline-block;
  background: rgba(0,212,255,0.15);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.portfolio-item.hidden { display: none; }

/* ═══════════════════════════════════════ */
/* PROCESS */
/* ═══════════════════════════════════════ */
.process { background: var(--bg-2); }
.process__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-bounce);
}
.process-step:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}
.process-step__num {
  font-size: 0.75rem; color: var(--cyan); letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.process-step__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--cyan-dim);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s var(--ease-bounce);
}
.process-step:hover .process-step__icon { transform: rotate(-10deg) scale(1.1); }
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.6;
}
.process-step__arrow {
  font-size: 1.5rem; color: var(--text-muted);
  align-self: center; padding-top: 3rem;
  opacity: 0.4;
}

/* ═══════════════════════════════════════ */
/* TESTIMONIALS */
/* ═══════════════════════════════════════ */
.testimonials { overflow: hidden; }
.testimonials__track-wrap { position: relative; margin-top: 3rem; }
.testimonials__track {
  display: flex; gap: 1.5rem;
  padding: 1rem 2rem 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  transition: transform 0.5s var(--ease-out);
}
.testimonials__track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 calc(33.33% - 1rem);
  min-width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  scroll-snap-align: start;
  transition: transform 0.3s var(--ease-bounce), border-color 0.3s;
}
.testi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,0.2);
}
.testi-card__stars {
  color: var(--gold);
  font-size: 1rem; letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testi-card__quote {
  font-size: 0.95rem; color: var(--text-dim);
  line-height: 1.75; margin-bottom: 1.5rem;
  font-style: italic;
}
.testi-card__author { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  color: var(--bg);
  flex-shrink: 0;
}
.testi-name { display: block; font-weight: 600; font-size: 0.95rem; }
.testi-role { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); }
.testimonials__nav {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; padding: 1.5rem;
}
.testi-nav-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-card);
  font-size: 1rem;
  transition: all 0.2s;
}
.testi-nav-btn:hover {
  border-color: var(--cyan); color: var(--cyan);
  transform: scale(1.1);
}
.testi-dots { display: flex; gap: 0.5rem; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s;
}
.testi-dot.active { background: var(--cyan); transform: scale(1.3); }

/* ═══════════════════════════════════════ */
/* CONTACT */
/* ═══════════════════════════════════════ */
.contact { background: var(--bg-2); }
.contact__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(0,212,255,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 100% 50%, rgba(139,92,246,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact__sub {
  font-size: 1rem; color: var(--text-muted);
  line-height: 1.8; margin: 1.5rem 0 2.5rem;
}
.contact__channels { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-channel {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s var(--ease-bounce);
}
.contact-channel:hover {
  border-color: var(--cyan);
  transform: translateX(6px);
}
.contact-channel__icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--cyan-dim);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-channel__label {
  display: block; font-size: 0.78rem;
  font-family: var(--font-mono); color: var(--text-muted);
  letter-spacing: 0.05em; margin-bottom: 0.1rem;
}
.contact-channel__value {
  display: block; font-weight: 600; font-size: 0.95rem;
}
.contact__availability {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.85rem; color: var(--text-muted);
}
.avail-dot {
  width: 10px; height: 10px;
  background: var(--green); border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.4);
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* FORM */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-dim); letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  resize: vertical;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-group select option { background: var(--bg-2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.form-note {
  font-size: 0.82rem; color: var(--text-muted);
  text-align: center; margin-top: -0.5rem;
}
.form-note a { color: var(--cyan); text-decoration: underline; }

.form-success {
  background: var(--bg-card);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-lg);
  padding: 4rem 2.5rem;
  text-align: center;
}
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(16,185,129,0.1);
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); }

/* ═══════════════════════════════════════ */
/* FOOTER */
/* ═══════════════════════════════════════ */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 5rem 0 2rem; }
.footer__top {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 800;
  margin-bottom: 1rem;
}
.footer__tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.footer__copy-small { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }
.footer__social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer__social-link {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  overflow: hidden;
  line-height: 1;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.footer__social-link svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px !important;
  fill: currentColor;
}
.footer__social-link:hover,
.footer__social-link:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.18);
  transform: translateY(-3px);
}
.footer__nav-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 1.2rem; }
.footer__nav ul, .footer__services ul, .footer__contact ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav a, .footer__services a, .footer__contact a {
  font-size: 0.9rem; color: var(--text-muted);
  transition: color 0.2s;
}
.footer__nav a:hover, .footer__services a:hover, .footer__contact a:hover { color: var(--cyan); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer__copyright, .footer__legal { font-size: 0.85rem; color: var(--text-muted); }

/* ═══════════════════════════════════════ */
/* RESPONSIVE */
/* ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 300px; }
  .portfolio-item--wide { grid-column: span 1; }
  .portfolio-item--tall { grid-row: span 1; }
  .process__steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .process-step__arrow { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__badge { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 5rem 0; }
  .nav__links {
    position: fixed; top: var(--nav-h); right: 0; bottom: 0; left: 0;
    background: var(--bg-2);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__link { font-size: 1.3rem; }
  .nav__burger { display: flex; }
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__exp-badge { right: 1rem; }
  .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .portfolio__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 280px; }
  .process__steps { grid-template-columns: 1fr; }
  .testi-card { flex: 0 0 85%; }
  .hero__actions { flex-direction: column; }
  .hero__title { font-size: clamp(3rem, 15vw, 5rem); }
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  button { cursor: pointer; }
  a { cursor: pointer; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2rem; }
}

/* ═══════════════════════════════════════ */
/* SMOOTH SCROLL & WILL-CHANGE */
/* ═══════════════════════════════════════ */
.hero__canvas { will-change: transform; }
.service-card { will-change: transform; }
.portfolio-item__thumb { will-change: transform; }


/* PLATFORM FIT FIXES */
/* Keeps the original visual style while preventing overflow on phones/tablets. */

.container,
.hero__content {
  width: 100%;
}

.nav,
.container,
.hero__content,
.contact-channel,
.service-card,
.process-step,
.testi-card,
.contact-form {
  min-width: 0;
}

.section-title,
.hero__title,
.service-card__title,
.process-step h3,
.contact-channel__value {
  overflow-wrap: anywhere;
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  body,
  button,
  a {
    cursor: auto;
  }
}

@media (max-width: 900px) {
  .hero {
    align-items: flex-start;
  }

  .hero__content {
    padding-top: calc(var(--nav-h) + 3rem);
    padding-bottom: 3rem;
  }

  .hero__scroll-cue {
    display: none;
  }
}

@media (max-width: 768px) {
  .container,
  .hero__content {
    padding-left: clamp(1rem, 5vw, 1.5rem);
    padding-right: clamp(1rem, 5vw, 1.5rem);
  }

  .nav {
    padding-left: clamp(1rem, 5vw, 1.5rem);
    padding-right: clamp(1rem, 5vw, 1.5rem);
  }

  .nav__links {
    min-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
    padding: 2rem 1rem;
  }

  .hero__title {
    line-height: 0.95;
    letter-spacing: -0.05em;
  }

  .hero__sub br,
  .contact .section-title br {
    display: none;
  }

  .hero__actions .btn,
  .about__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .service-card,
  .process-step,
  .contact-form,
  .testi-card {
    padding: 1.5rem;
  }

  .contact-channel {
    padding: 1rem;
  }

  .contact-channel__value {
    font-size: 0.9rem;
  }

  .about__content {
    padding-left: 0;
  }

  .about__exp-badge {
    bottom: 1rem;
    right: 1rem;
  }

  .testimonials__track {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .hero__content {
    padding-top: calc(var(--nav-h) + 2rem);
  }

  .hero__title {
    font-size: clamp(2.6rem, 16vw, 4.4rem);
  }

  .hero__roles {
    gap: 0.4rem;
  }

  .hero__role,
  .filter-btn {
    font-size: 0.78rem;
  }

  .portfolio__grid {
    grid-auto-rows: 240px;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .footer {
    padding-top: 4rem;
  }
}
