/* Appcodr Homepage - Styles */
/* Based on Design Appcodr Homepage */

:root {
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-950: #172554;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-950: #3b0764;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --cyan-400: #22d3ee;
  --cyan-600: #0891b2;
  --gray-400: #9ca3af;
  --gray-950: #030712;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #000;
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.app {
  min-height: 100vh;
}

.page-main {
  padding-top: 4.5rem; /* Account for fixed header */
}

@media (min-width: 768px) {
  .page-main {
    padding-top: 5rem;
  }
}

/* Container */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

.container-narrow {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container-narrow {
    padding: 0 1.5rem;
  }
}

.relative {
  position: relative;
  z-index: 10;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.625rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .nav-inner {
    padding: 0.75rem 1.25rem;
  }
}

.nav-inner > .logo,
.nav-inner > .nav-toggle {
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.icon-code {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--blue-500);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--blue-500), var(--purple-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--white);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

  .nav-links {
    display: flex;
  }
}

.nav-links.mobile-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #000;
  padding: 5rem 1.5rem 2rem;
  padding-top: calc(5rem + env(safe-area-inset-top));
  gap: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
}

.nav-links.mobile-open .nav-link,
.nav-links.mobile-open .btn-nav {
  padding: 0.875rem 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-links.mobile-open .nav-link:last-of-type {
  border-bottom: none;
}

.nav-links.mobile-open .btn-nav {
  margin-top: 1rem;
  border-bottom: none;
  justify-content: center;
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
    width: 100%;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  text-decoration: none;
}

@media (min-width: 640px) {
  .btn {
    padding: 0.5rem 1.5rem;
    min-height: auto;
    font-size: 1rem;
  }
}

a.btn {
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(to right, var(--blue-600), var(--purple-600));
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 0 2rem rgba(59, 130, 246, 0.5);
}

.btn-nav {
  padding: 0.5rem 1.5rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4.5rem 0 3rem;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 5rem;
  }
}


.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(30, 58, 138, 0.5), rgba(88, 28, 135, 0.3), #000);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.hero-orb-1 {
  top: 25%;
  left: 25%;
  width: 16rem;
  height: 16rem;
  background: rgba(59, 130, 246, 0.2);
}

.hero-orb-2 {
  bottom: 25%;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(168, 85, 247, 0.2);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 0 1.5rem;
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 9999px;
  color: var(--blue-400);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(to right, var(--blue-400), var(--purple-400), var(--pink-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  color: var(--gray-400);
  max-width: 48rem;
  margin: 0 auto 2rem;
}

@media (min-width: 640px) {
  .hero-desc {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: 1.25rem;
    margin-bottom: 3rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-hero {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
}

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

.btn-hero:hover .icon-arrow {
  transform: translateX(4px);
}

.icon-arrow {
  flex-shrink: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 48rem;
  margin: 3rem auto 0;
}

@media (min-width: 640px) {
  .hero-stats {
    gap: 2rem;
    margin: 5rem auto 0;
  }
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .stat-value {
    font-size: 2.25rem;
  }
}

.stat-blue { color: var(--blue-400); }
.stat-purple { color: var(--purple-400); }
.stat-pink { color: var(--pink-400); }

.stat-label {
  color: var(--gray-400);
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .stat-label {
    font-size: 1rem;
  }
}

/* Section Styles */
.section {
  padding: 3rem 0;
}

@media (min-width: 640px) {
  .section {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }
}

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

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

.section-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .section-title {
    margin-bottom: 1rem;
  }
}

.section-desc {
  color: var(--gray-400);
  font-size: 1rem;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .section-desc {
    font-size: 1.125rem;
  }
}

/* Legal / Privacy Policy Page */
.section-legal {
  background: linear-gradient(to bottom, var(--gray-950), #000);
  padding-top: 0;
}

.legal-content {
  max-width: 100%;
}

.legal-content .legal-intro {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .legal-content .legal-intro {
    font-size: 1.125rem;
  }
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
}

@media (min-width: 640px) {
  .legal-content h2 {
    font-size: 1.375rem;
    margin-top: 2.5rem;
  }
}

.legal-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.legal-content p {
  color: var(--gray-400);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .legal-content p {
    font-size: 1rem;
  }
}

.legal-content ul {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  color: var(--gray-400);
  font-size: 0.9375rem;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .legal-content ul {
    font-size: 1rem;
  }
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--blue-400);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-content a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Services Section */
.section-services {
  background: linear-gradient(to bottom, #000, var(--gray-950));
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.service-card {
  padding: 1.5rem;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .service-card {
    padding: 2rem;
  }
}

.service-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.2);
}

.service-card-blue:hover { border-color: rgba(59, 130, 246, 0.5); box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.2); }
.service-card-green:hover { border-color: rgba(34, 197, 94, 0.5); box-shadow: 0 25px 50px -12px rgba(34, 197, 94, 0.2); }
.service-card-purple:hover { border-color: rgba(168, 85, 247, 0.5); box-shadow: 0 25px 50px -12px rgba(168, 85, 247, 0.2); }
.service-card-pink:hover { border-color: rgba(236, 72, 153, 0.5); box-shadow: 0 25px 50px -12px rgba(236, 72, 153, 0.2); }
.service-card-cyan:hover { border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 25px 50px -12px rgba(34, 211, 238, 0.2); }

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  transition: transform 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon-blue { background: linear-gradient(to bottom right, var(--blue-600), var(--blue-800)); }
.service-icon-green { background: linear-gradient(to bottom right, var(--green-600), #166534); }
.service-icon-purple { background: linear-gradient(to bottom right, var(--purple-600), #6b21a8); }
.service-icon-pink { background: linear-gradient(to bottom right, var(--pink-600), #9d174d); }
.service-icon-cyan { background: linear-gradient(to bottom right, var(--cyan-600), #0e7490); }

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

.service-card p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.service-link .icon-chevron {
  margin-left: 0.25rem;
}

.link-blue { color: var(--blue-400); }
.link-blue:hover { color: #93c5fd; }
.link-green { color: var(--green-500); }
.link-green:hover { color: #4ade80; }
.link-purple { color: var(--purple-400); }
.link-purple:hover { color: #d8b4fe; }
.link-pink { color: var(--pink-400); }
.link-pink:hover { color: #f9a8d4; }
.link-cyan { color: var(--cyan-400); }
.link-cyan:hover { color: #67e8f9; }

.service-card-wide {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .service-card-wide {
    grid-column: span 1;
  }
}

/* Why Section */
.section-why {
  background: linear-gradient(to bottom, var(--gray-950), #000);
  position: relative;
  overflow: hidden;
}

.why-bg-img {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.why-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.why-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .why-card {
    gap: 1.5rem;
    padding: 2rem;
  }
}

.why-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon-blue { background: rgba(37, 99, 235, 0.2); border: 1px solid rgba(59, 130, 246, 0.3); color: var(--blue-400); }
.why-icon-purple { background: rgba(147, 51, 234, 0.2); border: 1px solid rgba(168, 85, 247, 0.3); color: var(--purple-400); }
.why-icon-green { background: rgba(22, 163, 74, 0.2); border: 1px solid rgba(34, 197, 94, 0.3); color: var(--green-500); }
.why-icon-pink { background: rgba(219, 39, 119, 0.2); border: 1px solid rgba(236, 72, 153, 0.3); color: var(--pink-400); }
.why-icon-cyan { background: rgba(8, 145, 178, 0.2); border: 1px solid rgba(34, 211, 238, 0.3); color: var(--cyan-400); }

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--gray-400);
}

/* Technologies Section */
.section-tech {
  background: #000;
}

.section-tech .section-title,
.section-tech .section-desc,
.section-tech .tech-category-title {
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

.tech-item span {
  white-space: nowrap;
  word-break: keep-all;
}

.tech-categories {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.tech-category-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.tech-blue { color: var(--blue-400); }
.tech-purple { color: var(--purple-400); }
.tech-pink { color: var(--pink-400); }

.tech-track-wrapper,
.portfolio-track-wrapper,
.testimonials-track-wrapper {
  touch-action: pan-y pinch-zoom;
}

.tech-track-wrapper {
  overflow: hidden;
  margin: 0 -1rem;
  padding: 0.5rem 0;
  cursor: grab;
}

@media (min-width: 640px) {
  .tech-track-wrapper {
    margin: 0 -1.5rem;
  }
}

.tech-track-wrapper.is-dragging {
  cursor: grabbing;
}

.tech-track {
  display: flex;
  gap: 1.5rem;
  animation: tech-scroll 50s linear infinite;
}

.tech-track:hover {
  animation-play-state: paused;
}

.tech-track .tech-item {
  flex: 0 0 130px;
  padding: 0.875rem 1rem;
}

@media (min-width: 480px) {
  .tech-track .tech-item {
    flex: 0 0 140px;
  }
}

@media (min-width: 768px) {
  .tech-track .tech-item {
    flex: 0 0 150px;
    padding: 1rem 1.25rem;
  }
}

@keyframes tech-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

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

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

.tech-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.2s;
}

.tech-item:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.tech-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.tech-item:hover .tech-logo-wrap {
  background: rgba(255, 255, 255, 0.18);
}

.tech-logo {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Page Intro */
.section-intro {
  padding: 2rem 1rem;
  background: linear-gradient(to bottom, #000, var(--gray-950));
}

@media (min-width: 640px) {
  .section-intro {
    padding: 3rem 1.5rem;
  }
}

.intro-content {
  max-width: 48rem;
  margin: 0 auto;
}

.intro-lead {
  color: var(--blue-400);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.intro-text {
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1.7;
}

@media (min-width: 640px) {
  .intro-text {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .intro-text {
    font-size: 1.25rem;
  }
}

/* Portfolio / Projects */
.section-portfolio {
  background: linear-gradient(to bottom, var(--gray-950), #000);
}

.portfolio-track-wrapper {
  overflow: hidden;
  margin: 0 -1rem;
  padding: 0.5rem 0;
  cursor: grab;
}

@media (min-width: 640px) {
  .portfolio-track-wrapper {
    margin: 0 -1.5rem;
  }
}

.portfolio-track-wrapper.is-dragging {
  cursor: grabbing;
}

.portfolio-track {
  display: flex;
  gap: 1.5rem;
  animation: portfolio-scroll 80s linear infinite;
}

.portfolio-track:hover {
  animation-play-state: paused;
}

@keyframes portfolio-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.project-card {
  flex: 0 0 min(320px, 85vw);
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .project-card {
    flex: 0 0 360px;
  }
}

.project-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 40px -15px rgba(59, 130, 246, 0.2);
}

.project-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.project-content p {
  color: var(--gray-400);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.project-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue-400);
}

/* Process Section */
.section-process {
  background: #000;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.process-step {
  padding: 1.5rem;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), transparent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .process-step {
    padding: 2rem;
  }
}

.process-step:hover {
  border-color: rgba(168, 85, 247, 0.4);
}

.process-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--gray-400);
  font-size: 0.9375rem;
}

/* Testimonials */
.section-testimonials {
  background: linear-gradient(to bottom, #000, var(--gray-950));
}

.testimonials-track-wrapper {
  overflow: hidden;
  margin: 0 -1rem;
  padding: 0.5rem 0;
  cursor: grab;
}

@media (min-width: 640px) {
  .testimonials-track-wrapper {
    margin: 0 -1.5rem;
  }
}

.testimonials-track-wrapper.is-dragging {
  cursor: grabbing;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  animation: testimonials-scroll 60s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes testimonials-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  flex: 0 0 min(340px, 90vw);
  padding: 1.5rem;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 380px;
    padding: 2rem;
  }
}

.testimonial-card:hover {
  border-color: rgba(236, 72, 153, 0.4);
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(to right, var(--blue-600), var(--purple-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* CTA Section */
.section-cta {
  background: linear-gradient(to bottom, #000, rgba(30, 58, 138, 0.2), rgba(88, 28, 135, 0.2));
  position: relative;
  overflow: hidden;
}

.cta-bg-img {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.cta-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 9999px;
  color: var(--purple-400);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.cta-title {
  margin-bottom: 1.5rem;
}

.cta-desc {
  font-size: 1rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .cta-desc {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 768px) {
  .cta-desc {
    font-size: 1.25rem;
    margin-bottom: 3rem;
  }
}

.btn-cta {
  padding: 1rem 1.75rem;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .btn-cta {
    padding: 1.25rem 2.5rem;
    min-height: auto;
    font-size: 1.125rem;
  }
}

.btn-cta:hover {
  box-shadow: 0 0 2rem rgba(168, 85, 247, 0.5);
}

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

.btn-cta:hover .icon-arrow {
  transform: translateX(4px);
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .contact-info {
    gap: 2rem;
    margin-top: 4rem;
  }
}

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

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-blue { background: rgba(37, 99, 235, 0.2); border: 1px solid rgba(59, 130, 246, 0.3); color: var(--blue-400); }
.contact-icon-purple { background: rgba(147, 51, 234, 0.2); border: 1px solid rgba(168, 85, 247, 0.3); color: var(--purple-400); }
.contact-icon-pink { background: rgba(219, 39, 119, 0.2); border: 1px solid rgba(236, 72, 153, 0.3); color: var(--pink-400); }

.contact-item span,
.contact-item a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

a.contact-item {
  text-decoration: none;
}

.contact-item a:hover,
a.contact-item:hover span {
  color: var(--white);
}

/* Contact Page Form */
.section-contact {
  position: relative;
  padding: 4rem 0 5rem;
  min-height: 60vh;
}

.contact-bg-img {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.contact-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.contact-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .contact-title {
    font-size: 2.5rem;
  }
}

.contact-desc {
  color: var(--gray-400);
  font-size: 1rem;
  max-width: 36rem;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 3rem;
  max-width: 100%;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
}

@media (min-width: 480px) {
  .contact-form {
    padding: 2rem;
  }
}

@media (min-width: 640px) {
  .contact-form {
    padding: 2.5rem;
  }
}

.contact-form .form-row,
.contact-form .form-row + .form-row,
.contact-form .form-row + .form-group,
.contact-form .form-group {
  margin-top: 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .form-row {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
}

.form-group + .form-row,
.form-row + .form-group,
.form-group + .form-group {
  margin-top: 0.5rem;
}

.form-row + .form-row {
  margin-top: 0.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  min-height: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-form .field-required {
  color: var(--pink-400);
}

.contact-form .field-optional {
  font-weight: 400;
  color: var(--gray-400);
  font-size: 0.8125rem;
}

.contact-field-error {
  display: block;
  font-size: 0.8125rem;
  color: var(--pink-400);
  margin-top: 0.25rem;
  min-height: 1.25rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-form input,
.contact-form select {
  min-height: 44px;
}

.contact-form textarea {
  min-height: 6rem;
  resize: vertical;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-500);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.contact-form select option {
  background: var(--gray-950);
  color: white;
}

.phone-input-wrapper {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.phone-input-wrapper select {
  flex: 0 0 auto;
  width: auto;
  min-width: 7rem;
}

.phone-input-wrapper input {
  flex: 1;
  min-width: 0;
}

/* Searchable country code dropdown */
.country-code-dropdown {
  position: relative;
  flex: 0 0 auto;
  min-width: 8rem;
}

.country-code-trigger {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 2rem 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  cursor: pointer;
  text-align: left;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.25rem;
  transition: border-color 0.2s;
}

.country-code-trigger:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.country-code-trigger:focus {
  outline: none;
  border-color: var(--blue-500);
}

.country-code-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  min-width: 100%;
  width: 16rem;
  max-width: min(16rem, calc(100vw - 2rem));
  max-height: min(16rem, 60vh);
  background: var(--gray-950);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 100;
  overflow: hidden;
}

.country-code-panel.is-open {
  display: block;
}

.country-code-search {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  box-sizing: border-box;
}

.country-code-search::placeholder {
  color: var(--gray-400);
}

.country-code-search:focus {
  outline: none;
}

.country-code-list {
  max-height: 12rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0;
}

.country-code-option {
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.15s;
}

.country-code-option:hover,
.country-code-option.is-selected,
.country-code-option:focus {
  background: rgba(59, 130, 246, 0.2);
  outline: none;
}

.country-code-option.is-hidden {
  display: none;
}

.btn-contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0;
  padding: 1rem 1.75rem;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 600;
}

.btn-contact-submit:hover {
  box-shadow: 0 0 2rem rgba(59, 130, 246, 0.5);
}

.btn-contact-submit .icon-arrow {
  transition: transform 0.2s;
}

.btn-contact-submit:hover .icon-arrow {
  transform: translateX(4px);
}

.contact-success {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 1rem;
  margin-bottom: 3rem;
}

.contact-success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
}

.contact-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-success p {
  color: var(--gray-400);
}

.section-contact .contact-info {
  margin-top: 0;
}

/* Footer */
.footer {
  padding: 2rem 1rem;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .footer {
    padding: 3rem 1.5rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    gap: 3rem;
    margin-bottom: 3rem;
  }
}

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

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.social-link:nth-child(2):hover { background: var(--blue-400); border-color: var(--blue-400); }
.social-link:nth-child(3):hover { background: var(--blue-700); border-color: var(--blue-700); }
.social-link:nth-child(4):hover { background: var(--pink-600); border-color: var(--pink-600); }

.footer-links h4 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.copyright {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.8125rem;
}

@media (min-width: 640px) {
  .footer-legal {
    gap: 1.5rem;
    font-size: 0.875rem;
  }
}

.footer-legal a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--white);
}

/* 404 Page */
.section-404 {
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, var(--gray-950), #000);
}

.page-404 {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 36rem;
  margin: 0 auto;
}

.page-404-number {
  font-size: clamp(5rem, 20vw, 10rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, var(--blue-400), var(--purple-400), var(--pink-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.page-404-title {
  margin-bottom: 1rem;
}

.page-404-desc {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .page-404-desc {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
}

.page-404-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.page-404-buttons .btn {
  min-height: 48px;
}
