:root {
  --bg: #0a0b0f;
  --bg-secondary: #0f1115;
  --panel: #171a22;
  --muted: #9aa3b2;
  --white: #f6f7fb;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --card: #0b0d12;
  --ring: rgba(255, 255, 255, 0.06);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --radius: 20px;
  --radius-lg: 28px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

nav {
  display: flex;
  justify-content: center;
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(12px);
  gap: 2rem;
  padding: 1.25rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--ring);
}

nav a {
  color: #f9fafb;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: transform 0.3s ease;
}

nav a:hover,
nav a:focus,
nav a[aria-current="page"] {
  color: var(--accent-cyan);
  background: rgba(59, 130, 246, 0.1);
}

nav a:hover::before,
nav a[aria-current="page"]::before {
  transform: translateX(-50%) scaleX(1);
}

/* -----------------------------
   HERO SECTION
-------------------------------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
  top: 20%;
  right: -5%;
  animation-delay: 7s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3), transparent 70%);
  bottom: -10%;
  left: 30%;
  animation-delay: 14s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(50px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
  color: var(--accent-cyan);
  font-size: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-tech-stack {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ring);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.tech-badge i {
  font-size: 18px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: white;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

/* -----------------------------
   STATS SECTION
-------------------------------- */
.stats-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.03), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(139, 92, 246, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.stat-number.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-label {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

footer {
  margin-top: 40px;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--ring);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

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

/* -----------------------------
   PROJECT SECTIONS
-------------------------------- */
.home-page .section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--ring);
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.home-page .section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(139, 92, 246, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.home-page .section:hover::before {
  opacity: 1;
}

.home-page .section+.section {
  margin-top: 48px;
}

.home-page .section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.home-page .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-page .phone {
  background: linear-gradient(135deg, rgba(17, 20, 30, 0.9), rgba(11, 13, 18, 0.9));
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 24px;
  padding: 12px 12px 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  animation: cardFadeIn 0.6s ease-out forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.home-page .phone:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.home-page .notch {
  width: 38%;
  height: 8px;
  margin: 8px auto 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.home-page .screen {
  border-radius: 16px;
  overflow: hidden;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s ease;
}

.screen-erp {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
}

.screen-streaming {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.2));
}

.screen-ecommerce {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
}

.screen-parking {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
}

.screen-healthcare {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(236, 72, 153, 0.2));
}

.screen-driving {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(20, 184, 166, 0.2));
}

.home-page .screen i {
  font-size: 56px;
  opacity: 0.9;
  transition: all 0.4s ease;
}

.home-page .phone:hover .screen i {
  transform: scale(1.1) rotate(5deg);
}

.home-page .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-erp {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: #93c5fd;
}

.tag-streaming {
  background: rgba(236, 72, 153, 0.2);
  border-color: rgba(236, 72, 153, 0.4);
  color: #f9a8d4;
}

.tag-ecommerce {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.tag-parking {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fde68a;
}

.tag-healthcare {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.tag-driving {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.4);
  color: #67e8f9;
}

.home-page .app-title {
  font-weight: 700;
  font-size: 14px;
  margin: 12px 8px 4px;
  color: var(--white);
  line-height: 1.3;
}

.home-page .app-desc {
  font-size: 12px;
  margin: 0 8px;
  color: var(--muted);
  line-height: 1.4;
}

.home-page .side {
  padding: 8px 10px;
}

.home-page .kicker {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}

.home-page .title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 6px 0 16px;
  font-weight: 900;
}

.home-page .desc {
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.7;
  font-size: 15px;
}

.tech-stack-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tech-tag {
  font-size: 12px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ring);
  border-radius: 6px;
  font-weight: 600;
  color: var(--muted);
}

.home-page .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.home-page .cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.home-page .cta:hover {
  transform: translateX(5px);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.home-page .cta:hover::before {
  opacity: 1;
}

.home-page .cta span,
.home-page .cta i {
  position: relative;
  z-index: 1;
}

.home-page .accent-android .title span {
  background: linear-gradient(135deg, #34d399, #10b981, #059669);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.home-page .accent-ios .title span {
  background: linear-gradient(135deg, #60a5fa, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

/* -----------------------------
   EXPERTISE SECTION
-------------------------------- */
.expertise-section {
  margin-top: 60px;
  padding: 60px 0;
  background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.03), transparent);
  border-radius: var(--radius-lg);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--white), var(--muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.expertise-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.expertise-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
}

.expertise-card:hover::before {
  transform: scaleX(1);
}

.expertise-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.expertise-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.expertise-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 14px;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 999px;
  transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

/* -----------------------------
   RESPONSIVE
-------------------------------- */
@media (max-width: 1024px) {
  .home-page .section {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 36px;
  }

  .home-page .side {
    order: -1;
  }

  .hero {
    min-height: 80vh;
    padding: 3rem 1.5rem;
  }
}

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .hero-tech-stack {
    gap: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .home-page .grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 2rem 1.5rem;
  }

  nav {
    gap: 1rem;
    padding: 1rem;
  }

  nav a {
    font-size: 14px;
    padding: 0.4rem 0.8rem;
  }
}

/* -----------------------------
   About Page (kept original styling)
-------------------------------- */
.about-page .container {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 0 20px 60px;
}

.about-page section {
  margin-bottom: 2rem;
  background: #1f2937;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.about-page section h2 {
  margin-bottom: 1rem;
  color: #3b82f6;
}

.about-page section p {
  max-width: 900px;
  margin: 0 auto 1rem;
  font-size: 15px;
  color: var(--muted);
}

.about-page .skill {
  margin-bottom: 1rem;
}

.about-page .skill-name {
  margin-bottom: 0.25rem;
}

.about-page .skill-bar {
  width: 100%;
  background: #374151;
  border-radius: 8px;
  overflow: hidden;
}

.about-page .skill-progress {
  height: 14px;
  background: #3b82f6;
  width: 0;
  border-radius: 8px;
  transition: width 1.2s ease-in-out;
}

.about-page form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-page input,
.about-page textarea {
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  background: #374151;
  color: #f9fafb;
  font-size: 1rem;
}

.about-page input:focus,
.about-page textarea:focus {
  outline: 2px solid #3b82f6;
}

.about-page button {
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  background: #3b82f6;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.about-page button:hover,
.about-page button:focus {
  background: #2563eb;
}

/* -----------------------------
   Project Pages (Android & iOS)
-------------------------------- */
.project-page section {
  margin-bottom: 2rem;
}

.project-page section h2 {
  margin-bottom: 1.5rem;
  color: #3b82f6;
  text-align: center;
}

.project-page .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-page .card {
  background: #1f2937;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-page .card:hover,
.project-page .card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.project-page .card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.project-page .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 120px;
  padding: 0.5rem;
  text-align: center;
  color: white;
  z-index: 2;
}

.project-page .card-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 41, 55, 0.95) 30%, rgba(202, 206, 213, 0.56) 100%);
  z-index: -1;
}

.project-page .card h3 {
  margin: 0.5rem 0;
  color: #f9fafb;
}

.project-page .card p {
  font-size: 0.9rem;
  color: #d1d5db;
}

.project-page footer {
  margin-top: 2rem;
}

.project-page .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.project-page .modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.project-page .modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

header {
  text-align: center;
  padding: 2.5rem 1rem;
  background: #1f2937;
  color: #fff;
}

header h1 {
  font-size: clamp(22px, 2vw, 28px);
  margin-bottom: 1rem;
}

header p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--muted);
}
/* ========================================
   ABOUT PAGE - MODERN REDESIGN
======================================== */

/* Profile Hero */
.profile-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem 3rem;
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg));
}

.profile-hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.profile-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}

.profile-avatar {
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.avatar-placeholder {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
  border: 3px solid var(--ring);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--muted);
  transition: all 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.avatar-placeholder:hover {
  transform: scale(1.05);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 15px 50px rgba(6, 182, 212, 0.3);
}

.profile-name {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.profile-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.profile-tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.profile-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ring);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

/* Container & Typography */
.about-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 20px 80px;
}

.section-label {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
  display: inline-block;
}

.section-heading {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--muted));
  -webkit-background-clip: text;
background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 800px;
}

/* Bio Section */
.bio-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  margin-bottom: 5rem;
  align-items: start;
}

.bio-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 15px;
}

.bio-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  animation: cardFadeIn 0.6s ease-out forwards;
}

.highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.highlight-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

/* Experience Timeline */
.experience-section {
  margin-bottom: 5rem;
}

.timeline {
  position: relative;
  padding-left: 3rem;
  margin-top: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  opacity: 0;
  animation: cardFadeIn 0.6s ease-out forwards;
}

.timeline-marker {
  position: absolute;
  left: -3.5rem;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border: 3px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  z-index: 2;
  box-shadow: 0 5px 20px rgba(6, 182, 212, 0.4);
}

.timeline-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
}

.timeline-content:hover {
  transform: translateX(10px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.timeline-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
}

.timeline-period {
  color: var(--accent-cyan);
  font-weight: 600;
}

.timeline-separator {
  color: var(--ring);
}

.timeline-company {
  font-weight: 600;
}

.timeline-content p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.timeline-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge-small {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 6px;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Skills Section */
.skills-section {
  margin-bottom: 5rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ring);
}

.category-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.category-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.skill-item {
  margin-bottom: 1.25rem;
}

.skill-item:last-child {
  margin-bottom: 0;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.skill-percentage {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
}

/* Contact Form */
.contact-section {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(139, 92, 246, 0.05));
  border: 1px solid var(--ring);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.125rem;
  z-index: 2;
  pointer-events: none;
}

.form-group textarea + .form-icon {
  top: 1.25rem;
  transform: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 3.5rem;
  border-radius: 12px;
  border: 1px solid var(--ring);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1), 0 0 20px rgba(6, 182, 212, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: white;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4);
}

.submit-btn:hover::before {
  opacity: 1;
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn span,
.submit-btn i {
  position: relative;
  z-index: 1;
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
  .bio-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bio-highlights {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .profile-hero {
    min-height: 60vh;
    padding: 3rem 1.5rem 2rem;
  }

  .about-container {
    padding: 2rem 20px 60px;
  }

  .bio-highlights {
    flex-direction: column;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline-marker {
    left: -2.5rem;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .timeline-content {
    padding: 1.5rem;
  }

  .timeline-content:hover {
    transform: translateX(5px);
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .profile-social {
    gap: 0.75rem;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-marker {
    left: -1.75rem;
    width: 35px;
    height: 35px;
    font-size: 0.875rem;
  }

  .section-heading {
    font-size: 24px;
  }
}

/* -----------------------------
   About Page V2
-------------------------------- */
.about-v2 {
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.08), transparent 28%),
    linear-gradient(225deg, rgba(16, 185, 129, 0.07), transparent 30%),
    var(--bg);
}

.about-page.about-v2 main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.about-page.about-v2 section {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.about-page.about-v2 .about-hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: 48px;
  padding: 72px 0 48px;
}

.about-page.about-v2 .about-hero__content h1,
.about-page.about-v2 .about-section h2,
.about-page.about-v2 .about-contact h2 {
  color: var(--white);
  font-size: clamp(36px, 6vw, 74px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 24px;
}

.about-page.about-v2 .about-section h2,
.about-page.about-v2 .about-contact h2 {
  font-size: clamp(28px, 4vw, 48px);
}

.about-page.about-v2 .about-hero__copy,
.about-page.about-v2 .prose-block p,
.about-page.about-v2 .about-section .section-intro p,
.about-page.about-v2 .capability-grid p,
.about-page.about-v2 .journey-list p,
.about-page.about-v2 .about-project-grid p,
.about-page.about-v2 .about-contact p {
  color: #b6bfcc;
  font-size: 16px;
  line-height: 1.75;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.about-page.about-v2 .about-hero__copy {
  max-width: 760px;
  margin-bottom: 28px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.about-hero__panel,
.capability-grid article,
.journey-list article,
.about-project-grid article {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--ring);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-hero__panel {
  padding: 24px;
}

.profile-summary {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ring);
}

.profile-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 800;
}

.profile-summary strong {
  display: block;
  color: var(--white);
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.about-page.about-v2 .profile-summary p {
  color: #b6bfcc;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.profile-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(10, 11, 15, 0.55);
  border: 1px solid var(--ring);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.profile-points i {
  color: var(--accent-cyan);
}

.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.hero-metrics {
  display: grid;
  gap: 12px;
}

.hero-metrics div {
  padding: 18px;
  border-radius: 8px;
  background: rgba(10, 11, 15, 0.55);
  border: 1px solid var(--ring);
}

.hero-metrics strong {
  display: block;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  margin-bottom: 6px;
}

.about-page.about-v2 .about-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0 72px;
}

.about-band span,
.journey-list span,
.about-project-grid span {
  border: 1px solid rgba(6, 182, 212, 0.24);
  border-radius: 999px;
  color: #9ee7f4;
  background: rgba(6, 182, 212, 0.08);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
}

.about-page.about-v2 .about-section {
  padding: 0 0 88px;
}

.about-split,
.about-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
}

.prose-block p + p {
  margin-top: 18px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.capability-grid article {
  padding: 24px;
}

.capability-grid i {
  color: var(--accent-cyan);
  font-size: 24px;
  margin-bottom: 20px;
}

.capability-grid h3,
.journey-list h3,
.about-project-grid h3 {
  color: var(--white);
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.journey-list {
  display: grid;
  gap: 16px;
}

.journey-list article {
  padding: 28px;
}

.journey-list span,
.about-project-grid span {
  display: inline-flex;
  margin-bottom: 16px;
}

.about-project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-project-grid article {
  overflow: hidden;
}

.about-project-grid img {
  width: 100%;
  aspect-ratio: 0.9;
  display: block;
  object-fit: cover;
  object-position: top center;
  background: var(--panel);
}

.about-project-grid article div {
  padding: 18px;
}

.about-page.about-v2 .about-contact {
  padding: 40px;
  border: 1px solid var(--ring);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.about-page.about-v2 .about-contact .contact-form {
  width: 100%;
}

.about-page.about-v2 .form-group:has(textarea) .form-icon {
  top: 1.25rem;
  transform: none;
}

.about-page.about-v2 .submit-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
}

@media (max-width: 1024px) {
  .about-page.about-v2 .about-hero,
  .about-page.about-v2 .about-split,
  .about-page.about-v2 .about-contact {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .about-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-page.about-v2 main {
    padding: 0 16px 56px;
  }

  .about-page.about-v2 .about-hero {
    min-height: auto;
    padding: 48px 0 32px;
  }

  .about-actions,
  .about-actions .btn {
    width: 100%;
  }

  .about-page.about-v2 .about-band,
  .about-page.about-v2 .about-section {
    padding-bottom: 56px;
  }

  .capability-grid,
  .about-project-grid {
    grid-template-columns: 1fr;
  }

  .about-page.about-v2 .about-contact {
    padding: 24px;
  }
}

/* ========================================
   PROJECT PAGES - MODERN REDESIGN
======================================== */

/* Project Hero Section */
.project-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem 3rem;
}

.project-hero-android {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1), var(--bg));
}

.project-hero-ios {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.1), var(--bg));
}

.project-hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.orb-android-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent 70%);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.orb-android-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.25), transparent 70%);
  bottom: -5%;
  right: -5%;
  animation-delay: 7s;
}

.orb-ios-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.orb-ios-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25), transparent 70%);
  bottom: -5%;
  left: -5%;
  animation-delay: 7s;
}

.project-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.project-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.android-page .project-icon {
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ios-page .project-icon {
  background: linear-gradient(135deg, #3b82f6, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text-android {
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-ios {
  background: linear-gradient(135deg, #3b82f6, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-hero-description {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.project-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-badge {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 12px;
  padding: 1rem 2rem;
  text-align: center;
  min-width: 140px;
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Projects Container */
.projects-container {
  max-width: 1300px;
  padding: 3rem 20px 80px;
}

.projects-section {
  margin-bottom: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Project Cards */
.project-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  border: 1px solid var(--ring);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}

.project-card.reveal {
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.15);
}

.android-page .project-card:hover {
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3);
}

.ios-page .project-card:hover {
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.project-image {
  position: relative;
  width: 100%;
  aspect-ratio: 836 / 936;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-year-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  z-index: 2;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  min-height: 66px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tags .tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.android-page .project-tags .tag {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.ios-page .project-tags .tag {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

/* Enhanced Modal */
.project-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalZoomIn 0.3s ease-out;
}

@keyframes modalZoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  max-width: 80%;
  text-align: center;
}

/* Responsive Design for Project Pages */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .project-hero {
    min-height: 50vh;
    padding: 3rem 1.5rem 2rem;
  }

  .project-icon {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-badge {
    width: 100%;
  }

  .project-hero {
    padding: 2.5rem 1rem 2rem;
  }

  .projects-container {
    padding: 2rem 20px 60px;
  }

  .project-image {
    aspect-ratio: 836 / 936;
  }

  .modal-close {
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }

  .modal-caption {
    bottom: 20px;
    font-size: 14px;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .project-icon {
    font-size: 3rem;
  }

  .project-hero-title {
    font-size: 2rem;
  }

  .project-info p {
    min-height: auto;
  }
}

/* ========================================
   HOME PAGE - CLIENT-FOCUSED PORTFOLIO
======================================== */

.portfolio-home {
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.88), rgba(10, 11, 15, 0.98) 36%),
    url("../images/pexels-cottonbro.jpg") center top / cover fixed;
}

.site-nav {
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: rgba(10, 11, 15, 0.78);
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.portfolio-home main {
  overflow: hidden;
}

/* ========================================
   404 PAGE
======================================== */

.not-found-page {
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.08), transparent 34%),
    linear-gradient(225deg, rgba(236, 72, 153, 0.08), transparent 38%),
    var(--bg);
}

.not-found-main {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 20px;
  overflow: hidden;
}

.not-found-hero {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.not-found-copy h1 {
  max-width: 760px;
  margin: 0 0 1.35rem;
  font-size: clamp(2.75rem, 8vw, 6.35rem);
  font-weight: 900;
  line-height: 0.98;
}

.not-found-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.8;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.not-found-panel {
  position: relative;
  display: grid;
  gap: 1rem;
}

.not-found-panel::before {
  content: "404";
  position: absolute;
  top: -28%;
  right: -8%;
  z-index: 0;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(8rem, 22vw, 16rem);
  font-weight: 900;
  line-height: 1;
}

.error-console,
.route-list {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(15, 17, 21, 0.82);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(14px);
}

.error-console {
  overflow: hidden;
}

.console-topbar {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
}

.console-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-cyan);
}

.console-topbar span:nth-child(2) {
  background: #facc15;
}

.console-topbar span:nth-child(3) {
  background: var(--accent-pink);
}

.console-body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.console-body strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.console-body p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.console-body code {
  display: inline-flex;
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: #dbeafe;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.route-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px;
  gap: 10px;
}

.route-list a {
  min-height: 98px;
  display: grid;
  place-items: center;
  gap: 8px;
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.route-list a:hover,
.route-list a:focus {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  transform: translateY(-2px);
}

.route-list i {
  font-size: 1.15rem;
}

.portfolio-hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 20px clamp(2rem, 5vw, 4rem);
}

.portfolio-hero__content {
  max-width: 720px;
}

.eyebrow {
  color: #67e8f9;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.4;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #facc15;
  border-radius: 999px;
}

.portfolio-hero h1,
.client-section h2,
.cta-section h2 {
  letter-spacing: 0;
}

.portfolio-hero h1 {
  color: #ffffff;
  font-size: 5.35rem;
  font-weight: 900;
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 760px;
}

.hero-copy {
  color: #d1d5db;
  font-size: 1.12rem;
  line-height: 1.8;
  max-width: 670px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.portfolio-home .btn {
  border-radius: 10px;
  min-height: 54px;
  padding: 15px 22px;
}

.portfolio-home .btn-primary {
  background: #f8fafc;
  color: #0a0b0f;
  box-shadow: 0 18px 48px rgba(248, 250, 252, 0.15);
}

.portfolio-home .btn-primary:hover {
  box-shadow: 0 20px 52px rgba(103, 232, 249, 0.18);
}

.portfolio-home .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 710px;
}

.trust-row div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
  border-radius: 8px;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.trust-row span {
  color: #aeb8c7;
  font-size: 13px;
  line-height: 1.45;
}

.hero-showcase {
  position: relative;
  min-height: 620px;
}

.showcase-phone {
  position: absolute;
  width: min(286px, 56vw);
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border: 10px solid #111827;
  border-radius: 34px;
  background: #111827;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
}

.showcase-phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  width: 34%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: #111827;
}

.showcase-phone img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.showcase-phone--front {
  z-index: 3;
  right: 14%;
  top: 0;
}

.showcase-phone--back {
  z-index: 2;
  left: 0;
  top: 86px;
  transform: rotate(-7deg);
  opacity: 0.94;
}

.showcase-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(5, 8, 13, 0.78);
  backdrop-filter: blur(12px);
}

.showcase-caption span,
.showcase-caption strong {
  display: block;
}

.showcase-caption span {
  color: #67e8f9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.showcase-caption strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.3;
}

.proof-band {
  display: flex;
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 60px;
  overflow-x: auto;
  scrollbar-width: none;
}

.proof-band::-webkit-scrollbar {
  display: none;
}

.proof-band span {
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dbeafe;
  font-size: 13px;
  font-weight: 700;
}

.client-section,
.cta-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 84px 20px;
}

.section-intro {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-intro--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: 32px;
  max-width: none;
}

.client-section h2,
.cta-section h2 {
  color: #ffffff;
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1.04;
  margin-bottom: 16px;
}

.section-intro p,
.cta-section p {
  color: #aeb8c7;
  font-size: 16px;
  line-height: 1.75;
}

.section-intro .eyebrow,
.cta-section .eyebrow {
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(13, 18, 28, 0.82);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.service-card i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  border-radius: 8px;
  background: #12333a;
  color: #67e8f9;
  font-size: 22px;
}

.service-card:nth-child(2) i {
  background: #2d2844;
  color: #c4b5fd;
}

.service-card:nth-child(3) i {
  background: #3b2d12;
  color: #facc15;
}

.service-card h3,
.process-grid h3,
.work-card h3 {
  color: #ffffff;
  line-height: 1.25;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p,
.process-grid p,
.work-card p {
  color: #aeb8c7;
  font-size: 14px;
  line-height: 1.65;
}

.featured-work {
  padding-top: 42px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #10151f;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.work-card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.work-card-stack {
  display: grid;
  grid-column: 3 / span 2;
  grid-row: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.work-card--small {
  min-height: 0;
}

.work-card--small .work-card__body {
  min-height: 190px;
}

.work-card img {
  width: 100%;
  aspect-ratio: 0.9;
  display: block;
  object-fit: cover;
  object-position: top center;
  background: #111827;
}

.work-card--small img {
  aspect-ratio: 0.9;
}

.work-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.work-year {
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.work-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.work-card p {
  margin-bottom: 18px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.work-tags span {
  border-radius: 6px;
  background: rgba(103, 232, 249, 0.09);
  border: 1px solid rgba(103, 232, 249, 0.2);
  color: #a5f3fc;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 9px;
  text-transform: uppercase;
}

.work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.text-link {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: #67e8f9;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: process;
}

.process-grid article {
  min-height: 240px;
  padding: 28px;
  border-top: 2px solid rgba(250, 204, 21, 0.8);
  background: rgba(255, 255, 255, 0.045);
}

.process-grid span {
  color: #facc15;
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 44px;
}

.process-grid h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-bottom: 36px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(103, 232, 249, 0.12), rgba(250, 204, 21, 0.08)),
    rgba(13, 18, 28, 0.9);
}

.cta-section h2 {
  max-width: 880px;
}

.cta-section p {
  max-width: 680px;
}

.portfolio-home footer {
  max-width: 1240px;
  margin: 0 auto;
}

.portfolio-home .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1120px) {
  .portfolio-hero h1 {
    font-size: 4.2rem;
  }

  .portfolio-hero {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 560px;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }

  .showcase-phone--front {
    right: 12%;
  }

  .showcase-phone--back {
    left: 10%;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card-stack {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 820px) {
  .portfolio-home {
    background-attachment: scroll;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .not-found-main {
    min-height: auto;
    padding-top: 3rem;
  }

  .not-found-hero {
    grid-template-columns: 1fr;
  }

  .not-found-panel::before {
    top: -18%;
    right: 0;
  }

  .portfolio-hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .trust-row,
  .service-grid,
  .process-grid,
  .section-intro--split,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 480px;
  }

  .showcase-phone {
    width: min(252px, 62vw);
  }

  .showcase-phone--front {
    right: 4%;
  }

  .showcase-phone--back {
    left: 1%;
    top: 70px;
  }

  .client-section,
  .cta-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .client-section h2,
  .cta-section h2 {
    font-size: 2.65rem;
  }
}

@media (max-width: 620px) {
  .not-found-copy h1 {
    font-size: 2.55rem;
  }

  .not-found-actions,
  .not-found-actions .btn {
    display: grid;
    width: 100%;
  }

  .not-found-actions .btn {
    justify-content: center;
  }

  .route-list {
    grid-template-columns: 1fr;
  }

  .route-list a {
    min-height: 68px;
    grid-template-columns: auto 1fr;
    justify-items: start;
    padding: 0 18px;
  }

  .portfolio-hero h1 {
    font-size: 2.55rem;
  }

  .client-section h2,
  .cta-section h2 {
    font-size: 2.05rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-row div {
    min-height: auto;
  }

  .hero-showcase {
    min-height: 430px;
  }

  .showcase-phone {
    border-width: 8px;
    border-radius: 26px;
    width: min(218px, 64vw);
  }

  .showcase-phone--front {
    right: 0;
  }

  .showcase-phone--back {
    left: 0;
    top: 58px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card-stack,
  .service-card,
  .process-grid article {
    min-height: auto;
  }

  .work-card--large {
    grid-column: auto;
    grid-row: auto;
  }

  .work-card-stack {
    grid-template-columns: 1fr;
  }

  .work-card img {
    aspect-ratio: 0.82;
  }

  .work-card--small .work-card__body {
    min-height: auto;
  }

  .proof-band {
    padding-bottom: 36px;
  }
}
