/* ================================================================
   absync — Premium Landing Page Styles
   ================================================================ */

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

/* ── Variables ── */
:root {
  --black:       #050505;
  --dark:        #0a0a0a;
  --dark-2:      #111827;
  --white:       #F9FAFB;
  --white-dim:   rgba(249,250,251,0.55);
  --blue:        #3B82F6;
  --cyan:        #22D3EE;
  --glass:       rgba(255,255,255,0.03);
  --glass-b:     rgba(255,255,255,0.07);
  --font-h:      'Space Grotesk', sans-serif;
  --font-b:      'Inter', sans-serif;
}

/* ── Base ── */
html { scroll-behavior: auto; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-b);
  overflow-x: hidden;
  cursor: none;
}

button { cursor: none; }

/* ── Antigravity-style floating gradient blobs (lava-lamp background) ── */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  mix-blend-mode: screen;
  will-change: transform;
}
.blob-1 {
  width: 560px; height: 560px;
  top: -140px; left: -120px;
  background: radial-gradient(circle at 35% 35%, var(--cyan), transparent 68%);
  opacity: .38;
  animation: blobDrift1 26s ease-in-out infinite;
}
.blob-2 {
  width: 640px; height: 640px;
  top: 18%; right: -180px;
  background: radial-gradient(circle at 35% 35%, var(--blue), transparent 68%);
  opacity: .34;
  animation: blobDrift2 34s ease-in-out infinite;
}
.blob-3 {
  width: 520px; height: 520px;
  bottom: 6%; left: 8%;
  background: radial-gradient(circle at 35% 35%, #8B5CF6, transparent 68%);
  opacity: .28;
  animation: blobDrift3 30s ease-in-out infinite;
}
.blob-4 {
  width: 460px; height: 460px;
  top: 48%; left: 46%;
  background: radial-gradient(circle at 35% 35%, #EC4899, transparent 68%);
  opacity: .18;
  animation: blobDrift4 38s ease-in-out infinite;
}
.blob-5 {
  width: 500px; height: 500px;
  bottom: -160px; right: 14%;
  background: radial-gradient(circle at 35% 35%, var(--cyan), transparent 68%);
  opacity: .26;
  animation: blobDrift5 28s ease-in-out infinite;
}

@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(160px, 90px) scale(1.18); }
}
@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1.05); }
  50%      { transform: translate(-130px, 120px) scale(1); }
}
@keyframes blobDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(120px, -100px) scale(1.2); }
}
@keyframes blobDrift4 {
  0%, 100% { transform: translate(0, 0) scale(1.1); }
  50%      { transform: translate(-150px, -70px) scale(.92); }
}
@keyframes blobDrift5 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-90px, -130px) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ── Utilities ── */
.max-w { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--cyan);
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(36px, 4.5vw, 72px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--white-dim);
  line-height: 1.75;
}

.gradient-text {
  background: linear-gradient(135deg, var(--white) 0%, rgba(255,255,255,0.75) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reveal helpers — initial states set by GSAP, not CSS */
.reveal       {}
.reveal-right {}

/* ── Custom Cursor ── */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s;
  mix-blend-mode: screen;
}
.cursor-follower {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(34,211,238,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, border-color .3s;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: backdrop-filter .4s, background .4s, border-color .4s;
}
nav.scrolled {
  backdrop-filter: blur(20px);
  background: rgba(5,5,5,0.82);
  border-bottom: 1px solid var(--glass-b);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-h);
  font-size: 22px; font-weight: 700;
  letter-spacing: -.5px;
  color: var(--white);
  text-decoration: none;
}
.nav-logo .logo-mark { width: 48px; height: 48px; }
.logo-mark { display: block; flex-shrink: 0; }
.logo-text span { color: var(--cyan); }

.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color .3s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta { display: flex; gap: 12px; }

/* ── WhatsApp flotante ── */
.wa-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 100px;
  padding: 14px 20px 14px 16px;
  text-decoration: none;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(37,211,102,.35);
  transition: transform .3s, box-shadow .3s, padding .3s;
  overflow: hidden;
}
.wa-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(37,211,102,.5);
}
.wa-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.wa-label {
  white-space: nowrap;
}

/* ── Language toggle ── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--glass-b);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  transition: border-color .3s;
}
.lang-toggle:hover { border-color: rgba(255,255,255,.2); }
.lang-opt  { color: rgba(255,255,255,.28); transition: color .3s; }
.lang-opt.active { color: var(--cyan); }
.lang-sep  { color: rgba(255,255,255,.15); }

.btn-ghost {
  background: none;
  border: 1px solid var(--glass-b);
  color: var(--white-dim);
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-b);
  transition: border-color .3s, color .3s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); color: var(--white); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--black);
  border: none;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  font-family: var(--font-b);
  position: relative; overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0; transition: opacity .3s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(34,211,238,.2); }

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 48px 100px;
}

#particle-canvas {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}

#dot-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}


.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,.1) 0%, transparent 70%);
  top: -250px; left: 50%;
  transform: translateX(-50%);
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,211,238,.07) 0%, transparent 70%);
  bottom: -100px; left: 25%;
}

.hero-badge {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 44px;
  backdrop-filter: blur(12px);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: dotpulse 2s infinite;
}
@keyframes dotpulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.75); }
}

.hero-title {
  position: relative; z-index: 2;
  font-family: var(--font-h);
  font-size: clamp(40px, 9vw, 128px);
  font-weight: 700;
  letter-spacing: -4px;
  line-height: 1.0;
  margin-bottom: 30px;
}
.hero-title-line { display: block; overflow: hidden; }
.hero-title-line span { display: block; }

.hero-subtitle {
  position: relative; z-index: 2;
  font-size: 18px;
  color: var(--white-dim);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 52px;
}

.hero-cta {
  position: relative; z-index: 2;
  display: flex; gap: 16px; align-items: center;
}

.btn-hero-primary {
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px; font-weight: 600;
  font-family: var(--font-b);
  transition: transform .3s, box-shadow .3s;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(255,255,255,.14);
}

.btn-hero-secondary {
  display: flex; align-items: center; gap: 10px;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--glass-b);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px; font-weight: 500;
  font-family: var(--font-b);
  backdrop-filter: blur(10px);
  transition: border-color .3s, transform .3s;
}
.btn-hero-secondary:hover {
  border-color: rgba(255,255,255,.25);
  transform: translateY(-2px);
}


.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.3);
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: scrollpulse 2s infinite;
  transform-origin: top;
}
@keyframes scrollpulse {
  0%   { transform: scaleY(0); opacity: 1; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ── Marquee ── */
.marquee-section {
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid var(--glass-b);
  border-bottom: 1px solid var(--glass-b);
  background: rgba(5,5,5,0.4);
  backdrop-filter: blur(8px);
}
.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 24s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-h);
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.28);
  letter-spacing: 1px;
  display: flex; align-items: center; gap: 20px;
  flex-shrink: 0;
}
.marquee-item::after { content: '✦'; color: var(--cyan); font-size: 9px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── AI Visual ── */
#ai-visual {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: transparent;
}

.aiv-bg-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.07) 0%, rgba(59,130,246,.04) 45%, transparent 70%);
  top: 50%; right: 5%;
  transform: translateY(-50%);
  filter: blur(50px);
  pointer-events: none;
}

/* 2-column layout */
.aiv-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left column */
.aiv-left {}

.aiv-desc {
  font-size: 17px;
  color: var(--white-dim);
  line-height: 1.75;
  margin-bottom: 52px;
  max-width: 420px;
}

.aiv-metrics {
  display: flex;
  gap: 40px;
}

.aiv-metric {}

.aiv-metric-val {
  font-family: var(--font-h);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.aiv-metric-lbl {
  font-size: 13px;
  color: var(--white-dim);
  letter-spacing: .3px;
}

/* Right column */
.aiv-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.ai-visual-container {
  position: relative;
  width: 460px; height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-core {
  position: relative;
  width: 300px; height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ai-ring-1 { inset: -40px;  border: 1px solid rgba(34,211,238,.14); animation: spin 20s linear infinite; }
.ai-ring-2 { inset: -78px;  border: 1px solid rgba(59,130,246,.09); animation: spin 32s linear infinite reverse; }
.ai-ring-3 { inset: -122px; border: 1px solid rgba(34,211,238,.05); animation: spin 44s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.ai-core-inner {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.20) 0%, rgba(59,130,246,.12) 45%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
  position: relative; z-index: 2;
}
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-14px) scale(1.02); }
}

.ai-svg { width: 190px; height: 190px; }

/* Floating badges */
.aiv-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(14px);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
  letter-spacing: .3px;
}

.aiv-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34,211,238,.6);
}

.aiv-badge-1 { top: 6%;   left: 0%;   animation: badgefloat 5s ease-in-out infinite; }
.aiv-badge-2 { top: 18%;  right: -4%; animation: badgefloat 6s ease-in-out infinite .8s; }
.aiv-badge-3 { bottom: 22%; left: -4%; animation: badgefloat 5.5s ease-in-out infinite 1.6s; }
.aiv-badge-4 { bottom: 8%; right: 0%;  animation: badgefloat 7s ease-in-out infinite .4s; }

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

/* ── Services ── */
#services {
  padding: 120px 0;
  background: transparent;
}
#services .max-w { padding: 0 48px; }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
  gap: 40px;
}
.services-header .section-subtitle { max-width: 380px; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.service-card {
  background: var(--black);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  transition: background .4s;
}
.service-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,.05), transparent);
  opacity: 0; transition: opacity .4s;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover .service-num { color: var(--cyan); }
.service-card:hover .service-arrow {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: rotate(45deg);
}

.service-num {
  font-family: var(--font-h);
  font-size: 12px; letter-spacing: 2.5px;
  color: rgba(255,255,255,.18);
  margin-bottom: 44px;
  transition: color .4s;
}

.service-icon {
  width: 48px; height: 48px;
  color: var(--cyan);
  margin-bottom: 24px;
}

.service-name {
  font-family: var(--font-h);
  font-size: 26px; font-weight: 600;
  letter-spacing: -.4px;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.75;
  max-width: 340px;
}

.service-arrow {
  position: absolute;
  right: 48px; bottom: 48px;
  width: 40px; height: 40px;
  border: 1px solid var(--glass-b);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white-dim);
  transition: border-color .3s, color .3s, transform .4s;
}

/* ── Showcase ── */
#showcase {
  padding: 120px 0;
  background: transparent;
}
#showcase .max-w { padding: 0 48px; }

.showcase-header { text-align: center; margin-bottom: 72px; }
.showcase-header .section-label { justify-content: center; }

.showcase-filter {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}

.filter-btn {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  color: var(--white-dim);
  padding: 10px 26px;
  border-radius: 100px;
  font-size: 13px;
  font-family: var(--font-b);
  backdrop-filter: blur(10px);
  transition: all .3s;
}
.filter-btn.active,
.filter-btn:hover {
  background: rgba(34,211,238,.08);
  border-color: rgba(34,211,238,.4);
  color: var(--cyan);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

/* Cards */
.project-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--glass-b);
  background: var(--dark);
  transition: transform .5s cubic-bezier(.4,0,.2,1), border-color .4s, box-shadow .4s;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34,211,238,.28);
  box-shadow:
    0 32px 80px rgba(0,0,0,.55),
    0 0 0 1px rgba(34,211,238,.08),
    inset 0 1px 0 rgba(255,255,255,.04);
}
/* Gradient border glow */
.project-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 18px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, transparent, rgba(34,211,238,.35), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
  pointer-events: none; z-index: 3;
}
.project-card:hover::before { opacity: 1; }

.card-large  { grid-column: span 7; height: 500px; }
.card-medium { grid-column: span 5; height: 500px; }
.card-wide   { grid-column: span 8; height: 320px; }
.card-small  { grid-column: span 4; height: 320px; }

.project-visual {
  position: absolute; inset: 0;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .8s cubic-bezier(.25, 1, .5, 1), opacity .5s ease;
  opacity: 0.75;
}
.project-card:hover .portfolio-img {
  transform: scale(1.05);
  opacity: 0.95;
}

/* Always-visible info bar */
.project-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px 26px;
  background: linear-gradient(to top, rgba(5,5,5,.92) 0%, transparent 100%);
  z-index: 2;
}

/* Hover reveal glass panel */
.project-glass {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 28px 24px;
  background: linear-gradient(to top, rgba(5,5,5,.96) 0%, rgba(5,5,5,.7) 60%, transparent 100%);
  backdrop-filter: blur(4px);
  transform: translateY(18px);
  opacity: 0;
  transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .4s;
  z-index: 3;
}
.project-card:hover .project-glass { transform: translateY(0); opacity: 1; }
.project-card:hover .project-info   { opacity: 0; }

.project-tag {
  display: inline-block;
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.2);
  color: var(--cyan);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.project-name {
  font-family: var(--font-h);
  font-size: 20px; font-weight: 600;
  letter-spacing: -.3px;
}

.project-desc {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-top: 8px;
}

/* ── Project Visuals ── */
.pv-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}
.glow-blue { background: radial-gradient(circle, rgba(59,130,246,.18) 0%, transparent 70%); top: 20%; left: 20%; }
.glow-cyan { background: radial-gradient(circle, rgba(34,211,238,.14) 0%, transparent 70%); top: 20%; left: 20%; }

/* Website visual */
.pv-website {
  background: linear-gradient(135deg, #080816 0%, #0c1520 100%);
}
.pv-browser {
  position: absolute; inset: 20px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; overflow: hidden;
}
.pv-topbar {
  height: 38px;
  background: rgba(255,255,255,.025);
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center;
  padding: 0 14px; gap: 7px;
}
.pv-dot { width: 9px; height: 9px; border-radius: 50%; display: block; }
.pv-body { display: flex; height: calc(100% - 38px); }
.pv-sidebar {
  width: 160px;
  border-right: 1px solid rgba(255,255,255,.04);
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.pv-sidebar-item {
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
}
.pv-sidebar-item.active { background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.18); }
.pv-content { flex: 1; padding: 20px; }
.pv-line {
  height: 6px; border-radius: 4px;
  background: rgba(255,255,255,.05);
  margin-bottom: 8px;
}
.pv-card-sm {
  height: 70px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 6px;
}
.glow-card { background: rgba(34,211,238,.05); border-color: rgba(34,211,238,.12); }

/* Dashboard visual */
.pv-dashboard {
  background: linear-gradient(135deg, #050510 0%, #09091c 100%);
  padding: 18px;
}
.dash-grid {
  position: absolute; inset: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
}
.dash-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 14px;
}
.dash-full { grid-column: span 2; }
.dash-num {
  font-family: var(--font-h);
  font-size: 22px; font-weight: 700;
  color: var(--cyan); opacity: .75;
}
.dash-num.blue { color: var(--blue); }
.dash-lbl { font-size: 10px; color: rgba(255,255,255,.3); margin-top: 3px; }
.chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 48px; margin-top: 8px; }
.bar {
  flex: 1;
  background: linear-gradient(to top, rgba(34,211,238,.35), rgba(59,130,246,.18));
  border-radius: 3px 3px 0 0;
}

/* UI Concept visual */
.pv-ui {
  background: linear-gradient(135deg, #040408 0%, #080814 100%);
  display: flex; align-items: center; justify-content: center;
}
.ui-cards-row {
  position: absolute; inset: 24px;
  display: flex; align-items: center; gap: 12px;
}
.ui-comp-card {
  flex: 1; height: 100%;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.active-card {
  background: rgba(34,211,238,.04);
  border-color: rgba(34,211,238,.18);
}
.ui-comp-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
}
.blue-icon   { background: linear-gradient(135deg, rgba(59,130,246,.3), rgba(59,130,246,.12)); }
.cyan-icon   { background: linear-gradient(135deg, rgba(34,211,238,.35), rgba(34,211,238,.12)); }
.purple-icon { background: linear-gradient(135deg, rgba(139,92,246,.3), rgba(139,92,246,.12)); }
.ui-comp-lines { display: flex; flex-direction: column; gap: 8px; }
.ui-comp-line {
  height: 6px; border-radius: 4px;
  background: rgba(255,255,255,.06);
}
.cyan-line { background: rgba(34,211,238,.2); }

/* Animation visual */
.pv-anim {
  background: linear-gradient(135deg, #060410 0%, #0a061a 100%);
  display: flex; align-items: center; justify-content: center;
}
.pulse-rings {
  position: relative;
  width: 140px; height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(34,211,238,.2);
}
.pr-1 { inset: 0;   animation: spinr 8s linear infinite; }
.pr-2 { inset: 20px; animation: spinr 5s linear infinite reverse; border-color: rgba(59,130,246,.25); }
.pr-3 { inset: 40px; animation: spinr 12s linear infinite; border-color: rgba(34,211,238,.15); }
@keyframes spinr { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.pulse-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.8), rgba(34,211,238,.3));
  box-shadow: 0 0 20px rgba(34,211,238,.4);
  animation: dotglow 2s ease-in-out infinite;
}
@keyframes dotglow {
  0%,100% { box-shadow: 0 0 20px rgba(34,211,238,.4); }
  50%      { box-shadow: 0 0 40px rgba(34,211,238,.7); }
}

/* ── Process ── */
#process {
  padding: 120px 0;
  background: transparent;
}
#process .max-w { padding: 0 48px; }

.process-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.process-steps { display: flex; flex-direction: column; }

.process-step {
  display: flex; gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--glass-b);
  transition: padding-left .3s;
  position: relative;
}
.process-step:first-child { padding-top: 0; }
.process-step::before {
  content: '';
  position: absolute; left: -20px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  opacity: 0; transition: opacity .4s;
}
.process-step:hover::before { opacity: 1; }

.step-num {
  font-family: var(--font-h);
  font-size: 12px; letter-spacing: 2.5px;
  color: rgba(255,255,255,.18);
  padding-top: 3px; flex-shrink: 0; min-width: 28px;
}
.step-title {
  font-family: var(--font-h);
  font-size: 21px; font-weight: 600;
  letter-spacing: -.3px;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.75;
}

.process-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.pv-tool {
  width: 380px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--glass-b);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.pv-tool-bar {
  height: 46px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center;
  padding: 0 18px; gap: 7px;
}
.pv-tool-badge {
  width: 72px; height: 22px;
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.18);
  border-radius: 6px;
}
.pv-tool-canvas { padding: 22px; }
.pv-canvas-card {
  height: 56px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
}
.accent-card   { background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(34,211,238,.07)); border-color: rgba(59,130,246,.2); }
.accent-card-b { background: linear-gradient(135deg, rgba(34,211,238,.1), rgba(59,130,246,.05)); border-color: rgba(34,211,238,.15); }
.pv-props { display: flex; flex-direction: column; gap: 10px; }
.pv-prop-row { display: flex; justify-content: space-between; align-items: center; }
.pv-prop-key { height: 6px; border-radius: 4px; background: rgba(255,255,255,.06); }
.pv-prop-val { width: 44px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.06); }
.cyan-val { background: rgba(34,211,238,.2); }
.blue-val { background: rgba(59,130,246,.2); }

/* ── Stats ── */
#stats {
  padding: 0;
  background: transparent;
  border-top: 1px solid var(--glass-b);
  border-bottom: 1px solid var(--glass-b);
}
#stats .max-w { padding: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 72px 48px;
  text-align: center;
  border-right: 1px solid var(--glass-b);
  transition: background .4s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(34,211,238,.02); }

.stat-number {
  font-family: var(--font-h);
  font-size: 64px; font-weight: 700;
  letter-spacing: -3px; line-height: 1;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.stat-label { font-size: 14px; color: var(--white-dim); letter-spacing: .4px; }

/* ── CTA ── */
#cta {
  padding: 160px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.cta-glow {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.05) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta-title {
  font-family: var(--font-h);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -3px; line-height: 1.05;
  margin-bottom: 28px;
}
.cta-subtitle { font-size: 18px; color: var(--white-dim); margin-bottom: 52px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; }
.btn-cta-main {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--black);
  border: none;
  padding: 18px 40px;
  border-radius: 14px;
  font-size: 16px; font-weight: 700;
  font-family: var(--font-b);
  position: relative; overflow: hidden;
  transition: transform .4s, box-shadow .4s;
}
.btn-cta-main::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.14);
  opacity: 0; transition: opacity .3s;
}
.btn-cta-main:hover::after { opacity: 1; }
.btn-cta-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(34,211,238,.28);
}

/* ── Footer ── */
footer {
  background: transparent;
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-b);
}
footer .max-w { padding: 0 48px; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 72px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-size: 24px; font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.footer-logo .logo-mark { width: 56px; height: 56px; }
.footer-tagline {
  font-size: 14px; color: var(--white-dim);
  line-height: 1.75; max-width: 260px;
  margin-bottom: 28px;
}
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  border: 1px solid var(--glass-b);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white-dim);
  text-decoration: none;
  transition: border-color .3s, color .3s;
}
.social-link:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-col-title {
  font-family: var(--font-h);
  font-size: 14px; font-weight: 600;
  margin-bottom: 22px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-links a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color .3s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  border-top: 1px solid var(--glass-b);
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.28); }
.footer-copy span { color: var(--cyan); }

/* ================================================================
   RESPONSIVE — Mobile & Tablet
   ================================================================ */

/* ── Hamburger (hidden on desktop) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 102;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s, opacity .35s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu overlay ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,.97);
  backdrop-filter: blur(20px);
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-links a {
  font-family: var(--font-h);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--white-dim);
  text-decoration: none;
  transition: color .3s;
}
.mobile-links a:hover { color: var(--cyan); }

.mobile-menu-cta {
  padding: 14px 40px;
  font-size: 15px;
  border-radius: 12px;
}

/* ================================================================
   Tablet — max 1024px
   ================================================================ */
@media (max-width: 1024px) {
  .max-w { padding: 0 32px; }

  /* Nav */
  .nav-links { gap: 24px; }
  .btn-ghost { display: none; }
  nav { padding: 20px 32px; }

  /* AI Visual */
  .aiv-layout { gap: 48px; }
  .ai-visual-container { width: 380px; height: 380px; }
  .ai-core { width: 240px; height: 240px; }
  .ai-core-inner { width: 170px; height: 170px; }
  .ai-svg { width: 150px; height: 150px; }
  .aiv-right { min-height: 420px; }
  .aiv-badge-2 { right: 0; }
  .aiv-badge-3 { left: 0; }

  /* Services */
  .services-header { flex-direction: column; align-items: flex-start; }
  #services .max-w, #showcase .max-w, #process .max-w { padding: 0 32px; }

  /* Portfolio */
  .card-large  { grid-column: span 8; height: 420px; }
  .card-medium { grid-column: span 4; height: 420px; }
  .card-wide   { grid-column: span 7; height: 280px; }
  .card-small  { grid-column: span 5; height: 280px; }

  /* Process */
  .pv-tool { width: 320px; }

  /* Stats */
  .stat-number { font-size: 48px; }
  .stat-item { padding: 56px 24px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
}

/* ================================================================
   Mobile — max 768px
   ================================================================ */
@media (max-width: 768px) {
  /* Disable custom cursor on touch */
  body { cursor: auto; }
  button { cursor: pointer; }
  .cursor, .cursor-follower { display: none; }

  .max-w { padding: 0 20px; }

  /* ── Blobs: lighter blur + smaller for mobile performance ── */
  .blob { filter: blur(70px); }
  .blob-1 { width: 340px; height: 340px; }
  .blob-2 { width: 380px; height: 380px; }
  .blob-3 { width: 320px; height: 320px; }
  .blob-4 { display: none; }
  .blob-5 { width: 300px; height: 300px; }

  /* ── Nav ── */
  nav { padding: 18px 20px; }
  .nav-logo .logo-mark { width: 40px; height: 40px; }
  .nav-logo { font-size: 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .lang-toggle {
    display: flex;
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 200;
    background: rgba(5,5,5,.8);
    backdrop-filter: blur(12px);
    border-color: var(--glass-b);
  }

  /* ── Hero ── */
  #hero { padding: 120px 20px 80px; }
  .hero-title { letter-spacing: -2px; margin-bottom: 20px; }
  .hero-subtitle { font-size: 16px; margin-bottom: 36px; }
  .hero-cta { flex-direction: column; gap: 12px; width: 100%; }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
  }
  .hero-badge { font-size: 10px; padding: 6px 14px; margin-bottom: 32px; }

  /* ── Marquee ── */
  .marquee-item { font-size: 12px; }

  /* ── AI Visual ── */
  #ai-visual { padding: 72px 0; }
  .aiv-layout {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }
  .aiv-left .section-label { justify-content: center; }
  .aiv-desc { font-size: 15px; margin-bottom: 36px; max-width: 100%; }
  .aiv-metrics { justify-content: center; gap: 24px; }
  .aiv-metric-val { font-size: 32px; }
  .aiv-right { min-height: 380px; }
  .ai-visual-container { width: 300px; height: 300px; }
  .ai-core { width: 200px; height: 200px; }
  .ai-core-inner { width: 140px; height: 140px; }
  .ai-svg { width: 120px; height: 120px; }
  .ai-ring-3 { display: none; }
  .aiv-badge { font-size: 11px; padding: 7px 14px; }
  .aiv-badge-1 { top: 2%;  left: 0; }
  .aiv-badge-2 { top: 2%;  right: 0; }
  .aiv-badge-3 { bottom: 2%; left: 0; }
  .aiv-badge-4 { bottom: 2%; right: 0; }

  /* ── Services ── */
  #services { padding: 72px 0; }
  #services .max-w { padding: 0 20px; }
  .services-header { flex-direction: column; margin-bottom: 40px; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 24px 56px; }
  .service-num { margin-bottom: 24px; }
  .service-name { font-size: 22px; }
  .service-desc { font-size: 14px; max-width: 100%; }

  /* ── Showcase ── */
  #showcase { padding: 72px 0; }
  #showcase .max-w { padding: 0 20px; }
  .showcase-filter { flex-wrap: wrap; gap: 8px; }
  .filter-btn { padding: 8px 16px; font-size: 12px; }
  .projects-grid { grid-template-columns: 1fr; gap: 14px; }
  .card-large, .card-medium, .card-wide, .card-small {
    grid-column: span 1;
    height: 280px;
  }

  /* ── Process ── */
  #process { padding: 72px 0; }
  #process .max-w { padding: 0 20px; }
  .process-container { grid-template-columns: 1fr; gap: 48px; }
  .process-visual { display: none; }
  .process-step { padding: 28px 0; gap: 20px; }
  .step-title { font-size: 18px; }
  .step-desc { font-size: 14px; }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item {
    padding: 40px 20px;
    border-right: 1px solid var(--glass-b);
    border-bottom: 1px solid var(--glass-b);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-bottom: none; }
  .stat-item:last-child   { border-right: none; border-bottom: none; }
  .stat-number { font-size: 44px; letter-spacing: -2px; }

  /* ── CTA ── */
  #cta { padding: 80px 20px; }
  .cta-title { letter-spacing: -2px; }
  .cta-subtitle { font-size: 16px; margin-bottom: 36px; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .btn-cta-main { width: 100%; justify-content: center; padding: 16px 32px; }
  .btn-hero-secondary[style] { width: 100%; justify-content: center; padding: 16px 32px !important; font-size: 15px !important; }

  /* ── Footer ── */
  footer { padding: 56px 0 32px; }
  footer .max-w { padding: 0 20px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 40px;
  }
  .footer-brand { grid-column: span 1; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* ── WhatsApp ── */
  .wa-btn { bottom: 20px; right: 20px; padding: 12px; border-radius: 50%; }
  .wa-label { display: none; }
  .wa-icon { width: 24px; height: 24px; }
}

/* ================================================================
   Small phones — max 480px
   ================================================================ */
@media (max-width: 480px) {
  .max-w { padding: 0 16px; }

  /* Hero */
  #hero { padding: 110px 16px 64px; }
  .hero-title { font-size: clamp(32px, 10.5vw, 56px); letter-spacing: -1.5px; }
  .hero-subtitle { font-size: 15px; }
  .hero-subtitle br { display: none; }      /* let it wrap naturally */
  .hero-badge { font-size: 9px; letter-spacing: .5px; }

  /* Section headings */
  .section-title { letter-spacing: -1px; }
  .section-subtitle br { display: none; }
  .services-subtitle br { display: none; }

  /* AI visual */
  .ai-visual-container { width: 240px; height: 240px; }
  .ai-core { width: 160px; height: 160px; }
  .ai-core-inner { width: 110px; height: 110px; }
  .ai-svg { width: 96px; height: 96px; }
  .aiv-metrics { flex-wrap: wrap; gap: 18px 24px; }
  .aiv-metric-val { font-size: 28px; }

  /* Cards a touch shorter */
  .card-large, .card-medium, .card-wide, .card-small { height: 240px; }

  /* Stats: single column for readability */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--glass-b);
  }
  .stat-item:last-child { border-bottom: none; }
  .stat-number { font-size: 40px; }

  /* Footer logo */
  .footer-logo .logo-mark { width: 46px; height: 46px; }
  .footer-logo { font-size: 22px; }

  /* CTA */
  #cta { padding: 64px 16px; }

  /* Portfolio page */
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid .project-card { height: 300px; }
  #hero.pf-hero { padding: 130px 16px 50px; }
}

/* ================================================================
   Portfolio page (portafolio.html)
   ================================================================ */
/* Button classes reused as anchors */
a.btn-primary, a.btn-cta-main, a.btn-hero-secondary, a.mobile-menu-cta { text-decoration: none; }
a.btn-primary { display: inline-flex; align-items: center; }

#hero.pf-hero {
  min-height: auto;
  padding: 190px 0 80px;
}
.pf-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color .3s, gap .3s;
}
.pf-back:hover { color: var(--cyan); gap: 12px; }

.portfolio-section { position: relative; padding: 20px 0 130px; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 18px;
  margin-top: 56px;
}
.portfolio-grid .project-card { height: 360px; }

.pf-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-mono {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 104px;
  letter-spacing: -5px;
  line-height: 1;
  color: rgba(255,255,255,.07);
  user-select: none;
  transition: transform .6s cubic-bezier(.25,1,.5,1), color .4s;
}
.project-card:hover .pf-mono { transform: scale(1.08); color: rgba(34,211,238,.14); }

/* Category gradient backgrounds */
.pf-landing  { background: radial-gradient(120% 120% at 28% 18%, rgba(34,211,238,.20), transparent 58%), linear-gradient(140deg, #081521 0%, #0a0f1b 100%); }
.pf-chatbot  { background: radial-gradient(120% 120% at 28% 18%, rgba(59,130,246,.22), transparent 58%), linear-gradient(140deg, #0a1020 0%, #0a0d1b 100%); }
.pf-mobile   { background: radial-gradient(120% 120% at 28% 18%, rgba(139,92,246,.20), transparent 58%), linear-gradient(140deg, #110c20 0%, #0b0a18 100%); }
.pf-custom   { background: radial-gradient(120% 120% at 28% 18%, rgba(236,72,153,.16), transparent 58%), linear-gradient(140deg, #1a0c18 0%, #110a14 100%); }
.pf-consulting { background: radial-gradient(120% 120% at 28% 18%, rgba(45,212,191,.18), transparent 58%), linear-gradient(140deg, #08191a 0%, #0a1314 100%); }
