*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0b0b13;
  --surface: #12121f;
  --card-bg: #16162a;
  --card-border: rgba(255,255,255,0.08);
  --text: #e2e8f0;
  --text-dim: #8892a4;
  --purple: #7c3aed;
  --blue: #2563eb;
  --violet: #a78bfa;
  --sky: #60a5fa;
  --lime: #84cc16;
  --lime-glow: rgba(132,204,22,0.35);
  --gradient: linear-gradient(135deg, #7c3aed, #2563eb);
  --gradient-text: linear-gradient(135deg, #f472b6, #7c3aed, #2563eb);
  --radius: 10px;
  --sidebar-w: 196px;
  --bar-h: 52px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
#gridCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
:focus-visible { outline: 2px solid #7c3aed; outline-offset: 2px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.app-layout { display: flex; min-height: 100vh; }

/* ===== SIDEBAR ===== */
.sidebar {
  width: var(--sidebar-w);
  position: fixed;
  top: var(--bar-h);
  left: 0;
  bottom: 0;
  background: transparent;
  border-right: 1px solid rgba(139,92,246,0.12);
  box-shadow: none;
  backdrop-filter: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  z-index: 100;
  transition: transform 0.3s ease;
  overflow: hidden;
}
.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 12px 8px 0;
  overflow-y: auto;
}
.sidebar-nav::-webkit-scrollbar { width: 0; }
.sidebar-nav-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #3a3a5c;
  padding: 10px 14px 6px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 400;
  color: #6b6b8a;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.sidebar-nav a:hover {
  background: rgba(139,92,246,0.08);
  border-left-color: rgba(139,92,246,0.4);
  color: #ffffff;
}
.sidebar-nav a:hover .nav-icon { color: #ffffff; }
.sidebar-nav a.active {
  color: #ffffff;
  font-weight: 500;
  border-left-color: #7c3aed;
  background: transparent;
}
.sidebar-nav a.active .nav-icon { color: #a855f7; }
.sidebar-nav a .nav-icon {
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #3a3a5c;
  transition: color 0.2s;
}
.sidebar-nav a .nav-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar-availability {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-top: 1px solid rgba(139,92,246,0.1);
}
.sidebar-availability .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}
.sidebar-availability span:last-child {
  font-size: 12px;
  color: #4ade80;
}
.sidebar-bottom {
  display: flex;
  gap: 6px;
  padding: 10px 12px 16px;
  justify-content: center;
}
.sidebar-bottom a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(139,92,246,0.2);
  color: #6b6b8a;
  transition: all 0.2s;
}
.sidebar-bottom a:hover {
  border-color: rgba(139,92,246,0.6);
  color: #a855f7;
  background: rgba(139,92,246,0.08);
}
.sidebar-bottom a svg {
  width: 16px;
  height: 16px;
}

/* ===== TOP BAR ===== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--bar-h);
  background: transparent;
  border-bottom: 1px solid rgba(139,92,246,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 16px;
  z-index: 200;
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none; flex-direction: column; gap: 4px;
  cursor: pointer; background: none; border: none; padding: 6px;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 1px; transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
.topbar-logo { display: flex; align-items: center; gap: 8px; }
.topbar-logo img { height: 26px; width: auto; }
.topbar-logo span { font-size: 15px; font-weight: 700; letter-spacing: -0.3px; }
.topbar-center {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: #ffffff;
}
.topbar-center .pill-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
  background: rgba(74,222,128,0.06);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.25);
  cursor: pointer; transition: 0.2s;
}
.topbar-center .pill-btn:hover {
  background: rgba(74,222,128,0.12);
  box-shadow: 0 0 16px rgba(74,222,128,0.15);
}
.topbar-right { display: flex; align-items: center; gap: 10px; }
.ghost-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 400;
  color: var(--text-dim); border: 1px solid var(--card-border);
  transition: 0.2s;
}
.ghost-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px; border-radius: 8px;
  font-size: 12px; font-weight: 700;
  background: var(--gradient); color: #fff;
  border: none; cursor: pointer; transition: 0.3s;
}
.cta-btn:hover { opacity: 0.9; box-shadow: 0 4px 20px rgba(124,58,237,0.3); }
.ghost-btn svg, .cta-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== MAIN CONTENT ===== */
.main {
  margin-left: var(--sidebar-w);
  margin-top: var(--bar-h);
  flex: 1;
  padding: 40px 48px;
  position: relative;
  z-index: 1;
  max-width: 1100px;
}
section { padding: 40px 0; }
.section-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}
.section-sub {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 36px;
}
.gradient-text {
  color: #ffffff;
}

/* ===== HERO ===== */
.hero { padding-top: 28px; overflow: hidden; }
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 56px;
}
.hero-text { flex: 1; min-width: 0; max-width: 640px; }
.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.25);
  background: rgba(74,222,128,0.06);
  margin-bottom: 22px;
}
.hero-availability .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 4px;
  color: #ffffff;
}
.hero h1 .gradient-text {
  color: #ffffff;
  font-size: 38px;
}
.hero-typewriter {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  min-height: 1.6em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.hero-typewriter .cursor {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background: var(--purple);
  margin-left: 2px;
  animation: blink 0.8s step-end infinite;
}
#typewriterText {
  background: linear-gradient(135deg, #7c3aed, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero-sub {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 540px;
  margin: 14px 0 24px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  background: #7c3aed;
  color: #ffffff;
  border: 1px solid #7c3aed;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}
.hero-btn-primary:hover { background: #6d28d9; box-shadow: 0 4px 20px rgba(124,58,237,0.35); }
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #ffffff;
  border: 1px solid rgba(139,92,246,0.6);
  background: transparent;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
}
.hero-btn-secondary:hover { border-color: rgba(139,92,246,0.9); background: rgba(139,92,246,0.06); color: #ffffff; }
/* ===== HERO VISUAL (Rotating Ring) ===== */
.hero-visual {
  flex-shrink: 0;
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(124,58,237,0.15);
  animation: spin-ring-slow 12s linear infinite;
}
.hero-ring-2 {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 2px dashed rgba(139,92,246,0.12);
  animation: spin-ring-slow 20s linear infinite reverse;
}
@keyframes spin-ring-slow {
  to { transform: rotate(360deg); }
}
.hero-ring-center {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background: transparent;
}
.hero-ring-v {
  font-size: 52px;
  font-weight: 700;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation: spin-ring-slow 10s linear infinite reverse;
}
.hero-orbit-item {
  position: absolute;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(22,22,42,0.85);
  border: 1px solid rgba(139,92,246,0.25);
  color: #ffffff;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.hero-orbit-item:nth-child(1) { top: -6px; left: 50%; transform: translateX(-50%); }
.hero-orbit-item:nth-child(2) { top: 50%; right: -6px; transform: translateY(-50%); }
.hero-orbit-item:nth-child(3) { bottom: -6px; left: 50%; transform: translateX(-50%); }
.hero-orbit-item:nth-child(4) { top: 50%; left: -6px; transform: translateY(-50%); }
/* Mobile fixed badges — hidden on desktop */
.mobile-badge { display: none; }
/* ===== HERO BOTTOM STRIP ===== */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(139,92,246,0.25);
  border-bottom: 1px solid rgba(139,92,246,0.25);
  padding: 24px 32px;
  margin-top: 0;
}
.hero-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  line-height: 1.4;
  transition: background 0.25s ease;
  border-radius: 8px;
  cursor: default;
}
.hero-strip-item:hover { background: rgba(139,92,246,0.08); }
.hero-strip-item .strip-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e1b2e, #2a2540);
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.25s ease;
}
.hero-strip-item:hover .strip-icon-box {
  border-color: rgba(139,92,246,0.3);
  box-shadow: 0 4px 14px rgba(139,92,246,0.12);
  transform: translateY(-1px);
}
.hero-strip-item .strip-num {
  font-size: 10px;
  font-weight: 700;
  color: rgba(139,92,246,0.6);
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.hero-strip-item strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}
.hero-strip-item .strip-sub {
  font-size: 12px;
  color: #9090b0;
}
.hero-strip-item + .hero-strip-item {
  border-left: 1px solid rgba(139,92,246,0.2);
}

/* ===== PROJECTS ===== */
.filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  border: 1px solid rgba(139,92,246,0.2);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: 0.2s;
}
.filter-btn.active {
  background: rgba(139,92,246,0.15);
  color: #ffffff;
  border-color: rgba(139,92,246,0.4);
}
.filter-btn:hover { border-color: rgba(139,92,246,0.4); color: #ffffff; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s;
}
.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.project-thumb {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.project-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5));
  transition: 0.25s;
}
.project-card:hover .project-thumb::after {
  background: rgba(139,92,246,0.2);
}
.project-thumb .category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  z-index: 1;
}
.project-thumb .category-tag.react { background: rgba(6,182,212,0.2); color: #22d3ee; }
.project-thumb .category-tag.html { background: rgba(251,146,60,0.2); color: #fb923c; }
.project-thumb .category-tag.js { background: rgba(250,204,21,0.2); color: #eab308; }
.project-thumb .category-tag.ai { background: rgba(168,85,247,0.2); color: #a855f7; }
.project-thumb .category-tag.portfolio-tag { background: rgba(34,211,238,0.2); color: #22d3ee; }
.project-thumb .category-tag.coming { background: rgba(139,92,246,0.15); color: #a78bfa; }
.project-thumb .thumb-icon {
  font-size: 36px;
  z-index: 0;
}
.project-thumb .view-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.25s;
  z-index: 2;
}
.project-card:hover .project-thumb .view-overlay {
  opacity: 1;
}
.project-thumb .view-overlay span {
  padding: 7px 18px;
  border-radius: 8px;
  background: #ffffff;
  color: #0b0b13;
  font-size: 12px;
  font-weight: 700;
  transform: translateY(8px);
  transition: 0.25s;
}
.project-card:hover .project-thumb .view-overlay span {
  transform: translateY(0);
}
.project-info { padding: 14px 16px 14px; }
.project-type {
  font-size: 10px;
  color: #6b6b8a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.project-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}
.project-tech {
  font-size: 11px;
  color: #6b6b8a;
  margin-bottom: 10px;
}
.project-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project-status {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
}
.project-status.live { background: rgba(74,222,128,0.12); color: #4ade80; }
.project-status.in-progress { background: rgba(251,191,36,0.12); color: #fbbf24; }
.project-actions {
  display: flex;
  gap: 6px;
}
.project-actions a {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(139,92,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b6b8a;
  transition: 0.2s;
}
.project-actions a:hover {
  border-color: rgba(139,92,246,0.5);
  color: #a855f7;
}
.project-actions a svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Project hover overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,6,20,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
  cursor: pointer;
}
.project-card:hover .project-overlay {
  background: rgba(10,6,20,0.7);
}
.project-overlay span {
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.2s ease;
  padding: 7px 16px;
  border-radius: 6px;
  background: #7c3aed;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}
.project-card:hover .project-overlay span {
  opacity: 1;
  transform: translateY(0);
}

/* Tech badges */
.project-tech-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tech-badge {
  font-size: 8px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Project action buttons row */
.project-actions-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.project-btn-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #7c3aed;
  color: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}
.project-btn-live:hover { opacity: 0.85; }
.project-btn-case {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(139,92,246,0.25);
  color: #ffffff;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}
.project-btn-case:hover {
  border-color: rgba(139,92,246,0.5);
  color: #ffffff;
}
.project-btn-live svg,
.project-btn-case svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}



.project-hide-desktop { display: none; }
.project-visible { display: block; }
.project-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  background: rgba(139,92,246,0.06);
  border: 1px solid rgba(139,92,246,0.2);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font);
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  animation: projectGlowPulse 3s ease-in-out infinite;
}
.project-more-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(96,165,250,0.06));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.project-more-btn::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 13px;
  background: linear-gradient(135deg, #7c3aed40, #60a5fa20, #7c3aed40);
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -2;
  animation: projectGlowShift 3s ease infinite;
}
.project-more-btn:hover::before { opacity: 1; }
.project-more-btn:hover::after { opacity: 1; }
.project-more-btn:hover {
  border-color: rgba(139,92,246,0.5);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(139,92,246,0.2), 0 0 40px rgba(139,92,246,0.08);
}
.project-more-btn:active { transform: translateY(0) scale(0.98); }
.project-more-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 14px;
}
.project-more-btn.active {
  border-color: rgba(139,92,246,0.35);
  box-shadow: 0 0 15px rgba(139,92,246,0.15);
}
@keyframes projectGlowPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(139,92,246,0.06); }
  50% { box-shadow: 0 0 18px rgba(139,92,246,0.15); }
}
@keyframes projectGlowShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== CONTACT (New Layout) ===== */
/* ===== CONTACT ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: start;
}
.contact-left {}
.contact-top-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 20px;
  font-size: 10px; font-weight: 700;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.35);
  color: #ffffff;
  margin-bottom: 14px;
}
.contact-top-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-left .big-title {
  font-size: 22px; font-weight: 700;
  color: #ffffff; line-height: 1.25;
  margin-bottom: 10px;
}
.contact-left .big-title .hl {
  background: linear-gradient(135deg, #7c3aed, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-left .desc {
  font-size: 12px; color: #6b6b8a;
  line-height: 1.5; margin-bottom: 14px;
}
.contact-reply {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 16px;
  font-size: 11px; color: #4ade80;
  border: 1px solid rgba(34,197,94,0.25);
  margin-bottom: 20px;
}
.contact-reply .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80; animation: pulse-dot 2s infinite;
}
.contact-left .section-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: #3a3a5c;
  margin-bottom: 10px; margin-top: 16px;
}
.contact-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.contact-row .c-icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #7c3aed;
}
.contact-row .c-icon svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-row .cv { font-size: 12px; color: #ffffff; }
/* Hire cards */
.hire-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(139,92,246,0.15);
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  margin-bottom: 7px;
  transition: all 0.2s;
  text-decoration: none; color: inherit;
}
.hire-card:hover {
  border-color: rgba(139,92,246,0.4);
  background: rgba(139,92,246,0.05);
}
.hire-card .hi {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 13px; font-weight: 700; color: #fff;
}
.hire-card .hc { flex: 1; }
.hire-card .hc .hn { font-size: 12px; font-weight: 600; color: #ffffff; }
.hire-card .hc .hs { font-size: 10px; color: #6b6b8a; }
.hire-card .ha { color: #3a3a5c; transition: color 0.2s; }
.hire-card:hover .ha { color: #a78bfa; }
.hire-card .ha svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Social */
.social-row {
  display: flex; gap: 8px;
}
.social-row a {
  width: 32px; height: 32px; border-radius: 7px;
  border: 1px solid rgba(139,92,246,0.2);
  display: flex; align-items: center; justify-content: center;
  color: #6b6b8a; transition: all 0.2s;
}
.social-row a:hover {
  border-color: rgba(124,58,237,0.5);
  color: #a78bfa;
  background: rgba(139,92,246,0.08);
}
.social-row a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Right form */
.contact-right {}
.form-group-c {
  margin-bottom: 16px;
}
.form-group-c label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.form-group-c .field-error {
  font-size: 10px;
  color: #f87171;
  margin-top: 4px;
  display: none;
}
.form-group-c .field-error.show {
  display: block;
}
.form-group-c input,
.form-group-c select,
.form-group-c textarea {
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(139,92,246,0.3) !important;
  border-radius: 0 !important;
  color: #ffffff;
  padding: 8px 2px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font);
}
.form-group-c input:focus,
.form-group-c select:focus,
.form-group-c textarea:focus {
  border-bottom-color: rgba(139,92,246,0.8) !important;
}
.form-group-c input::placeholder,
.form-group-c textarea::placeholder { color: #2a2a4a; }
.form-group-c select { cursor: pointer; color: #ffffff; }
.form-group-c select option { background: #0b0b13; color: #ffffff; }
.form-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.service-grid button {
  padding: 7px 6px; border-radius: 8px;
  border: 1px solid rgba(139,92,246,0.18);
  background: transparent; color: #6b6b8a;
  font-family: var(--font); font-size: 10px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.service-grid button:hover,
.service-grid button.active {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.5);
  color: #c4b5fd;
}
.service-select-mobile { display: none; }
.form-group-c textarea { resize: vertical; min-height: 80px; }
.submit-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 11px;
  border-radius: 8px; border: none;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff; font-family: var(--font);
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: 0.2s;
}
.submit-btn:hover { opacity: 0.88; }
.submit-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.privacy-note {
  text-align: center; font-size: 10px; color: #3a3a5c;
  margin-top: 10px;
}

/* ===== FORM SUCCESS POPUP ===== */
.form-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: popupOverlayIn 0.25s ease;
}
.form-popup-overlay.show { display: flex; }
@keyframes popupOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.form-popup-box {
  width: 90%;
  max-width: 440px;
  position: relative;
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: #6b6b8a;
  cursor: pointer;
  z-index: 1;
  line-height: 1;
  transition: color 0.2s;
}
.popup-close:hover { color: #ffffff; }
.form-popup-box .form-success {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 14px;
  background: rgba(74,222,128,0.03);
  animation: popupSuccessIn 0.35s ease;
  min-height: 360px;
}
@keyframes popupSuccessIn {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.form-popup-box .form-success .checkmark-wrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(74,222,128,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  animation: checkPop 0.4s ease 0.1s both;
}
@keyframes checkPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.form-popup-box .form-success .checkmark-wrap svg {
  width: 32px; height: 32px;
  stroke: #4ade80; stroke-width: 2.5;
  fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.form-popup-box .form-success h3 {
  font-size: 22px; font-weight: 700;
  color: #ffffff; margin-bottom: 6px;
}
.form-popup-box .form-success .sub-text {
  font-size: 13px; color: var(--text-dim);
  line-height: 1.5; margin-bottom: 6px;
}
.form-popup-box .form-success .name-line {
  font-size: 15px; font-weight: 600;
  color: #a78bfa; margin-bottom: 20px;
}
.form-popup-box .form-success .reset-link {
  font-size: 12px; color: #6b6b8a;
  cursor: pointer; transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-popup-box .form-success .reset-link:hover { color: #a78bfa; }

/* ===== FORM VALIDATION ===== */
.form-group-c .field-error {
  display: none;
  font-size: 11px; color: #f87171;
  margin-top: 4px;
}
.form-group-c .field-error.show { display: block; }
.form-group-c input.error,
.form-group-c select.error,
.form-group-c textarea.error {
  border-bottom-color: #f87171 !important;
}
.form-group-c input.valid,
.form-group-c select.valid,
.form-group-c textarea.valid {
  border-bottom-color: #4ade80 !important;
}
.service-grid.error {
  border: 1px solid #f87171;
  border-radius: 8px; padding: 4px;
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 100px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.4);
  color: #fca5a5;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  z-index: 999;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== DROPDOWN STYLING ===== */
.form-group-c select {
  cursor: pointer;
  color: #ffffff;
  appearance: none;
  -webkit-appearance: none;
  background: transparent 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='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 4px center;
  padding-right: 24px;
}
.form-group-c select option {
  background: #1a1a2e;
  color: #ffffff;
  padding: 8px;
}
.form-group-c select option:hover,
.form-group-c select option:focus {
  background: rgba(124,58,237,0.2);
}
.form-group-c select option:checked {
  background: rgba(124,58,237,0.3);
}
.form-group-c select.has-value { color: #ffffff; }

/* ===== PLATFORM CARDS ===== */
.hire-card {
  min-height: 72px;
  position: relative;
  transition: all 0.25s ease;
}
.hire-card:hover { transform: translateX(3px); }
.hire-card:hover .ha {
  color: #a78bfa;
  transform: translateX(3px);
}
.hire-card .ha { transition: all 0.25s ease; }
.hire-card .badge {
  position: absolute;
  top: 8px; right: 36px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.hire-card .badge.green { background: rgba(74,222,128,0.15); color: #4ade80; }
.hire-card .badge.blue { background: rgba(96,165,250,0.15); color: #60a5fa; }
.hire-card .badge.purple { background: rgba(168,85,247,0.15); color: #a855f7; }
.hire-card.recommended {
  border: 1px solid rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.05);
}
.hire-card.recommended:hover {
  border-color: rgba(124,58,237,0.7);
  background: rgba(124,58,237,0.08);
}
.hire-card:hover .hi.fiverr { box-shadow: 0 0 12px rgba(29,191,115,0.3); }
.hire-card:hover .hi.upwork { box-shadow: 0 0 12px rgba(20,168,0,0.3); }
.hire-card:hover .hi.malt { box-shadow: 0 0 12px rgba(255,107,53,0.3); }

/* ===== HIRE CARD NEW DESKTOP ===== */
.hire-card-new { padding: 10px 6px !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; }
.hire-card-new > div { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 3px !important; width: 100% !important; }
.hire-card-new > div > div:first-child { margin: 0 auto 3px !important; }
.hire-card-new > div > div:nth-child(4) { display: none !important; }
.hire-card-new > div > span { display: none !important; }
.hire-card-new .hire-arrow { display: none !important; }

/* ===== LIVE CLOCK ===== */
.live-clock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font);
  margin-left: 6px;
}
.live-clock .clock-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s infinite;
}
/* ===== BUTTON SPINNER ===== */
.submit-btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}
.btn-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }
.submit-btn .btn-text { vertical-align: middle; }

/* ===== ABOUT ===== */
.about-hero-heading {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.about-hero-sub {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.about-profile-area {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.about-avatar-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}
.about-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.about-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(#7c3aed, #2563eb, #a78bfa, #7c3aed);
  animation: spin-ring 3s linear infinite;
  z-index: 0;
}
.about-avatar-ring-inner {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg);
  z-index: 0;
}
@keyframes spin-ring {
  to { transform: rotate(360deg); }
}
.about-profile-info {}
.about-profile-info .name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.about-profile-info .title-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(124,58,237,0.12);
  color: var(--violet);
  border: 1px solid rgba(124,58,237,0.2);
  margin-bottom: 6px;
}
.about-profile-info .location {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.about-profile-info .availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #4ade80;
}
.about-profile-info .availability .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s infinite;
}
.about-bio {
  margin-bottom: 28px;
}
.about-bio p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 14px;
}
.about-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.about-tech-row .pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  border: 1px solid rgba(124,58,237,0.2);
  background: rgba(124,58,237,0.05);
  color: var(--text);
  transition: 0.2s;
}
.about-tech-row .pill:hover {
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.10);
  box-shadow: 0 0 16px rgba(124,58,237,0.08);
}
.about-tech-row .pill .pill-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-tech-row .pill .pill-icon svg {
  width: 13px;
  height: 13px;
}
/* about-stats removed */

/* ===== CASE STUDIES ===== */
.case-top-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.case-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s;
}
.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.case-thumb {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.case-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(11,11,19,0.95) 100%);
}
.case-thumb .case-icon {
  font-size: 38px;
  z-index: 1;
}
.case-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  z-index: 1;
}
.case-tag.cyan { background: rgba(97,218,251,0.15); color: #61dafb; }
.case-tag.orange { background: rgba(228,77,38,0.15); color: #e44d26; }
.case-result-chip {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(139,92,246,0.2);
  border: 1px solid rgba(139,92,246,0.3);
  text-align: center;
  z-index: 1;
  line-height: 1.2;
}
.case-result-chip .num { display: block; font-size: 13px; font-weight: 700; color: #a78bfa; }
.case-result-chip .label { display: block; font-size: 8px; color: #6b6b8a; text-transform: uppercase; letter-spacing: 0.5px; }
.case-body { padding: 18px 20px 20px; }
.case-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}
.case-steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.case-step {}
.case-step .step-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.case-step .step-label.problem { color: #f09595; }
.case-step .step-label.solution { color: #61dafb; }
.case-step .step-label.results { color: #4ade80; }
.case-step .step-desc {
  font-size: 11px;
  color: #8080a0;
  line-height: 1.55;
}
.case-divider {
  height: 1px;
  background: rgba(139,92,246,0.1);
  margin: 12px 0;
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.case-metric {
  background: rgba(139,92,246,0.07);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
}
.case-metric .num { display: block; font-size: 14px; font-weight: 700; color: #ffffff; }

/* Stat gradient for mobile (applied via JS or media query) */
.case-metric .stat-grad {
  background: linear-gradient(90deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.case-metric .label { display: block; font-size: 9px; color: #6b6b8a; }
.case-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.case-stack span {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9px;
  color: #ffffff;
  border: 1px solid rgba(139,92,246,0.1);
}
.case-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #a78bfa;
  border: 1px solid rgba(139,92,246,0.3);
  background: transparent;
  cursor: pointer;
  transition: 0.2s;
}
.case-btn:hover { background: rgba(139,92,246,0.15); }
/* full-width card */
.case-card-full {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
}
.case-card-full:hover {
  transform: translateY(-3px);
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.case-card-full .case-thumb {
  height: 100%;
  min-height: 220px;
}

/* ===== CASE SLIDER (desktop keeps grid) ===== */
.case-slider-wrap { margin-bottom: 18px; }
.case-slider-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.case-slide {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}
.case-slider-controls { display: none; }

.case-hide-desktop {
  display: none;
}

.case-visible { display: block; }
.case-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  background: rgba(139,92,246,0.06);
  border: 1px solid rgba(139,92,246,0.2);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font);
  position: relative;
  overflow: hidden;
  animation: caseGlowPulse 3s ease-in-out infinite;
}
.case-more-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(96,165,250,0.06));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.case-more-btn::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 13px;
  background: linear-gradient(135deg, #7c3aed40, #60a5fa20, #7c3aed40);
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -2;
  animation: caseGlowShift 3s ease infinite;
}
.case-more-btn:hover::before {
  opacity: 1;
}
.case-more-btn:hover::after {
  opacity: 1;
}
.case-more-btn:hover {
  border-color: rgba(139,92,246,0.5);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(139,92,246,0.2), 0 0 40px rgba(139,92,246,0.08);
}
.case-more-btn:active {
  transform: translateY(0) scale(0.98);
}
.case-more-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 14px;
}
.case-more-btn.active {
  border-color: rgba(139,92,246,0.35);
  box-shadow: 0 0 15px rgba(139,92,246,0.15);
}
@keyframes caseGlowPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(139,92,246,0.06); }
  50% { box-shadow: 0 0 18px rgba(139,92,246,0.15); }
}
@keyframes caseGlowShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== SERVICES / PRICING ===== */
.services-badge {
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(124,58,237,0.3);
  background: rgba(124,58,237,0.08);
  border-radius: 20px;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}
.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  transition: all 0.2s;
}
.service-card:hover {
  border-color: rgba(139,92,246,0.5);
  background: rgba(139,92,246,0.05);
  box-shadow: 0 0 20px rgba(139,92,246,0.06);
}
.service-card .sc-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(139,92,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 12px;
}
.service-card .sc-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.service-card .sc-desc {
  font-size: 12px;
  color: #6b6b8a;
  line-height: 1.6;
  margin-bottom: 10px;
}
.service-card .sc-price {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(139,92,246,0.12);
  color: #a78bfa;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #a78bfa;
  margin-bottom: 18px;
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.package-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}
.package-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.package-card.starter {
  border-top: 2px solid rgba(139,92,246,0.35);
  box-shadow: 0 -4px 20px rgba(139,92,246,0.08) inset;
}
.package-card.popular {
  border-top: 2px solid #7c3aed;
  box-shadow: 0 -4px 30px rgba(124,58,237,0.12) inset;
  border-color: rgba(139,92,246,0.25);
}
.package-card.popular:hover { border-color: rgba(139,92,246,0.5); }
.package-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #7c3aed, #6366f1);
  color: #fff;
  z-index: 2;
  white-space: nowrap;
}
.package-card.pro {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #7c3aed, #2563eb) 1;
}
.package-card .pkg-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(139,92,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 14px;
}
.package-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 6px;
}
.package-sub {
  font-size: 11px;
  color: #6b6b8a;
  line-height: 1.5;
  margin-bottom: 16px;
}
.package-price {
  margin-bottom: 14px;
}
.package-price .currency {
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
  vertical-align: super;
}
.package-price .amount {
  font-size: 46px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 24px rgba(139,92,246,0.45);
  line-height: 1;
}
.package-price .per {
  font-size: 13px;
  font-weight: 400;
  color: #6b6b8a;
}
.pkg-divider {
  height: 1px;
  background: rgba(139,92,246,0.1);
  margin: 0 0 14px;
}
.package-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex: 1;
}
.package-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #ffffff;
}
.package-features li .fi {
  width: 14px; height: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.package-features li .fi svg {
  width: 12px; height: 12px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.package-features li .fi.check svg { stroke: #7c3aed; stroke-width: 2.5; }
.package-features li .fi.x svg { stroke: #ef4444; stroke-width: 2.5; }
.package-features li.missing {
  color: #3a3a5c;
  text-decoration: line-through;
}
.package-features li.missing .fi.x svg { stroke: rgba(239,68,68,0.5); }
.pkg-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}
.package-card.starter .pkg-btn {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}
.package-card.starter .pkg-btn:hover {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.5);
}
.package-card.popular .pkg-btn {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #ffffff;
}
.package-card.popular .pkg-btn:hover {
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
  opacity: 0.95;
}
.package-card.pro .pkg-btn {
  background: transparent;
  border: 1px solid rgba(139,92,246,0.4);
  color: #a78bfa;
}
.package-card.pro .pkg-btn:hover {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.6);
}
.pkg-delivery {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  color: #a78bfa;
  background: rgba(139,92,246,0.07);
  border: 1px solid rgba(139,92,246,0.18);
  margin: 12px auto 0;
}
.pkg-delivery svg {
  width: 13px; height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: rgba(139,92,246,0.04);
  border: 1px solid rgba(139,92,246,0.12);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-dim);
}
.trust-item .trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(139,92,246,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ===== TABBED SERVICES ===== */
.stitle {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.ssub {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}
.tabs-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 8px;
  scrollbar-width: none;
}
.tabs-row::-webkit-scrollbar { display: none; }
.tbtn {
  font-size: 11px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
  font-family: var(--font);
}
.tpanel {
  display: none;
}
.tpanel.active { display: block; }
.tcard {
  border-radius: 12px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.tcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.tcard-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.tcard-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tcard-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.tcard-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 14px;
}
.tcard-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}
.tcard-features li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}
.tcard-features li svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tcard-ref-badge {
  font-size: 10px;
  color: #4ade80;
  margin-bottom: 10px;
  padding: 5px 0;
  border-top: 1px solid rgba(74,222,128,0.08);
  padding-top: 10px;
  text-shadow: 0 0 8px rgba(74,222,128,0.15);
  animation: refBadgeGlow 2.5s ease-in-out infinite;
}
@keyframes refBadgeGlow {
  0%, 100% { text-shadow: 0 0 8px rgba(74,222,128,0.15); }
  50% { text-shadow: 0 0 16px rgba(74,222,128,0.3); }
}
.ref-code-badge {
  animation: refBadgeGlow 2.5s ease-in-out infinite;
}
.tcard-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tcard-price {
  font-size: 20px;
  font-weight: 700;
}
.tcard-delivery {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
}
.tcard-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: opacity 0.15s ease;
}
.tcard-btn:hover { opacity: 0.85; }
.tcard-orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -50px;
  bottom: -50px;
  pointer-events: none;
  opacity: 0.12;
}

/* ===== FAQ ===== */
.faq-label {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 12px; font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid rgba(139,92,246,0.25);
  background: rgba(139,92,246,0.08); color: #ffffff;
  margin-bottom: 8px;
}
.faq-count {
  font-size: 11px; color: rgba(255,255,255,0.3);
  margin-top: 2px; text-align: center;
}

.faq-filters {
  display: flex; align-items: center;
  gap: 6px;
  margin: 20px auto 24px; max-width: 700px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 4px;
}
.faq-filters::-webkit-scrollbar { display: none; }
.faq-filter {
  padding: 6px 16px; border-radius: 20px; border: 1px solid rgba(139,92,246,0.12);
  background: transparent; color: #ffffff;
  font-size: 11px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: all 0.25s;
}
.faq-filter:hover { border-color: rgba(139,92,246,0.3); color: #ffffff; }
.faq-filter.active {
  background: rgba(139,92,246,0.12); border-color: rgba(139,92,246,0.3);
  color: #ffffff;
}

.faq-wrap {
  display: flex; flex-direction: column; gap: 8px;
  max-width: 700px; margin: 0 auto;
}
.faq-item {
  border: 1px solid rgba(139,92,246,0.08);
  border-radius: 12px; background: rgba(255,255,255,0.02);
  overflow: hidden; transition: border-color 0.25s;
}
.faq-item:hover { border-color: rgba(139,92,246,0.15); }
.faq-item.open { border-color: rgba(139,92,246,0.2); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px; cursor: pointer;
  user-select: none; transition: 0.2s;
}
.faq-q-left {
  display: flex; align-items: center; gap: 12px; min-width: 0;
}
.faq-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
  background: rgba(139,92,246,0.08);
}
.faq-q-text {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85);
  transition: 0.2s;
}
.faq-item.open .faq-q-text { color: #a78bfa; }
.faq-q .faq-arrow {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: rgba(255,255,255,0.3);
}
.faq-item.open .faq-q .faq-arrow { transform: rotate(90deg); color: #a78bfa; }
.faq-item.open .faq-q { color: #a78bfa; }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
  padding: 0 16px; font-size: 12.5px; line-height: 1.65;
  color: rgba(255,255,255,0.55);
}
.faq-item.open .faq-a-inner { padding: 0 16px 14px; }

.faq-item.hidden { display: none; }

/* FAQ CTA */
.faq-cta {
  max-width: 700px; margin: 32px auto 0;
  padding: 28px 24px; border-radius: 16px; text-align: center;
  border: 1px solid rgba(139,92,246,0.12);
  background: rgba(139,92,246,0.04);
}
.faq-cta-title {
  font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 4px;
}
.faq-cta-sub {
  font-size: 12px; color: rgba(255,255,255,0.45); margin: 0 0 18px;
}
.faq-cta-btns {
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.faq-wa-btn, .faq-email-btn {
  padding: 10px 24px; border-radius: 10px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all 0.25s;
}
.faq-wa-btn {
  background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.25);
  color: #4ade80;
}
.faq-wa-btn:hover { background: rgba(74,222,128,0.18); }
.faq-email-btn {
  background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.25);
  color: #a78bfa;
}
.faq-email-btn:hover { background: rgba(139,92,246,0.18); }

@media (max-width: 768px) {
  .faq-icon { width: 28px; height: 28px; font-size: 13px; }
  .faq-q-text { font-size: 13px; }
  .faq-a-inner { font-size: 12px; }
  .faq-q { padding: 12px 14px; }
  .faq-a-inner { padding: 0 14px; }
  .faq-item.open .faq-a-inner { padding: 0 14px 12px; }
  .faq-cta { padding: 24px 16px; }
  .faq-cta-title { font-size: 16px; }
  .faq-filters { gap: 5px; }
  .faq-filter { padding: 5px 12px; font-size: 10px; }
}

@media (max-width: 480px) {
  .faq-cta-btns { flex-direction: row; gap: 8px; }
  .faq-wa-btn, .faq-email-btn { padding: 8px 14px; font-size: 11px; white-space: nowrap; }
  .faq-cta { padding: 20px 16px; }
}

/* ===== REFERRAL BANNER (topbar) ===== */
.refer-pill {
  background: rgba(255,215,0,0.1) !important;
  color: #ffd700 !important;
  border-color: rgba(255,215,0,0.3) !important;
}
.refer-pill:hover {
  background: rgba(255,215,0,0.18) !important;
  box-shadow: 0 0 16px rgba(255,215,0,0.15) !important;
}

/* ===== CASE STUDY CTA ===== */
/* ===== REFERRAL CODE FIELD ===== */
.referral-code-group {
  margin-top: 4px;
}
.referral-code-group input {
  font-size: 13px;
}

/* ===== REFER & EARN SECTION ===== */
.r-hero-label {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 4px;
}
.r-title {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin: 0 0 4px 0;
}
.r-accent {
  background: linear-gradient(135deg, #7c3aed, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.r-sub {
  font-size: 12px;
  color: #6b6b8a;
  text-align: center;
  margin: 0 0 20px 0;
}

/* Steps */
.r-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 20px;
  padding: 0 4px;
}
.r-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 120px;
}
.r-step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139,92,246,0.2);
  background: rgba(139,92,246,0.04);
  margin-bottom: 8px;
}
.r-step-circle svg {
  width: 20px;
  height: 20px;
}
.r-step-num {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #6b6b8a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.r-step-title {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 2px;
}
.r-step-desc {
  display: block;
  font-size: 11px;
  color: #6b6b8a;
  text-align: center;
  line-height: 1.3;
}

@media (min-width: 481px) {
  .r-step-desc {
    max-width: 120px;
    white-space: nowrap;
  }
}
.r-step-line {
  flex: 1;
  min-width: 16px;
  max-width: 60px;
  height: 1px;
  border-top: 2px dashed rgba(124,58,237,0.3);
  margin-top: 24px;
  position: relative;
}
.r-step-line::after {
  content: '>';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(124,58,237,0.3);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 769px) {
  .r-steps {
    padding: 0 60px;
  }
  .r-step-line {
    flex: 2;
    min-width: 100px;
    max-width: none;
  }
}

/* Earn strip */
.r-earn-strip {
  max-width: 700px; margin: 0 auto 16px;
  padding: 10px 16px; border-radius: 10px;
  text-align: center; font-size: 12px;
  color: #ffffff;
  border: 1px solid rgba(139,92,246,0.15);
  background: rgba(139,92,246,0.03);
  animation: earnPulse 3s ease-in-out infinite;
}
@keyframes earnPulse {
  0%, 100% { border-color: rgba(139,92,246,0.15); box-shadow: 0 0 0 0 rgba(139,92,246,0); }
  50% { border-color: rgba(139,92,246,0.4); box-shadow: 0 0 12px 0 rgba(139,92,246,0.08); }
}

/* Split */
.r-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.r-leader, .r-signup {
  padding: 16px;
  border-radius: 10px;
  background: rgba(139,92,246,0.03);
  border: 1px solid rgba(139,92,246,0.1);
}
.r-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 12px;
}
.r-l-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(139,92,246,0.04);
  border: 1px solid rgba(139,92,246,0.08);
  margin-bottom: 8px;
}
.r-l-card:last-of-type {
  margin-bottom: 0;
}
.r-l-emoji {
  font-size: 18px;
  line-height: 1;
}
.r-l-info {
  flex: 1;
  min-width: 0;
}
.r-l-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
.r-l-refs {
  display: block;
  font-size: 10px;
  color: #6b6b8a;
  line-height: 1.3;
}
.r-l-earn {
  font-size: 13px;
  font-weight: 700;
  color: #a78bfa;
  white-space: nowrap;
}
.r-l-ft {
  font-size: 11px;
  color: #6b6b8a;
  margin: 12px 0 0 0;
  text-align: center;
}

/* Signup */
.r-privacy {
  font-size: 10px;
  color: #55557a;
  text-align: center;
  margin: 4px 0 0 0;
}

/* Signup */
.r-signup form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.r-submit-btn {
  width: 100%;
  margin-top: 4px;
}

/* Existing code */
.r-existing {
  text-align: center;
  padding: 16px;
  border-radius: 10px;
  background: rgba(139,92,246,0.03);
  border: 1px solid rgba(139,92,246,0.1);
  margin-bottom: 16px;
}
.r-existing .r-label {
  margin-bottom: 8px;
}
.r-leader-existing {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(139,92,246,0.1);
}
.r-l-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
  text-align: center;
}
.r-existing-row {
  display: flex;
  gap: 8px;
  max-width: 320px;
  margin: 0 auto;
  justify-content: center;
}
.r-existing-row input {
  flex: 1;
  max-width: 180px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(139,92,246,0.2);
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s;
}
.r-existing-row input::placeholder {
  color: #55557a;
}
.r-existing-row input:focus {
  border-color: rgba(167,139,250,0.5);
}
.r-existing-row button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.r-existing-row button:hover {
  opacity: 0.9;
}

/* ===== CHATBOT ===== */
.chatbot-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  box-shadow: 0 4px 24px rgba(124,58,237,0.35), 0 0 60px rgba(124,58,237,0.15);
  transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chatbot-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(124,58,237,0.5), 0 0 80px rgba(124,58,237,0.2); }
.chatbot-toggle:active { transform: scale(0.95); }
.chatbot-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chatbot-toggle .close-icon { display: none; }
.chatbot-toggle.open .chat-icon { display: none; }
.chatbot-toggle.open .close-icon { display: block; }

.chatbot-popup {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 340px;
  max-height: 480px;
  background: rgba(22,22,42,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 16px;
  z-index: 299;
  display: none;
  flex-direction: column;
  box-shadow: 0 16px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,92,246,0.05) inset, 0 0 80px rgba(124,58,237,0.06);
  overflow: hidden;
  animation: chatFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.chatbot-popup.open { display: flex; }
@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-header {
  padding: 16px 16px 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(37,99,235,0.15));
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.chatbot-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(124,58,237,0.08), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(37,99,235,0.06), transparent 50%);
  pointer-events: none;
}
.chatbot-header .ch-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(37,99,235,0.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(124,58,237,0.15);
}
.chatbot-header .ch-info { flex:1; position:relative; z-index:1; }
.chatbot-header .ch-name {
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #f472b6, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.chatbot-header .ch-status {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 1px;
}
.chatbot-header .ch-status .status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(74,222,128,0.4); }
  50% { opacity: 0.5; box-shadow: 0 0 8px rgba(74,222,128,0.1); }
}
.ch-clear {
  background: rgba(255,255,255,0.06);
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 13px;
  padding: 4px 6px;
  border-radius: 6px;
  transition: 0.2s;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.ch-clear:hover { color:#fff; background:rgba(255,255,255,0.12); }

.chatbot-body {
  flex: 1;
  padding: 14px 14px 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  max-height: 270px;
  background: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,0.03), transparent 70%);
}
.chatbot-body::-webkit-scrollbar { width: 3px; }
.chatbot-body::-webkit-scrollbar-track { background: transparent; }
.chatbot-body::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.25); border-radius: 2px; }
.chatbot-body::-webkit-scrollbar-thumb:hover { background: rgba(139,92,246,0.4); }

.chat-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.55;
  max-width: 88%;
  animation: msgIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.chat-msg .msg-time {
  font-size: 8px;
  color: rgba(255,255,255,0.15);
  margin-top: 6px;
  text-align: right;
  letter-spacing: 0.3px;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-msg.bot {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(139,92,246,0.08);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(37,99,235,0.12));
  border: 1px solid rgba(139,92,246,0.12);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg .msg-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
}
.chat-msg .msg-options button {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(139,92,246,0.2);
  background: rgba(139,92,246,0.06);
  color: rgba(255,255,255,0.8);
  font-family: var(--font);
  font-size: 11px;
  cursor: pointer;
  transition: 0.2s;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.chat-msg .msg-options button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), transparent);
  opacity: 0;
  transition: 0.2s;
}
.chat-msg .msg-options button:hover {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.35);
  transform: translateX(2px);
}
.chat-msg .msg-options button:hover::after { opacity: 1; }

.chat-typing {
  display: none;
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(139,92,246,0.08);
  gap: 5px;
  border-bottom-left-radius: 4px;
}
.chat-typing.active { display: flex; }
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(139,92,246,0.4);
  animation: typingDot 1.4s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); background: rgba(139,92,246,0.4); }
  30% { transform: translateY(-7px); background: rgba(167,139,250,0.8); }
}

.chat-msg .msg-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}
.chat-msg .msg-suggest button {
  padding: 5px 11px;
  border-radius: 14px;
  border: 1px solid rgba(139,92,246,0.15);
  background: rgba(139,92,246,0.04);
  color: rgba(255,255,255,0.55);
  font-family: var(--font);
  font-size: 10px;
  cursor: pointer;
  transition: 0.2s;
  letter-spacing: 0.2px;
}
.chat-msg .msg-suggest button:hover {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.3);
  color: #fff;
  transform: translateY(-1px);
}

.chat-input-bar {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
  background: rgba(22,22,42,0.6);
}
.chat-input-bar input {
  flex: 1;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(139,92,246,0.1);
  background: rgba(0,0,0,0.2);
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  outline: none;
  transition: 0.2s;
}
.chat-input-bar input:focus {
  border-color: rgba(139,92,246,0.3);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.06);
}
.chat-input-bar input::placeholder { color: rgba(255,255,255,0.2); }
.chat-input-bar button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.2s;
}
.chat-input-bar button:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(124,58,237,0.3); }
.chat-input-bar button:active { transform: scale(0.95); }
.chat-input-bar button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.chatbot-preview {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: rgba(22,22,42,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139,92,246,0.12);
  border-radius: 14px;
  padding: 12px 16px;
  z-index: 298;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(139,92,246,0.04) inset;
  display: none;
  align-items: center;
  gap: 10px;
  animation: chatFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  max-width: 260px;
}
.chatbot-preview.show { display: flex; }
.chatbot-preview .preview-text { font-size: 12px; color: rgba(255,255,255,0.8); line-height: 1.4; }
.chatbot-preview .preview-close {
  background: none; border: none; color: rgba(255,255,255,0.3);
  cursor: pointer; font-size: 16px; padding: 2px;
  flex-shrink: 0; transition: 0.2s;
}
.chatbot-preview .preview-close:hover { color: rgba(255,255,255,0.7); }

/* ===== MOBILE OVERLAY ===== */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-overlay.show { display: block; opacity: 1; }

/* ===== FADE-IN ===== */
.fade-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-section.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .main { padding: 28px 24px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr; max-width: 420px; }
  .trust-bar { grid-template-columns: 1fr; gap: 10px; }
  .case-top-row { grid-template-columns: 1fr; }
  .case-card-full { grid-template-columns: 1fr; }
  .case-card-full .case-thumb { height: 160px; min-height: auto; }
  .contact-wrap { gap: 24px; }
}
@media (max-width: 768px) {
  html { overflow-x: hidden; }
  body { overflow-x: hidden; max-width: 100vw; }
  .hide-mobile { display: none; }
  .hamburger { display: flex; }
  .r-split { grid-template-columns: 1fr; }
  .r-leader-existing-mobile { display: block; }
  .r-leader > .r-leader-existing { display: none; }
  .r-l-card-desktop { display: none; }
  .r-hero-label { font-size: 20px; }
  .r-title { font-size: 20px; }
  .hero-h1-first { font-size: 22px; }
  .hero-h1-second { font-size: 22px; }
}

@media (min-width: 769px) {
  .r-leader-existing-mobile { display: none; }
  .topbar-ref-mobile { display: none !important; }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    background: rgba(11,11,19,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 150;
  }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; padding: 20px 16px; max-width: 100%; }
  .topbar-center { display: none; }
  .topbar-right .ghost-btn span { display: none; }
  .topbar-right .ghost-btn { padding: 5px 9px; }
  .topbar-wa { display: none !important; }
  .topbar-ref-mobile { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 20px; background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.3); color: #ffd700; font-size: 10px; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .topbar-right .cta-btn { padding: 5px 14px; font-size: 10px; }

  /* ===== HERO MOBILE ===== */
  .hero { padding: 10px 0 0; overflow-x: hidden; }
  .hero-inner {
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
    padding: 0 16px;
    margin-bottom: 0;
  }
  /* hero-text and hero-visual are siblings inside hero-inner */
  /* Split: headline+typewriter ABOVE orbit, desc+btns BELOW */
  .hero-text {
    max-width: 100%;
    display: contents; /* flatten children into hero-inner flow */
  }
  .hero-availability { order: 0; margin-bottom: 10px; justify-content: center; }
  .hero h1 { font-size: 26px; text-align: center; line-height: 1.2; }
  .hero-h1-first { order: 1; }
  .hero-h1-second { order: 2; margin-bottom: 8px; }
  .hero-typewriter {
    order: 3;
    font-size: 12px;
    justify-content: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
  }
  .hero-typewriter #typewriterText { white-space: nowrap; }
  .hero-visual { order: 4; }
  .hero-sub { order: 5; font-size: 11px; padding: 0 8px; text-align: center; margin: 0 0 12px; max-width: 100%; }
  .hero-btns {
    order: 6;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 8px;
  }
  .hero-btns a {
    font-size: 11px;
    padding: 10px 16px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .hero-btn-primary {
    background: #7c3aed !important;
    color: #fff !important;
    border: 1px solid #7c3aed !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
  }
  .hero-btn-secondary {
    background: transparent !important;
    color: #c4b5fd !important;
    border: 1px solid rgba(139,92,246,0.6) !important;
    border-radius: 8px !important;
  }

  /* Orbit — centered between typewriter and description */
  .hero-visual {
    width: 170px;
    height: 170px;
    position: relative;
    margin: 0 auto 12px;
    flex-shrink: 0;
    order: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .hero-ring {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px solid rgba(139,92,246,0.3);
    animation: spin-ring-slow 13s linear infinite;
  }
  .hero-ring-2 {
    display: block;
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    border: 1px dashed rgba(139,92,246,0.15);
    animation: spin-ring-slow 8s linear infinite reverse;
  }
  .hero-ring-center {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }
  .hero-ring-center img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
  }
  .hero-orbit {
    position: absolute;
    width: 170px;
    height: 170px;
    top: 0;
    left: 0;
    animation: spin-ring-slow 13s linear infinite reverse;
  }
  .filter-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 6px;
  }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }
  .hero-orbit .hero-orbit-item:nth-child(-n+4) { display: none !important; }
  .hero-orbit .mobile-badge {
    display: flex !important;
    position: absolute;
    z-index: 5;
    font-size: 9px;
    padding: 3px 8px;
    white-space: nowrap;
    border-radius: 6px;
    background: #16162AD9;
    border: 1px solid rgba(139,92,246,0.45);
    color: #ffffff;
    font-weight: 600;
    align-items: center;
    gap: 3px;
  }
  .hero-orbit .mobile-badge:nth-child(5) { top: -10px;    left: 50%; transform: translateX(-50%); }
  .hero-orbit .mobile-badge:nth-child(6) { top: 50%;    right: -4px; transform: translateY(-50%); }
  .hero-orbit .mobile-badge:nth-child(7) { bottom: -4px; left: 50%; transform: translateX(-50%); }
  .hero-orbit .mobile-badge:nth-child(8) { top: 50%;    left: -4px; transform: translateY(-50%); }

  /* ===== HERO STRIP MOBILE ===== */
  .hero-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(139,92,246,0.12);
    border-bottom: 1px solid rgba(139,92,246,0.12);
    padding: 0;
    margin-top: 0;
  }
  .hero-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 8px;
    text-align: center;
    border-radius: 0;
    background: transparent;
  }
  .hero-strip-item:hover { background: transparent; }
  .hero-strip-item + .hero-strip-item { border-left: 1px solid rgba(139,92,246,0.08); }
  .hero-strip-item .strip-icon-box { width: 30px; height: 30px; border-radius: 8px; font-size: 14px; }
  .hero-strip-item .strip-num { display: none; }
  .hero-strip-item strong { font-size: 11px; }
  .hero-strip-item .strip-sub { font-size: 9px; color: #555570; }

  .projects-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; max-width: 420px; }
  .chatbot-popup { width: calc(100vw - 32px); right: 16px; bottom: 80px; max-height: 60vh; }
  .service-grid { display: none; }
  .service-select-mobile { display: block; width:100%; padding:9px 10px; border-radius:8px; border:1px solid rgba(139,92,246,0.18); background:rgba(0,0,0,0.2); color:var(--text); font-family:var(--font); font-size:12px; outline:none; cursor:pointer; transition:0.2s; }
  .service-select-mobile:focus { border-color:rgba(139,92,246,0.3); box-shadow:0 0 0 3px rgba(139,92,246,0.06); }
  .service-select-mobile option { background:#16162a; color:var(--text); }
  .contact-wrap { grid-template-columns: 1fr; gap: 20px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .case-top-row { grid-template-columns: 1fr; }
  .case-card-full { grid-template-columns: 1fr; }
  .case-card-full .case-thumb { height: 160px; min-height: auto; }

  .case-hide-desktop { display: flex !important; }
  .case-more-btn { display: none !important; }
  .project-hide-desktop { display: block; }
  .project-hide-mobile { display: none; }

  /* ===== CASE STUDIES MOBILE SLIDER ===== */
  .case-slider-wrap { overflow: hidden !important; margin: 0; }
  .case-slider-track {
    display: flex !important;
    gap: 0 !important;
    transition: transform 0.35s ease;
  }
  .case-slide {
    flex: 0 0 100% !important;
    min-width: 0 !important;
  }
  .case-card {
    height: auto;
  }
  .case-slide .case-thumb {
    height: 160px;
  }
  .case-slider-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 16px;
  }
  .case-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
  }
  .case-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
  }
  .case-dot.active {
    width: 20px;
    height: 8px;
    border-radius: 4px;
    background: #7c3aed;
  }
  .case-nav-row { display: none; }
  #casestudies { padding-bottom: 12px; }
  #services { padding-top: 12px; }
  section { padding: 20px 0; }

  /* ===== CONTACT MOBILE ===== */
  .contact-left, .contact-right { padding: 0 6px; }
  .hire-card-new { aspect-ratio: unset !important; padding: 10px 4px !important; height: auto !important; }
  .hire-card-new > div > div:nth-child(4),
  .hire-card-new > div > span,
  .hire-card-new .hire-arrow { display: none !important; }
  .hire-card-new > div { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 3px !important; }
  .hire-card-new > div > div:first-child { width: 28px !important; height: 28px !important; font-size: 11px !important; margin-bottom: 0 !important; }
  .hire-card-new > div > div:nth-child(2) { font-size: 11px !important; color: #ffffff !important; }
  .hire-card-new > div > div:nth-child(3) { font-size: 11px !important; margin-bottom: 0 !important; opacity: 1 !important; visibility: visible !important; }
  #serviceGrid { display: none !important; }
  .tabs-row { flex-wrap: nowrap !important; overflow-x: auto !important; white-space: nowrap !important; -webkit-overflow-scrolling: touch; }

  .case-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-family: var(--font);
    line-height: 1;
  }
  .case-nav-btn:hover { border-color: #7c3aed; color: #a78bfa; }
  .case-counter { font-size: 11px; color: rgba(255,255,255,0.3); font-family: var(--font); }
  .case-swipe-hint {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
  color: #ffffff;
  margin-top: 10px;
    opacity: 1;
    transition: opacity 0.8s ease;
  }
  .case-swipe-hint.hidden { opacity: 0; }
  .hint-arrow {
    display: inline-block;
    animation: hintSlide 1.2s ease-in-out infinite;
  }
  @keyframes hintSlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
  }
  /* Stat gradient on mobile */
  .case-metric .num {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .case-metric .label {
    font-size: 9px;
    color: rgba(255,255,255,0.32);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 3px;
  }
  .case-metrics {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    text-align: center;
  }
  /* View case study button */
  .case-btn {
    width: 100%;
    padding: 9px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.13);
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--font);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .case-btn:hover {
    border-color: #7c3aed;
    color: #a78bfa;
  }

  /* ===== ABOUT SECTION MOBILE ===== */
  .about-hero-heading { font-size: 22px; line-height: 1.2; margin-bottom: 8px; }
  .about-hero-sub { font-size: 12px; margin-bottom: 20px; }
  .about-profile-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
  }
  .about-avatar-wrap { width: 80px; height: 80px; flex-shrink: 0; }
  .about-profile-info .name { font-size: 18px; margin-bottom: 6px; }
  .about-profile-info .title-badge { font-size: 10px; padding: 4px 10px; margin-bottom: 6px; }
  .about-profile-info .location { font-size: 11px; margin-bottom: 6px; }
  .about-profile-info .availability { font-size: 11px; }
  .about-bio p { font-size: 12px; line-height: 1.75; margin-bottom: 12px; }
  .about-tech-row { gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
  .about-tech-row .pill { font-size: 10px; padding: 4px 10px; }
}
@media (max-width: 480px) {
  html { overflow-x: hidden; }
  body { overflow-x: hidden; max-width: 100vw; }
  .main { padding: 14px 10px; }
  .section-title { font-size: 22px; }
  .section-sub { font-size: 12px; margin-bottom: 24px; }
  section { padding: 20px 0; }
  .topbar-center { margin: 6px 12px 0; padding: 4px 10px; font-size: 9px; }

  .r-split { gap: 8px; overflow-x: hidden; }
  .r-leader, .r-signup { padding: 14px; }
  .hero { padding: 12px 0 0; overflow-x: hidden; }
  .hero-strip { grid-template-columns: repeat(3, 1fr); padding: 12px 0; gap: 0; }
  .hero-strip-item { padding: 10px 4px; }
  .hero h1 { font-size: 22px; }
  .hero h1 .gradient-text { font-size: 22px; }
  .hero-typewriter { font-size: 11px; }
  .hero-visual { width: 150px; height: 150px; overflow: hidden; }
  .hero-ring { inset: 6px; }
  .hero-ring-2 { inset: 20px; }
  .hero-ring-center { width: 70px; height: 70px; }
  .hero-ring-center img { width: 70px !important; height: 70px !important; }
  .hero-orbit { width: 150px; height: 150px; }
  .hero-orbit-item { font-size: 8px; padding: 1px 4px; }
  .hero-orbit-item:nth-child(1) { top: 6px; left: 50%; transform: translateX(-50%) translateY(-50%); }
  .hero-orbit-item:nth-child(2) { top: 50%; right: 6px; transform: translateY(-50%) translateX(50%); }
  .hero-orbit-item:nth-child(3) { bottom: 6px; left: 50%; transform: translateX(-50%) translateY(50%); }
  .hero-sub { font-size: 10px; padding: 0 4px; }
  .hero-btns a { font-size: 10px; padding: 9px 12px; }
  .hero-strip-item { padding: 10px 4px; }
  .hero-strip-item .strip-icon-box { width: 26px; height: 26px; font-size: 14px; }
  .hero-strip-item strong { font-size: 8px; }
  .hero-strip-item .strip-sub { font-size: 7px; }
  .about-tech-row .pill { font-size: 11px; padding: 5px 12px; }
  .service-card { padding: 16px 14px; }
  .package-card { padding: 18px 14px; }
  .project-card .project-thumb { height: 120px; }
  .project-info { padding: 10px 12px 12px; }
  .chatbot-popup { width: calc(100vw - 24px); right: 12px; bottom: 72px; max-height: 55vh; }
  .service-grid { display: none; }
  .service-select-mobile { display: block; width:100%; padding:9px 10px; border-radius:8px; border:1px solid rgba(139,92,246,0.18); background:rgba(0,0,0,0.2); color:var(--text); font-family:var(--font); font-size:12px; outline:none; cursor:pointer; }
  .service-select-mobile option { background:#16162a; color:var(--text); }
  .form-group-c input, .form-group-c select, .form-group-c textarea { font-size: 12px; }
  .hire-card { padding: 10px; min-height: 64px; }
  .hire-card .badge { display: none; }
  .contact-left .big-title { font-size: 18px; }
  .case-card .case-thumb { height: 120px; }
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  border-top: 1px solid rgba(139,92,246,0.06);
  background: rgba(11,11,19,0.6);
  margin-left: var(--sidebar-w);
  padding: 0;
  overflow: hidden;
}
.footer-bg-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.06), transparent 70%);
  pointer-events: none;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 48px 0;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 32px;
}
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.footer-logo-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.footer-desc {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139,92,246,0.12);
  color: rgba(255,255,255,0.35);
  transition: 0.25s;
}
.footer-social a:hover {
  border-color: rgba(139,92,246,0.35);
  color: #a78bfa;
  background: rgba(139,92,246,0.06);
  transform: translateY(-2px);
}
.footer-social a svg {
  width: 16px;
  height: 16px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  padding: 4px 0;
  transition: 0.2s;
}
.footer-col a:hover {
  color: #a78bfa;
  padding-left: 3px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.2);
  text-decoration: none;
  transition: 0.2s;
}
.footer-bottom-links a:hover { color: #a78bfa; }

@media (max-width: 768px) {
  .site-footer { margin-left: 0; }
  .footer-inner { padding: 36px 20px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-col a { font-size: 12px; padding: 5px 0; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 480px) {
  .footer-inner { padding: 24px 16px 0; }
  .footer-top { gap: 20px; padding-bottom: 20px; }
  .footer-right { gap: 16px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .footer-logo { font-size: 15px; }
  .footer-logo-icon { width: 18px; height: 18px; }
  .footer-desc { font-size: 11px; margin-bottom: 12px; }
  .footer-col-title { font-size: 9px; margin-bottom: 8px; }
  .footer-col a { font-size: 11px; padding: 5px 0; }
  .footer-social { justify-content: center; padding-top: 4px; }
  .footer-social a { width: 34px; height: 34px; }
  .footer-social a svg { width: 14px; height: 14px; }
  .footer-bottom { font-size: 10px; padding: 14px 0; gap: 10px; }
  .footer-bottom-links { gap: 10px; }
  .footer-bottom-links a { font-size: 10px; padding: 4px 0; }
}

/* === RECOVER CODE CHATBOX MODAL === */
.rc-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.7);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.rc-overlay.open { display: flex; }
.rc-modal {
  background: #14141f; border: 1px solid rgba(139,92,246,0.2);
  border-radius: 16px; width: 100%; max-width: 400px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
}
.rc-close {
  position: absolute; top: 10px; right: 14px;
  background: rgba(255,255,255,0.06); border: none;
  color: #8b8baa; font-size: 20px; cursor: pointer;
  line-height: 1; padding: 4px 10px; border-radius: 6px;
  z-index: 2; transition: 0.2s;
}
.rc-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

.rc-copy-btn {
  padding: 9px 22px; border-radius: 8px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all 0.25s; border: 1px solid transparent;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg,#7c3aed,#a78bfa);
  color: #fff; border-color: rgba(167,139,250,0.3);
}
.rc-copy-btn:hover {
  transform: translateY(-1px); box-shadow: 0 4px 15px rgba(124,58,237,0.3);
}
.rc-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid rgba(139,92,246,0.1);
  position: relative;
}
.rc-avatar { font-size: 28px; }
.rc-name { font-size: 13px; font-weight: 700; color: #e0e0f0; }
.rc-status { font-size: 10px; color: #4ade80; }
.rc-body {
  padding: 16px 20px; min-height: 120px; max-height: 260px;
  overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
}
.rc-msg { display: flex; }
.rc-bot { justify-content: flex-start; }
.rc-user { justify-content: flex-end; }
.rc-bubble {
  max-width: 80%; padding: 10px 14px; border-radius: 12px;
  font-size: 13px; line-height: 1.5; word-break: break-word;
}
.rc-bot .rc-bubble {
  background: rgba(139,92,246,0.12); color: #c8c8e0;
  border-bottom-left-radius: 4px;
}
.rc-user .rc-bubble {
  background: rgba(139,92,246,0.25); color: #e0e0f0;
  border-bottom-right-radius: 4px;
}
.rc-input-row {
  display: flex; gap: 8px; padding: 12px 20px 16px;
  border-top: 1px solid rgba(139,92,246,0.1);
}
.rc-input-row input {
  flex: 1; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(139,92,246,0.2);
  background: rgba(139,92,246,0.06); color: #e0e0f0; font-size: 13px; outline: none;
}
.rc-input-row input::placeholder { color: #6b6b8a; }
.rc-input-row input:focus { border-color: rgba(139,92,246,0.5); }
.rc-input-row button {
  padding: 10px 20px; border-radius: 8px; border: none;
  background: linear-gradient(135deg,#7c3aed,#a78bfa); color: #fff;
  font-size: 13px; font-weight: 700; cursor: pointer; transition: 0.2s;
}
.rc-input-row button:hover { opacity: 0.85; }
.rc-close {
  position: absolute; top: 10px; right: 14px;
  background: rgba(255,255,255,0.06); border: none;
  color: #8b8baa; font-size: 20px; cursor: pointer;
  line-height: 1; padding: 4px 8px; border-radius: 6px;
  z-index: 2; transition: 0.2s;
}
.rc-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
