/* ── Design Tokens & Variables ─────────────────────────────────────── */
:root {
  /* Colors */
  --ink: #000000;
  --ink-soft: #101828;
  --slate-800: #1D2939;
  --slate-700: #344054;
  --slate-600: #475467;
  --slate-500: #667085;
  --slate-400: #98A2B3;
  --slate-300: #D0D5DD;
  --slate-200: #EAECF0;
  --slate-100: #F2F4F7;
  --slate-50: #F9FAFB;

  --surface: #FFFFFF;
  --surface-alt: #F9FAFB;
  --surface-sunken: #F2F4F7;

  --border: #D0D5DD;
  --border-soft: #EAECF0;

  --upwork: #14A800;
  --upwork-dark: #108A00;
  --upwork-light: #E7F7E6;
  --whatsapp: #25D366;
  --whatsapp-dark: #1EBE5D;
  --star: #F79009;

  /* Typography */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-card: 0 4px 16px rgba(16, 24, 40, 0.04);
  --shadow-card-hover: 0 12px 28px rgba(16, 24, 40, 0.08);
  --shadow-nav: 0 2px 20px rgba(16, 24, 40, 0.05);
  --shadow-modal: 0 20px 48px rgba(16, 24, 40, 0.16);

  /* Spacing */
  --container-max: 1200px;
}

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

html {
  font-family: var(--font-family);
  background-color: var(--surface);
  color: var(--slate-700);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--surface);
}

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

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

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

/* ── Layout & Grid Structure ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.section {
  padding-top: 64px;
  padding-bottom: 64px;
  position: relative;
}

@media (min-width: 992px) {
  .section {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

.section-alt {
  background-color: var(--surface-alt);
}

/* ── Hero Grid Background ──────────────────────────────────────────── */
.grid-bg-pattern {
  position: relative;
  background-color: var(--surface);
}

.grid-bg-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, #F4F5F7 1px, transparent 1px),
    linear-gradient(to bottom, #F4F5F7 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.grid-bg-pattern > .container {
  position: relative;
  z-index: 1;
}

/* ── Section Header Component ──────────────────────────────────────── */
.section-header {
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 56px;
  }
}

.section-header.center {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--slate-500);
}

.section-subtitle {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--slate-500);
  line-height: 1.65;
  max-width: 44rem;
}

.section-header.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── Sticky Glass Navbar ───────────────────────────────────────────── */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .navbar-wrapper {
    padding: 16px 24px;
  }
}

.navbar {
  max-width: 1080px;
  margin: 0 auto;
  height: 64px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(234, 236, 240, 0.9);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--border-soft);
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.08);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.nav-brand-dot {
  width: 8px;
  height: 8px;
  background-color: var(--upwork);
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 8px;
  list-style: none;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--ink);
  background-color: var(--slate-100);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--slate-100);
  border: 1px solid var(--border-soft);
  gap: 4px;
  cursor: pointer;
}

@media (min-width: 860px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background-color: var(--slate-700);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Mobile Navigation Drawer ──────────────────────────────────────── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 88px;
  left: 20px;
  right: 20px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-modal);
  padding: 24px;
  z-index: 999;
  transform: translateY(-20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-item a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: var(--radius-md);
  background: var(--slate-50);
}

.mobile-nav-item a:hover {
  background: var(--slate-100);
  color: var(--ink);
}

/* ── Buttons & CTAs ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  font-size: 13px;
  padding: 8px 14px;
}

.btn-lg {
  font-size: 15px;
  padding: 12px 24px;
}

.btn-primary {
  background-color: var(--ink);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #222;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-upwork {
  background-color: var(--upwork);
  color: #FFFFFF;
}

.btn-upwork:hover {
  background-color: var(--upwork-dark);
  box-shadow: 0 4px 14px rgba(20, 168, 0, 0.25);
}

.btn-whatsapp {
  background-color: #EAF9EE;
  color: #128C7E;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #D6F5DE;
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--slate-700);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--slate-50);
  border-color: var(--slate-400);
}

.btn-outline {
  background-color: transparent;
  color: var(--slate-700);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--slate-100);
  color: var(--ink);
}

.btn-icon-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ── Pills & Badges ────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--border-soft);
}

.pill-green {
  background: var(--upwork-light);
  color: var(--upwork-dark);
  border-color: rgba(20, 168, 0, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--upwork);
  display: inline-block;
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.25); }
}

/* ── Hero Section ──────────────────────────────────────────────────── */
.hero-section {
  padding-top: 130px;
  padding-bottom: 72px;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 160px;
    padding-bottom: 96px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.hero-avatar-wrapper {
  position: relative;
  width: 108px;
  height: 108px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero-avatar-wrapper {
    width: 120px;
    height: 120px;
  }
}

.hero-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #FFFFFF;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.16);
  background-color: var(--slate-100);
}

.hero-status-dot {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--upwork);
  border: 3px solid #FFFFFF;
}

.hero-status-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--upwork);
  animation: pulse-dot-outer 2s infinite;
}

@keyframes pulse-dot-outer {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero-badge-row {
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -1.4px;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--slate-500);
}

.hero-bio {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--slate-600);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

/* ── Credibility Metrics Banner ────────────────────────────────────── */
.credibility-section {
  padding-top: 36px;
  padding-bottom: 36px;
}

.credibility-banner {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.04);
  display: grid;
  grid-template-columns: 1fr;
  padding: 12px 0;
  width: 100%;
}

@media (min-width: 540px) and (max-width: 899px) {
  .credibility-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .metric-item:nth-child(1) {
    border-right: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
  }
  .metric-item:nth-child(2) {
    border-bottom: 1px solid var(--border-soft);
  }
  .metric-item:nth-child(3) {
    border-right: 1px solid var(--border-soft);
  }
}

@media (max-width: 539px) {
  .metric-item:not(:last-child) {
    border-bottom: 1px solid var(--border-soft);
  }
}

@media (min-width: 900px) {
  .credibility-banner {
    grid-template-columns: repeat(4, 1fr);
    padding: 28px 12px;
  }

  .metric-item:not(:last-child) {
    border-right: 1px solid var(--border-soft);
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 20px;
  transition: transform 0.2s ease;
}

.metric-item:hover {
  transform: translateY(-2px);
}

.metric-value {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 6px;
  white-space: nowrap;
}

.metric-value.metric-value-text {
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 13.5px;
  color: var(--slate-500);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ── About Section ─────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 880px) {
  .about-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.about-text {
  font-size: 16px;
  color: var(--slate-600);
  line-height: 1.7;
}

.about-text p {
  margin-bottom: 18px;
}

.about-facts-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.about-facts-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.facts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fact-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.fact-key {
  color: var(--slate-500);
  font-weight: 500;
  flex-shrink: 0;
}

.fact-val {
  color: var(--ink-soft);
  font-weight: 600;
  text-align: right;
}

/* ── Project Cards & Gallery ───────────────────────────────────────── */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

@media (min-width: 992px) {
  .projects-list {
    gap: 48px;
  }
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

@media (min-width: 768px) {
  .project-card {
    padding: 32px;
  }
}

.project-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.project-card.featured-wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .project-card.featured-wide {
    grid-template-columns: 5fr 6fr;
    align-items: center;
  }
}

.project-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.project-app-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
  background: var(--surface-sunken);
}

.project-icon-fallback {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--surface-sunken);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: var(--slate-400);
  flex-shrink: 0;
}

.project-meta {
  flex: 1;
}

.project-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.2;
}

.project-category {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-500);
  margin-top: 2px;
}

.project-summary {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 16px;
}

.project-contribution {
  background: var(--surface-alt);
  border-left: 3px solid var(--slate-400);
  padding: 12px 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 20px;
}

.project-contribution-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-700);
  margin-bottom: 4px;
}

.project-contribution-text {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.5;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ── Horizontal Screenshot Gallery ─────────────────────────────────── */
.gallery-container {
  position: relative;
  margin-top: 20px;
  width: 100%;
}

@media (min-width: 1024px) {
  .project-card.featured-wide .gallery-container {
    margin-top: 0;
  }
}

.gallery-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--slate-300) transparent;
  cursor: grab;
}

.gallery-strip:active {
  cursor: grabbing;
}

.gallery-strip::-webkit-scrollbar {
  height: 5px;
}

.gallery-strip::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: var(--radius-pill);
}

.gallery-item {
  flex: 0 0 auto;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--surface-sunken);
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
}

@media (min-width: 768px) {
  .gallery-item {
    height: 380px;
  }
}

.gallery-item img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.gallery-fade-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 8px;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--surface));
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* ── "View All Work" Banner Card ───────────────────────────────────── */
.view-all-card {
  background: linear-gradient(135deg, #101828, #1D2939);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card-hover);
  margin-top: 48px;
}

.view-all-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.view-all-desc {
  color: var(--slate-400);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 24px;
}

/* ── Capabilities ("What I Build") ─────────────────────────────────── */
.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.capability-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.capability-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.capability-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--slate-700);
}

.capability-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.capability-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.capability-desc {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ── Value Points ("Why Hire Me") ──────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.value-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-400);
  margin-bottom: 12px;
}

.value-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ── Tech Stack Section ────────────────────────────────────────────── */
.stack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stack-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stack-group-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.stack-group-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.stack-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--slate-50);
  border: 1px solid var(--border-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.tech-chip:hover {
  background: var(--slate-100);
  border-color: var(--slate-300);
  transform: translateY(-1px);
}

.tech-chip-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-chip-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ── Testimonials & Reviews ────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--star);
  margin-bottom: 14px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-quote {
  font-size: 15px;
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: 20px;
}

.review-footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.review-contract {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.review-date {
  font-size: 12px;
  color: var(--slate-400);
  margin-top: 2px;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--upwork-dark);
}

/* Video Testimonial Card */
.video-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .video-card {
    grid-template-columns: auto 1fr;
  }
}

.video-player-wrap {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  margin: 0 auto;
}

.video-player-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Contact & CTA Section ─────────────────────────────────────────── */
.contact-card {
  background: linear-gradient(135deg, #0C111D, #161E2E);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 48px 24px;
  text-align: center;
  box-shadow: var(--shadow-modal);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .contact-card {
    padding: 72px 48px;
  }
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.contact-title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
}

.contact-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--slate-400);
  max-width: 580px;
  margin: 0 auto 36px;
  position: relative;
}

.contact-channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  position: relative;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  position: relative;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── Footer ────────────────────────────────────────────────────────── */
.footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border-soft);
  padding: 48px 0 32px;
  font-size: 14px;
  color: var(--slate-500);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.footer-statement {
  font-size: 13px;
  color: var(--slate-500);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ── Projects Catalog Page Filter Bar ──────────────────────────────── */
.filter-bar-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 36px;
}

.filter-pill {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--slate-400);
  background: var(--slate-50);
}

.filter-pill.active {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Scroll Reveal Animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

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