/* ==========================================================
   YOUSEF ELGENDY — PORTFOLIO
   Cleaned + mobile-friendly version
   Breakpoints: 1024px (tablet) · 768px (mobile) · 600px · 400px
========================================================== */

/* ===========================
   VARIABLES & RESET
=========================== */
:root {
  --bg: #050505;
  --panel: #111111;
  --card: #181818;
  --neon: #C6FF00;
  --neon-electric: #9DFF00;
  --chrome: #C0C0C0;
  --white: #F5F5F0;
  --gray: #A1A1AA;
  --dark-gray: #2a2a2a;
  --glow: rgba(198, 255, 0, 0.18);
  --glow-strong: rgba(198, 255, 0, 0.35);
  --chrome-grad: linear-gradient(135deg, #e8e8e8 0%, #a0a0a0 30%, #d0d0d0 55%, #888 80%, #c0c0c0 100%);
  --font-main: 'Sora', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --radius: 18px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;            /* so the fixed navbar doesn't cover section titles */
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-main);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; object-fit: cover; }
button { cursor: none; border: none; background: none; font-family: inherit; -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   CUSTOM CURSOR (desktop only)
=========================== */
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--neon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
  box-shadow: 0 0 10px var(--neon), 0 0 20px var(--neon);
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(198, 255, 0, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
}

/* on phones / tablets: no custom cursor, normal cursor behaviour */
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  body, button { cursor: auto; }
}

/* ===========================
   LOADER
=========================== */
.loader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.7s, visibility 0.7s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198, 255, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 255, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 4s linear infinite;
}
@keyframes gridMove {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}
.loader-inner { position: relative; z-index: 2; text-align: center; padding: 0 16px; }
.loader-logo {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 6vw, 4rem);
  color: var(--neon);
  letter-spacing: 0.2em;
  text-shadow: 0 0 30px var(--neon), 0 0 60px var(--neon-electric);
  animation: logoPulse 1.5s ease-in-out infinite alternate;
}
@keyframes logoPulse {
  from { text-shadow: 0 0 20px var(--neon); }
  to   { text-shadow: 0 0 50px var(--neon), 0 0 100px var(--neon-electric); }
}
.loader-bar {
  width: min(300px, 70vw);
  height: 2px;
  background: var(--dark-gray);
  margin: 24px auto 16px;
  border-radius: 2px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: var(--neon);
  border-radius: 2px;
  animation: fill 2s ease-out forwards;
  box-shadow: 0 0 12px var(--neon);
}
@keyframes fill { from { width: 0; } to { width: 100%; } }
.loader-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.15em;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(17, 17, 17, 0.65);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(198, 255, 0, 0.12);
  border-radius: 100px;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(11, 11, 11, 0.9);
  box-shadow: 0 0 24px rgba(198, 255, 0, 0.1);
}
.nav-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--neon); }
.nav-actions { display: flex; gap: 16px; }
.nav-action {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-action:hover { color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: -8px -10px -8px 0;          /* bigger tap area without growing the navbar */
  padding: 0 11px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neon);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 990;
  background: rgba(5, 5, 5, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 90px 24px 40px;
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.4s;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-link {
  font-size: clamp(1.6rem, 8vw, 2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--neon); }

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198, 255, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 255, 0, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridMove 6s linear infinite;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.blob-1 {
  width: 500px; height: 500px;
  background: rgba(198, 255, 0, 0.06);
  top: -100px; right: -100px;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.blob-2 {
  width: 350px; height: 350px;
  background: rgba(157, 255, 0, 0.04);
  bottom: -80px; left: 100px;
  animation: blobFloat 10s ease-in-out infinite alternate-reverse;
}
@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 40px) scale(1.1); }
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(198, 255, 0, 0.08);
  border: 1px solid rgba(198, 255, 0, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--neon);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: 0.5; }
}

.hero-name {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--neon);
  text-shadow: 0 0 40px rgba(198, 255, 0, 0.4), 0 0 80px rgba(198, 255, 0, 0.15);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--chrome);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--neon);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 100px;
  transition: all 0.25s;
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px rgba(198, 255, 0, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(198, 255, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.4);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border: 1.5px solid rgba(198, 255, 0, 0.4);
  color: var(--neon);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
  transition: all 0.25s;
  letter-spacing: 0.04em;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(198, 255, 0, 0.08);
  border-color: var(--neon);
  box-shadow: 0 0 24px rgba(198, 255, 0, 0.15);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--dark-gray);
  color: var(--gray);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 100px;
  transition: all 0.25s;
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gray); color: var(--white); }

.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.8rem; font-weight: 800; color: var(--neon); }
.stat-label {
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stat-divider { width: 1px; height: 40px; background: var(--dark-gray); }

/* Hero right */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 560px;
}
.chrome-shape {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.chrome-orb {
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 35%, #f0f0f0, #888 40%, #3a3a3a 70%, #111);
  box-shadow: inset -20px -20px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(198, 255, 0, 0.1);
  animation: orbSpin 20s linear infinite;
}
@keyframes orbSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.chrome-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid;
  transform: translate(-50%, -50%);
  animation: ringPulse 3s ease-in-out infinite alternate;
}
.ring-1 { width: 320px; height: 320px; border-color: rgba(198, 255, 0, 0.2); }
.ring-2 { width: 380px; height: 380px; border-color: rgba(198, 255, 0, 0.1);  animation-delay: 0.5s; }
.ring-3 { width: 440px; height: 440px; border-color: rgba(198, 255, 0, 0.05); animation-delay: 1s; }
@keyframes ringPulse { from { opacity: 0.4; } to { opacity: 1; } }

.hero-photo { position: absolute; z-index: 2; }
.photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(198, 255, 0, 0.25);
  box-shadow: 0 0 50px rgba(200, 255, 0, 0.235), 0 30px 80px rgba(0, 0, 0, 0.669);
}
.hero-img { width: 260px; height: 340px; object-fit: cover; }
.photo-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(198, 255, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid rgba(198, 255, 0, 0.3);
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  animation: floatAnim 4s ease-in-out infinite alternate;
  z-index: 3;
  letter-spacing: 0.1em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 12px rgba(198, 255, 0, 0.12);
}
.badge-ps    { top: 40px;    left: -30px;  animation-delay: 0s; }
.badge-ai    { top: 140px;   right: -40px; animation-delay: 0.8s; }
.badge-tools { bottom: 80px; left: -50px;  animation-delay: 1.4s; }
.badge-1     { bottom: 20px; right: 150px; animation-delay: 1.4s; }
@keyframes floatAnim { from { transform: translateY(0); } to { transform: translateY(-12px); } }

.float-palette {
  position: absolute;
  top: 20px;
  right: -20px;
  display: flex;
  gap: 5px;
  z-index: 3;
  animation: floatAnim 5s ease-in-out infinite alternate-reverse;
}
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.15); }
.s1 { background: #C6FF00; }
.s2 { background: #111; }
.s3 { background: #C0C0C0; }
.s4 { background: #050505; border-color: rgba(198, 255, 0, 0.4); }

.float-circle-text {
  position: absolute;
  bottom: 20px;
  right: -60px;
  width: 140px; height: 140px;
  z-index: 3;
  animation: spinSlow 12s linear infinite;
}
.circle-svg { width: 100%; height: 100%; }
.circle-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--neon);
  font-size: 1.2rem;
}
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-vertical-text {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  filter: drop-shadow(0 0 8px rgba(198, 255, 0, 0.3));
}

/* ===========================
   MARQUEE
=========================== */
.marquee-wrap {
  overflow: hidden;
  background: rgba(198, 255, 0, 0.05);
  border-top: 1px solid rgba(198, 255, 0, 0.12);
  border-bottom: 1px solid rgba(198, 255, 0, 0.12);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon);
  letter-spacing: 0.18em;
  padding-right: 40px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===========================
   SECTION SHARED
=========================== */
section { padding: 100px 0; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.8;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}

/* ===========================
   ABOUT
=========================== */
.about-card {
  background: var(--card);
  border: 1px solid rgba(198, 255, 0, 0.1);
  border-radius: 28px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
}
.about-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.hello-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--neon);
  line-height: 1;
  text-shadow: 0 0 40px rgba(198, 255, 0, 0.3);
}
.about-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.15em;
  border: 1px solid var(--dark-gray);
  padding: 4px 12px;
  border-radius: 100px;
}
.about-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
.about-bio > p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 36px;
}
.about-bio strong { color: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about-block {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.block-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--neon);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.about-block > p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }
.lang-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.lang-tag {
  background: rgba(198, 255, 0, 0.08);
  border: 1px solid rgba(198, 255, 0, 0.2);
  color: var(--neon);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 100px;
}
.software-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.sw-icon {
  background: rgba(192, 192, 192, 0.08);
  border: 1px solid rgba(192, 192, 192, 0.2);
  color: var(--chrome);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.contact-links { display: flex; flex-direction: column; gap: 6px; }
.clink { font-size: 0.82rem; color: var(--gray); transition: color 0.2s; padding: 3px 0; }
.clink:hover { color: var(--neon); }
.about-avatar { width: 200px; flex-shrink: 0; }
.about-avatar img {
  border-radius: 20px;
  border: 2px solid rgba(198, 255, 0, 0.15);
  box-shadow: 0 0 40px rgba(198, 255, 0, 0.08);
}

/* ===========================
   SERVICES
=========================== */
.services { background: var(--panel); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  border-color: rgba(198, 255, 0, 0.4);
  box-shadow: 0 12px 40px rgba(198, 255, 0, 0.08), 0 0 0 1px rgba(198, 255, 0, 0.12);
}
.service-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  opacity: 0.7;
}
.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }
.service-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--neon);
  transition: width 0.4s;
  box-shadow: 0 0 12px var(--neon);
}
.service-card:hover .service-line { width: 100%; }

/* ===========================
   SHOWCASE (shared)
=========================== */
.showcase { overflow: hidden; }
.showcase-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 60px;
  text-align: center;
}
.showcase-titles { text-align: center; }
.showcase-title-green {
  font-size: clamp(2.1rem, 9vw, 7rem);
  font-weight: 800;
  color: var(--neon);
  text-shadow: 0 0 50px rgba(198, 255, 0, 0.35);
  line-height: 1;
  letter-spacing: -0.03em;
}
.showcase-title-chrome {
  font-size: clamp(1.9rem, 7vw, 5.5rem);
  font-weight: 800;
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.showcase-chrome-shape {
  width: 70px; height: 220px;
  flex-shrink: 0;
  border-radius: 50px;
  background: radial-gradient(ellipse at 30% 25%, #e0e0e0, #999 40%, #444 80%, #1a1a1a);
  box-shadow: inset -8px -8px 16px rgba(0, 0, 0, 0.5), 0 0 30px rgba(198, 255, 0, 0.08);
  transform: rotate(-8deg);
}
.right-shape { transform: rotate(8deg); }

/* Posters (section is commented out in HTML — kept in case you bring it back) */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.poster-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.poster-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(198, 255, 0, 0.25);
  border-color: rgba(198, 255, 0, 0.25);
}
.poster-img-wrap { position: relative; overflow: hidden; aspect-ratio: 3 / 4; }
.poster-img-wrap img { transition: transform 0.5s; }
.poster-card:hover img { transform: scale(1.04); }
.poster-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.7);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.poster-card:hover .poster-overlay { opacity: 1; }
.poster-socials { display: flex; gap: 10px; }
.poster-socials a {
  background: rgba(198, 255, 0, 0.15);
  border: 1px solid rgba(198, 255, 0, 0.3);
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background 0.2s;
}
.poster-socials a:hover { background: rgba(198, 255, 0, 0.3); }
.poster-info { padding: 20px; }
.poster-cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--neon);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.poster-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.poster-info p { font-size: 0.8rem; color: var(--gray); line-height: 1.5; }

/* ===========================
   SOCIAL MEDIA SHOWCASE
   Masonry: every image keeps its own aspect ratio
=========================== */
.showcase-social { background: rgba(5, 5, 5, 0.6); }
.social-heart {
  font-size: clamp(2rem, 6vw, 3rem);
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(198, 255, 0, 0.3));
}
.neon-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  margin-bottom: 48px;
  box-shadow: 0 0 12px var(--neon);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
/* script.js wraps the cards in these columns (card 1 → col 1, card 2 → col 2, card 3 → col 3, card 4 → col 1 ...)
   so the order reads left → right like before, with no empty gaps */
.social-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.social-card {
  display: block;
  width: 100%;
  min-width: 0;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.social-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(198, 255, 0, 0.25);
  border-color: rgba(198, 255, 0, 0.25);
}
.social-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: auto;                  /* no fixed ratio: the image decides */
  min-height: 160px;                   /* placeholder height while lazy images load */
  background: var(--panel);
}
.social-img-wrap img {
  width: 100%;
  height: auto;                        /* keep the original proportions */
  object-fit: contain;
  display: block;
  transition: transform 0.5s;
}
.social-card:hover .social-img-wrap img { transform: scale(1.03); }

.social-info { padding: 20px; }
.social-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.social-type {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 10px;
}
.social-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(198, 255, 0, 0.9);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.08em;
  z-index: 2;
}
.social-icons-row { display: flex; gap: 8px; }
.social-icons-row a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon);
  border: 1px solid rgba(198, 255, 0, 0.35);
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
}
.social-icons-row a:hover {
  color: #050505;
  background: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 18px rgba(198, 255, 0, 0.35);
}

/* ===========================
   BENTO GRID (WORKS) — section commented out in HTML
=========================== */
.works { background: var(--panel); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--dark-gray);
  color: var(--gray);
  font-size: 0.8rem;
  font-family: var(--font-main);
  border-radius: 100px;
  transition: all 0.25s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(198, 255, 0, 0.06);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--card);
  transition: transform 0.3s, box-shadow 0.3s;
}
.bento-card:hover { box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(198, 255, 0, 0.2); }
.bento-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.bento-card:hover img { transform: scale(1.04); }
.bento-large { grid-column: span 4; min-height: 360px; }
.bento-tall  { grid-column: span 2; grid-row: span 2; min-height: 360px; }
.bento-small { grid-column: span 2; min-height: 240px; }
.bento-wide  { grid-column: span 4; min-height: 240px; }
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.4) 50%, transparent 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s;
}
.bento-card:hover .bento-overlay { opacity: 1; }
.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--neon);
  letter-spacing: 0.15em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.bento-overlay h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.bento-overlay p { font-size: 0.8rem; color: var(--gray); margin-bottom: 14px; }
.bento-btn {
  display: inline-flex;
  padding: 8px 18px;
  background: var(--neon);
  color: #000;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 100px;
  width: fit-content;
  transition: transform 0.2s;
}
.bento-btn:hover { transform: scale(1.04); }

/* ===========================
   CASE STUDIES — section commented out in HTML
=========================== */
.cases { overflow: hidden; }
.case-grid { display: flex; flex-direction: column; gap: 42px; }
.case-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  overflow: hidden;
  transition: 0.35s ease;
}
.case-card:hover {
  border-color: rgba(198, 255, 0, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.case-img {
  width: 100%;
  aspect-ratio: 1717 / 916;
  background: #0f0f0f;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: 0.5s ease;
}
.case-card:hover .case-img img { transform: scale(1.04); }
.case-body { padding: 48px; }
.case-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 28px;
}
.case-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.case-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.case-body h3 {
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}
.case-desc {
  max-width: 850px;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 42px;
}
.case-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b0b0b;
  background: var(--neon);
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: 0.3s ease;
}
.case-link:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(198, 255, 0, 0.25); }
.case-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.case-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.case-col p { font-size: 0.92rem; color: var(--gray); line-height: 1.75; }

/* ===========================
   BEFORE / AFTER
=========================== */
.before-after { padding: 120px 0; position: relative; overflow: hidden; }
.ba-subtitle {
  max-width: 620px;
  margin: -30px 0 45px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  line-height: 1.7;
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 45px;
}
.ba-card {
  padding: 12px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(198, 255, 0, 0.22);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}
.ba-slider {
  --position: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;                 /* horizontal drag = slider, vertical drag = scroll page */
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-before-img { z-index: 1; }
.ba-after-img  { z-index: 4; clip-path: inset(0 0 0 var(--position)); }

.ba-line {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--position);
  width: 3px;
  background: #c6ff00;
  z-index: 6;
  transform: translateX(-50%);
  box-shadow: 0 0 18px rgba(198, 255, 0, 0.8);
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  left: var(--position);
  top: 50%;
  z-index: 7;
  width: 54px;
  height: 54px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #c6ff00;
  color: #111;
  font-size: 22px;
  font-weight: 900;
  cursor: ew-resize;
  touch-action: none;
  box-shadow: 0 0 0 8px rgba(198, 255, 0, 0.14), 0 15px 35px rgba(0, 0, 0, 0.45);
}
.ba-label {
  position: absolute;
  top: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
/* BEFORE sits under the AFTER image so it disappears when the slider passes it */
.ba-label-before { left: 18px; color: #111; background: #c6ff00; z-index: 3; }
.ba-label-after  { right: 18px; color: #fff; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.25); z-index: 5; }
.ba-label.is-hidden { opacity: 0; visibility: hidden; }

/* ===========================
   TOOLKIT
=========================== */
.toolkit-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 32px;
  align-items: start;
}
.skills-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.skill-chip {
  padding: 10px 22px;
  border: 1px solid rgba(198, 255, 0, 0.2);
  color: var(--gray);
  font-size: 0.85rem;
  border-radius: 100px;
  transition: all 0.25s;
  cursor: default;
}
.skill-chip:hover {
  color: var(--neon);
  border-color: var(--neon);
  background: rgba(198, 255, 0, 0.06);
  box-shadow: 0 0 16px rgba(198, 255, 0, 0.1);
  transform: translateY(-2px);
}
.tools-card {
  background: var(--card);
  border: 1px solid rgba(198, 255, 0, 0.12);
  border-radius: var(--radius);
  padding: 28px;
}
.tools-card h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--neon);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.tool-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-badge {
  background: rgba(192, 192, 192, 0.08);
  border: 1px solid rgba(192, 192, 192, 0.2);
  color: var(--chrome);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  letter-spacing: 0.05em;
  transition: all 0.25s;
}
.tool-badge:hover {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(198, 255, 0, 0.06);
}

/* ===========================
   PROCESS / TIMELINE
=========================== */
.process { background: var(--panel); }
.timeline { position: relative; padding-left: 60px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--neon), transparent);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
}
.tl-num {
  position: absolute;
  left: -60px;
  top: 2px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--neon);
  letter-spacing: 0.1em;
}
.tl-dot {
  width: 10px; height: 10px;
  background: var(--neon);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--neon);
  position: absolute;
  left: -44px;
  top: 6px;
}
.tl-content h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.tl-content p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; max-width: 500px; }

/* ===========================
   TESTIMONIALS — section commented out in HTML
=========================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.3s;
}
.testi-card:hover { border-color: rgba(198, 255, 0, 0.2); }
.testi-stars { color: var(--neon); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card p { font-size: 0.95rem; color: var(--white); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { font-family: var(--font-mono); font-size: 0.7rem; color: var(--gray); letter-spacing: 0.1em; }

/* ===========================
   CONTACT
=========================== */
.contact { background: var(--panel); text-align: center; }
.contact-inner {
  position: relative;
  padding: 80px 40px;
  border-radius: 32px;
  border: 1px solid rgba(198, 255, 0, 0.12);
  background: var(--card);
  overflow: hidden;
}
.contact-blob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(198, 255, 0, 0.06), transparent 70%);
  pointer-events: none;
}
.contact-title {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 16px 0 20px;
  letter-spacing: -0.02em;
  position: relative;
}
.contact-title .neon { color: var(--neon); text-shadow: 0 0 30px rgba(198, 255, 0, 0.3); }
.contact-sub {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 40px;
  position: relative;
}
.contact-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.btn-primary.btn-whatsapp {
  box-shadow: 0 0 30px rgba(198, 255, 0, 0.4);
  font-size: 1rem;
  padding: 16px 36px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { font-size: 1rem; font-weight: 700; color: var(--neon); }
.footer-copy { font-size: 0.78rem; color: var(--gray); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray);
  transition: color 0.2s;
  padding: 6px 0;
}
.footer-socials a:hover { color: var(--neon); }

/* ===========================
   BACK TO TOP
=========================== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px; height: 44px;
  background: var(--neon);
  color: #000;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(198, 255, 0, 0.3);
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); box-shadow: 0 0 32px rgba(198, 255, 0, 0.5); }

/* ===========================
   SCROLL REVEAL
   (hover lifts are re-declared below so .reveal doesn't cancel them)
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s ease, box-shadow 0.3s, border-color 0.3s;
}
.service-card.visible:hover,
.bento-card.visible:hover { transform: translateY(-4px); }
.social-card.visible:hover,
.poster-card.visible:hover { transform: translateY(-6px); }

/* ==========================================================
   RESPONSIVE — TABLET (≤ 1024px)
========================================================== */
@media (max-width: 1024px) {
  .nav-actions { display: none; }

  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { height: 420px; }
  .hero-vertical-text { display: none; }
  /* keep floating badges inside the screen once the hero is one column */
  .badge-ps    { left: 8%; }
  .badge-tools { left: 6%; }
  .badge-ai    { right: 8%; }
  .badge-1     { right: 20%; }
  .float-palette { right: 8%; }
  .float-circle-text { right: 4%; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }

  .bento-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bento-large { grid-column: span 2; }
  .bento-tall  { grid-column: span 1; grid-row: span 1; }
  .bento-wide  { grid-column: span 2; }

  .about-body { grid-template-columns: 1fr; }
  .about-avatar { display: none; }
  .toolkit-layout { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .case-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr; }
  .case-body { padding: 36px 28px; }
  .case-top { flex-direction: column; gap: 20px; }
  .case-link { align-self: flex-start; }
  .case-row { gap: 28px; }
}

/* ==========================================================
   RESPONSIVE — MOBILE (≤ 768px)
========================================================== */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .section-title { margin-bottom: 36px; }

  /* Navbar */
  .navbar { width: calc(100% - 24px); top: 10px; padding: 10px 18px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Lighter effects = smoother scrolling on phones */
  .hero-blob { filter: blur(60px); }
  .blob-2 { display: none; }

  /* Hero */
  .hero { padding-top: 90px; padding-bottom: 40px; }
  .hero-content { padding: 0 16px; gap: 32px; }
  .hero-name { font-size: clamp(2.8rem, 15vw, 4rem); }
  .hero-subtitle { font-size: 0.85rem; letter-spacing: 0.2em; }
  .hero-tagline { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-btns { gap: 12px; margin-bottom: 36px; }
  .hero-btns a { flex: 1 1 150px; }
  .hero-stats { gap: 16px; justify-content: space-between; }
  .stat-num { font-size: 1.5rem; }

  /* Hero visual — now visible on phones, scaled down */
  .hero-right { height: 380px; }
  .chrome-orb { width: 200px; height: 200px; }
  .ring-1 { width: 240px; height: 240px; }
  .ring-2 { width: 280px; height: 280px; }
  .ring-3 { width: 320px; height: 320px; }
  .hero-img { width: 190px; height: 250px; }
  .photo-frame { border-radius: 20px; }
  .float-badge { font-size: 0.62rem; padding: 5px 10px; letter-spacing: 0.06em; }
  .badge-ps    { top: 14px;    left: 0; }
  .badge-ai    { top: 110px;   right: 4px; }
  .badge-tools { bottom: 84px; left: 4px; }
  .badge-1     { bottom: 14px; right: 0; }
  .float-palette { top: 18px; right: 4px; }
  .float-circle-text { display: none; }

  /* About */
  .about-card { padding: 28px 20px; border-radius: 22px; }
  .about-header { margin-bottom: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 14px; }
  .about-bio > p { margin-bottom: 24px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 26px 22px; }

  /* Showcases */
  .showcase-header { gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
  .showcase-chrome-shape { display: none; }
  .neon-divider { margin-bottom: 32px; }
  .poster-grid { grid-template-columns: 1fr; }

  .social-grid { gap: 12px; }
  .social-col { gap: 12px; }
  .social-card { border-radius: 14px; }
  .social-info { padding: 12px; }
  .social-info h3 { font-size: 0.82rem; line-height: 1.3; }
  .social-type { font-size: 0.58rem; letter-spacing: 0.04em; margin-bottom: 8px; }
  .social-icons-row a { font-size: 0.68rem; padding: 7px 12px; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-tall, .bento-small, .bento-wide { grid-column: span 1; grid-row: span 1; }
  /* no hover on phones: always show a readable caption on bento cards */
  .bento-overlay { opacity: 1; padding: 18px; }

  /* Before / After */
  .before-after { padding: 72px 0; }
  .ba-subtitle { margin: -16px 0 28px; font-size: 0.95rem; }
  .ba-grid { gap: 18px; margin-top: 28px; }
  .ba-card { padding: 8px; border-radius: 22px; }
  .ba-slider { border-radius: 16px; }
  .ba-handle { width: 48px; height: 48px; font-size: 20px; }
  .ba-label { top: 12px; font-size: 10px; padding: 6px 10px; }
  .ba-label-before { left: 12px; }
  .ba-label-after  { right: 12px; }

  /* Toolkit */
  .skills-cloud { gap: 8px; }
  .skill-chip { padding: 8px 16px; font-size: 0.8rem; }
  .tools-card { padding: 22px; }

  /* Timeline */
  .timeline { padding-left: 52px; }
  .tl-num { left: -52px; }
  .tl-dot { left: -36px; }
  .timeline-item { margin-bottom: 36px; }

  /* Case studies / testimonials */
  .case-row { gap: 20px; }
  .testi-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-inner { padding: 48px 20px; border-radius: 24px; }
  .contact-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .contact-btns { flex-direction: column; align-items: center; gap: 12px; }
  .contact-btns a { width: 100%; max-width: 320px; }
  .btn-primary.btn-whatsapp { padding: 15px 28px; }

  /* Footer + back to top */
  .footer { padding: 28px 16px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .back-top { bottom: 18px; right: 16px; }
}

/* ===========================
   SMALL PHONES (≤ 600px)
=========================== */
@media (max-width: 600px) {
  .case-body { padding: 28px 20px; }
  .case-body h3 { font-size: 1.8rem; }
  .case-desc { font-size: 0.9rem; }
}

/* ===========================
   VERY SMALL PHONES (≤ 400px)
=========================== */
@media (max-width: 400px) {
  .hero-stats { flex-wrap: wrap; row-gap: 14px; }
  .hero-img { width: 170px; height: 225px; }
  .ring-3 { display: none; }
  .badge-ps { max-width: 62%; }
  .social-info h3 { font-size: 0.76rem; }
}

/* ===========================
   TOUCH DEVICES: no "stuck" hover lifts after a tap
=========================== */
@media (hover: none) {
  .service-card.visible:hover,
  .bento-card.visible:hover,
  .social-card.visible:hover,
  .poster-card.visible:hover,
  .skill-chip:hover,
  .btn-primary:hover,
  .case-link:hover { transform: none; }
  .social-card:hover .social-img-wrap img,
  .poster-card:hover img,
  .bento-card:hover img { transform: none; }
}

/* ===========================
   REDUCED MOTION
=========================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
