/* ===================== FONTS ===================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===================== DESIGN TOKENS ===================== */
:root {
  --background: 0 0% 4%;
  --foreground: 210 20% 98%;

  --card: 0 0% 6%;
  --card-border: 0 0% 15%;

  --primary: 248 100% 67%;      /* #6366f1 */
  --primary-foreground: 0 0% 100%;

  --secondary: 0 0% 10%;

  --muted: 0 0% 12%;
  --muted-foreground: 215 20% 65%;

  --accent: 260 88% 66%;        /* #8b5cf6 */
  --accent-foreground: 0 0% 100%;

  --border: 0 0% 15%;

  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: Menlo, Consolas, monospace;

  --radius: 0.75rem;
}

/* ===================== RESET ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgba(99, 102, 241, 0.3);
  color: #fff;
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: hsl(var(--background));
}
::-webkit-scrollbar-thumb {
  background: hsl(var(--muted));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--border));
}

/* ===================== UTILITIES ===================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-gradient {
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-eyebrow-line {
  width: 80px;
  height: 4px;
  background: hsl(var(--primary));
  border-radius: 999px;
}

/* Scroll reveal (JS toggles .is-visible via IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-56px);
  filter: blur(6px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.85s ease;
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(56px);
  filter: blur(6px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.85s ease;
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Premium word-by-word text reveal for headings — used with .text-reveal class,
   JS wraps each word in .tr-word > .tr-word-inner spans */
.text-reveal .tr-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.text-reveal .tr-word-inner {
  display: inline-block;
  transform: translateY(115%) rotate(4deg);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  transition-delay: calc(var(--i, 0) * 0.055s);
}
.text-reveal.is-visible .tr-word-inner {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .text-reveal .tr-word-inner {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* ===================== LOADING SCREEN ===================== */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #080808;
  overflow: hidden;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
#loading-screen.fade-out {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}
.loading-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  filter: blur(120px);
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 0.6; }
}
.loading-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.loading-mark-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, hsl(var(--primary)), hsl(var(--accent)), transparent 65%, hsl(var(--primary)));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: ringSpin 2.2s linear infinite;
}
.loading-ring.reverse {
  inset: 10px;
  opacity: 0.5;
  animation: ringSpin 3s linear infinite reverse;
}
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}
.loading-mark {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #0a0a0a;
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: hsl(var(--primary));
  animation: markIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both, markPulse 2.4s ease-in-out 0.6s infinite;
}
@keyframes markIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes markPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.3); }
  50% { box-shadow: 0 0 42px rgba(139, 92, 246, 0.55); }
}
.loading-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.15em;
  text-align: center;
  background: linear-gradient(90deg, #fff 0%, hsl(var(--primary)) 25%, hsl(var(--accent)) 50%, #fff 75%, hsl(var(--primary)) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: nameIn 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both, shimmer 4s linear 1s infinite;
}
@keyframes shimmer {
  to { background-position: -250% center; }
}
.loading-sparkles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: hsl(var(--primary));
  box-shadow: 0 0 8px 1px hsl(var(--primary));
  animation: sparkTwinkle 2.6s ease-in-out infinite;
}
@keyframes sparkTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50% { opacity: 1; transform: scale(1.2); }
}
@keyframes nameIn {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.loading-tagline {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  animation: fadeIn 0.6s 0.6s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.loading-bar-wrap {
  width: 256px;
  margin-top: 16px;
  animation: fadeIn 0.5s 0.4s ease both;
}
.loading-bar-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}
.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
  border-radius: 999px;
  position: relative;
}
.loading-bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}
.loading-bar-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.loading-bar-labels span:first-child {
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
}
.loading-bar-labels span:last-child {
  font-size: 10px;
  color: hsl(var(--primary));
  font-family: var(--font-mono);
}

/* ===================== CUSTOM CURSOR ===================== */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid hsl(var(--primary));
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-100px, -100px);
  transition: transform 0.15s ease-out, background-color 0.2s ease;
}
@media (pointer: coarse) {
  #custom-cursor { display: none; }
}

/* ===================== CURSOR FIRE TRAIL ===================== */
.fire-particle {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50% 50% 50% 0;
  will-change: transform, opacity;
  animation: fireRise 0.9s ease-out forwards;
  mix-blend-mode: screen;
}
@keyframes fireRise {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--fx, 0px)), calc(-50% - 34px)) scale(0.15) rotate(20deg);
  }
}
@media (pointer: coarse) {
  .fire-particle { display: none; }
}

/* ===================== SCROLL PROGRESS ===================== */
#scroll-progress-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 200;
  background: rgba(10, 10, 10, 0.2);
}
#scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
  transform-origin: left;
}

/* ===================== NAVBAR ===================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  transition: all 0.3s ease;
  transform: translateY(-100px);
  animation: navIn 0.8s ease-out 0.1s forwards;
}
@keyframes navIn {
  to { transform: translateY(0); }
}
#navbar.scrolled {
  padding: 12px 0;
}
#navbar.scrolled .navbar-inner {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.5);
}
#navbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), rgba(139, 92, 246, 0.6), transparent);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: navGlowSlide 6s linear infinite;
}
#navbar.scrolled::before { opacity: 1; }
@keyframes navGlowSlide {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-radius: 16px;
  transition: border-radius 0.3s ease;
}
.navbar-inner .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
  font-size: 14px;
  font-weight: 700;
  color: hsl(var(--primary));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.logo:hover .logo-mark {
  transform: rotate(-14deg) scale(1.08);
  box-shadow: 0 0 22px rgba(99, 102, 241, 0.55);
}
.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.logo-text span { color: hsl(var(--primary)); }

/* Nav links float independently centered on the navbar (desktop only) */
.nav-links {
  display: none;
  align-items: center;
  gap: 1px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.35);
}
/* Shows on normal laptop/desktop widths now (was 1280px, too high — menu
   was disappearing into the hamburger on common 1024–1279px screens) */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
.nav-links a {
  position: relative;
  padding: 9px 13px;
  font-size: 12.5px;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  border-radius: 999px;
  transition: color 0.25s ease;
  white-space: nowrap;
  z-index: 1;
}
@media (min-width: 1280px) {
  .nav-links {
    gap: 2px;
  }
  .nav-links a {
    padding: 9px 16px;
    font-size: 13px;
  }
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a.active {
  color: #fff;
  background: hsl(var(--primary));
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.5);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hire-me-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: hsl(var(--primary));
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.45);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.hire-me-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  animation: hireShine 3.2s ease-in-out infinite;
}
@keyframes hireShine {
  0% { left: -60%; }
  50%, 100% { left: 130%; }
}
.hire-me-btn:hover {
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.65);
  transform: scale(1.04);
}
.ping-dot {
  position: relative;
  display: flex;
  height: 8px;
  width: 8px;
}
.ping-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  opacity: 0.6;
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.ping-dot::after {
  content: '';
  position: relative;
  display: block;
  border-radius: 50%;
  height: 8px;
  width: 8px;
  background: #fff;
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(40px);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  pointer-events: none;
}
#mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-menu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px;
  gap: 8px;
}
.mobile-menu-links a {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease;
  opacity: 0;
  transform: translateX(30px);
}
#mobile-menu.open .mobile-menu-links a {
  animation: menuLinkIn 0.4s ease forwards;
}
@keyframes menuLinkIn {
  to { opacity: 1; transform: translateX(0); }
}
.mobile-menu-links a.active { color: hsl(var(--primary)); }
.mobile-menu-links a:hover { color: #fff; }
.mobile-menu-links a .num {
  color: rgba(99, 102, 241, 0.5);
  font-size: 14px;
  font-family: var(--font-mono);
  margin-right: 12px;
}
.mobile-menu-footer {
  padding: 32px;
}
.mobile-hire-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: hsl(var(--primary));
  color: #fff;
  border-radius: 16px;
  font-weight: 600;
  font-size: 18px;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

/* ===================== BUTTONS / SHARED ===================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: hsl(var(--primary));
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 36px rgba(99, 102, 241, 0.6);
}
.btn-primary.small {
  padding: 12px 24px;
  font-size: 14px;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}
.btn-outline.small {
  padding: 12px 24px;
  font-size: 14px;
}
.btn-ghost {
  padding: 16px 32px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: color 0.2s ease;
}
.btn-ghost:hover { color: hsl(var(--primary)); }

/* ===================== SECTION HEADERS ===================== */
section { position: relative; padding: 128px 0; }
.section-alt { background: rgba(255, 255, 255, 0.015); }
.section-alt2 { background: rgba(255, 255, 255, 0.02); }

.section-header {
  margin-bottom: 24px;
  text-align: center;
}
.section-header.left { text-align: left; margin-bottom: 64px; }
.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.section-header.left h2 { margin-bottom: 8px; }
.section-header .bar { margin: 0 auto 24px; }
.section-header.left .bar { margin: 0; }
.section-header p {
  color: hsl(var(--muted-foreground));
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .section-header h2 { font-size: 48px; }
}

/* ===================== HERO ===================== */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 64px;
  overflow: hidden;
  position: relative;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
}
.orb-1 {
  top: 25%; left: 20%;
  width: 500px; height: 500px;
  background: rgba(99, 102, 241, 0.25);
  filter: blur(140px);
  animation: orbFloat1 8s ease-in-out infinite;
}
.orb-2 {
  bottom: 25%; right: 20%;
  width: 600px; height: 600px;
  background: rgba(139, 92, 246, 0.2);
  filter: blur(160px);
  animation: orbFloat2 10s ease-in-out infinite 1s;
}
.orb-3 {
  top: 66%; left: 50%;
  width: 300px; height: 300px;
  background: rgba(59, 130, 246, 0.15);
  filter: blur(100px);
  animation: orbFloat3 12s ease-in-out infinite 2s;
}
@keyframes orbFloat1 {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.15); opacity: 0.25; }
}
@keyframes orbFloat2 {
  0%, 100% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.1); opacity: 0.2; }
}
@keyframes orbFloat3 {
  0%, 100% { transform: scale(1); opacity: 0.08; }
  50% { transform: scale(1.2); opacity: 0.15; }
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: hsl(var(--primary));
  opacity: 0;
  animation-name: particleRise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes particleRise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  8% { opacity: 0.7; }
  92% { opacity: 0.5; }
  100% { transform: translateY(-115vh) translateX(var(--drift, 30px)); opacity: 0; }
}
.hero-inner {
  position: relative;
  z-index: 10;
}
.hero-center {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title-v2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: #fff;
  opacity: 0;
  transform: translateY(24px);
  animation: heroLineIn 0.8s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@media (min-width: 640px) { .hero-title-v2 { font-size: 52px; } }
@media (min-width: 1024px) { .hero-title-v2 { font-size: 68px; } }

.hero-role-line {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(24px);
  animation: heroLineIn 0.8s 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@media (min-width: 640px) { .hero-role-line { font-size: 32px; } }
.hero-role-line .cursor-blink {
  color: hsl(var(--primary));
  font-weight: 400;
  animation: dotPulse 1s step-start infinite;
  margin-left: 2px;
}
@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-tagline-v2 {
  font-size: 16px;
  color: hsl(var(--muted-foreground));
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeIn 0.8s 0.5s ease forwards;
}
@media (min-width: 768px) { .hero-tagline-v2 { font-size: 19px; } }

.hero-ctas-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 0.8s 0.68s ease forwards;
}

.hero-socials-v2 {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 0.8s 0.85s ease forwards;
}
.hero-socials-v2 a {
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease, transform 0.2s ease;
  font-size: 20px;
}
.hero-socials-v2 a:hover { color: #fff; transform: scale(1.15) translateY(-2px); }
.hero-socials-v2 a.whatsapp { color: #4ade80; }
.hero-socials-v2 a.whatsapp:hover { color: #86efac; }

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: hsl(var(--muted-foreground));
  opacity: 0;
  animation: fadeIn 1s 2.2s ease forwards;
  z-index: 10;
}
.scroll-indicator span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  background: linear-gradient(90deg, hsl(var(--muted-foreground)), #fff, hsl(var(--muted-foreground)));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 3s linear infinite;
}
@keyframes textShine {
  to { background-position: -200% center; }
}
.mouse-scroll-icon {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  position: relative;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.15) inset;
}
.mouse-scroll-icon::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: hsl(var(--primary));
  box-shadow: 0 0 8px hsl(var(--primary));
  transform: translateX(-50%);
  animation: mouseScrollDot 1.8s ease-in-out infinite;
}
@keyframes mouseScrollDot {
  0% { transform: translate(-50%, 0); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* ===================== ABOUT ===================== */
.about-grid {
  display: grid;
  gap: 64px;
  align-items: start;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 5fr 7fr; }
}
.about-photo-outer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-photo-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  padding: 8px;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.25), 0 20px 50px -20px rgba(99, 102, 241, 0.4);
}
@media (min-width: 640px) {
  .about-photo-wrap { width: 320px; height: 320px; }
}
.about-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, hsl(var(--primary)), hsl(var(--accent)), transparent 65%);
  opacity: 0.6;
  animation: spin 8s linear infinite;
  z-index: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about-photo-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1);
  transition: filter 0.7s ease;
}
.about-photo-wrap:hover img { filter: grayscale(0); }
.about-badge {
  position: relative;
  margin-top: -28px;
  z-index: 20;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.about-badge-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.8);
  animation: dotPulse 2s ease-in-out infinite;
}
.about-badge span.label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.highlight-card {
  padding: 16px;
  border-radius: 12px;
}
.highlight-card .icon { color: hsl(var(--primary)); margin-bottom: 8px; }
.highlight-card .h-label {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.highlight-card .h-value {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.about-bio p {
  color: hsl(var(--muted-foreground));
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}
@media (min-width: 768px) { .about-bio p { font-size: 18px; } }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 48px 0 40px;
}
@media (min-width: 768px) { .about-stats { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: background 0.2s ease;
}
.stat-card:hover { background: rgba(255, 255, 255, 0.1); }
.stat-card .stat-num {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
@media (min-width: 768px) { .stat-card .stat-num { font-size: 36px; } }
.stat-card .stat-label {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===================== EDUCATION / EXPERIENCE TIMELINE ===================== */
.timeline {
  max-width: 1000px;
  margin: 80px auto 0;
  position: relative;
}
.timeline-line {
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, hsl(var(--primary)), rgba(99,102,241,0.4), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.8s ease-in-out;
}
.timeline-line.is-visible { transform: scaleY(1); }
@media (min-width: 768px) {
  .timeline-line { left: 50%; }
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 64px;
  padding-left: 56px;
}
.timeline-item:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .timeline-item { padding-left: 0; }
  .timeline-item.flip { flex-direction: row-reverse; }
}
.timeline-dot {
  position: absolute;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  transform: translateX(-19px);
}
@media (min-width: 768px) {
  .timeline-dot { left: 50%; }
}
.timeline-dot .pip {
  width: 12px; height: 12px; border-radius: 50%;
  background: hsl(var(--primary));
  animation: dotPulse 2s ease-in-out infinite;
}
.timeline-spacer { display: none; }
@media (min-width: 768px) {
  .timeline-spacer {
    display: flex;
    width: 46%;
    align-items: center;
    justify-content: center;
  }
}

.timeline-card-wrap { width: 100%; }
@media (min-width: 768px) { .timeline-card-wrap { width: 46%; } }
.timeline-card {
  padding: 32px;
  border-radius: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.timeline-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}
.tc-duration {
  display: flex;
  align-items: center;
  gap: 8px;
  color: hsl(var(--primary));
  font-family: var(--font-mono);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.tc-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
@media (min-width: 768px) { .tc-title { font-size: 24px; } }
.tc-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-bottom: 4px;
}
.tc-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  margin-bottom: 20px;
}
.tc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 999px;
  font-size: 14px;
  color: hsl(var(--primary));
  font-weight: 500;
  margin-bottom: 20px;
}
.tc-desc {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 24px;
}
.tc-subjects-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
}
.tc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tc-tags span {
  padding: 4px 12px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
}
.job-type-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.job-type-badge.full-time {
  background: rgba(99, 102, 241, 0.15);
  color: hsl(var(--primary));
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.job-type-badge.freelance {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.tc-achievements li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.tc-achievements li .arrow {
  color: hsl(var(--primary));
  margin-top: 4px;
  font-size: 12px;
  flex-shrink: 0;
}

/* Certifications */
.cert-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  margin-bottom: 40px;
}
.cert-header-row h3 {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.cert-header-row .line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.certs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .certs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .certs-grid { grid-template-columns: 1fr 1fr 1fr; } }
.cert-card {
  padding: 24px;
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
}
.cert-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cert-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}
.cert-date {
  font-size: 12px;
  font-family: var(--font-mono);
  color: hsl(var(--muted-foreground));
}
.cert-card h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 16px;
}
.cert-card .platform {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  margin-bottom: 16px;
}
.cert-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cert-skills span {
  padding: 4px 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
}

/* ===================== SKILLS ===================== */
.skills-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}
.skill-tab {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  transition: all 0.3s ease;
}
.skill-tab:hover { color: #fff; }
.skill-tab.active {
  background: hsl(var(--primary));
  color: #fff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  border-color: transparent;
}
.skills-bars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 64px;
}
@media (min-width: 768px) { .skills-bars { grid-template-columns: 1fr 1fr; } }
.skill-bar-item { }
.skill-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.skill-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.skill-bar-left .s-icon {
  font-size: 20px;
  color: hsl(var(--muted-foreground));
  width: 22px;
  text-align: center;
}
.skill-bar-left .s-name {
  font-weight: 500;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}
.skill-bar-top .s-level {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
  font-size: 14px;
}
.skill-bar-track {
  height: 10px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.skill-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
  border-radius: 999px;
  transition: width 1.2s ease-out;
}
.skills-all {
  margin-top: 80px;
  padding: 32px;
  border-radius: 16px;
}
.skills-all p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 24px;
}
.skills-all-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.skills-all-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.skills-all-list span:hover {
  color: #fff;
  border-color: rgba(99, 102, 241, 0.5);
}
.skills-all-list span .s-icon { color: hsl(var(--primary)); }

/* ===================== PROJECTS ===================== */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}
.filter-btn {
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s ease;
}
.filter-btn.active {
  background: hsl(var(--primary));
  color: #fff;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}
.filter-btn:not(.active):hover { color: #fff; }
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 640px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: 1fr 1fr 1fr; } }
.project-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); }
.project-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.project-card:hover .project-img-wrap img { transform: scale(1.1); }
.project-icon-tile {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(99,102,241,0.04));
  transition: transform 0.7s ease;
}
.project-card:hover .project-icon-tile { transform: scale(1.05); }
.project-icon-tile i {
  font-size: 40px;
  color: hsl(var(--primary));
  opacity: 0.85;
}
.project-icon-tile span {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.02em;
}
.project-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(99, 102, 241, 0.2);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 10;
  mix-blend-mode: overlay;
}
.project-card:hover .project-img-overlay { opacity: 1; }
.featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 3px 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary));
}
.project-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.project-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.project-body p {
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
  margin-bottom: 16px;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.project-tech span {
  padding: 3px 9px;
  font-size: 10px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
}
.project-links {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.project-links a {
  padding: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.2s ease;
  display: flex;
  font-size: 13px;
}
.project-links a:hover {
  background: rgba(99, 102, 241, 0.2);
  color: hsl(var(--primary));
}

/* ===================== CLIENT RESULTS ===================== */
.satisfaction-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 56px auto 0;
}
@media (min-width: 900px) {
  .satisfaction-grid { grid-template-columns: 280px 1fr; gap: 64px; }
}

.satisfaction-donut-wrap {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.satisfaction-donut {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.donut-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 14;
}
.donut-fill {
  fill: none;
  stroke: url(#none);
  stroke: hsl(var(--primary));
  stroke-width: 14;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.6));
  transition: stroke-dashoffset 0.3s ease;
}
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.donut-value {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
  line-height: 1;
}
.donut-label {
  margin-top: 8px;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 120px;
}

.satisfaction-bars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sat-bar-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}
.sat-bar-top span:first-child {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.sat-percent {
  color: hsl(var(--primary));
  font-family: var(--font-mono);
  font-weight: 600;
}
.sat-bar-track {
  height: 10px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.sat-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.satisfaction-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 64px auto 0;
}
@media (min-width: 768px) { .satisfaction-stats-row { grid-template-columns: repeat(4, 1fr); } }
.sat-stat {
  padding: 24px 16px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.sat-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
}
.sat-stat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.sat-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
  margin-bottom: 6px;
}
@media (min-width: 768px) { .sat-stat-num { font-size: 32px; } }
.sat-stat-label {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* Project Mix donut chart */
.project-mix-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 820px;
  margin: 40px auto 0;
}
@media (min-width: 720px) {
  .project-mix-wrap { grid-template-columns: 220px 1fr; gap: 56px; }
}
.project-mix-donut-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.project-mix-donut {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.pm-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 16;
}
.pm-segment {
  fill: none;
  stroke-width: 16;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.35));
}
.pm-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.pm-total {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
  line-height: 1;
}
.pm-label {
  margin-top: 6px;
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.project-mix-legend {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pm-legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.pm-legend-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(4px);
}
.pm-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}
.pm-name {
  flex: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.pm-count {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-heading);
}

/* Companies I've Worked With — aesthetic cards with animated hover */
.clients-grid a.timeline-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.clients-grid a.timeline-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.08) 60%, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.clients-grid a.timeline-card::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -60%;
  width: 40%;
  height: 220%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}
.clients-grid a.timeline-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 14px 34px -14px rgba(99, 102, 241, 0.45);
}
.clients-grid a.timeline-card:hover::before { opacity: 1; }
.clients-grid a.timeline-card:hover::after { left: 130%; }
.clients-grid a.timeline-card:hover .tc-title,
.clients-grid a.timeline-card:hover .tc-sub {
  color: #fff;
}
.clients-grid a.timeline-card .tc-title,
.clients-grid a.timeline-card .tc-sub {
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
}

/* Testimonials */
.testimonials-head {
  margin-top: 96px;
  margin-bottom: 8px;
  text-align: center;
}
.testimonials-head h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
@media (min-width: 768px) { .testimonials-head h3 { font-size: 34px; } }
.testimonials-head .bar { margin: 0 auto; }

.testimonials-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
}
.testimonials-track {
  flex: 1;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding: 4px;
}
.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 28px;
  border-radius: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
@media (min-width: 768px) { .testimonial-card { flex: 0 0 calc(50% - 10px); } }
@media (min-width: 1100px) { .testimonial-card { flex: 0 0 calc(33.333% - 14px); } }
.testimonial-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
}
.testi-quote-icon {
  color: hsl(var(--primary));
  opacity: 0.25;
  font-size: 26px;
  margin-bottom: 12px;
}
.testi-stars {
  color: #fbbf24;
  font-size: 13px;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}
.testi-quote {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.testi-avatar-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.12);
  border: 2px solid rgba(99, 102, 241, 0.3);
  color: hsl(var(--primary));
  font-size: 16px;
}
.testi-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.testi-role {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}

.testi-nav-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.testi-nav-btn:hover {
  background: hsl(var(--primary));
  border-color: transparent;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.45);
  transform: scale(1.06);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}
.testi-dot.active {
  width: 24px;
  border-radius: 999px;
  background: hsl(var(--primary));
  box-shadow: 0 0 8px hsl(var(--primary));
}

/* ===================== SERVICES ===================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 560px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: 1fr 1fr 1fr; } }
.service-card {
  padding: 22px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  perspective: 700px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 12px 40px -12px rgba(99, 102, 241, 0.35);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(99, 102, 241, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}
.service-card:hover::before { opacity: 1; }
.service-watermark {
  position: absolute;
  top: 0; right: 0;
  padding: 16px;
  opacity: 0.04;
  color: hsl(var(--primary));
  transition: all 0.3s ease;
  pointer-events: none;
  font-size: 72px;
  line-height: 1;
}
.service-card:hover .service-watermark {
  opacity: 0.08;
  transform: scale(1.1) rotate(12deg);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  background: linear-gradient(145deg, rgba(99,102,241,0.16), rgba(139,92,246,0.06));
  border: 1px solid rgba(99, 102, 241, 0.25);
  margin-bottom: 18px;
  font-size: 20px;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}
.service-card:hover .service-icon {
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.35), inset 0 0 14px rgba(139, 92, 246, 0.15);
}
.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.service-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  font-size: 13px;
  margin-bottom: 20px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.service-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}
.service-price-row .from {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
}
.service-price-row .price {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}
.services-cta {
  margin-top: 64px;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.services-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(99,102,241,0.1), transparent, rgba(139,92,246,0.1));
  pointer-events: none;
}
.services-cta h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}
@media (min-width: 768px) { .services-cta h3 { font-size: 32px; } }
.services-cta p {
  color: hsl(var(--muted-foreground));
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}

/* ===================== FAQ ===================== */
.faq-list {
  max-width: 780px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 8px 28px -14px rgba(99, 102, 241, 0.3);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
}
.faq-question span {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
@media (min-width: 768px) { .faq-question span { font-size: 16px; } }
.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(135deg);
  background: hsl(var(--primary));
  color: #fff;
}
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-answer-wrap {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  overflow: hidden;
}
.faq-answer-inner p {
  padding: 0 24px 22px;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  line-height: 1.75;
}

/* ===================== CONTACT ===================== */
.contact-header { max-width: 640px; margin: 0 auto; }
.availability-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 64px;
}
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}
.availability-badge span.txt {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}
@media (min-width: 768px) { .contact-info h3 { font-size: 30px; } }
.contact-info > p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 24px;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  transition: border-color 0.3s ease;
}
.contact-card:hover { border-color: rgba(99, 102, 241, 0.3); }
.contact-card .cc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card h4 {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.contact-card p {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 16px;
  color: #4ade80;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-bottom: 24px;
}
.whatsapp-cta:hover { background: rgba(34, 197, 94, 0.2); transform: scale(1.01); }
.whatsapp-cta .wa-icon { font-size: 24px; }
.whatsapp-cta .wa-title { font-size: 16px; }
.whatsapp-cta .wa-sub { font-size: 12px; color: rgba(74, 222, 128, 0.6); font-weight: 400; }
.whatsapp-cta .wa-arrow { margin-left: auto; opacity: 0.5; }
.social-find p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 16px;
}
.social-find-links { display: flex; gap: 12px; }
.social-find-links a {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s ease;
}
.social-find-links a:hover {
  color: #fff;
  border-color: rgba(99, 102, 241, 0.4);
  transform: scale(1.1);
}

.contact-form {
  padding: 32px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 160px; height: 160px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { margin-bottom: 20px; position: relative; z-index: 1; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255, 255, 255, 0.3); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.form-field textarea { resize: none; }
.form-submit-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 16px;
  background: hsl(var(--primary));
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  transition: box-shadow 0.3s ease, transform 0.2s ease, opacity 0.2s ease;
}
.form-submit-btn:hover:not(:disabled) {
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
  transform: scale(1.02);
}
.form-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-success {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  text-align: center;
  padding: 24px;
}
.form-success.show { display: flex; animation: fadeIn 0.3s ease; }
.form-success .check-icon {
  color: #4ade80;
  font-size: 56px;
  margin-bottom: 16px;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.form-success h4 { color: #fff; font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.form-success p { color: hsl(var(--muted-foreground)); font-size: 14px; }

/* ===================== FOOTER ===================== */
footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: hsl(var(--background));
  z-index: 10;
}
.footer-gradient-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), transparent);
}
.footer-inner {
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 64px; } }
.footer-brand p {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
  margin: 20px 0;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s ease;
}
.footer-socials a:hover { color: #fff; transform: scale(1.1); background: rgba(99, 102, 241, 0.2); border-color: rgba(99, 102, 241, 0.3); }
.footer-socials a.green:hover { color: #4ade80; background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.3); }
.footer-col h4 {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.footer-nav-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  font-size: 14px;
}
.footer-nav-list a {
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.footer-nav-list a:hover { color: hsl(var(--primary)); }
.footer-nav-list a .bullet {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(99, 102, 241, 0.5);
}
.footer-contact-info { font-size: 14px; color: hsl(var(--muted-foreground)); }
.footer-contact-info p { margin-bottom: 16px; }
.footer-available-btn {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: hsl(var(--primary));
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-available-btn:hover { background: rgba(99, 102, 241, 0.2); transform: scale(1.03); }
.footer-available-btn .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: dotPulse 2s ease-in-out infinite; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  text-align: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; text-align: left; } }
.footer-bottom .built { font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ===================== FLOATING BUTTONS ===================== */
#whatsapp-float {
  position: fixed;
  bottom: 96px;
  right: 32px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  font-size: 26px;
  transition: transform 0.2s ease, background 0.2s ease;
}
#whatsapp-float:hover { background: #1EBE5D; transform: scale(1.1); }

#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
#back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-to-top:hover { background: rgba(99, 102, 241, 0.9); }

/* ===================== RESPONSIVE NAV BREAKPOINT ===================== */
@media (min-width: 640px) {
  .hire-me-btn { display: inline-flex; }
}
@media (min-width: 1024px) {
  .mobile-toggle-wrap { display: none; }
}
.mobile-toggle-wrap { display: block; }

/* ===================== CLIENT CARDS HOVER ===================== */
.client-card {
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.client-card:hover {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -8px rgba(99, 102, 241, 0.5);
}
.client-card:hover .tc-title,
.client-card:hover .tc-sub {
  color: #fff !important;
}
