/* ============================================================
   ZAHAANTECH PORTFOLIO — DESIGN SYSTEM
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --bg: #060614;
  --bg-2: #0c0c22;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);

  --violet: #7c3aed;
  --violet-light: #a78bfa;
  --blue: #2563eb;
  --blue-light: #60a5fa;
  --pink: #db2777;
  --cyan: #0891b2;
  --emerald: #16a34a;
  --amber: #d97706;

  --grad-primary: linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
  --grad-accent: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  --grad-text: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #34d399 100%);
  --grad-glow: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.4) 0%,
    rgba(37, 99, 235, 0.4) 100%
  );

  --text: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 7rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.25);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --t-fast: 150ms;
  --t-med: 300ms;
  --t-slow: 600ms;

  /* Nav height */
  --nav-h: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-2);
}
::-webkit-scrollbar-thumb {
  background: var(--violet);
  border-radius: var(--r-full);
}

/* ---- Selection ---- */
::selection {
  background: rgba(124, 58, 237, 0.35);
  color: var(--text);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5 {
  font-family: "Outfit", sans-serif;
  line-height: 1.15;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--violet-light);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform var(--t-fast) var(--ease);
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(167, 139, 250, 0.5);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width var(--t-med) var(--ease),
    height var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    transform 80ms linear;
}
.cursor-ring.hovered {
  width: 64px;
  height: 64px;
  border-color: var(--violet-light);
  background: rgba(124, 58, 237, 0.1);
}
.cursor-ring.clicking {
  transform: translate(-50%, -50%) scale(0.85);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--r-full);
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--t-med) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(124, 58, 237, 0.6);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}
.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-light);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: 0.3rem 0.9rem;
  border-radius: var(--r-full);
  margin-bottom: var(--space-sm);
}
.section-title {
  margin-bottom: var(--space-sm);
}
.section-subtitle,
.section-desc {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}
.section-desc {
  max-width: none;
  margin: 0;
  margin-bottom: var(--space-sm);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition:
    background var(--t-med),
    box-shadow var(--t-med),
    transform var(--t-med) var(--ease);
}
.navbar.scrolled {
  background: rgba(6, 6, 20, 0.85);
  backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 var(--border),
    var(--shadow-sm);
}
.navbar.hidden {
  transform: translateY(-100%);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0 auto;
}
.nav-link {
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-full);
  transition:
    color var(--t-fast),
    background var(--t-fast);
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--surface-2);
}

.nav-cta {
  display: none;
}
@media (min-width: 900px) {
  .nav-cta {
    display: inline-flex;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: var(--r-full);
  transition: all var(--t-med) var(--ease);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 6, 20, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--t-med) var(--ease);
    margin: 0;
  }
  .nav-links.open {
    transform: none;
  }
  .nav-link {
    width: 100%;
    font-size: 1.4rem;
    padding: 1rem;
    text-align: center;
    border-radius: var(--r-md);
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(124, 58, 237, 0.18) 0%,
    transparent 70%
  );
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: glow-float 8s ease-in-out infinite;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.18) 0%,
    transparent 70%
  );
  top: -100px;
  left: -150px;
  animation-delay: 0s;
}
.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.15) 0%,
    transparent 70%
  );
  bottom: -100px;
  right: -100px;
  animation-delay: -4s;
}
@keyframes glow-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 15px) scale(0.98);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) var(--space-md);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
  margin-bottom: var(--space-md);
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-title {
  color: var(--text);
  margin-bottom: var(--space-md);
  text-shadow: 0 0 80px rgba(124, 58, 237, 0.3);
}
.typewriter-wrapper {
  display: block;
  color: var(--violet-light);
  min-height: 1.15em;
}
#typewriter {
  display: inline;
}
.cursor-blink {
  display: inline-block;
  color: var(--violet-light);
  animation: blink 0.7s step-end infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto var(--space-lg);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-md) var(--space-lg);
  max-width: 500px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}
.hero-stat {
  text-align: center;
}
.stat-num {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-2);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-up 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--violet-light), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
@keyframes fade-up {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 1rem 0;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.marquee-track .sep {
  color: var(--violet-light);
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  background: var(--bg-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-xl);
}
@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-blob {
  width: 380px;
  height: 380px;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  background: var(--grad-glow);
  border: 1px solid rgba(124, 58, 237, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: blob-morph 8s ease-in-out infinite;
  position: relative;
}
@keyframes blob-morph {
  0%,
  100% {
    border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  }
  33% {
    border-radius: 65% 35% 45% 55% / 45% 65% 35% 55%;
  }
  66% {
    border-radius: 50% 50% 65% 35% / 55% 35% 65% 45%;
  }
}
.blob-inner {
  z-index: 1;
}
.blob-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: center;
  justify-items: center;
}
.blob-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--violet-light);
  transition: all var(--t-med);
  cursor: default;
  backdrop-filter: blur(8px);
}
.blob-icon:hover {
  background: rgba(124, 58, 237, 0.2);
  transform: scale(1.12) rotate(-5deg);
  color: #fff;
}
.blob-icon.center-icon {
  background: var(--grad-primary);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(16px);
  border-radius: var(--r-md);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}
.about-badge-card i {
  font-size: 2rem;
  color: #f59e0b;
}
.about-badge-card strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
}
.about-badge-card span {
  font-size: 0.72rem;
  color: var(--text-2);
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.about-content .section-tag {
  margin-bottom: var(--space-sm);
}
.about-content .section-title {
  margin-bottom: var(--space-sm);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin: var(--space-md) 0;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-2);
}
.feature-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #22c55e;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
@media (max-width: 700px) {
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  text-align: center;
  transition: all var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: 0;
  transition: opacity var(--t-med);
}
.stat-card:hover::before {
  opacity: 0.4;
}
.stat-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-4px);
}
.stat-icon {
  font-size: 1.8rem;
  color: var(--violet-light);
  margin-bottom: 0.5rem;
}
.stat-card .stat-count {
  font-family: "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}
.stat-plus {
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--violet-light);
  display: inline;
}
.stat-card .stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-2);
  margin-top: 0.25rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  transition: all var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--t-med);
}
.service-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-6px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    var(--shadow-glow);
}
.service-card:hover::after {
  opacity: 1;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--clr) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--clr) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--clr);
  transition: all var(--t-med);
}
.service-card:hover .service-icon-wrap {
  background: var(--clr);
  color: #fff;
  box-shadow: 0 0 24px color-mix(in srgb, var(--clr) 50%, transparent);
}

.service-card h3 {
  font-size: 1.1rem;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.7;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.2rem;
}
.service-list li {
  font-size: 0.82rem;
  color: var(--text-3);
  padding-left: 1rem;
  position: relative;
}
.service-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--violet-light);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--violet-light);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--t-fast);
}
.service-link:hover {
  gap: 0.6rem;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-section {
  background: var(--bg-2);
}
.portfolio-filters {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}
.filter-btn {
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.2rem;
  border-radius: var(--r-full);
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter-btn:hover {
  color: var(--text);
  border-color: rgba(124, 58, 237, 0.4);
}
.filter-btn.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-item {
  transition: all 0.4s var(--ease);
}
.portfolio-item.hidden {
  display: none;
}

.portfolio-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
}
.portfolio-visual {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--hue1) 0%, var(--hue2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0.8;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 6, 20, 0.97) 0%,
    rgba(6, 6, 20, 0.6) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--t-med) var(--ease-out);
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  transform: none;
}
.portfolio-card:hover .portfolio-visual {
  opacity: 0.5;
}

.portfolio-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.portfolio-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--violet-light);
  background: rgba(124, 58, 237, 0.2);
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(124, 58, 237, 0.3);
  width: fit-content;
}
.portfolio-info h3 {
  font-size: 1.1rem;
  color: #fff;
}
.portfolio-info p {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.6;
}
.portfolio-tech {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.portfolio-tech span {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-full);
  color: var(--text-2);
}

/* Portfolio mocks */
.portfolio-mock {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem;
  opacity: 0.9;
}
.mock-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  width: 100%;
}
.mock-content {
  flex: 1;
  display: flex;
  gap: 0.4rem;
}
.mock-sidebar {
  width: 25%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
.mock-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mock-main.full {
  width: 100%;
}
.mock-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
}
.mock-hero-block {
  height: 40%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.mock-row {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.mock-row.short {
  width: 60%;
}
.mock-design-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 0.4rem;
}
.mock-d-block {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.mock-d-block.big {
  grid-row: 1/3;
}
.mock-d-block.wide {
  grid-column: 1/3;
}
.portfolio-mock--mobile {
  justify-content: center;
  align-items: center;
  background: transparent;
}
.mock-phone {
  width: 90px;
  height: 160px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mock-notch {
  height: 12px;
  width: 40px;
  margin: 6px auto 0;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 6px;
}
.mock-screen {
  flex: 1;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mock-map {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
.mock-circle {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  align-self: center;
}
.mock-ai {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.4rem;
  width: 100%;
}
.mock-ai-bubble {
  height: 22px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
}
.mock-ai-bubble.left {
  width: 70%;
  align-self: flex-start;
}
.mock-ai-bubble.right {
  width: 55%;
  align-self: flex-end;
}
.mock-ai-bubble.short {
  width: 45%;
}
.mock-ai-input {
  height: 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  text-align: center;
  transition: all var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.team-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color1), var(--color2));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 0.4rem;
}
.team-avatar::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color1), var(--color2));
  z-index: -1;
  opacity: 0.5;
  filter: blur(8px);
}
.avatar-initials {
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}
.team-card h3 {
  font-size: 1rem;
  margin-top: 0.2rem;
}
.team-role {
  font-size: 0.78rem;
  color: var(--violet-light);
  font-weight: 500;
}
.team-bio {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.65;
}

.team-socials {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.4rem;
}
.team-socials a {
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-2);
  text-decoration: none;
  transition: all var(--t-fast);
}
.team-socials a:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--bg-2);
}
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(4, 100%);
  transition: transform 0.5s var(--ease-out);
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0 var(--space-sm);
}
.testimonial-stars {
  font-size: 1.1rem;
  color: #f59e0b;
  letter-spacing: 0.1em;
}
.testimonial-text {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-2);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.testi-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.testi-btn:hover {
  background: var(--grad-primary);
  border-color: transparent;
}
.testi-dots {
  display: flex;
  gap: 0.4rem;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--border-2);
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
}
.testi-dot.active {
  background: var(--violet-light);
  width: 24px;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
@media (max-width: 700px) {
  .process-steps {
    flex-direction: column;
  }
  .process-connector {
    width: 2px !important;
    height: 40px !important;
    margin: 0 0 0 calc(var(--space-md) + 20px);
  }
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.process-connector {
  flex-shrink: 0;
  width: var(--space-lg);
  height: 2px;
  background: var(--border-2);
  margin-top: 28px;
  position: relative;
}
.process-connector::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--border-2);
}
.step-num {
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--violet-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.step-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  width: 100%;
  transition: all var(--t-med);
}
.step-content:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-4px);
}
.step-icon {
  font-size: 2rem;
  color: var(--violet-light);
  margin-bottom: 0.5rem;
}
.step-content h3 {
  margin-bottom: 0.4rem;
}
.step-content p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info .section-tag {
  display: inline-flex;
  margin-bottom: var(--space-sm);
}
.contact-info .section-title {
  margin-bottom: var(--space-sm);
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.method-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--violet-light);
}
.contact-method strong {
  display: block;
  font-size: 0.85rem;
}
.contact-method span {
  font-size: 0.82rem;
  color: var(--text-2);
}

.contact-socials {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.contact-socials a {
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-2);
  text-decoration: none;
  transition: all var(--t-fast);
}
.contact-socials a:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-lg);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
@media (max-width: 550px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  position: relative;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  padding: 1rem 1rem 0.5rem;
  outline: none;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast);
  resize: none;
}
.form-group select {
  padding: 0.75rem 1rem;
  cursor: pointer;
}
.form-group select option {
  background: #0c0c22;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-group label:not(.select-label) {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--t-fast);
  pointer-events: none;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  color: var(--violet-light);
}
.select-label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  color: var(--text-3);
  pointer-events: none;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: none;
}
.form-error {
  display: block;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
  padding-left: 0.25rem;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.form-group.has-error .form-error {
  opacity: 1;
}

#submit-btn .btn-loading {
  display: none;
}
#submit-btn.loading .btn-text {
  display: none;
}
#submit-btn.loading .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.footer-top {
  padding: var(--space-xl) 0;
}
.footer-top-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--space-xl);
}
@media (max-width: 800px) {
  .footer-top-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 260px;
}
.footer-socials {
  display: flex;
  gap: 0.5rem;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-2);
  text-decoration: none;
  transition: all var(--t-fast);
}
.footer-socials a:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 600px) {
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.footer-col h4 {
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.8rem;
}
.footer-col p {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 0.6rem;
  line-height: 1.6;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-col ul li a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--t-fast);
}
.footer-col ul li a:hover {
  color: var(--violet-light);
}

.footer-newsletter {
  display: flex;
  border-radius: var(--r-full);
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: var(--surface);
}
.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  color: var(--text);
  font-family: "Inter", sans-serif;
}
.footer-newsletter button {
  background: var(--grad-primary);
  border: none;
  color: #fff;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  transition: opacity var(--t-fast);
}
.footer-newsletter button:hover {
  opacity: 0.85;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-3);
}
.footer-legal {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.footer-legal a {
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-legal a:hover {
  color: var(--violet-light);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.4);
  backdrop-filter: blur(16px);
  color: var(--text);
  padding: 0.8rem 1.4rem;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  z-index: 9000;
  transition:
    transform 0.4s var(--ease-out),
    opacity 0.4s;
  opacity: 0;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast i {
  color: #22c55e;
  font-size: 1.2rem;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--grad-primary);
  color: #fff;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--t-med) var(--ease-out);
}
.back-to-top.visible {
  opacity: 1;
  transform: none;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.55);
}

/* ============================================================
   RESPONSIVE MISC
   ============================================================ */
@media (max-width: 500px) {
  .hero-stats {
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .blob-icon-grid {
    gap: 0.6rem;
  }
  .blob-icon {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
  .about-blob {
    width: 300px;
    height: 300px;
  }
}
