@charset "UTF-8";

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
       THEMES (Dark & Light)
    ============================================================ */
:root {
  /* Default to Dark Theme variables */
  --bg-base: #030712;
  --bg-surface: #0d1117;
  --bg-card: rgba(15, 23, 42, 0.65);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 210, 255, 0.35);
  --cyan: #00d2ff;
  --cyan-2: #38ef7d;
  --violet: #7c3aed;
  --violet-2: #a855f7;
  --pink: #ec4899;
  --text-primary: #f0f6ff;
  --text-secondary: #94a3b8;
  --text-muted: #475569;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-theme {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.7);
  --border: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(2, 132, 199, 0.35);
  --cyan: #0284c7;
  --cyan-2: #059669;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
}

.dark-theme {
  /* Reset back to dark just in case */
  --bg-base: #030712;
  --bg-surface: #0d1117;
  --bg-card: rgba(15, 23, 42, 0.65);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 210, 255, 0.35);
  --cyan: #00d2ff;
  --cyan-2: #38ef7d;
  --text-primary: #f0f6ff;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  line-height: 1.6;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* Base section style applying the theme variables */
.themed-section {
  background: var(--bg-base);
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  overflow: hidden;
  max-width: 100%;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #030712;
}

::-webkit-scrollbar-thumb {
  background: var(--violet);
  border-radius: 99px;
}

::selection {
  background: rgba(0, 210, 255, 0.25);
  color: var(--cyan);
}

/* Particles & Orbs tied to Hero (Dark) */
#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 12s ease-in-out infinite;
  max-width: 90vw;
  max-height: 90vw;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--violet);
  top: -150px;
  left: -150px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: #00d2ff;
  top: 30%;
  right: -100px;
  animation-delay: -4s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--pink);
  bottom: 20%;
  left: 20%;
  animation-delay: -8s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-40px) scale(1.05);
  }
}

/* NAV (Light Frosted Glass) */
nav#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 5vw, 80px);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

nav#main-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(0, 210, 255, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Nav styling */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-logo img {
  width: 155px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.02);
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #00d2ff, #7c3aed);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: white;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.nav-logo span {
  background: linear-gradient(90deg, #00d2ff, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d2ff, #7c3aed);
  border-radius: 99px;
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-links a:hover {
  color: #0284c7;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: linear-gradient(135deg, #00d2ff, #7c3aed) !important;
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 99px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.35) !important;
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4) !important;
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: var(--transition);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: 28px;
  font-weight: 700;
  color: #f0f6ff;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: #00d2ff;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
}

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px clamp(20px, 5vw, 80px) 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.6);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(0, 210, 255, 0);
  }
}

.hero-heading {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.35s forwards;
}

.hero-heading .grad {
  background: linear-gradient(135deg, var(--cyan), var(--violet-2), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradShift 5s linear infinite;
}

@keyframes gradShift {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.65s forwards;
}

.btn-primary {
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: white;
  border: none;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
  font-family: inherit;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 210, 255, 0.4);
}

.btn-secondary {
  padding: 13px 28px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--border-glow);
  background: rgba(0, 210, 255, 0.05);
  transform: translateY(-2px);
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  opacity: 0;
  transform: translateX(40px);
  animation: fadeLeft 0.9s ease 0.5s forwards;
}

@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-card-main {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hero-card-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(56, 239, 125, 0.12);
  border: 1px solid rgba(56, 239, 125, 0.3);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan-2);
}

.status-badge .live-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan-2);
  border-radius: 50%;
  animation: pulseDot 1.5s ease-in-out infinite;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  transition: var(--transition);
}

.metric-card:hover {
  border-color: var(--border-glow);
  background: rgba(0, 210, 255, 0.05);
  transform: translateY(-2px);
}

.metric-num {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--cyan), var(--violet-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.code-strip {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  line-height: 1.7;
  overflow: hidden;
}

.code-line {
  display: flex;
  gap: 12px;
}

.code-line-num {
  color: var(--text-muted);
  user-select: none;
  min-width: 20px;
}

.code-keyword {
  color: var(--violet-2);
}

.code-func {
  color: var(--cyan);
}

.code-str {
  color: var(--cyan-2);
}

.code-comment {
  color: var(--text-muted);
  font-style: italic;
}

.float-card {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.float-card-1 {
  top: -22px;
  right: 26%;
  animation: float1 4s ease-in-out infinite;
  border-color: rgba(56, 239, 125, 0.3);
  z-index: 9;
}

.float-card-2 {
  bottom: 60px;
  left: 60%;
  animation: float2 5s ease-in-out infinite;
  border-color: rgba(124, 58, 237, 0.35);
}

@keyframes float1 {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg)
  }

  50% {
    transform: translateY(-12px) rotate(0deg)
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0) rotate(1deg)
  }

  50% {
    transform: translateY(10px) rotate(-1deg)
  }
}

.float-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* TRUST STRIP */
.trust-strip {
  position: relative;
  z-index: 1;
  padding: 32px clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.trust-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 600;
}

.logos-track-wrap {
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.logos-track {
  display: flex;
  gap: 60px;
  align-items: center;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.logo-item {
  font-size: 15px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: -0.2px;
  white-space: nowrap;
  transition: var(--transition);
  opacity: 0.85;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-item:hover {
  opacity: 1;
  color: var(--cyan);
  border-color: rgba(0, 210, 255, 0.4);
  background: rgba(0, 210, 255, 0.1);
  transform: translateY(-2px);
}

/* SECTION BASE */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px clamp(20px, 5vw, 80px);
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--violet-2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-heading {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 580px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SERVICES */
#services .section-inner {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--grad-from) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-tag {
  display: inline-flex;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* STATS */
#stats {
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.02), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 60px;
}

.stat-cell {
  background: var(--bg-surface);
  padding: 44px 32px;
  text-align: center;
  transition: var(--transition);
}

.stat-cell:hover {
  background: rgba(0, 210, 255, 0.02);
}

.stat-num {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--violet-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* PROCESS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}

.step-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  margin: 0 auto 20px;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.step-item:hover .step-num {
  border-color: var(--border-glow);
  background: rgba(0, 210, 255, 0.06);
  color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.1);
}

.step-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* TECH */
.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  justify-content: center;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: default;
}

.tech-pill:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
  background: rgba(0, 210, 255, 0.06);
  transform: translateY(-3px);
}

.tech-emoji {
  font-size: 16px;
}

/* PORTFOLIO & WORK */
.portfolio-header-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 32px 0 44px;
}

.port-filter-btn {
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.port-filter-btn:hover,
.port-filter-btn.active {
  background: rgba(2, 132, 199, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.15);
  transform: translateY(-1px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 10px;
}

.portfolio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.portfolio-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.port-img {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.port-img-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .port-img-bg {
  transform: scale(1.08);
}

.port-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  transition: var(--transition);
  z-index: 2;
}

.portfolio-card:hover .port-arrow {
  background: var(--cyan);
  color: white;
  transform: translate(2px, -2px);
}

.port-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.port-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

.port-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
  color: var(--text-primary);
  line-height: 1.35;
}

.port-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.port-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.port-stack-item {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.port-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  transition: var(--transition);
  margin-top: auto;
}

.portfolio-card:hover .port-link-btn {
  color: var(--violet);
  gap: 9px;
}

/* CLIENTS SHOWCASE DIRECTORY */
.clients-showcase {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 36px;
  text-align: left;
}

.client-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.client-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  background: rgba(2, 132, 199, 0.02);
}

.client-info h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.client-domain {
  font-size: 12px;
  color: var(--cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.client-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(124, 58, 237, 0.08);
  color: var(--violet);
  border: 1px solid rgba(124, 58, 237, 0.2);
  white-space: nowrap;
}

/* TESTIMONIALS (Dark Section) */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.08);
}

.stars {
  font-size: 14px;
  margin-bottom: 16px;
  color: #facc15;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  color: white;
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.author-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* CTA (Dark Section) */
#cta {
  padding: 0 clamp(20px, 5vw, 80px) 100px;
  position: relative;
  z-index: 1;
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(50px, 8vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
}

.cta-box::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet-2), transparent);
}

.cta-box h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  position: relative;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.cta-input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.cta-input::placeholder {
  color: var(--text-muted);
}

.cta-input:focus {
  border-color: var(--border-glow);
  background: rgba(0, 210, 255, 0.04);
}

/* FOOTER (Dark Section) */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
  padding: 60px clamp(20px, 5vw, 80px) 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr max-content;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 16px;
  max-width: 280px;
}

.footer-brand .nav-logo img {
  background-color: #fff;
  padding: 10px;
  border-radius: 6px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  align-items: center;
}

.social-btn {
  position: relative;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-secondary);
}

.social-btn:hover {
  background: rgba(0, 210, 255, 0.1);
  border-color: var(--border-glow);
  transform: translateY(-2px);
  color: var(--cyan);
}

.social-btn.social-x:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.social-btn.social-linkedin:hover {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.45);
  background: rgba(10, 102, 194, 0.14);
  box-shadow: 0 4px 15px rgba(10, 102, 194, 0.2);
}

.social-btn.social-github:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.social-btn.social-instagram:hover {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.14);
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.2);
}

/* WhatsApp Button - Unique Infinity Animation */
.social-btn.whatsapp-btn {
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.08);
  animation: whatsappInfinity 4s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.2);
}

.social-btn.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 11px;
  border: 1.5px solid rgba(37, 211, 102, 0.65);
  opacity: 0;
  animation: whatsappPulseRing 2.6s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
  pointer-events: none;
}

.social-btn.whatsapp-btn:hover {
  animation-play-state: paused;
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappInfinity {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
  }

  12.5% {
    transform: translate(2px, -2px) scale(1.03) rotate(3deg);
  }

  25% {
    transform: translate(3px, 0) scale(1.06) rotate(0deg);
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.45);
  }

  37.5% {
    transform: translate(2px, 2px) scale(1.03) rotate(-3deg);
  }

  50% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
  }

  62.5% {
    transform: translate(-2px, -2px) scale(1.03) rotate(3deg);
  }

  75% {
    transform: translate(-3px, 0) scale(1.06) rotate(0deg);
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.45);
  }

  87.5% {
    transform: translate(-2px, 2px) scale(1.03) rotate(-3deg);
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
  }
}

@keyframes whatsappPulseRing {
  0% {
    transform: scale(0.92);
    opacity: 0.85;
  }

  55% {
    transform: scale(1.4);
    opacity: 0;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
}

/* VERTICAL RAIL */
.v-rail {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 500;
  background: rgba(3, 7, 18, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 8px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.v-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.6);
  cursor: pointer;
  transition: var(--transition);
}

.v-dot:hover {
  background: #ffffff;
  transform: scale(1.25);
}

.v-dot.active {
  background: #00d2ff;
  box-shadow: 0 0 10px #00d2ff, 0 0 4px #00d2ff;
  transform: scale(1.4);
}

/* RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS */
@media (max-width: 1200px) {
  .v-rail {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .section-inner {
    padding: 60px clamp(20px, 4vw, 40px);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    transform: none;
  }

  .float-card-1 {
    right: 0;
  }

  .float-card-2 {
    left: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 36px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 36px;
  }

  .stat-cell {
    padding: 32px 20px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
    margin-top: 36px;
  }

  .process-steps::before {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonials-slider {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 36px auto 0;
    gap: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
  }
}

@media (max-width: 768px) {

  /* Navigation */
  nav#main-nav {
    height: 64px;
    padding: 0 16px;
  }

  .nav-logo img {
    width: 135px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    padding: 60px 24px 40px;
    gap: 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu a {
    font-size: 24px;
  }

  .v-rail {
    display: none !important;
  }

  /* Sections & Layout Spacing - Tightened to eliminate vast empty voids */
  .section-inner {
    padding: 44px 16px;
  }

  .section-pill {
    font-size: 11px;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .section-heading {
    font-size: clamp(24px, 7vw, 34px);
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin-bottom: 12px;
    word-break: break-word;
  }

  .section-sub {
    font-size: 14.5px;
    line-height: 1.6;
  }

  /* Hero */
  #hero {
    min-height: auto;
    padding: 84px 16px 44px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }

  .hero-visual {
    display: none;
  }

  .hero-badge {
    font-size: 11.5px;
    margin-bottom: 16px;
    padding: 5px 14px 5px 8px;
  }

  .hero-heading {
    font-size: clamp(28px, 8.5vw, 42px);
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
    word-break: break-word;
  }

  .hero-sub {
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 14px;
  }

  /* Orbs on mobile */
  .orb {
    opacity: 0.12;
  }

  .orb-1 {
    width: 280px;
    height: 280px;
    top: -80px;
    left: -80px;
  }

  .orb-2 {
    width: 260px;
    height: 260px;
    right: -60px;
  }

  .orb-3 {
    width: 220px;
    height: 220px;
  }

  /* Trust strip */
  .trust-strip {
    padding: 20px 16px;
  }

  .trust-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
  }

  .logos-track {
    gap: 28px;
  }

  .logo-item {
    font-size: 12.5px;
    padding: 5px 12px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .service-card {
    padding: 20px 18px;
    border-radius: var(--radius-md);
  }

  .service-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
    margin-bottom: 12px;
  }

  .service-card h3 {
    font-size: 16.5px;
    margin-bottom: 6px;
  }

  .service-card p {
    font-size: 13.5px;
    line-height: 1.55;
  }

  .service-tag {
    margin-top: 12px;
    font-size: 10.5px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 24px;
    border-radius: var(--radius-md);
  }

  .stat-cell {
    padding: 18px 10px;
  }

  .stat-num {
    font-size: 30px;
    letter-spacing: -1px;
    margin-bottom: 3px;
  }

  .stat-label {
    font-size: 11.5px;
  }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 24px;
  }

  .process-steps::before {
    display: none;
  }

  .step-item {
    padding: 0 4px;
  }

  .step-num {
    width: 48px;
    height: 48px;
    font-size: 16px;
    margin: 0 auto 10px;
  }

  .step-item h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .step-item p {
    font-size: 13px;
    line-height: 1.55;
  }

  /* Tech */
  .tech-cloud {
    gap: 7px;
    margin-top: 20px;
  }

  .tech-pill {
    padding: 7px 12px;
    font-size: 12px;
  }

  .tech-emoji {
    font-size: 14px;
  }

  /* Portfolio */
  .portfolio-filters {
    display: flex;
    gap: 8px;
    margin: 18px -16px 20px;
    padding: 0 16px 6px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  .port-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 13px;
    font-size: 11.5px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-card {
    border-radius: var(--radius-md);
  }

  .port-img {
    height: 150px;
  }

  .port-body {
    padding: 16px;
  }

  .port-title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .port-desc {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  .port-stack {
    gap: 5px;
    margin-bottom: 12px;
  }

  .port-stack-item {
    font-size: 10.5px;
    padding: 2px 6px;
  }

  .port-link-btn {
    font-size: 12.5px;
  }

  /* Clients Directory - Prevent horizontal blowout and tight spacing */
  .clients-showcase {
    margin-top: 36px;
    padding-top: 28px;
  }

  .clients-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .client-card {
    padding: 13px 14px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }

  .client-info h4 {
    font-size: 14px;
  }

  .client-domain {
    font-size: 11.5px;
  }

  .client-badge {
    white-space: normal;
    max-width: 100%;
    text-align: right;
    font-size: 10px;
    padding: 3px 8px;
  }

  /* Testimonials */
  .testimonials-slider {
    grid-template-columns: 1fr;
    margin-top: 22px;
    gap: 14px;
  }

  .testimonial-card {
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }

  .stars {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .testimonial-text {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .author-avatar {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .author-name {
    font-size: 13px;
  }

  .author-role {
    font-size: 11px;
  }

  /* CTA */
  #cta {
    padding: 0 16px 40px;
  }

  .cta-box {
    padding: 30px 16px;
    border-radius: var(--radius-lg);
  }

  .cta-box h2 {
    font-size: clamp(20px, 6vw, 28px);
    letter-spacing: -0.6px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .cta-box p {
    font-size: 13.5px;
    margin-bottom: 18px;
  }

  .cta-form {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .cta-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 13.5px;
  }

  .cta-form .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 99px;
  }

  /* Footer */
  footer {
    padding: 36px 16px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 22px;
  }

  .footer-brand p {
    margin-top: 10px;
    font-size: 13px;
    max-width: 100%;
  }

  .social-links {
    margin-top: 12px;
  }

  .footer-col h4 {
    margin-bottom: 10px;
    font-size: 11.5px;
  }

  .footer-col li {
    margin-bottom: 7px;
  }

  .footer-col a {
    font-size: 12.5px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding-top: 16px;
    font-size: 11.5px;
  }
}

@media (max-width: 440px) {
  .client-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .client-badge {
    text-align: left;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-cell {
    padding: 16px 8px;
  }

  .stat-num {
    font-size: 26px;
  }
}

@media (max-width: 340px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
       SUBPAGES STYLING (About, Careers, Blogs, Policies)
    ============================================================ */
.subpage-hero {
  position: relative;
  padding: 140px clamp(20px, 5vw, 80px) 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}

.subpage-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.subpage-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.subpage-breadcrumb a:hover {
  color: var(--cyan);
}

.subpage-title {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.subpage-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-secondary);
  line-height: 1.7;
}

.subpage-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px clamp(20px, 5vw, 80px) 100px;
}

/* Policy & Legal Pages */
.legal-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 50px clamp(20px, 5vw, 40px) 100px;
}

.legal-meta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
}

.legal-meta-item strong {
  color: var(--text-primary);
}

.legal-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  margin-bottom: 28px;
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.legal-section:hover {
  border-color: rgba(0, 210, 255, 0.25);
}

.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h2 .sec-num {
  color: var(--cyan);
  font-size: 15px;
  font-weight: 800;
  background: rgba(0, 210, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

.legal-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 20px 0 10px;
}

.legal-section p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-section ul,
.legal-section ol {
  margin: 14px 0 18px 24px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.8;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-callout {
  background: rgba(0, 210, 255, 0.05);
  border-left: 3px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-callout strong {
  color: var(--cyan);
}

/* About Us Components */
.about-overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.about-story h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-story p {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 80px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: inline-block;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 80px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.team-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Careers Components */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0 80px;
}

.perk-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(12px);
}

.perk-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.perk-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.perk-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
  margin-bottom: 80px;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.job-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.job-info h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.job-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.job-tag.tag-remote {
  color: var(--cyan-2);
  border-color: rgba(56, 239, 125, 0.3);
  background: rgba(56, 239, 125, 0.08);
}

.job-desc-snippet {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 650px;
}

.job-apply-btn {
  flex-shrink: 0;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.job-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 210, 255, 0.35);
}

/* Blog Components */
.blog-featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.blog-featured:hover {
  border-color: var(--border-glow);
}

.blog-featured-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0a192f, #1e1b4b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  border: 1px solid var(--border);
}

.blog-badge-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan);
  margin-bottom: 12px;
}

.blog-featured h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  text-decoration: none;
}

.blog-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.blog-card-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #070d1a, #111827);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  border-bottom: 1px solid var(--border);
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.blog-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-secondary);
}

.blog-author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subpage Responsive Rules */
@media (max-width: 900px) {

  .about-overview-grid,
  .blog-featured {
    grid-template-columns: 1fr;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-apply-btn {
    width: 100%;
    justify-content: center;
  }
}