/* =============================================================================
   EMIRATES IT SOLUTION — Premium Design System v2.0
   Stripe / Linear / Vercel / Resend inspired
   ============================================================================= */

/* ── Reset ─────────────────────────────────────────────────────────────────── */
[x-cloak] { display: none !important; }

/* Content stays visible until GSAP/AOS animate in (prevents blank pages) */
.reveal-on-scroll:not([data-aos]) {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Navbar ─────────────────────────────────────────────────────────────────── */
.nav-top {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.nav-active {
  color: #111111;
  font-weight: 600;
}

.nav-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(to right, #00E5FF, #0077FF);
  border-radius: 2px;
}

/* ── Gradient Utilities ─────────────────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #00E5FF 0%, #0077FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-warm {
  background: linear-gradient(135deg, #00E5FF 30%, #0077FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Premium Button ─────────────────────────────────────────────────────────── */
.btn-glow {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #00E5FF 0%, #0077FF 100%);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-glow:hover {
  box-shadow: 0 8px 32px rgba(0, 119, 255, 0.40);
  transform: translateY(-1px);
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  transition: left 0.5s ease;
}

.btn-glow:hover::after { left: 100%; }

/* Header compact CTAs */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.42rem 0.8rem;
  border-radius: 0.6rem;
  font-size: 0.75rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.header-cta i {
  font-size: 0.62rem;
  line-height: 1;
}

.header-cta-outline {
  border: 1px solid rgba(0, 119, 255, 0.14);
  background: rgba(255, 255, 255, 0.85);
  color: #0077ff;
}

.header-cta-outline i {
  color: #00e5ff;
}

.header-cta-outline:hover {
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.06);
  color: #0066dd;
}

.header-cta-outline.is-active {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.1);
  color: #0077ff;
}

.header-cta-primary {
  color: #fff;
}

.header-cta.btn-glow:hover {
  transform: translateY(-0.5px);
  box-shadow: 0 4px 18px rgba(0, 119, 255, 0.28);
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer-grid-bg {
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  background: linear-gradient(135deg, #00E5FF20, #0077FF40);
  color: #00E5FF;
  transform: translateY(-2px);
}

.footer-social-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-social-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 4px 20px rgba(10, 102, 194, 0.45),
    0 0 0 1px rgba(10, 102, 194, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.footer-linkedin-btn i {
  font-size: 1.25rem;
  line-height: 1;
}

.footer-linkedin-btn:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #0b75d9 0%, #0a66c2 100%);
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(10, 102, 194, 0.55),
    0 0 0 1px rgba(0, 229, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.footer-linkedin-btn:focus-visible {
  outline: 2px solid #00E5FF;
  outline-offset: 3px;
}

/* ── Legal pages (Privacy, Terms) ───────────────────────────────────────────── */
.legal-page-card {
  background: #ffffff;
}

.legal-meta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #00E5FF;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.legal-intro {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eef2f7;
}

.legal-prose .legal-section {
  margin-bottom: 2rem;
}

.legal-prose .legal-section:last-child {
  margin-bottom: 0;
}

.legal-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0B1220;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.legal-prose p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #64748b;
  margin-bottom: 0.875rem;
}

.legal-list {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0.5rem 0 1rem;
}

.legal-list li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.legal-list--plain {
  list-style: none;
  padding-left: 0;
}

.footer-link {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #00E5FF;
}

.footer-link-static {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
}

/* Footer bottom: keep Privacy/Terms clear of email float button */
.footer-bottom-bar {
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
}

.footer-legal-links {
  padding-right: 0;
}

.email-float-btn {
  right: 1.25rem;
  bottom: 1.25rem;
}

@media (min-width: 640px) {
  .footer-bottom-bar .max-w-7xl {
    padding-right: 5.5rem;
  }

  .email-float-btn {
    bottom: 5.5rem;
  }
}

@media (max-width: 639px) {
  .footer-bottom-bar {
    padding-bottom: 5.5rem;
  }

  .footer-legal-links {
    padding-right: 0;
  }

  .email-float-btn {
    bottom: 1.25rem;
    right: 1rem;
  }
}

/* ── Section Backgrounds ────────────────────────────────────────────────────── */
.section-white  { background: #FFFFFF; }
.section-light  { background: #FAFCFF; }
.section-lighter { background: #F5FAFF; }
.section-dark   { background: #0B1220; }

/* Dark section dot-grid pattern */
.dot-grid-overlay {
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── Section Header Badge ───────────────────────────────────────────────────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.10), rgba(0, 119, 255, 0.10));
  border: 1px solid rgba(0, 119, 255, 0.15);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0077FF;
  text-transform: uppercase;
}

/* ── Flash Messages ─────────────────────────────────────────────────────────── */
.flash-message {
  animation: slideInFlash 0.3s ease-out;
}

@keyframes slideInFlash {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero Section ───────────────────────────────────────────────────────────── */
.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 40%, rgba(0, 229, 255, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(0, 119, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero technology ecosystem — floats on white page background */
.hero-ecosystem {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 560px;
  margin: 0 auto;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.hero-eco-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.eco-particle {
  position: absolute;
  border-radius: 999px;
  background: #00E5FF;
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.8);
}

.hero-eco-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.eco-line {
  stroke: url(#ecoLineGradient);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.35;
}

.hero-eco-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}

.eco-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.eco-ring-1 {
  width: 230px;
  height: 230px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  animation: eco-ring-spin 48s linear infinite;
}

.eco-ring-2 {
  width: 310px;
  height: 310px;
  border: 1px dashed rgba(0, 119, 255, 0.28);
  animation: eco-ring-spin 64s linear infinite reverse;
}

.eco-ring-3 {
  width: 390px;
  height: 390px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  animation: eco-ring-spin 80s linear infinite;
}

.eco-ring-4 {
  width: 470px;
  height: 470px;
  border: 1px solid rgba(0, 119, 255, 0.15);
  animation: eco-ring-spin 96s linear infinite reverse;
}

@keyframes eco-ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-eco-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-eco-hub-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.35) 0%, rgba(0, 119, 255, 0.12) 45%, transparent 70%);
  filter: blur(8px);
}

.hero-eco-hub-glass {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 229, 255, 0.4);
  box-shadow:
    0 0 32px rgba(0, 229, 255, 0.2),
    0 8px 32px rgba(0, 119, 255, 0.1);
}

.hero-eco-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.4));
}

.hero-eco-nodes {
  position: absolute;
  inset: 0;
  z-index: 8;
}

.eco-orbit-arm {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  will-change: transform;
}

.eco-node {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
}

.eco-node-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  will-change: transform;
  transform-origin: 50% 50%;
}

.eco-node-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #0077FF;
  background: #ffffff;
  border: 1px solid rgba(0, 119, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 119, 255, 0.12);
  flex-shrink: 0;
}

.eco-node-label {
  display: block;
  max-width: 88px;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.2;
  color: #444444;
  letter-spacing: 0.01em;
  white-space: normal;
}

.eco-label-short { display: none; }

@media (max-width: 640px) {
  .hero-ecosystem {
    max-width: 360px;
    height: 360px;
  }
  .eco-ring-1 { width: 150px; height: 150px; }
  .eco-ring-2 { width: 200px; height: 200px; }
  .eco-ring-3 { width: 250px; height: 250px; }
  .eco-ring-4 { width: 300px; height: 300px; }
  .hero-eco-hub-glass { width: 72px; height: 72px; }
  .hero-eco-logo { width: 48px; height: 48px; }
  .eco-node-icon { width: 2rem; height: 2rem; font-size: 0.8rem; }
  .eco-label-full { display: none; }
  .eco-label-short { display: inline; }
  .eco-node-label { max-width: 72px; font-size: 0.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  .eco-ring-1, .eco-ring-2, .eco-ring-3, .eco-ring-4 {
    animation: none;
  }
}

/* Legacy hero showcase (kept for reference) */
.hero-showcase-glow {
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(0, 119, 255, 0.15));
  z-index: -1;
  filter: blur(16px);
}

/* Orbital rings */
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-ring-1 {
  width: 200px; height: 200px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  animation: spin-orbit 18s linear infinite;
}

.orbit-ring-2 {
  width: 290px; height: 290px;
  border: 1px dashed rgba(0, 119, 255, 0.15);
  animation: spin-orbit 28s linear infinite reverse;
}

.orbit-ring-3 {
  width: 380px; height: 380px;
  border: 1px solid rgba(0, 229, 255, 0.08);
  animation: spin-orbit 40s linear infinite;
}

@keyframes spin-orbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Orbit dots (glowing dots on the rings) */
.orbit-dot {
  position: absolute;
  top: -3px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 8px #00E5FF;
}

.orbit-dot-blue {
  background: #0077FF;
  box-shadow: 0 0 8px #0077FF;
}

/* Hero center logo */
.hero-center-logo {
  position: relative;
  z-index: 10;
  width: 88px; height: 88px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.18);
}

/* Floating service cards */
.hero-float-card {
  position: absolute;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: hero-float 4s ease-in-out infinite;
  white-space: nowrap;
}

.hero-float-card:nth-child(1) { animation-delay: 0s;    top: 10%;  left: -5%; }
.hero-float-card:nth-child(2) { animation-delay: 1.1s;  top: 10%;  right: -5%; }
.hero-float-card:nth-child(3) { animation-delay: 2.2s;  bottom: 10%; left: -5%; }
.hero-float-card:nth-child(4) { animation-delay: 3.3s;  bottom: 10%; right: -5%; }

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

.float-icon-wrap {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.float-card-label { font-size: 0.75rem; font-weight: 700; color: #111111; }
.float-card-sub   { font-size: 0.6875rem; color: #666666; }

/* ── Trust Bar ──────────────────────────────────────────────────────────────── */
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,229,255,0.1), rgba(0,119,255,0.1));
  display: flex; align-items: center; justify-content: center;
  color: #0077FF;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.trust-divider {
  width: 1px; height: 28px;
  background: #e5e7eb;
  flex-shrink: 0;
}

/* ── Service Cards ──────────────────────────────────────────────────────────── */
.service-card-premium {
  position: relative;
  background: white;
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.service-card-premium::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #00E5FF, #0077FF);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 119, 255, 0.10);
  border-color: rgba(0, 119, 255, 0.15);
}

.service-card-premium:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(0, 119, 255, 0.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #0077FF;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.service-card-premium:hover .service-icon-wrap {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.20), rgba(0, 119, 255, 0.20));
}

/* Service card & page visuals (uploads images) */
.service-visual-panel {
  isolation: isolate;
}

.service-visual-image,
.service-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-visual-overlay,
.service-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 18, 32, 0.92) 0%, rgba(11, 18, 32, 0.55) 45%, rgba(11, 18, 32, 0.25) 100%);
}

.service-visual-icon,
.service-card-image-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #00E5FF;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-visual-panel:hover .service-visual-image,
.service-card-premium:hover .service-card-image {
  transform: scale(1.05);
}

.service-card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef2f7;
}

.service-card-image-icon {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  z-index: 2;
}

.service-card-premium.group {
  border-radius: 18px;
}

/* ── Tech Strip ─────────────────────────────────────────────────────────────── */
.tech-strip-outer {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.tech-strip-track {
  display: flex;
  gap: 0.875rem;
  animation: marquee-tech 32s linear infinite;
  width: max-content;
}

.tech-strip-track.reverse {
  animation-direction: reverse;
  animation-duration: 36s;
}

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

@keyframes marquee-tech {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 12px;
  border: 1px solid #ebebeb;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tech-chip:hover {
  border-color: rgba(0, 119, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 119, 255, 0.08);
}

.tech-chip i { font-size: 1rem; }

/* ── Stats Section (dark) ───────────────────────────────────────────────────── */
.stat-card-dark {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.25s, border-color 0.25s;
}

.stat-card-dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0, 229, 255, 0.2);
}

.stat-number {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, #00E5FF 0%, #8ab6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ── Portfolio Cards ────────────────────────────────────────────────────────── */
.portfolio-card {
  border-radius: 20px;
  overflow: hidden;
  background: white;
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 119, 255, 0.12);
}

.portfolio-card-img-wrap {
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
}

.portfolio-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-img-wrap img {
  transform: scale(1.05);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(11, 18, 32, 0.85));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex; align-items: flex-end;
  padding: 1.25rem;
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

/* ── Testimonial Cards ──────────────────────────────────────────────────────── */
.testimonial-card {
  background: white;
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  padding: 2rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 119, 255, 0.08);
  border-color: rgba(0, 119, 255, 0.12);
}

.testimonial-quote-mark {
  font-size: 4rem;
  font-family: Georgia, serif;
  color: #00E5FF;
  opacity: 0.18;
  line-height: 0.8;
  display: block;
  margin-bottom: -0.75rem;
}

/* Testimonials carousel */
.testimonials-showcase__viewport {
  position: relative;
}

.testimonials-showcase__track {
  will-change: transform;
}

.testimonial-slide {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.testimonial-slide:not(.is-active) {
  opacity: 0.72;
}

.testimonials-nav-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.testimonials-nav-btn:hover:not(:disabled) {
  border-color: rgba(0, 119, 255, 0.25);
  color: #0077ff;
  transform: translateY(-1px);
}

.testimonials-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.testimonials-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #d1d5db;
  border: none;
  padding: 0;
  transition: all 0.25s ease;
  cursor: pointer;
}

.testimonials-dot.is-active {
  width: 1.6rem;
  background: linear-gradient(90deg, #0077ff, #00e5ff);
}

.testimonial-grid-item {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 20px;
  transition: transform 0.2s ease;
}

.testimonial-grid-item:hover {
  transform: translateY(-3px);
}

.testimonial-grid-item:focus-visible {
  outline: 2px solid #00e5ff;
  outline-offset: 3px;
}

/* Interactive star rating */
.star-rating-group {
  min-height: 3.5rem;
}

.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.35rem;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-rating label {
  cursor: pointer;
  font-size: 1.65rem;
  color: #e5e7eb;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #fbbf24;
}

.star-rating label:active {
  transform: scale(1.12);
}

.star-rating-label {
  min-height: 1.25rem;
}

/* ── Page Hero (dark premium) ───────────────────────────────────────────────── */
.page-hero-dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0B1220 0%, #0d1e38 55%, #081828 100%);
  padding: 5rem 0 4rem;
}

.page-hero-dark::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.10) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-dark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 229, 255, 0.25), transparent);
}

/* ── Gradient Border Cards ──────────────────────────────────────────────────── */
.gradient-border-card {
  position: relative;
  background: white;
  border-radius: 20px;
  isolation: isolate;
}

.gradient-border-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,229,255,0.30), rgba(0,119,255,0.40));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Trust Pillar Cards (About) ─────────────────────────────────────────────── */
.trust-pillar-card {
  position: relative;
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 20px;
  border: 1px solid rgba(0, 119, 255, 0.10);
  padding: 2rem;
  box-shadow:
    0 4px 24px rgba(15, 23, 42, 0.04),
    0 1px 3px rgba(0, 119, 255, 0.06);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  overflow: hidden;
  isolation: isolate;
}

.trust-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #00E5FF, #0077FF);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.trust-pillar-card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.trust-pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 119, 255, 0.22);
  box-shadow:
    0 24px 56px rgba(0, 119, 255, 0.12),
    0 8px 24px rgba(0, 229, 255, 0.08),
    0 0 0 1px rgba(0, 229, 255, 0.06);
}

.trust-pillar-card:hover::before,
.trust-pillar-card:hover::after {
  opacity: 1;
}

.trust-pillar-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(0, 119, 255, 0.12));
  border: 1px solid rgba(0, 119, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #0077FF;
  margin-bottom: 1.25rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.trust-pillar-card:hover .trust-pillar-icon {
  transform: scale(1.06);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.22), rgba(0, 119, 255, 0.18));
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.15);
}

.trust-pillar-card h3,
.trust-pillar-card p {
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .trust-pillar-card {
    padding: 2.25rem;
  }
}

/* ── Pride Wall Visual Panel (portfolio display) ─────────────────────────────── */
.pride-visual-panel {
  position: relative;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.45), rgba(0, 119, 255, 0.35), rgba(139, 92, 246, 0.25));
  box-shadow: 0 24px 64px rgba(0, 119, 255, 0.12);
}

.pride-visual-inner {
  position: relative;
  border-radius: 23px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 55%, #f5faff 100%);
  padding: 1.5rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .pride-visual-inner {
    padding: 1.75rem;
  }
}

.pride-visual-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.pride-visual-glow--cyan {
  width: 180px;
  height: 180px;
  top: -40px;
  right: -30px;
  background: rgba(0, 229, 255, 0.22);
}

.pride-visual-glow--blue {
  width: 160px;
  height: 160px;
  bottom: -50px;
  left: -30px;
  background: rgba(0, 119, 255, 0.16);
}

.pride-visual-header {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 119, 255, 0.08);
}

.pride-visual-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0077FF;
}

.pride-visual-label::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #00E5FF, #0077FF);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.pride-visual-headline {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.02em;
}

.pride-capability-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}

.pride-capability-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 119, 255, 0.08);
  border-radius: 16px;
  padding: 1rem 1rem 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.pride-capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent, #0077FF);
  opacity: 0.85;
}

.pride-capability-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, #0077FF) 12%, transparent);
  pointer-events: none;
}

.pride-capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--accent, #0077FF) 18%, transparent);
  border-color: color-mix(in srgb, var(--accent, #0077FF) 28%, #ffffff);
}

.pride-capability-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #0077FF) 14%, #ffffff), color-mix(in srgb, var(--accent, #0077FF) 6%, #ffffff));
  color: var(--accent, #0077FF);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent, #0077FF) 18%, transparent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pride-capability-card:hover .pride-capability-icon {
  transform: scale(1.06);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent, #0077FF) 22%, transparent);
}

.pride-capability-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.pride-capability-desc {
  font-size: 0.75rem;
  line-height: 1.55;
  color: #666666;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pride-capability-tag {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent, #0077FF);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, #0077FF) 10%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--accent, #0077FF) 16%, transparent);
}

.pride-visual-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(0, 119, 255, 0.08);
}

.pride-stat-pill {
  text-align: center;
  padding: 0.65rem 0.4rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 119, 255, 0.07);
}

.pride-stat-pill strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00E5FF, #0077FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.pride-stat-pill span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: #666666;
  line-height: 1.3;
}

@media (max-width: 480px) {
  .pride-visual-stats {
    grid-template-columns: 1fr;
  }
}

/* ── CTA Band ───────────────────────────────────────────────────────────────── */
.cta-band-bg {
  background: linear-gradient(135deg, #0B1220 0%, #0d1e38 50%, #0B1220 100%);
  position: relative;
  overflow: hidden;
}

.cta-band-bg::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0, 119, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Blog Cards ───────────────────────────────────────────────────────────────── */
.blog-card-premium {
  position: relative;
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0, 119, 255, 0.08);
  box-shadow:
    0 4px 24px rgba(15, 23, 42, 0.04),
    0 1px 3px rgba(0, 119, 255, 0.05);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.blog-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #00E5FF, #0077FF);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.blog-card-premium:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 119, 255, 0.18);
  box-shadow:
    0 24px 56px rgba(0, 119, 255, 0.11),
    0 8px 24px rgba(0, 229, 255, 0.07);
}

.blog-card-premium:hover::before {
  opacity: 1;
}

.blog-card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f6fb;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-card-premium:hover .blog-card-image {
  transform: scale(1.06);
}

.blog-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.55) 0%,
    rgba(10, 22, 40, 0.12) 45%,
    rgba(10, 22, 40, 0.02) 100%
  );
  pointer-events: none;
}

.blog-category-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.blog-card-body {
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .blog-card-body {
    padding: 1.75rem;
  }
}

.blog-read-more {
  margin-top: auto;
}

.blog-read-more:hover {
  color: #00E5FF;
}

/* ── Blog Article Detail ─────────────────────────────────────────────────────── */
.blog-article-hero {
  background: #0A1628;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.blog-article-hero-image {
  position: absolute;
  inset: 0;
}

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

.blog-article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.96) 0%,
    rgba(10, 22, 40, 0.72) 45%,
    rgba(10, 22, 40, 0.35) 100%
  );
}

.blog-article-category {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.22);
  margin-bottom: 1rem;
}

.blog-article-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.blog-article-prose {
  max-width: none;
}

.blog-article-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #334155;
  font-weight: 500;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eef2f7;
}

.blog-article-prose h2 {
  font-size: 1.375rem;
  font-weight: 800;
  color: #0A1628;
  letter-spacing: -0.02em;
  margin-top: 2.25rem;
  margin-bottom: 0.875rem;
}

.blog-article-prose p {
  font-size: 1rem;
  line-height: 1.8;
  color: #64748b;
  margin-bottom: 1rem;
}

.blog-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #eef2f7;
}

.blog-article-tag {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0077FF;
  background: rgba(0, 119, 255, 0.08);
  border: 1px solid rgba(0, 119, 255, 0.12);
}

.blog-sidebar-card {
  background: white;
  border: 1px solid rgba(0, 119, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 119, 255, 0.06);
}

.blog-related-link {
  display: block;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f4f8;
}

.blog-related-link:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

@media (max-width: 1023px) {
  .blog-article-sidebar {
    position: static;
  }

  .blog-article-hero {
    min-height: 360px;
  }
}

/* ── Blog Publication Platform ──────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.blog-publication-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
  border-bottom: 1px solid rgba(0, 119, 255, 0.08);
}

.blog-publication-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 229, 255, 0.08), transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(0, 119, 255, 0.06), transparent 40%);
}

.blog-search-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 42rem;
}

@media (min-width: 640px) {
  .blog-search-form {
    flex-direction: row;
    align-items: stretch;
  }
}

.blog-search-wrap {
  position: relative;
  flex: 1;
}

.blog-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
}

.blog-search-input {
  width: 100%;
  height: 3.25rem;
  padding: 0 2.75rem 0 2.75rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 119, 255, 0.12);
  background: white;
  color: #0A1628;
  font-size: 0.9375rem;
  box-shadow: 0 8px 30px rgba(0, 119, 255, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-search-input:focus {
  outline: none;
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.blog-search-clear {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #f1f5f9;
  font-size: 1.1rem;
  line-height: 1;
}

.blog-search-submit {
  height: 3.25rem;
  padding: 0 1.5rem;
  border-radius: 14px;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.blog-featured {
  display: grid;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 119, 255, 0.10);
  background: white;
  box-shadow: 0 20px 60px rgba(0, 119, 255, 0.08);
}

@media (min-width: 1024px) {
  .blog-featured {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.blog-featured-media {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
}

.blog-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-featured-media:hover .blog-featured-image {
  transform: scale(1.04);
}

.blog-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.35), transparent 55%);
}

.blog-featured-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  background: rgba(0, 119, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.blog-featured-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .blog-featured-content {
    padding: 2.5rem 2.75rem;
  }
}

.blog-featured-category {
  display: inline-flex;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0077FF;
  margin-bottom: 0.75rem;
}

.blog-featured-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0A1628;
  margin-bottom: 0.875rem;
}

.blog-featured-title a:hover {
  color: #0077FF;
}

.blog-featured-excerpt {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.blog-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.blog-meta-row-compact {
  gap: 0.5rem 0.75rem;
}

.blog-author-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.blog-author-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(0, 119, 255, 0.14));
  color: #0077FF;
  font-size: 0.75rem;
  border: 1px solid rgba(0, 119, 255, 0.12);
}

.blog-author-avatar-sm {
  width: 1.65rem;
  height: 1.65rem;
  font-size: 0.65rem;
}

.blog-author-avatar-lg {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1rem;
  flex-shrink: 0;
}

.blog-author-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0A1628;
}

.blog-author-role {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
}

.blog-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #f8fbff;
  border: 1px solid rgba(0, 119, 255, 0.08);
}

.blog-meta-pill-sm {
  font-size: 0.6875rem;
  padding: 0.25rem 0.55rem;
}

.blog-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.blog-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  background: white;
  border: 1px solid rgba(0, 119, 255, 0.10);
  transition: all 0.25s ease;
}

.blog-category-pill:hover {
  color: #0077FF;
  border-color: rgba(0, 119, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.08);
}

.blog-category-pill.is-active {
  color: white;
  background: linear-gradient(135deg, #00E5FF, #0077FF);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.18);
}

.blog-category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  background: rgba(0, 119, 255, 0.08);
}

.blog-category-pill.is-active .blog-category-count {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.blog-trending-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.12);
  color: #0077FF;
  font-size: 0.85rem;
}

.blog-trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-trending-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #f0f4f8;
}

.blog-trending-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-trending-rank {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0077FF;
  background: rgba(0, 119, 255, 0.08);
  flex-shrink: 0;
}

.blog-trending-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.45;
  color: #0A1628;
  margin-bottom: 0.25rem;
}

.blog-trending-title:hover {
  color: #0077FF;
}

.blog-trending-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.6875rem;
  color: #94a3b8;
  font-weight: 600;
}

.blog-newsletter {
  background: white;
  border: 1px solid rgba(0, 119, 255, 0.10);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 119, 255, 0.06);
}

.blog-newsletter-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(0, 119, 255, 0.12));
  color: #0077FF;
  margin-bottom: 1rem;
}

.blog-newsletter-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0A1628;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.blog-newsletter-text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 1rem;
}

.blog-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .blog-newsletter-form {
    flex-direction: row;
  }
}

.blog-newsletter-input {
  flex: 1;
  height: 2.875rem;
  padding: 0 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 119, 255, 0.12);
  background: #fafcff;
  font-size: 0.875rem;
}

.blog-newsletter-input:focus {
  outline: none;
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.10);
}

.blog-newsletter-btn {
  height: 2.875rem;
  padding: 0 1.25rem;
  border-radius: 12px;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.blog-newsletter-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.blog-newsletter-band .blog-newsletter {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: none;
  max-width: 42rem;
  margin: 0 auto;
}

.blog-newsletter-band .blog-newsletter-title,
.blog-newsletter-band .blog-newsletter-text,
.blog-newsletter-band .blog-newsletter-note {
  color: #cbd5e1;
}

.blog-newsletter-band .blog-newsletter-title {
  color: white;
}

.blog-newsletter-band .blog-newsletter-input {
  background: rgba(255, 255, 255, 0.95);
}

.blog-author-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(0, 119, 255, 0.10);
}

.blog-author-box-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0077FF;
  margin-bottom: 0.25rem;
}

.blog-author-box-name {
  font-size: 1rem;
  font-weight: 800;
  color: #0A1628;
}

.blog-author-box-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.15rem;
}

.blog-author-box-bio {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #64748b;
  margin-top: 0.5rem;
}

.blog-share-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.blog-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.blog-share-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0077FF;
  background: rgba(0, 119, 255, 0.08);
  border: 1px solid rgba(0, 119, 255, 0.12);
  transition: all 0.25s ease;
}

.blog-share-btn:hover,
.blog-share-btn.is-copied {
  color: white;
  background: linear-gradient(135deg, #00E5FF, #0077FF);
  border-color: transparent;
  transform: translateY(-2px);
}

.blog-reading-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-reading-details li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #f0f4f8;
  font-size: 0.8125rem;
}

.blog-reading-details li:last-child {
  border-bottom: none;
}

.blog-reading-details span {
  color: #94a3b8;
  font-weight: 600;
}

.blog-reading-details strong {
  color: #0A1628;
  font-weight: 700;
  text-align: right;
}

.blog-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 24px;
  border: 1px dashed rgba(0, 119, 255, 0.18);
  background: #fafcff;
}

.blog-empty-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 119, 255, 0.08);
  color: #0077FF;
  font-size: 1.25rem;
}

.blog-article-tag {
  text-decoration: none;
}

.blog-article-tag:hover {
  background: rgba(0, 119, 255, 0.14);
}

.blog-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .blog-pagination {
    flex-direction: row;
    justify-content: space-between;
  }
}

.blog-pagination-info {
  font-size: 0.875rem;
  color: #64748b;
}

.blog-pagination-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.65rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #475569;
  background: white;
  border: 1px solid rgba(0, 119, 255, 0.10);
  transition: all 0.25s ease;
}

.blog-pagination-btn:hover {
  color: #0077FF;
  border-color: rgba(0, 119, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.08);
}

.blog-pagination-btn.is-active {
  color: white;
  background: linear-gradient(135deg, #00E5FF, #0077FF);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.18);
}

.blog-pagination-btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── About Page Stat Cards ──────────────────────────────────────────────────── */
.about-stat-float {
  background: white;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 119, 255, 0.08);
  text-align: center;
  animation: hero-float 5s ease-in-out infinite;
}

.about-stat-float:nth-child(2) { animation-delay: 1.5s; }
.about-stat-float:nth-child(3) { animation-delay: 3s; }

/* ── Portfolio Showcase Slider ──────────────────────────────────────────────── */
.portfolio-showcase-section {
  isolation: isolate;
}

.portfolio-showcase-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 229, 255, 0.08), transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(0, 119, 255, 0.06), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

.portfolio-showcase {
  position: relative;
  padding: 0 3.25rem;
}

@media (max-width: 767px) {
  .portfolio-showcase {
    padding: 0;
  }
}

.portfolio-showcase-viewport {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  transform: translateZ(0);
}

@media (min-width: 1024px) {
  .portfolio-showcase-viewport {
    min-height: 460px;
  }
}

.portfolio-showcase-track {
  position: relative;
  width: 100%;
  min-height: inherit;
}

.portfolio-showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.portfolio-showcase-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.portfolio-showcase-slide.is-entering {
  z-index: 3;
  visibility: visible;
  pointer-events: none;
}

.portfolio-showcase-copy {
  position: relative;
  z-index: 2;
}

.portfolio-showcase-category {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0077FF;
  background: rgba(0, 119, 255, 0.08);
  border: 1px solid rgba(0, 119, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1rem;
}

.portfolio-showcase-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0A1628;
  margin-bottom: 1rem;
}

.portfolio-showcase-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: #64748b;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.portfolio-showcase-tag {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0077FF;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 119, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 119, 255, 0.05);
}

.portfolio-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portfolio-showcase-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  padding: 0.5rem 0;
}

.portfolio-showcase-glow {
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.22) 0%, rgba(0, 119, 255, 0.08) 45%, transparent 72%);
  filter: blur(8px);
}

.portfolio-showcase-mockup {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  transform: rotateY(-12deg) rotateX(6deg);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 119, 255, 0.12);
  box-shadow:
    0 30px 80px rgba(0, 119, 255, 0.16),
    0 12px 32px rgba(11, 18, 32, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-showcase-slide.is-active .portfolio-showcase-mockup {
  transform: rotateY(-8deg) rotateX(4deg) translateY(0);
}

.portfolio-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  border-bottom: 1px solid rgba(0, 119, 255, 0.08);
}

.portfolio-browser-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
}

.portfolio-browser-url {
  margin-left: 0.5rem;
  flex: 1;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(0, 119, 255, 0.08);
  font-size: 0.6875rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-browser-screen {
  aspect-ratio: 4 / 3;
  min-height: 280px;
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 55%, #e8eef6 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem;
  box-sizing: border-box;
}

.portfolio-browser-screen--multi .portfolio-showcase-screenshot--rotate {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% - 1.75rem);
  height: calc(100% - 1.75rem);
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: portfolioShotFade calc(3s * var(--shot-total, 3)) ease-in-out infinite;
  animation-delay: calc(var(--shot-index) * (3s * var(--shot-total, 3) / var(--shot-total, 3)));
}

@keyframes portfolioShotFade {
  0%, 100% { opacity: 0; }
  5%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
}

.portfolio-showcase-screenshot {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  flex-shrink: 0;
}

.portfolio-float-stat {
  position: absolute;
  z-index: 3;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 119, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 119, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 108px;
  pointer-events: none;
}

.portfolio-float-stat-a {
  top: 6%;
  right: -2%;
}

.portfolio-float-stat-b {
  bottom: 6%;
  left: -2%;
}

.portfolio-float-stat-value {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  color: #0077FF;
  line-height: 1.2;
}

.portfolio-float-stat-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.15rem;
}

.portfolio-showcase-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0077FF;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 119, 255, 0.14);
  box-shadow: 0 8px 28px rgba(0, 119, 255, 0.12);
  transition: all 0.25s ease;
}

.portfolio-showcase-arrow:hover {
  color: white;
  background: linear-gradient(135deg, #00E5FF, #0077FF);
  border-color: transparent;
  transform: translateY(-50%) scale(1.05);
}

.portfolio-showcase-arrow-prev { left: 0; }
.portfolio-showcase-arrow-next { right: 0; }

@media (max-width: 767px) {
  .portfolio-showcase-section {
    overflow: visible;
  }

  .portfolio-showcase-viewport {
    min-height: 0;
    height: auto;
    overflow: visible;
    padding-bottom: 4.5rem;
  }

  .portfolio-showcase-track {
    min-height: 0;
  }

  .portfolio-showcase-slide.is-active {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .portfolio-showcase-slide.is-entering {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 4;
  }

  .portfolio-showcase-slide:not(.is-active):not(.is-entering) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
  }

  .portfolio-showcase-slide .grid {
    gap: 1.5rem;
  }

  .portfolio-showcase-desc {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
  }

  .portfolio-showcase-tags {
    margin-bottom: 1rem;
  }

  .portfolio-showcase-visual {
    min-height: 0;
    padding: 0 0.25rem 0.5rem;
    overflow: visible;
  }

  .portfolio-showcase-mockup {
    transform: none;
    width: 100%;
    max-width: 100%;
  }

  .portfolio-showcase-slide.is-active .portfolio-showcase-mockup {
    transform: none;
  }

  .portfolio-browser-screen {
    aspect-ratio: 9 / 16;
    min-height: 0;
    max-height: min(72vh, 640px);
    width: 100%;
    padding: 0.5rem;
  }

  .portfolio-browser-screen:not(.portfolio-browser-screen--multi) .portfolio-showcase-screenshot {
    width: 100%;
    height: auto;
    max-height: min(68vh, 600px);
    object-fit: contain;
  }

  .portfolio-browser-screen--multi {
    min-height: min(72vh, 640px);
  }

  .portfolio-browser-screen--multi .portfolio-showcase-screenshot--rotate {
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
    max-height: min(68vh, 600px);
  }

  .portfolio-float-stat {
    display: none;
  }

  .portfolio-showcase-arrow {
    top: auto;
    bottom: 0.25rem;
    transform: none;
    width: 2.75rem;
    height: 2.75rem;
  }

  .portfolio-showcase-arrow:hover {
    transform: scale(1.05);
  }

  .portfolio-showcase-arrow-prev { left: 0.25rem; }
  .portfolio-showcase-arrow-next { right: 0.25rem; }

  .portfolio-showcase-footer {
    margin-top: 1.25rem;
    padding-top: 0.5rem;
  }
}

.portfolio-showcase-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .portfolio-showcase-footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

.portfolio-showcase-counter {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64748b;
}

.portfolio-showcase-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.portfolio-showcase-dot {
  width: 2.5rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(0, 119, 255, 0.14);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-showcase-dot.is-active,
.portfolio-showcase-dot:hover {
  background: linear-gradient(to right, #00E5FF, #0077FF);
  transform: scaleX(1.08);
}

/* ── Premium Project Cards (portfolio page) ─────────────────────────────────── */
.projects-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .projects-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
  }
}

.project-card-premium {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 119, 255, 0.08);
  padding: 0.875rem;
  box-shadow: 0 4px 20px rgba(11, 18, 32, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.project-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0.875rem;
  right: 0.875rem;
  height: 3px;
  background: linear-gradient(to right, #00E5FF, #0077FF);
  border-radius: 16px 16px 0 0;
  opacity: 1;
}

.project-card-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 119, 255, 0.10);
  border-color: rgba(0, 119, 255, 0.16);
}

.project-card-media {
  min-width: 0;
  margin-bottom: 0.75rem;
}

.project-card-body {
  min-width: 0;
  padding: 0 0.25rem 0.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-badges {
  max-height: 3.25rem;
  overflow: hidden;
}

.project-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.10), rgba(0, 119, 255, 0.10));
  border: 1px solid rgba(0, 119, 255, 0.15);
  font-size: 0.75rem;
  font-weight: 600;
  color: #0077FF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-card-preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f4f8;
  box-shadow: inset 0 0 0 1px rgba(0, 119, 255, 0.06);
  aspect-ratio: 16 / 11;
}

.project-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.project-preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(11, 18, 32, 0.08), rgba(11, 18, 32, 0.55));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card-premium:hover .project-preview-overlay {
  opacity: 1;
}

.project-card-premium:hover .project-preview-image {
  transform: scale(1.03);
}

/* ── Project Gallery Modal ────────────────────────────────────────────────────── */
body.gallery-open {
  overflow: hidden;
}

.project-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.project-gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.project-gallery-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: calc(100vh - 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: projectGalleryIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.project-gallery-modal.is-open .project-gallery-shell {
  animation: projectGalleryIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes projectGalleryIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.project-gallery-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.25rem 1rem;
}

.project-gallery-topbar-copy {
  min-width: 0;
}

.project-gallery-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00E5FF;
  margin-bottom: 0.2rem;
}

.project-gallery-title {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-gallery-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-shrink: 0;
  height: 2.75rem;
  padding: 0 1rem 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.project-gallery-close i {
  font-size: 0.95rem;
}

.project-gallery-close:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(0, 229, 255, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 119, 255, 0.22);
}

.project-gallery-stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 0;
}

.project-gallery-frame {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1rem;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  min-width: 0;
}

.project-gallery-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-height: min(72vh, 680px);
  border-radius: 14px;
  overflow: hidden;
  background: #0B1220;
}

.project-gallery-image {
  max-width: 100%;
  max-height: min(72vh, 680px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.project-gallery-image.is-loading {
  opacity: 0.35;
}

.project-gallery-nav {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.project-gallery-nav:hover:not(:disabled) {
  background: linear-gradient(135deg, #00E5FF, #0077FF);
  border-color: transparent;
  transform: scale(1.06);
  box-shadow: 0 10px 28px rgba(0, 119, 255, 0.35);
}

.project-gallery-nav:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  box-shadow: none;
}

.project-gallery-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.25rem 0;
}

.project-gallery-counter {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  font-variant-numeric: tabular-nums;
}

.project-gallery-dots {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.project-gallery-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
}

.project-gallery-dot.active {
  width: 1.35rem;
  background: linear-gradient(to right, #00E5FF, #0077FF);
}

.project-gallery-hint {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
  white-space: nowrap;
}

.project-gallery-hint kbd {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.625rem;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
  .project-gallery-modal {
    padding: 0.75rem;
  }

  .project-gallery-shell {
    max-height: calc(100vh - 1.5rem);
  }

  .project-gallery-topbar {
    padding-bottom: 0.75rem;
  }

  .project-gallery-close span {
    display: none;
  }

  .project-gallery-close {
    width: 2.75rem;
    padding: 0;
  }

  .project-gallery-stage {
    gap: 0.5rem;
  }

  .project-gallery-nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .project-gallery-frame {
    padding: 0.65rem;
    border-radius: 16px;
  }

  .project-gallery-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.65rem;
  }

  .project-gallery-hint {
    display: none;
  }
}

@media (max-width: 480px) {
  .project-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .project-gallery-prev {
    left: 0.35rem;
  }

  .project-gallery-next {
    right: 0.35rem;
  }

  .project-gallery-stage {
    position: relative;
    grid-template-columns: 1fr;
  }

  .project-gallery-nav:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.05);
  }
}

.projects-carousel-wrapper .overflow-hidden {
  flex: 1;
}

.dynamic-projects-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s ease;
}

/* ── Portfolio Image Slider ─────────────────────────────────────────────────── */
.project-slider .slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slider .slider-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.project-slider .slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.75rem;
  pointer-events: none;
  z-index: 4;
}

.slider-btn {
  pointer-events: auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #0077FF;
  box-shadow: 0 4px 16px rgba(11, 18, 32, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.slider-btn:hover {
  transform: scale(1.06);
  background: #0077FF;
  color: #fff;
}

.slider-indicators {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 4;
}

.indicator-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.indicator-dot.active {
  width: 1.25rem;
  background: #00E5FF;
}
.tech-carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s ease;
}

/* ── Appointment Form (keep) ────────────────────────────────────────────────── */
.appointment-form label { display: block; font-size: 0.875rem; font-weight: 500; color: #111111; margin-bottom: 0.375rem; }
.appointment-form input:not([type="radio"]),
.appointment-form select,
.appointment-form textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem;
  border: 1px solid #e5e7eb; font-size: 0.875rem;
}
.appointment-form input:focus, .appointment-form select:focus, .appointment-form textarea:focus {
  outline: none; box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.4);
}
.appointment-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.appointment-form .form-group { margin-bottom: 1rem; }
.appointment-form .form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.appointment-form .btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem;
  border-radius: 0.75rem; font-weight: 600; font-size: 0.875rem;
  background: linear-gradient(to right, #00E5FF, #0077FF); color: white; border: none; cursor: pointer;
}
.appointment-form .btn-secondary {
  background: white; color: #0077FF; border: 2px solid #0077FF;
}
.appointment-form .phone-input-group { display: flex; gap: 0.5rem; }
.phone-input-group {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
}
.phone-input-group .country-code-wrapper {
  position: relative;
  flex: 0 0 auto;
  width: 8.5rem;
  min-width: 8.5rem;
}
.phone-input-group .country-code-select {
  width: 100%;
  height: 100%;
  min-height: 3rem;
  appearance: none;
  -webkit-appearance: none;
  padding: 0.75rem 1.25rem 0.75rem 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: rgba(249, 250, 251, 0.5);
  font-size: 0.875rem;
  color: transparent;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-input-group .country-code-select option {
  color: #111111;
}
.phone-input-group .country-code-select:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px #00E5FF;
}
.phone-input-group .country-flag-display {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  line-height: 1;
  z-index: 1;
}
.phone-input-group .country-code-label {
  position: absolute;
  left: 2.35rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111111;
  z-index: 1;
  white-space: nowrap;
}
.phone-input-group .country-flag-display .fi {
  width: 1.15rem;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.phone-input-group .phone-number-input {
  flex: 1;
  min-width: 0;
  min-height: 3rem;
}
.appointment-container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: start; }
.appointment-info .info-title { font-size: 1.125rem; font-weight: 600; color: #111111; margin-bottom: 1rem; }
.appointment-info .info-list { list-style: none; padding: 0; margin: 0; }
.appointment-info .info-list li { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.75rem; font-size: 0.875rem; color: #666666; }
.appointment-info .info-list i { color: #00E5FF; margin-top: 0.2rem; }

.appointment-success-card {
  animation: appointmentSuccessIn 0.45s ease-out both;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.12);
}
.appointment-success-card__icon {
  animation: appointmentCheckPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}
.appointment-form-card--success {
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25), 0 20px 40px rgba(16, 185, 129, 0.08);
}
.appointment-error-card {
  animation: appointmentSuccessIn 0.35s ease-out both;
  border: 1px solid rgba(239, 68, 68, 0.2);
  background: #fef2f2;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}
@keyframes appointmentSuccessIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes appointmentCheckPop {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 968px) {
  .appointment-container { grid-template-columns: 1fr; }
  .appointment-form .form-row { grid-template-columns: 1fr; }
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-float-card:nth-child(1) { left: 0; top: 4%; }
  .hero-float-card:nth-child(2) { right: 0; top: 4%; }
  .hero-float-card:nth-child(3) { left: 0; bottom: 4%; }
  .hero-float-card:nth-child(4) { right: 0; bottom: 4%; }
  .orbit-ring-3 { width: 320px; height: 320px; }
  .orbit-ring-2 { width: 240px; height: 240px; }
  .orbit-ring-1 { width: 164px; height: 164px; }
}
