/* ============================================================
   REGAL SYSTEMS – MAIN STYLESHEET
   ============================================================ */

:root {
  --navy:      #1B3A7A;
  --navy-dark: #0f2352;
  --navy-mid:  #1e4491;
  --blue:      #2563eb;
  --blue-lt:   #4a90d9;
  --accent:    #38bdf8;
  --white:     #ffffff;
  --off-white: #f8fafc;
  --gray-50:   #f1f5f9;
  --gray-100:  #e2e8f0;
  --gray-300:  #94a3b8;
  --gray-500:  #64748b;
  --gray-700:  #334155;
  --gray-900:  #0f172a;
  --gradient:  linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  --gradient-text: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.20);
  --radius:    16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* UTILITY */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}
.section { padding: 110px 0; }
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* BADGES */
.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.badge--dark {
  background: rgba(27, 58, 122, 0.08);
  color: var(--navy);
  border-color: rgba(27, 58, 122, 0.2);
}

/* SECTION HEADER */
.section__header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.section__title--left { text-align: left; }
.section__title--white { color: var(--white); }
.section__sub { font-size: 17px; color: var(--gray-500); line-height: 1.7; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--gray-100);
}
.btn--ghost:hover {
  border-color: var(--navy);
  background: rgba(27, 58, 122, 0.05);
}
.btn--nav {
  background: var(--gradient);
  color: var(--white);
  padding: 10px 22px;
  font-size: 14px;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.3);
}
.btn--nav:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(37,99,235,.4); }
.btn--sm { padding: 10px 22px; font-size: 14px; }
.btn--full { width: 100%; justify-content: center; }

/* ANIMATIONS */
[data-animate], [data-animate-delay] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate-delay] { transition-delay: 0.2s; }
[data-animate].visible, [data-animate-delay].visible {
  opacity: 1;
  transform: translateY(0);
}
/* Hero loads immediately */
.hero [data-animate],
.hero [data-animate-delay] {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 10px 0;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.4s ease,
              box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,.09);
  padding: 6px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo-img {
  height: 130px;
  width: auto;
  object-fit: contain;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled .nav__logo-img {
  height: 62px;
}
.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after { width: 100%; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0f5ff 0%, #e8f0ff 40%, #f5f9ff 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 175px 0 80px;
}
.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.shape--1 {
  width: 600px; height: 600px;
  background: rgba(37, 99, 235, 0.08);
  top: -200px; right: -100px;
}
.shape--2 {
  width: 400px; height: 400px;
  background: rgba(56, 189, 248, 0.1);
  bottom: -100px; left: -50px;
}
.shape--3 {
  width: 300px; height: 300px;
  background: rgba(129, 140, 248, 0.08);
  top: 40%; left: 40%;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__content { max-width: 600px; }
.hero__headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero__sub {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero__sub strong { color: var(--navy); }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}
.stat { }
.stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
}
.stat__plus { font-size: 24px; font-weight: 700; color: var(--blue); }
.stat p { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

/* Phone mockup */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.phone-mockup {
  position: relative;
  width: 220px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}
.phone-mockup__frame {
  width: 220px;
  height: 440px;
  background: var(--navy-dark);
  border-radius: 40px;
  padding: 16px 12px;
  box-shadow: 0 30px 80px rgba(15, 35, 82, 0.4), inset 0 0 0 1px rgba(255,255,255,.08);
  position: relative;
  z-index: 2;
}
.phone-mockup__frame::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
}
.phone-mockup__screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
  border-radius: 28px;
  overflow: hidden;
  padding: 16px;
}
.app-ui__bar {
  height: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 3px;
  margin-bottom: 20px;
}
.app-ui__icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.app-icon {
  aspect-ratio: 1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.app-icon--1 { background: rgba(56,189,248,.3); }
.app-icon--2 { background: rgba(129,140,248,.3); }
.app-icon--3 { background: rgba(251,191,36,.3); }
.app-icon--4 { background: rgba(52,211,153,.3); }
.app-ui__card {
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}
.app-ui__card-bar {
  height: 8px;
  background: rgba(255,255,255,.2);
  border-radius: 4px;
  margin-bottom: 8px;
}
.app-ui__card-bar:last-child { margin-bottom: 0; }
.app-ui__progress {
  height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  overflow: hidden;
}
.app-ui__progress-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--accent), #818cf8);
  border-radius: 3px;
  animation: progress-pulse 2s ease-in-out infinite;
}
@keyframes progress-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.phone-mockup__glow {
  position: absolute;
  bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 160px; height: 40px;
  background: rgba(37, 99, 235, 0.4);
  filter: blur(20px);
  border-radius: 50%;
}
.floating-card {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.floating-card__icon { font-size: 28px; }
.floating-card strong { display: block; font-size: 14px; font-weight: 600; color: var(--gray-900); }
.floating-card p { font-size: 12px; color: var(--gray-500); margin: 0; }
.floating-card--1 {
  top: 40px; left: -80px;
  animation: float2 3.5s ease-in-out infinite;
}
.floating-card--2 {
  bottom: 80px; right: -80px;
  animation: float2 4.5s ease-in-out infinite reverse;
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-300);
  z-index: 1;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--gray-300);
  border-bottom: 2px solid var(--gray-300);
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(4px); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--white); }
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
}
.service-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover * { color: white !important; }
.service-card:hover .btn--primary {
  background: white;
  color: var(--navy) !important;
  box-shadow: none;
}
.service-card:hover .service-card__icon-wrap {
  background: rgba(255,255,255,.15) !important;
}
.service-card > * { position: relative; z-index: 1; }
.service-card__icon-wrap {
  width: 64px; height: 64px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background var(--transition);
}
.service-card__icon-wrap--game { background: rgba(37, 99, 235, 0.1); color: var(--blue); }
.service-card__icon-wrap--app  { background: rgba(56, 189, 248, 0.1); color: var(--blue-lt); }
.service-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
}
.service-card__desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-card__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 32px;
}
.service-card__list li {
  font-size: 14px;
  color: var(--gray-700);
  padding-left: 16px;
  position: relative;
}
.service-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 12px;
}

/* Sub-services */
.subservices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px;
}
.subservice { text-align: center; }
.subservice__icon { font-size: 32px; margin-bottom: 12px; }
.subservice h4 { font-size: 15px; font-weight: 600; color: var(--gray-900); margin-bottom: 6px; }
.subservice p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--gray-50); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about__img-wrap { position: relative; }
.about__img-block--main {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__img-placeholder { width: 100%; padding: 40px; }
.about__badge-card {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gradient);
  color: white;
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about__badge-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 800;
}
.about__badge-card span { font-size: 13px; opacity: 0.9; }
.about__text { font-size: 16px; color: var(--gray-500); line-height: 1.8; margin-bottom: 16px; }
.about__values { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 20px; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value__icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.value h4 { font-size: 15px; font-weight: 600; color: var(--gray-900); margin-bottom: 4px; }
.value p { font-size: 14px; color: var(--gray-500); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--white); }
.process__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 20px;
}
.process__step {
  text-align: center;
  padding: 36px 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.process__step:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.2);
}
.process__step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(37, 99, 235, 0.08);
  line-height: 1;
  margin-bottom: 8px;
}
.process__step-icon { font-size: 32px; margin-bottom: 16px; }
.process__step h3 { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.process__step p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.process__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  color: var(--gray-300);
  font-size: 24px;
}
.process__connector::after {
  content: '→';
  font-size: 24px;
  color: var(--gray-300);
}

/* ============================================================
   TECH STACK
   ============================================================ */
.techstack { background: var(--navy-dark); padding: 80px 0; }
.techstack .badge { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.15); }
.techstack .section__title { color: white; }
.tech__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}
.tech__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: default;
}
.tech__item:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.15);
  transform: translateY(-4px);
}
.tech__logo { font-size: 28px; color: var(--accent); }
.tech__item span { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 500; text-align: center; }

/* ============================================================
   WHY US
   ============================================================ */
.whyus { background: var(--gray-50); }
.whyus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.whyus__card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: var(--transition);
}
.whyus__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.15);
}
.whyus__card-icon { font-size: 40px; margin-bottom: 20px; }
.whyus__card h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.whyus__card p { font-size: 15px; color: var(--gray-500); line-height: 1.7; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: white; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial__card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
}
.testimonial__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial__stars { color: #f59e0b; font-size: 18px; margin-bottom: 16px; }
.testimonial__text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--gray-700);
}
.testimonial__author { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial__author strong { display: block; font-size: 14px; font-weight: 600; color: var(--gray-900); }
.testimonial__author span { font-size: 13px; color: var(--gray-500); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--gradient);
  padding: 100px 0;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__info .badge {
  background: rgba(255,255,255,.15);
  color: white;
  border-color: rgba(255,255,255,.25);
}
.contact__sub { font-size: 16px; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 36px; }
.contact__details { display: flex; flex-direction: column; gap: 20px; }
.contact__detail { display: flex; align-items: flex-start; gap: 16px; }
.contact__detail-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact__detail strong { display: block; font-size: 13px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact__detail span, .contact__detail a { font-size: 15px; color: white; font-weight: 500; }
.contact__detail a:hover { text-decoration: underline; }

/* FORM */
.contact__form-wrap {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { margin-bottom: 20px; }
.form__group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form__group textarea { resize: vertical; min-height: 100px; }
.form__group select { cursor: pointer; }
.form__success {
  display: none;
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-sm);
  color: #059669;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--gray-900); padding: 80px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer__logo {
  height: 130px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  object-fit: contain;
}
.footer__brand p { font-size: 14px; color: var(--gray-500); line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.footer__social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  transition: var(--transition);
}
.social-link:hover { background: var(--blue); border-color: var(--blue); color: white; }
.footer__col h4 { font-size: 14px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 20px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a,
.footer__col ul li span { font-size: 14px; color: var(--gray-500); transition: color var(--transition); }
.footer__col ul li a:hover { color: white; }
.footer__cta-box {
  margin-top: 24px;
  padding: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
}
.footer__cta-box p { font-size: 14px; color: var(--gray-500); margin-bottom: 12px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px 0;
}
.footer__bottom p { font-size: 13px; color: var(--gray-500); text-align: center; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio { background: var(--gray-50); }

/* Filter buttons */
.portfolio__filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.pf-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-100);
  background: white;
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.pf-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.pf-btn.active {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}

/* Grid */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.pf-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.pf-card.hidden {
  display: none;
}

/* Cover gradients per category */
.pf-card__cover {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-card__cover--game1 { background: linear-gradient(135deg,#0f2352 0%,#1e40af 100%); }
.pf-card__cover--game2 { background: linear-gradient(135deg,#1e1b4b 0%,#7c3aed 100%); }
.pf-card__cover--game3 { background: linear-gradient(135deg,#134e4a 0%,#0891b2 100%); }
.pf-card__cover--app1  { background: linear-gradient(135deg,#064e3b 0%,#14a800 100%); }
.pf-card__cover--app2  { background: linear-gradient(135deg,#1e3a5f 0%,#0ea5e9 100%); }
.pf-card__cover--app3  { background: linear-gradient(135deg,#7c2d12 0%,#f97316 100%); }
.pf-card__cover--app4  { background: linear-gradient(135deg,#312e81 0%,#7c3aed 100%); }
.pf-card__cover--app5  { background: linear-gradient(135deg,#7f1d1d 0%,#dc2626 100%); }
.pf-card__cover--app6  { background: linear-gradient(135deg,#065f46 0%,#10b981 100%); }
.pf-card__cover--web1  { background: linear-gradient(135deg,#1B3A7A 0%,#2563eb 100%); }
.pf-card__cover--web2  { background: linear-gradient(135deg,#4c1d95 0%,#a855f7 100%); }
.pf-card__cover--web3  { background: linear-gradient(135deg,#881337 0%,#f43f5e 100%); }
.pf-card__cover--web4  { background: linear-gradient(135deg,#78350f 0%,#f59e0b 100%); }

.pf-card__cover-icon {
  font-size: 56px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.3));
  transition: transform 0.4s ease;
}
.pf-card:hover .pf-card__cover-icon { transform: scale(1.15); }

.pf-card__cat-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

/* Body */
.pf-card__body { padding: 24px; }
.pf-card__body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.pf-card__body p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 16px;
}
.pf-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pf-card__tech span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  color: var(--gray-700);
}

/* Store / project links */
.pf-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}
.pf-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1.5px solid var(--navy);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.2px;
}
.pf-card__link:hover {
  background: var(--navy);
  color: white;
}
.pf-card__link svg { flex-shrink: 0; }

/* ============================================================
   TESTIMONIALS (redesigned)
   ============================================================ */
.testimonials { background: white; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.testimonial__card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}
.testimonial__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.15);
  background: white;
}
.testimonial__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.testimonial__quote {
  font-size: 52px;
  line-height: 1;
  color: var(--blue);
  opacity: .25;
  font-family: Georgia, serif;
  margin-top: -8px;
}
.testimonial__upwork-tag {
  background: #f0faf0;
  border: 1px solid #b2e8b2;
  border-radius: 100px;
  padding: 3px 10px;
}
.testimonial__stars { color: #f59e0b; font-size: 15px; letter-spacing: 1px; }
.testimonial__text {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.75;
  flex: 1;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}
.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testimonial__author-info { display: flex; flex-direction: column; gap: 2px; }
.testimonial__author-info strong { font-size: 14px; color: var(--gray-900); }
.testimonial__author-info span  { font-size: 12px; color: var(--gray-500); }
.testimonial__country { font-size: 12px !important; color: var(--gray-400) !important; }

/* Bottom CTA */
.testimonials__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 28px 36px;
  background: #f0faf0;
  border: 1px solid #b2e8b2;
  border-radius: var(--radius);
}
.testimonials__cta p { font-size: 15px; color: var(--gray-600); }
.testimonials__cta strong { color: #0d7a00; }

/* ============================================================
   UPWORK CREDIBILITY STRIP
   ============================================================ */
.upwork-strip {
  background: #fff;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 32px 0;
}
.upwork-strip__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Upwork wordmark */
.upwork-wordmark {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #14a800;
  letter-spacing: -0.5px;
  line-height: 1;
}

/* Brand + badge */
.upwork-strip__brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.upwork-strip__divider {
  width: 1px;
  height: 36px;
  background: var(--gray-100);
}
.upwork-strip__badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #f0faf0;
  border: 1.5px solid #b2e8b2;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #0d7a00;
}

/* Stats */
.upwork-strip__stats {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}
.upwork-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.upwork-stat strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}
.upwork-stat strong span {
  font-size: 18px;
  color: #14a800;
  font-weight: 700;
}
.upwork-stat p {
  font-size: 12px;
  color: var(--gray-500);
  white-space: nowrap;
}

/* Ring stat */
.upwork-stat__ring {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upwork-stat__ring-num {
  position: absolute;
  font-size: 9px;
  font-weight: 800;
  color: #14a800;
  line-height: 1;
}

/* CTA */
.upwork-strip__cta {
  background: #14a800;
  color: #fff !important;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  gap: 8px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(20,168,0,.25);
  transition: var(--transition);
}
.upwork-strip__cta:hover {
  background: #0d7a00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,168,0,.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .container { padding: 0 32px; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: 100%; }
  .hero__cta { justify-content: center; }
  .hero__stats { justify-items: center; }
  .hero__visual { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { display: none; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .process__connector { display: none; }
  .tech__grid { grid-template-columns: repeat(4, 1fr); }
  .whyus__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .subservices { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .nav__links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: white; padding: 100px 32px 32px; gap: 24px; z-index: 999; }
  .nav__links.open { display: flex; }
  .nav__link { font-size: 20px; }
  .btn--nav { display: none; }
  .nav__burger { display: flex; z-index: 1001; }
  .hero { padding: 100px 0 60px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; }
  .service-card__list { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .tech__grid { grid-template-columns: repeat(3, 1fr); }
  .whyus__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .subservices { grid-template-columns: 1fr 1fr; }
  .floating-card--1, .floating-card--2 { display: none; }
}

@media (max-width: 480px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .tech__grid { grid-template-columns: repeat(2, 1fr); }
  .subservices { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 24px; }
  .upwork-strip__stats { gap: 20px; }
  .upwork-strip__inner { gap: 24px; justify-content: center; }
  .upwork-strip__brand { flex-wrap: wrap; justify-content: center; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonials__cta { flex-direction: column; text-align: center; }
}
