/* ============================================================
   Shri Technologies — Premium Light Mode Portfolio
   Pure CSS3 — No frameworks
   ============================================================ */

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg-primary: #FAFAFA;
  --bg-secondary: #F5F7FA;
  --bg-white: #FFFFFF;

  /* Text */
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A68;
  --text-muted: #8E8EA0;

  /* Accents */
  --accent-blue: #2563EB;
  --accent-cyan: #06B6D4;
  --accent-violet: #7C3AED;
  --accent-rose: #F43F5E;
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --gradient-sunset: linear-gradient(135deg, #F43F5E 0%, #FB923C 100%);
  --gradient-violet: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);

  /* Borders */
  --border-light: rgba(0, 0, 0, 0.06);
  --border-subtle: rgba(0, 0, 0, 0.03);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transition */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

h1, h2, h3, h4, h5, h6, .nav-logo-text, .section-title {
  font-family: 'Outfit', sans-serif;
}

a { text-decoration: none; color: inherit; cursor: none; }
button { cursor: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::selection {
  background: rgba(37, 99, 235, 0.15);
  color: var(--text-primary);
}

/* ── Custom Cursor ──────────────────────────────────────────── */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-spring),
              height 0.3s var(--ease-spring),
              background 0.3s ease;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(37, 99, 235, 0.35);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-spring),
              height 0.4s var(--ease-spring),
              border-color 0.3s ease,
              background 0.3s ease;
}

.cursor-ring.hover {
  width: 64px;
  height: 64px;
  border-color: rgba(37, 99, 235, 0.6);
  background: rgba(37, 99, 235, 0.06);
}

.cursor-dot.hover {
  width: 6px;
  height: 6px;
  background: var(--accent-violet);
}

/* ── Loading Screen ─────────────────────────────────────────── */
.loader-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}

.loader-logo {
  height: 60px;
  width: auto;
  opacity: 0;
  animation: loaderFadeIn 0.6s ease forwards;
}

.loader-bar-track {
  width: 200px;
  height: 3px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
  opacity: 0;
  animation: loaderFadeIn 0.6s ease 0.2s forwards;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  animation: loaderProgress 1.4s var(--ease-out) 0.4s forwards;
}

@keyframes loaderFadeIn {
  to { opacity: 1; }
}

@keyframes loaderProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ── Navigation ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  transition: padding var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled .navbar-inner {
  padding: 0.75rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.08);
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color var(--duration-fast) ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #F5F7FA 0%, var(--bg-primary) 100%);
}

.hero-spline-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
}

.hero-spline-bg spline-viewer {
  width: 100%;
  height: 100%;
}

/* Decorative gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.hero-orb--blue {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.hero-orb--cyan {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
  bottom: -5%;
  left: -5%;
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}

.hero-orb--violet {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  top: 30%;
  left: 20%;
  animation: orbFloat 12s ease-in-out infinite alternate;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 400;
  line-height: 1.7;
}

/* Magnetic Button */
.magnetic-btn-wrap {
  display: inline-block;
  position: relative;
}

.magnetic-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.5rem;
  background: var(--gradient-primary);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
  transition: box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-fast) ease;
  overflow: hidden;
  z-index: 1;
}

.magnetic-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1D4ED8 0%, #0891B2 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
  border-radius: inherit;
}

.magnetic-btn:hover::before {
  opacity: 1;
}

.magnetic-btn span {
  position: relative;
  z-index: 1;
}

.magnetic-btn .btn-arrow {
  position: relative;
  z-index: 1;
  transition: transform var(--duration-normal) var(--ease-out);
}

.magnetic-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.magnetic-btn:hover {
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.45);
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--text-muted);
  border-radius: var(--radius-full);
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(8px); }
}

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

.scroll-text {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ── Section Shared ─────────────────────────────────────────── */
.section {
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 1340px;
  margin: 0 auto;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.section-label-line {
  width: 32px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ── Product Ecosystem ──────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  will-change: transform;
  transform-style: preserve-3d;
  perspective: 800px;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.product-card:nth-child(1)::before { background: var(--gradient-primary); }
.product-card:nth-child(2)::before { background: var(--gradient-sunset); }
.product-card:nth-child(3)::before { background: var(--gradient-violet); }

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
}

.product-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.75rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-card:nth-child(1) .product-icon-wrap {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
}
.product-card:nth-child(2) .product-icon-wrap {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
}
.product-card:nth-child(3) .product-icon-wrap {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.product-icon-wrap img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.product-icon-wrap svg {
  width: 36px;
  height: 36px;
}

.product-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.product-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
  transition: gap var(--duration-normal) var(--ease-out);
}

.product-link:hover {
  gap: 10px;
}

.product-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-normal) var(--ease-out);
}

.product-link:hover svg {
  transform: translateX(2px);
}

/* ── About Section ──────────────────────────────────────────── */
.about-section {
  background: var(--bg-secondary);
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.about-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text-block .section-title {
  margin-bottom: 1.5rem;
}

.about-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.about-visual {
  position: relative;
}

.about-glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.about-value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  transition: background var(--duration-fast) ease;
}

.about-value-item:hover {
  background: rgba(37, 99, 235, 0.04);
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon--blue { background: rgba(37, 99, 235, 0.1); }
.value-icon--cyan { background: rgba(6, 182, 212, 0.1); }
.value-icon--violet { background: rgba(124, 58, 237, 0.1); }

.value-icon svg {
  width: 22px;
  height: 22px;
}

.about-value-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about-value-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Tech Marquee ───────────────────────────────────────────── */
.tech-marquee-section {
  padding: 3rem 0;
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
  gap: 3rem;
}

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

.marquee-item {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 3rem;
  user-select: none;
}

.marquee-item::after {
  content: '✦';
  font-size: 0.6rem;
  opacity: 0.4;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Client Portfolio ────────────────────────────────────────── */
.clients-section {
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.client-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.client-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.3);
}

.client-card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  transition: all 0.7s ease;
  z-index: 10;
  pointer-events: none;
}

.client-card:hover .client-card-shine {
  left: 200%;
}

.client-monogram {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 1.5rem;
  color: #fff;
}

.client-monogram--blue { background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%); }
.client-monogram--cyan { background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%); }
.client-monogram--violet { background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%); }
.client-monogram--rose { background: linear-gradient(135deg, #F43F5E 0%, #BE123C 100%); }
.client-monogram--amber { background: linear-gradient(135deg, #F59E0B 0%, #B45309 100%); }
.client-monogram--emerald { background: linear-gradient(135deg, #10B981 0%, #047857 100%); }

.client-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.client-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.client-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.service-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.client-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: auto;
  transition: color var(--duration-fast) ease;
}

.client-link:hover {
  color: var(--accent-blue);
}

.client-link svg {
  transition: transform var(--duration-fast) ease;
}

.client-link:hover svg {
  transform: translate(2px, -2px);
}

/* ── Contact / Footer ───────────────────────────────────────── */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-normal) var(--ease-out);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.contact-icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-wrap--location {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
}
.contact-icon-wrap--email {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
}
.contact-icon-wrap--phone {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.contact-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.contact-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-card .contact-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--duration-normal) var(--ease-out);
  display: inline-block;
}

a.contact-value:hover {
  color: var(--accent-blue);
  transform: translateY(-2px);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.5);
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  margin-top: 0;
}

.footer-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--duration-fast) ease;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Mobile nav overlay */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
  }

  .nav-links.open .nav-link {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .nav-links.open .nav-cta {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .tech-marquee-section {
    width: 100vw;
    overflow-x: hidden;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100svh;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .client-services {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .about-glass-card {
    padding: 1.5rem;
  }

  .about-value-item {
    padding: 1rem 0.5rem;
  }

  .hero-scroll-indicator {
    bottom: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   Accessibility & Production Fallbacks
   ═══════════════════════════════════════════════════════════ */

/* Better Focus States for Keyboard Navigation */
:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Touch Device Fallbacks for Hover Effects */
@media (hover: none) and (pointer: coarse) {
  .product-card:active,
  .client-card:active {
    transform: scale(0.98);
  }
  
  .product-link svg,
  .client-link svg {
    transform: translate(2px, -2px) !important;
  }
}
