/* ITZ Digital Labs — software.itz.ae */

:root {
  --bg: #06080f;
  --bg-elevated: #0c1019;
  --bg-card: #111827;
  --bg-card-hover: #151d2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --primary-dark: #2563eb;
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.25);
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #8b5cf6 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* ===== Contact Bar ===== */
.contact-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-bar__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-bar__btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.contact-bar__btn--call {
  background: var(--primary);
}

.contact-bar__btn--call:hover {
  background: var(--primary-dark);
}

.contact-bar__btn--whatsapp {
  background: var(--whatsapp);
}

.contact-bar__btn--whatsapp:hover {
  background: var(--whatsapp-dark);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  height: var(--header-h);
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  background: rgba(6, 8, 15, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo:hover {
  color: var(--text);
}

.logo__mark {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.5rem;
}

.logo__text {
  font-weight: 500;
  color: var(--text-muted);
}

.logo__img {
  height: 56px;
  width: auto;
  display: block;
}

.footer__brand .logo__img {
  height: 60px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__list a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__list a:hover {
  color: var(--text);
}

.nav__cta {
  padding: 10px 20px !important;
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav__cta:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  max-width: none;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero__pills li {
  padding: 8px 14px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
}

.hero__form-card {
  padding: 32px;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.hero__form-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero__form-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero__form .form-group {
  margin-bottom: 16px;
}

/* ===== Metrics ===== */
.metrics {
  padding: 40px 0;
  background: linear-gradient(
    115deg,
    rgba(59, 130, 246, 0.14) 0%,
    rgba(6, 182, 212, 0.08) 50%,
    rgba(139, 92, 246, 0.14) 100%
  );
  background-size: 280% 280%;
  animation: gradientFlow 20s ease infinite;
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metrics__item {
  text-align: center;
  padding: 20px 16px;
}

.metrics__value {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.metrics__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Case Studies ===== */
.case-studies {
  background: var(--bg-elevated);
}

.case-studies__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  overflow: hidden;
}

.case-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.case-card--highlight {
  background: var(--gradient-subtle);
  border-color: rgba(59, 130, 246, 0.25);
}

.case-card__image {
  margin: -32px -32px 24px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gradient-subtle);
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.case-card__tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.case-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
}

.case-card > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.case-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-card__metrics li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.case-card__metrics strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 4px;
}

.case-card__quote {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 12px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}

.case-card cite {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-style: normal;
}

.case-studies__cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== CTA Band ===== */
.cta-band {
  padding: 56px 0;
  background: linear-gradient(
    115deg,
    rgba(59, 130, 246, 0.22) 0%,
    rgba(6, 182, 212, 0.16) 35%,
    rgba(139, 92, 246, 0.22) 70%,
    rgba(59, 130, 246, 0.22) 100%
  );
  background-size: 300% 300%;
  animation: gradientFlow 16s ease infinite;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-band p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 560px;
  line-height: 1.65;
}

/* ===== Compliance ===== */
.compliance__layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.compliance__column {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.compliance__column--highlight {
  background: var(--gradient-subtle);
  border-color: rgba(59, 130, 246, 0.2);
}

.compliance__column h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary-light);
}

.compliance__list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.compliance__list li:last-child {
  border-bottom: none;
}

/* ===== Engagement ===== */
.engagement {
  background: var(--bg-elevated);
}

.engagement__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.engagement-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.engagement-card--featured {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12);
}

.engagement-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
}

.engagement-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.engagement-card > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.engagement-card ul {
  margin-bottom: 24px;
}

.engagement-card ul li {
  font-size: 0.8125rem;
  color: var(--text-dim);
  padding: 4px 0 4px 16px;
  position: relative;
}

.engagement-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== Compare Section (Why Us) ===== */
.compare-section {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.compare-section__title {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 28px;
}

.compare-table--wide .compare-row {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
}

.compare-maybe {
  color: #fbbf24;
}

/* ===== Industry Cards ===== */
.industry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.industry-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.industry-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-light);
}

.industry-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Tech Tabs ===== */
.tech-tabs {
  max-width: 900px;
  margin: 0 auto;
}

.tech-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.tech-tabs__btn {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.tech-tabs__btn:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.tech-tabs__btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.tech-tabs__panel {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-tags span {
  padding: 10px 18px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--bg-elevated);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 0;
}

.testimonial-card--highlight {
  background: var(--gradient-subtle);
  border-color: rgba(59, 130, 246, 0.2);
}

.testimonial-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-elevated);
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-light);
  background: var(--gradient-subtle);
}

.testimonial-card__person strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.testimonial-card__person span {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.services__grid--wide {
  grid-template-columns: repeat(3, 1fr);
}


.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Animated flowing gradient wash behind the hero */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    rgba(59, 130, 246, 0.18) 0%,
    rgba(6, 182, 212, 0.12) 25%,
    rgba(139, 92, 246, 0.18) 50%,
    rgba(6, 182, 212, 0.12) 75%,
    rgba(59, 130, 246, 0.18) 100%
  );
  background-size: 300% 300%;
  filter: blur(40px);
  animation: gradientFlow 18s ease infinite;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
  animation: heroFloat1 16s ease-in-out infinite;
}

.hero__glow--2 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  bottom: -150px;
  left: -100px;
  animation: heroFloat2 20s ease-in-out infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes heroFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  50% { transform: translate(-60px, 50px) scale(1.12); opacity: 0.55; }
}

@keyframes heroFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  50% { transform: translate(70px, -40px) scale(1.15); opacity: 0.5; }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 28px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 25%, #8b5cf6 50%, #06b6d4 75%, #3b82f6 100%);
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 8s ease infinite;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 640px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat__number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ===== Trust Bar ===== */
.trust {
  padding: 32px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust__inner {
  text-align: center;
}

.trust__label {
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.trust__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.trust__items li {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-left: 16px;
}

.trust__items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section__header {
  margin-bottom: 56px;
  max-width: 640px;
}

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Summary / AI Overview Block ===== */
.summary {
  padding: 60px 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.summary__box {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: linear-gradient(
    115deg,
    rgba(59, 130, 246, 0.16) 0%,
    rgba(6, 182, 212, 0.10) 50%,
    rgba(139, 92, 246, 0.16) 100%
  );
  background-size: 280% 280%;
  animation: gradientFlow 22s ease infinite;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
}

.summary__box h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.summary__box p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.summary__box a {
  color: var(--primary-light);
}

.summary__highlights {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.summary__highlights li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.summary__highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== Solutions ===== */
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.solution-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.solution-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-light);
}

.solution-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Dubai Guide ===== */
.dubai__layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.dubai__content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.dubai__content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 32px 0 16px;
}

.dubai__content > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.compare-table {
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1.4fr;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row--head {
  background: var(--bg-card);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.compare-row span:first-child {
  font-weight: 500;
  color: var(--text);
}

.compare-yes {
  color: #34d399;
}

.compare-no {
  color: var(--text-dim);
}

.areas__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.area-chip {
  padding: 8px 18px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary-light);
}

.dubai__sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.sidebar-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.sidebar-card--dark {
  background: var(--gradient-subtle);
  border-color: rgba(59, 130, 246, 0.2);
}

.sidebar-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.sidebar-card > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.sidebar-card .btn {
  margin-bottom: 10px;
}

.sidebar-card__email {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.timeline-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.timeline-list li:last-child {
  border-bottom: none;
}

.sidebar-note {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 16px;
  line-height: 1.5;
}

.faq__item p a {
  color: var(--primary-light);
}

/* ===== Vibe Coding ===== */
.vibe__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vibe__card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.vibe__card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.vibe__card--highlight {
  background: var(--gradient-subtle);
  border-color: rgba(59, 130, 246, 0.2);
}

.vibe__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.vibe__card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.vibe__card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ===== Services ===== */
.services {
  background: var(--bg-elevated);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.service-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--primary-light);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  line-height: 1.65;
}

.service-card ul li {
  font-size: 0.8125rem;
  color: var(--text-dim);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.service-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

.services__cta {
  text-align: center;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.services__cta p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ===== Process ===== */
.process__timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  opacity: 0.3;
}

.process__step {
  display: flex;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}

.process__step:last-child {
  padding-bottom: 0;
}

.process__num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-light);
  position: relative;
  z-index: 1;
}

.process__content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  padding-top: 14px;
}

.process__content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ===== Why Us ===== */
.why__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why__content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.why__content > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.why__list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.why__list li:last-child {
  border-bottom: none;
}

.why__list strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.why__list span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.why__actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.why__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--gradient-subtle);
}

.why__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why__image--placeholder {
  position: relative;
}

.why__image--placeholder::after {
  content: 'ITZ Digital Labs · Dubai';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.code-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.code-window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.code-window__bar span:nth-child(1) { background: #ef4444; width: 12px; height: 12px; border-radius: 50%; }
.code-window__bar span:nth-child(2) { background: #eab308; width: 12px; height: 12px; border-radius: 50%; }
.code-window__bar span:nth-child(3) { background: #22c55e; width: 12px; height: 12px; border-radius: 50%; }

.code-window__title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.code-window__body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
  overflow-x: auto;
}

.c-keyword { color: #c084fc; }
.c-string { color: #34d399; }
.c-number { color: #fbbf24; }
.c-comment { color: var(--text-dim); }

/* ===== Industries ===== */
.industries {
  background: var(--bg-elevated);
}

.industries__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.industry-chip {
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.industry-chip:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(59, 130, 246, 0.08);
}

/* ===== Tech Stack ===== */
.tech__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech__group {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color var(--transition);
}

.tech__group:hover {
  border-color: var(--border-hover);
}

.tech__group h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-light);
}

.tech__group p {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg-elevated);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item summary {
  padding: 24px 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-dim);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:hover {
  color: var(--primary-light);
}

.faq__item p {
  padding-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact__info > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact__item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
}

.contact__item svg {
  flex-shrink: 0;
  color: var(--primary-light);
  margin-top: 2px;
}

.contact__item strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact__item a,
.contact__item span {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
}

.contact__actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.contact__form {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact__form-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 12px;
}

/* ===== Footer ===== */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 16px;
  line-height: 1.65;
  max-width: 320px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__links h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__links a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer__bottom a {
  color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__form-card {
    max-width: 480px;
  }

  .metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-studies__grid {
    grid-template-columns: 1fr;
  }

  .compliance__layout,
  .engagement__grid,
  .industry-cards,
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-table--wide .compare-row {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    font-size: 0.8125rem;
  }

  .cta-band__inner {
    flex-direction: column;
    text-align: center;
  }

  .solutions__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dubai__layout {
    grid-template-columns: 1fr;
  }

  .dubai__sidebar {
    position: static;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why__layout,
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why__visual {
    order: -1;
  }

  .tech__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(6, 8, 15, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list li {
    border-bottom: 1px solid var(--border);
  }

  .nav__list a {
    display: block;
    padding: 16px 0;
  }

  .nav__cta {
    text-align: center;
    margin-top: 8px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .metrics__grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-card__metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .compliance__layout,
  .engagement__grid,
  .industry-cards,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .compare-table--wide .compare-row {
    grid-template-columns: 1fr;
  }

  .tech-tabs__nav {
    gap: 6px;
  }

  .tech-tabs__btn {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .vibe__grid {
    grid-template-columns: 1fr;
  }

  .solutions__grid {
    grid-template-columns: 1fr;
  }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px;
  }

  .compare-row--head {
    display: none;
  }

  .compare-row span:first-child {
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 4px;
  }

  .summary__box {
    padding: 24px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .tech__grid {
    grid-template-columns: 1fr;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
  }

  .contact-bar {
    bottom: 16px;
    right: 16px;
  }

  .contact-bar__btn span,
  .contact-bar__btn {
    font-size: 0;
    padding: 14px;
    border-radius: 50%;
  }

  .contact-bar__btn svg {
    width: 22px;
    height: 22px;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .contact__actions {
    flex-direction: column;
  }

  .contact__actions .btn {
    width: 100%;
  }

  .footer__links {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Home section media figures ===== */
.section-media {
  position: relative;
  max-width: 980px;
  margin: 40px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
}
.section-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.section-media img {
  width: 100%;
  height: clamp(220px, 36vw, 420px);
  object-fit: cover;
  display: block;
}
.section-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 22px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #e6edff;
  background: linear-gradient(transparent, rgba(3, 6, 14, 0.82));
}
.section-media--wide {
  max-width: 1120px;
}
