/* ============================================
   GEO / INTERNATIONAL PAGES — Shared CSS
   Used by: mobile-app-development-dubai,
   app-development-company-uae,
   flutter-app-development-dubai,
   web-development-dubai,
   hire-dedicated-developers
   ============================================ */

/* ===== HERO ===== */
.geo-hero {
  position: relative;
  overflow: hidden;
  padding: 128px 0 80px;
  background: var(--bg);
}

.geo-hero-blob--a {
  position: absolute;
  top: -200px;
  left: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 93, 252, 0.1), transparent 65%);
  filter: blur(80px);
  pointer-events: none;
}

.geo-hero-blob--b {
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(91, 141, 239, 0.08),
    transparent 65%
  );
  filter: blur(80px);
  pointer-events: none;
}

.geo-hero-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.geo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v1);
  background: rgba(109, 93, 252, 0.07);
  border: 1px solid rgba(109, 93, 252, 0.18);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.geo-eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--v2);
  box-shadow: 0 0 0 3px rgba(155, 92, 246, 0.2);
  flex-shrink: 0;
}

.geo-hero-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.8vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 20px;
}

.geo-hero-copy h1 .h1-outline {
  color: var(--bg);
  text-shadow:
    -1px -1px 0 var(--ink),
    1px -1px 0 var(--ink),
    -1px 1px 0 var(--ink),
    1px 1px 0 var(--ink),
    -1.5px 0 0 var(--ink),
    1.5px 0 0 var(--ink),
    0 -1.5px 0 var(--ink),
    0 1.5px 0 var(--ink);
}

.geo-hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.geo-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.geo-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== HERO VISUAL (right column) ===== */
.geo-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.geo-visual-svg {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 20px 48px rgba(109, 93, 252, 0.14));
  animation: geo-float 6s ease-in-out infinite;
}

@keyframes geo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== TRUST STRIP ===== */
.geo-trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: var(--bg-soft);
}

.geo-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.geo-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.geo-trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--v1);
  flex-shrink: 0;
}

.geo-trust-divider {
  width: 1px;
  height: 16px;
  background: var(--line-2);
}

/* ===== PROOF CARDS ===== */
.geo-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.geo-proof-card {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.25s;
}

.geo-proof-card:hover {
  box-shadow: 0 8px 32px rgba(109, 93, 252, 0.1);
}

.geo-proof-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.geo-proof-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-soft);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-proof-logo img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.geo-proof-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.geo-proof-market {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.geo-proof-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 14px;
}

.geo-proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.geo-proof-tag {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  padding: 3px 10px;
  border-radius: 999px;
}

.geo-proof-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== WHY GRID — 3-col white cards ===== */
.geo-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.geo-why-card {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}

.geo-why-card:hover {
  box-shadow: 0 6px 24px rgba(109, 93, 252, 0.09);
  border-color: rgba(109, 93, 252, 0.22);
}

.geo-why-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(109, 93, 252, 0.08);
  border: 1px solid rgba(109, 93, 252, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--v1);
}

.geo-why-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.geo-why-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== SERVICES GRID — 3-col white cards ===== */
.geo-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.geo-service-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}

.geo-service-card:hover {
  box-shadow: 0 6px 24px rgba(109, 93, 252, 0.09);
  border-color: rgba(109, 93, 252, 0.22);
}

.geo-svc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(109, 93, 252, 0.08);
  border: 1px solid rgba(109, 93, 252, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--v1);
  flex-shrink: 0;
}

.geo-service-card h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.geo-service-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== PROCESS STRIP ===== */
.geo-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}

.geo-process-step {
  padding: 28px 22px;
  border-right: 1px solid var(--line-2);
}

.geo-process-step:last-child {
  border-right: none;
}

.geo-process-num {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: rgba(109, 93, 252, 0.15);
  line-height: 1;
  margin-bottom: 10px;
}

.geo-process-step h3 {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.geo-process-step p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== PRICING TABLE ===== */
.geo-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.geo-pricing-card {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
}

.geo-pricing-card--featured {
  border-color: rgba(109, 93, 252, 0.35);
  background: rgba(109, 93, 252, 0.03);
  position: relative;
}

.geo-pricing-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--v1);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 0 0 8px 8px;
}

.geo-pricing-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.geo-pricing-price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  line-height: 1;
}

.geo-pricing-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0 16px;
}

.geo-pricing-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.geo-pricing-features li {
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.geo-pricing-features li::before {
  content: "✓";
  color: var(--v1);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== TWO-COL CONTENT SECTION ===== */
.geo-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.geo-twocol-copy h2 {
  margin-bottom: 16px;
}

.geo-twocol-copy p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 14px;
}

.geo-twocol-copy ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.geo-twocol-copy ul li {
  font-size: 15px;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.geo-twocol-copy ul li::before {
  content: "→";
  color: var(--v1);
  font-weight: 700;
  flex-shrink: 0;
}

.geo-twocol-visual {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.geo-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.geo-stat-box {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.geo-stat-val {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.geo-stat-lbl {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* ===== CASE STUDY PAGE ===== */
.case-hero {
  padding: 128px 0 60px;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.case-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(109, 93, 252, 0.12) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.45;
}

.case-hero-blob {
  position: absolute;
  width: 700px;
  height: 700px;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(80px);
  background: radial-gradient(
    circle,
    rgba(109, 93, 252, 0.13) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.case-hero > .container {
  position: relative;
  z-index: 1;
}

.case-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
  margin: 16px auto 16px;
  max-width: 760px;
}

.case-hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 24px;
}

.case-hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.case-hero-chips span {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--v1);
  background: rgba(109, 93, 252, 0.07);
  border: 1px solid rgba(109, 93, 252, 0.18);
  padding: 5px 12px;
  border-radius: 999px;
}

.case-hero-store-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== CASE STUDY LAYOUT ===== */
.case-meta-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.case-body h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 36px 0 14px;
}

.case-body h2:first-child {
  margin-top: 0;
}

.case-body p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}

.case-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-body ul li {
  font-size: 15.5px;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}

.case-body ul li::before {
  content: "→";
  color: var(--v1);
  font-weight: 700;
  flex-shrink: 0;
}

/* Prevent long inline code from overflowing on mobile */
.case-body code {
  font-size: 13px;
  background: rgba(109, 93, 252, 0.07);
  border: 1px solid rgba(109, 93, 252, 0.13);
  border-radius: 4px;
  padding: 1px 5px;
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* ===== SOLUTION TECH CARDS (replace inline ul with strong) ===== */
.case-solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 16px 0 24px;
}

.case-tech-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}

.case-tech-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(109, 93, 252, 0.08);
  border: 1px solid rgba(109, 93, 252, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v1);
  flex-shrink: 0;
}

.case-tech-body {
  min-width: 0;
}

.case-tech-body h4 {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.3;
}

.case-tech-body h4 small {
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
}

.case-tech-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  overflow-wrap: break-word;
}

.case-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-info-card {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 22px;
}

.case-info-card h4 {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.case-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.case-info-row:last-child {
  border-bottom: none;
}

.case-info-row .ci-label {
  color: var(--muted);
}
.case-info-row .ci-val {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink-soft);
  text-align: right;
}

.case-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case-stack-tag {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line-2);
  padding: 4px 10px;
  border-radius: 999px;
}

.case-cta-card {
  background: linear-gradient(
    135deg,
    rgba(109, 93, 252, 0.08),
    rgba(91, 141, 239, 0.06)
  );
  border: 1px solid rgba(109, 93, 252, 0.2);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}

.case-cta-card h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.case-cta-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.55;
}

/* ===== HIRE PAGE SPECIFICS ===== */
.hire-roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.hire-role-card {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg);
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}

.hire-role-card:hover {
  box-shadow: 0 6px 24px rgba(109, 93, 252, 0.09);
  border-color: rgba(109, 93, 252, 0.22);
}

.hire-role-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(109, 93, 252, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--v1);
}

.hire-role-card h3 {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.hire-role-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .geo-hero-in {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .geo-hero-visual {
    display: none;
  }

  .geo-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .geo-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hire-roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .geo-process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .geo-process-step {
    border-bottom: 1px solid var(--line-2);
  }

  .geo-process-step:last-child,
  .geo-process-step:nth-last-child(2) {
    border-bottom: none;
  }

  .geo-twocol {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-meta-grid {
    grid-template-columns: 1fr;
  }

  .case-sidebar {
    position: static;
  }
}

/* Pricing: collapse to 1-col at tablet */
@media (max-width: 780px) {
  .geo-pricing-grid {
    grid-template-columns: 1fr;
  }
  .geo-pricing-card {
    padding: 22px;
  }
  .geo-pricing-card--featured {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .geo-hero {
    padding: 100px 0 56px;
  }

  .geo-hero-sub {
    max-width: 100%;
  }

  .geo-why-grid {
    grid-template-columns: 1fr;
  }
  .geo-services-grid {
    grid-template-columns: 1fr;
  }
  .hire-roles-grid {
    grid-template-columns: 1fr;
  }

  .geo-process-grid {
    grid-template-columns: 1fr;
  }

  .geo-process-step {
    border-right: none;
    border-bottom: 1px solid var(--line-2);
  }

  .geo-process-step:last-child {
    border-bottom: none;
  }

  .case-hero {
    padding: 104px 0 48px;
  }

  /* Case study body: prevent text/code overflow */
  .case-body {
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .case-body p,
  .case-body li {
    overflow-wrap: break-word;
  }

  /* Case info rows: stack label + value on very small screens */
  .case-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 9px 0;
  }
  .case-info-row .ci-val {
    text-align: left;
  }

  /* Hide trust-strip dividers when items wrap to avoid orphan pipes */
  .geo-trust-divider {
    display: none;
  }
  .geo-trust-inner {
    gap: 10px 18px;
  }

  /* Stat rows: collapse 2-col to 1-col */
  .geo-stat-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
