/* ═══════════════════════════════════════════════════════════════
   Technology By Design — Lead Generation Website
   Premium dark-mode design with glassmorphism and micro-animations
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────── */
:root {
  /* Color Palette */
  --bg-primary: #050508;
  --bg-secondary: #0a0a10;
  --bg-card: rgba(16, 16, 28, 0.6);
  --bg-card-hover: rgba(24, 24, 42, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  --accent-primary: #6366f1;
  --accent-secondary: #818cf8;
  --accent-glow: rgba(99, 102, 241, 0.3);
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a78bfa 50%, #c084fc 100%);
  --accent-gradient-subtle: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(167,139,250,0.05) 100%);

  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b85;
  --text-accent: #a78bfa;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(99, 102, 241, 0.3);

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1280px;
  --container-padding: 0 40px;

  /* Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.2s var(--ease-out-quart);
  --transition-medium: 0.4s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}

/* ─── UTILITIES ──────────────────────────────────── */
.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

/* ─── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 12px;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}

.btn-ghost:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ─── NAVBAR ──────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-medium);
}

.navbar.scrolled {
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-mark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links li a {
  display: block;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.nav-links li a:hover {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

.nav-links .nav-cta {
  background: var(--accent-gradient);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  margin-left: 12px;
}

.nav-links .nav-cta:hover {
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ─── HERO SECTION ──────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/hero-bg.png') center/cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
  top: -10%;
  right: -5%;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.15), transparent 70%);
  bottom: -10%;
  left: -5%;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.12), transparent 70%);
  top: 40%;
  left: 30%;
  animation: orbFloat 18s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 100%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-accent);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  padding: 8px 22px;
  border-radius: 100px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

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

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-title .title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.hero-title .title-line:nth-child(1) { animation-delay: 0.3s; }
.hero-title .title-line:nth-child(2) { animation-delay: 0.45s; }
.hero-title .title-line:nth-child(3) { animation-delay: 0.6s; }

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

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.7s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.85s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 1s forwards;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-secondary);
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 1.3s forwards;
}

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

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── SERVICES SECTION ──────────────────────────────────── */
.services-section {
  padding: var(--section-padding);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

/* Service Card */
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 36px;
  transition: all var(--transition-medium);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.service-card.featured {
  border-color: rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(16,16,28,0.6) 100%);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.service-card:hover .card-glow {
  opacity: 1;
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-secondary);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 4px 14px;
  border-radius: 100px;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient-subtle);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 14px;
  margin-bottom: 24px;
  color: var(--accent-secondary);
  transition: all var(--transition-fast);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.service-card:hover .card-icon {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  transform: scale(1.05);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.card-description {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-features {
  list-style: none;
  margin-bottom: 24px;
}

.card-features li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-secondary);
  transition: all var(--transition-fast);
}

.card-link:hover {
  color: var(--text-primary);
  gap: 12px;
}

/* ─── PROCESS SECTION ──────────────────────────────────── */
.process-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}

.process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.process-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-primary), rgba(99, 102, 241, 0.1));
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 0 0 48px 0;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: all var(--transition-slow);
}

.process-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.process-step:last-child {
  padding-bottom: 0;
}

.step-marker {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  position: relative;
  z-index: 1;
  transition: all var(--transition-fast);
}

.step-marker span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-step:hover .step-marker {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  margin-top: 4px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── SEELESS FLUSH-MOUNT SECTION ──────────────────────── */
.seeless-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}

.seeless-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(180 60% 40% / 0.4), transparent);
}

.seeless-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.seeless-card {
  padding: 32px;
  border-radius: 16px;
  background: hsl(210 20% 10% / 0.6);
  border: 1px solid hsl(180 40% 30% / 0.2);
  transition: all var(--transition-medium);
  opacity: 0;
  transform: translateY(20px);
}

.seeless-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.seeless-card:hover {
  border-color: hsl(180 60% 40% / 0.5);
  box-shadow: 0 0 30px hsl(180 60% 40% / 0.08);
  transform: translateY(-4px);
}

.seeless-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: hsl(180 60% 55%);
}

.seeless-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.seeless-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.seeless-models {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: hsl(180 50% 50%);
  opacity: 0.7;
  padding-top: 12px;
  border-top: 1px solid hsl(180 40% 30% / 0.15);
}

/* ─── EXPERTISE SECTION ──────────────────────────────────── */
.expertise-section {
  padding: var(--section-padding);
  position: relative;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.expertise-card {
  padding: 36px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition: all var(--transition-medium);
  opacity: 0;
  transform: translateY(20px);
}

.expertise-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.expertise-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.expertise-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  margin-bottom: 16px;
}

.expertise-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.expertise-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Brand Strip */
.brand-strip {
  text-align: center;
  padding: 48px 0 0;
  border-top: 1px solid var(--border-subtle);
}

.brand-strip-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.brand-logo-item {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  opacity: 0.4;
  transition: all var(--transition-fast);
}

.brand-logo-item:hover {
  opacity: 0.8;
  color: var(--text-primary);
}

/* ─── PORTFOLIO SECTION ──────────────────────────────────── */
.portfolio-section {
  padding: var(--section-padding);
  position: relative;
}

.portfolio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-medium);
  cursor: pointer;
  max-height: 400px;
}

.gallery-item.gallery-wide {
  grid-column: span 2;
  max-height: 480px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, hsl(220 25% 6% / 0.92) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.gallery-caption p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .portfolio-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-item.gallery-wide {
    grid-column: span 1;
  }
  .gallery-caption {
    transform: translateY(0);
    position: relative;
    background: hsl(220 25% 8%);
    padding: 16px;
  }
}

/* ─── CONTACT SECTION ──────────────────────────────────── */
.contact-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-tag {
  margin-bottom: 16px;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 20px;
}

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

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.contact-feature:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
}

.contact-feature svg {
  flex-shrink: 0;
  color: var(--accent-secondary);
}

.contact-feature strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-feature span {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrapper {
  position: relative;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b6b85' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ef4444;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.5;
}

/* Form Success State */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
}

.form-success.active {
  display: block;
  animation: fadeInUp 0.5s var(--ease-out-expo);
}

.success-icon {
  color: #22c55e;
  margin-bottom: 24px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 28px;
}

/* ─── FOOTER ──────────────────────────────────── */
.site-footer {
  padding: 80px 0 40px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links ul li a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: all var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--text-primary);
  padding-left: 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
    --container-padding: 0 24px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  /* Mobile Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 8, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 40px;
    transition: right var(--transition-medium);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li a {
    font-size: 1.3rem;
    padding: 14px 20px;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    text-align: center;
    font-size: 1.1rem;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero Mobile */
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  /* Services Mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Form Mobile */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Expertise Mobile */
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .contact-form {
    padding: 24px 20px;
  }
}

/* --------------- TESTIMONIALS --------------- */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  max-width: 720px;
  width: 100%;
  transition: border-color 0.3s, transform 0.3s;
}
.testimonial-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
}
.testimonial-featured {
  border-color: rgba(var(--accent-primary-rgb, 100, 140, 255), 0.25);
}
.testimonial-quote-mark {
  font-size: 6rem;
  line-height: 0.5;
  color: var(--accent-primary);
  font-family: 'Outfit', serif;
  font-weight: 700;
  opacity: 0.4;
  margin-bottom: 24px;
  display: block;
}
.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-primary);
  font-style: normal;
  margin: 0 0 32px;
  font-weight: 400;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary, #8b5cf6));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.testimonial-name {
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 4px;
}
.testimonial-title {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
}
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .testimonial-card { padding: 32px 24px; }
  .testimonial-text { font-size: 1rem; }
}

/* --------------- LEAD MAGNET BAND --------------- */
.lead-magnet-section {
  padding: 60px 0;
  background: var(--bg-primary);
}
.lm-band {
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, rgba(var(--accent-primary-rgb,100,140,255),0.08), rgba(139,92,246,0.08));
  border: 1px solid rgba(var(--accent-primary-rgb,100,140,255),0.25);
  border-radius: 20px;
  padding: 40px 48px;
  flex-wrap: wrap;
}
.lm-icon {
  font-size: 3rem;
  flex-shrink: 0;
}
.lm-content {
  flex: 1;
  min-width: 260px;
}
.lm-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  margin-bottom: 8px;
}
.lm-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}
.lm-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}
.lm-cta {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .lm-band { padding: 28px 24px; flex-direction: column; text-align: center; }
  .lm-cta { width: 100%; justify-content: center; }
}

/* --------------- HARDWARE / PRODUCT SHOWCASE --------------- */
.hardware-section {
  padding: 100px 0;
  background: var(--bg-secondary, #0d0d14);
  border-top: 1px solid var(--border-subtle);
}
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.hw-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.hw-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
}
.hw-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f8f8f8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hw-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hw-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hw-brand {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 6px;
  display: block;
}
.hw-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.hw-desc {
  color: var(--text-secondary);
  font-size: 0.87rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.hw-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.hw-specs span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hw-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}
.hw-link:hover { opacity: 0.75; }

/* SeeLess animated demo card */
.hw-seeless-visual {
  background: #1a1a22;
}
.seeless-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 16px;
  padding: 24px;
}
.seeless-wall {
  width: 120px;
  height: 90px;
  background: #e8e8e8;
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seeless-device {
  width: 36px;
  height: 54px;
  background: #e8e8e8;
  border: 1.5px solid #ccc;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.seeless-label-line {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent-primary);
  opacity: 0.6;
}
.seeless-caption {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-align: center;
}
@media (max-width: 768px) {
  .hardware-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .hardware-grid { grid-template-columns: 1fr; }
}

/* --------------- PARTNER LOGO BAR --------------- */
.partner-bar {
  padding: 36px 0 24px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}
.partner-bar-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  filter: grayscale(1) brightness(2);
  transition: opacity 0.3s, filter 0.3s;
  text-decoration: none;
  height: 36px;
}
.partner-logo-item:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}
.partner-logo-item img {
  max-height: 32px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
}
.partner-logo-text-only .brand-wordmark {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
}
@media (max-width: 600px) {
  .partner-logos { gap: 24px; }
  .partner-logo-item img { max-width: 80px; }
}

/* --------------- LOCATION STRIP --------------- */
.location-strip {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.location-strip-prefix {
  font-style: italic;
  color: var(--text-muted);
}
.location-strip-divider {
  color: var(--accent-primary);
  font-size: 0.9rem;
}
.location-strip a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.location-strip a:hover {
  color: var(--accent-primary);
}

/* --------------- STICKY CTA BAR --------------- */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #1A2744;
  border-top: 2px solid #C4A84D;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
.sticky-cta-bar.visible {
  transform: translateY(0);
}
.sticky-cta-bar.dismissed {
  transform: translateY(100%) !important;
}
.sticky-cta-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.sticky-cta-text {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}
.sticky-cta-btn {
  background: #C4A84D;
  color: #1A2744;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.sticky-cta-btn:hover {
  background: #A8935E;
  transform: translateY(-1px);
}
.sticky-cta-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}
.sticky-cta-close:hover { color: #fff; }
@media (max-width: 600px) {
  .sticky-cta-text { font-size: 0.82rem; }
  .sticky-cta-btn { font-size: 0.82rem; padding: 9px 18px; }
}

/* --------------- EXIT INTENT POPUP --------------- */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
.exit-popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.exit-popup {
  background: #1A2744;
  border: 1px solid rgba(196,168,77,0.4);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.exit-popup-overlay.active .exit-popup {
  transform: scale(1) translateY(0);
}
.exit-popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.exit-popup-close:hover { color: #fff; }
.exit-popup-icon { font-size: 2.8rem; margin-bottom: 16px; }
.exit-popup-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}
.exit-popup-sub {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.exit-popup-btn {
  display: inline-block;
  background: #C4A84D;
  color: #1A2744;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s;
  margin-bottom: 16px;
}
.exit-popup-btn:hover { background: #A8935E; }
.exit-popup-no-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.exit-popup-no-btn:hover { color: rgba(255,255,255,0.6); }
