/* ─── HEPTHEX Main Stylesheet ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* BLANKA Font via CDN */
@font-face {
  font-family: 'BLANKA';
  src: url('https://db.onlinewebfonts.com/t/4553e3e9b9bb5c2c17cf6a2efc7e5c43.woff2') format('woff2'),
    url('https://db.onlinewebfonts.com/t/4553e3e9b9bb5c2c17cf6a2efc7e5c43.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ─── CSS Custom Properties ─────────────────────────────────────────────── */
:root {
  /* Core Palette */
  --c-black: #000000;
  --c-dark: #050505;
  --c-surface: #0a0a0a;
  --c-panel: #111111;
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-h: rgba(255, 255, 255, 0.18);
  --c-white: #ffffff;
  --c-off: #f5f5f5;

  /* Text */
  --t-primary: #ffffff;
  --t-secondary: #c0c0c0;
  --t-muted: #888888;
  --t-subtle: #555555;

  /* Accents */
  --a-glass: rgba(255, 255, 255, 0.04);
  --a-glass-h: rgba(255, 255, 255, 0.08);
  --a-shine: rgba(255, 255, 255, 0.12);
  --a-glow: rgba(255, 255, 255, 0.06);

  /* Liquid Glass Gradient */
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.05) 100%);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px) saturate(180%);

  /* Typography */
  --f-display: 'BLANKA', 'Inter', sans-serif;
  --f-body: 'Inter', -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 40px;
  --sp-2xl: 64px;
  --sp-3xl: 96px;

  /* Border radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quick: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.3s;
  --dur-slow: 0.6s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  background: var(--c-dark);
  color: var(--t-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.4);
  outline-offset: 3px;
}

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

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

button {
  font-family: var(--f-body);
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: var(--f-body);
}

/* ─── Scrollbar ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a;
}

/* ─── Typography ─────────────────────────────────────────────────────────── */
.font-display {
  font-family: var(--f-display);
}

.font-mono {
  font-family: var(--f-mono);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.15;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.text-7xl {
  font-size: 4.5rem;
}

.text-8xl {
  font-size: 6rem;
}

.text-primary {
  color: var(--t-primary);
}

.text-secondary {
  color: var(--t-secondary);
}

.text-muted {
  color: var(--t-muted);
}

.text-subtle {
  color: var(--t-subtle);
}

/* ─── Layout ────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.container-sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.container-lg {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.section {
  padding: var(--sp-3xl) 0;
}

.section-sm {
  padding: var(--sp-2xl) 0;
}

/* ─── Glass Card (Liquid Glass / Apple Style) ───────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

.glass-strong {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 12px 28px;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(255, 255, 255, 0.08);
  transition: opacity var(--dur) var(--ease);
  border-radius: inherit;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}

.btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--t-primary);
  border: 1px solid var(--c-border-h);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--t-secondary);
  border: none;
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--t-primary);
}

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--t-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-glass:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease);
}

#nav.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 0;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.12em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links>li {
  position: relative;
}

.nav-links>li>a {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  color: var(--t-secondary);
  border-radius: var(--r-sm);
  transition: color var(--dur), background var(--dur);
  letter-spacing: 0.01em;
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
  color: var(--t-primary);
  background: rgba(255, 255, 255, 0.06);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  list-style: none;
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--t-secondary);
  border-radius: var(--r-sm);
  transition: color var(--dur), background var(--dur);
}

.nav-dropdown a:hover {
  color: var(--t-primary);
  background: rgba(255, 255, 255, 0.06);
}

li:hover>.nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-cta {
  margin-left: 12px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile Menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(40px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--t-secondary);
  letter-spacing: 0.05em;
  transition: color var(--dur);
}

.nav-mobile a:hover {
  color: var(--t-primary);
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px var(--sp-xl) var(--sp-3xl);
}

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

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

/* Liquid glass orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
  animation: orb-float 12s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: #fff;
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: #aaa;
  bottom: -100px;
  left: -80px;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: #ccc;
  top: 40%;
  left: 50%;
  animation-delay: -8s;
}

@keyframes orb-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-10px, 15px) scale(0.97);
  }
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 6px 16px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--t-secondary);
  margin-bottom: var(--sp-xl);
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.hero-logo-img {
  max-height: 100px;
  margin: 0 auto var(--sp-xl);
  filter: brightness(0) invert(1);
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: var(--sp-lg);
}

.hero-tagline {
  font-family: 'BLANKA', 'Impact', sans-serif;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--t-secondary);
  margin-bottom: var(--sp-xl);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--t-secondary);
  max-width: 640px;
  margin: 0 auto var(--sp-xl);
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--t-subtle);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  font-family: var(--f-mono);
}

.scroll-line-track {
  width: 2px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.scroll-line-indicator {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.3));
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleY(0);
  animation: scroll-line-anim 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scroll-line-anim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  45% {
    transform: scaleY(1);
    transform-origin: top;
  }

  46% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  90% {
    transform: scaleY(0);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ─── Ticker / Marquee ───────────────────────────────────────────────────── */
.ticker {
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.015);
}

.ticker-inner {
  display: flex;
  gap: var(--sp-2xl);
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker:hover .ticker-inner {
  animation-play-state: paused;
}

.ticker-item {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-subtle);
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.ticker-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--t-subtle);
  display: inline-block;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ─── Section Headers ─────────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t-subtle);
  margin-bottom: var(--sp-md);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--t-primary);
  margin-bottom: var(--sp-md);
}

.section-desc {
  font-size: 1rem;
  color: var(--t-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── Services Grid ──────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-md);
}

.service-card {
  padding: var(--sp-xl);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, 0.02);
  transition: all var(--dur-slow) var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
  background: rgba(255, 255, 255, 0.04);
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--t-primary);
  margin-bottom: var(--sp-sm);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--t-secondary);
  line-height: 1.7;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--t-muted);
  margin-top: var(--sp-lg);
  transition: color var(--dur), gap var(--dur);
}

.service-card:hover .service-arrow {
  color: var(--t-primary);
  gap: 10px;
}

/* ─── Stats Row ──────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat-item {
  padding: var(--sp-xl) var(--sp-lg);
  background: var(--c-surface);
  text-align: center;
}

.stat-number {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--t-primary);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: var(--sp-sm);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--t-muted);
  letter-spacing: 0.05em;
}

/* ─── Projects Grid ──────────────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--sp-md);
}

.project-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
  background: var(--c-panel);
  transition: all var(--dur-slow) var(--ease);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.project-img {
  aspect-ratio: 16/9;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  position: relative;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-card:hover .project-img img {
  transform: scale(1.04);
}

.project-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-subtle);
}

.project-body {
  padding: var(--sp-lg);
  flex: 1;
}

.project-tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-muted);
  margin-bottom: var(--sp-sm);
}

.project-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--sp-sm);
}

.project-desc {
  font-size: 0.875rem;
  color: var(--t-secondary);
  line-height: 1.6;
}

.project-footer {
  padding: var(--sp-md) var(--sp-lg);
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-tech {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.project-tech span {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--t-muted);
  white-space: nowrap;
}

/* ─── Client Logos ───────────────────────────────────────────────────────── */
.clients-strip {
  overflow: hidden;
  padding: var(--sp-2xl) 0;
}

.clients-track {
  display: flex;
  gap: var(--sp-2xl);
  animation: ticker-scroll 20s linear infinite;
  width: max-content;
}

.client-logo {
  height: 36px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(100%) brightness(200%);
  transition: opacity var(--dur);
  flex-shrink: 0;
}

.client-logo:hover {
  opacity: 0.8;
}

/* ─── Testimonials ───────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-md);
}

.testimonial-card {
  padding: var(--sp-xl);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, 0.02);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--t-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--c-border);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--t-muted);
}

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--sp-md);
}

.form-label {
  display: block;
  font-size: 0.8rem;
  color: var(--t-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-label .req {
  color: rgba(255, 255, 255, 0.4);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  color: var(--t-primary);
  font-size: 0.9rem;
  transition: border-color var(--dur), box-shadow var(--dur);
  outline: none;
}

.form-control::placeholder {
  color: var(--t-subtle);
}

.form-control:focus {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.06);
}

.form-control.error {
  border-color: rgba(255, 80, 80, 0.5);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: #1a1a1a;
}

.form-error {
  font-size: 0.78rem;
  color: rgba(255, 100, 100, 0.9);
  margin-top: 4px;
}

.form-help {
  font-size: 0.78rem;
  color: var(--t-subtle);
  margin-top: 4px;
}

/* ─── Contact Section ────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-2xl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--t-secondary);
}

.contact-item-label {
  font-size: 0.75rem;
  color: var(--t-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 0.95rem;
  color: var(--t-primary);
}

.contact-item-value a {
  color: inherit;
  transition: color var(--dur);
}

.contact-item-value a:hover {
  color: var(--t-secondary);
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--c-border);
  padding: var(--sp-3xl) 0 var(--sp-xl);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
}

.footer-brand .logo-text {
  font-family: var(--f-display);
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .logo-text img {
  height: 32px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--t-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-est {
  font-size: 0.75rem;
  color: var(--t-subtle);
  margin-top: var(--sp-md);
  letter-spacing: 0.08em;
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-muted);
  margin-bottom: var(--sp-md);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--t-secondary);
  transition: color var(--dur);
}

.footer-col a:hover {
  color: var(--t-primary);
}

.footer-social {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur);
  background: rgba(255, 255, 255, 0.02);
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: var(--t-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--t-muted);
}

.footer-legal {
  display: flex;
  gap: var(--sp-lg);
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--t-subtle);
  transition: color var(--dur);
}

.footer-legal a:hover {
  color: var(--t-secondary);
}

/* ─── Chat Widget ────────────────────────────────────────────────────────── */
#chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
}

.chat-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s var(--ease);
}

.chat-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.chat-btn svg {
  width: 24px;
  height: 24px;
  stroke: #000;
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: #ff4444;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--c-dark);
  opacity: 0;
  transition: opacity 0.2s;
}

.chat-badge.show {
  opacity: 1;
}

.chat-box {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 360px;
  max-height: 540px;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transition: all 0.3s var(--ease);
  transform-origin: bottom right;
}

.chat-box.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.chat-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.chat-status {
  font-size: 0.75rem;
  color: var(--t-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
}

.chat-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--t-muted);
  padding: 4px;
  border-radius: 4px;
  transition: color var(--dur);
}

.chat-close:hover {
  color: var(--t-primary);
}

.chat-close svg {
  width: 18px;
  height: 18px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.chat-msg.bot,
.chat-msg.admin {
  align-self: flex-start;
}

.chat-msg.customer {
  align-self: flex-end;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.chat-msg.bot .chat-bubble,
.chat-msg.admin .chat-bubble {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 4px;
  color: var(--t-secondary);
}

.chat-msg.customer .chat-bubble {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom-right-radius: 4px;
  color: var(--t-primary);
}

.chat-time {
  font-size: 0.68rem;
  color: var(--t-subtle);
  margin-top: 4px;
}

.chat-msg.customer .chat-time {
  text-align: right;
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.chat-option-btn {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--t-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  text-align: left;
  transition: all var(--dur);
}

.chat-option-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.chat-auth {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-auth h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.chat-auth p {
  font-size: 0.78rem;
  color: var(--t-muted);
  margin-bottom: 12px;
}

.chat-form-err {
  font-size: 0.76rem;
  color: rgba(255, 100, 100, 0.9);
  margin-bottom: 8px;
  min-height: 1em;
  line-height: 1.4;
}

/* Utility: hidden state for chat panels */
#chat-widget .hidden {
  display: none !important;
}

.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  padding: 10px 14px;
  color: #fff;
  font-size: 0.875rem;
  resize: none;
  outline: none;
  max-height: 100px;
  transition: border-color var(--dur);
}

.chat-input::placeholder {
  color: var(--t-subtle);
}

.chat-input:focus {
  border-color: rgba(255, 255, 255, 0.2);
}

.chat-send {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--dur);
}

.chat-send:hover {
  background: #e0e0e0;
}

.chat-send svg {
  width: 16px;
  height: 16px;
  stroke: #000;
}

/* ─── Toast Notifications ────────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 20px;
  border-radius: var(--r-md);
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.875rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: toast-in 0.3s var(--ease) forwards;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 360px;
}

.toast.success {
  border-color: rgba(74, 222, 128, 0.3);
}

.toast.error {
  border-color: rgba(248, 113, 113, 0.3);
}

.toast.info {
  border-color: rgba(255, 255, 255, 0.15);
}

.toast-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.toast.success .toast-icon {
  background: rgba(74, 222, 128, 0.2);
}

.toast.error .toast-icon {
  background: rgba(248, 113, 113, 0.2);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ─── Page Header ────────────────────────────────────────────────────────── */
.page-hero {
  padding: 180px 0 var(--sp-3xl);
  border-bottom: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}

/* ─── Blog Cards ────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-md);
}

.blog-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: all var(--dur-slow) var(--ease);
}

.blog-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.blog-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-img img {
  transform: scale(1.04);
}

.blog-body {
  padding: var(--sp-lg);
}

.blog-cat {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-muted);
  margin-bottom: 8px;
}

.blog-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--sp-sm);
  line-height: 1.4;
}

.blog-title a {
  color: inherit;
}

.blog-title a:hover {
  color: var(--t-secondary);
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--t-secondary);
  line-height: 1.6;
}

.blog-meta {
  margin-top: var(--sp-md);
  font-size: 0.78rem;
  color: var(--t-muted);
  display: flex;
  gap: var(--sp-md);
}

/* ─── OTP / Auth ────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-xl);
  background: var(--c-dark);
  position: relative;
  overflow: hidden;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: var(--sp-2xl);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(40px);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.auth-logo {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.auth-logo img {
  height: 50px;
  margin: 0 auto 12px;
  filter: brightness(0) invert(1);
}

.auth-logo .company-name {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: #fff;
}

.auth-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--sp-sm);
}

.auth-desc {
  font-size: 0.875rem;
  color: var(--t-secondary);
  margin-bottom: var(--sp-xl);
}

.otp-inputs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: var(--sp-lg) 0;
}

.otp-input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  font-family: var(--f-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  color: #fff;
  outline: none;
  transition: all var(--dur);
}

.otp-input:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

/* ─── Utility Classes ────────────────────────────────────────────────────── */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-sm {
  gap: var(--sp-sm);
}

.gap-md {
  gap: var(--sp-md);
}

.gap-lg {
  gap: var(--sp-lg);
}

.mt-sm {
  margin-top: var(--sp-sm);
}

.mt-md {
  margin-top: var(--sp-md);
}

.mt-lg {
  margin-top: var(--sp-lg);
}

.mt-xl {
  margin-top: var(--sp-xl);
}

.mt-2xl {
  margin-top: var(--sp-2xl);
}

.mb-sm {
  margin-bottom: var(--sp-sm);
}

.mb-md {
  margin-bottom: var(--sp-md);
}

.mb-lg {
  margin-bottom: var(--sp-lg);
}

.mb-xl {
  margin-bottom: var(--sp-xl);
}

.mb-2xl {
  margin-bottom: var(--sp-2xl);
}

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

.text-right {
  text-align: right;
}

.hidden {
  display: none !important;
}

.divider {
  height: 1px;
  background: var(--c-border);
  margin: var(--sp-2xl) 0;
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ─── Animations (AOS-like) ──────────────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-left"] {
  transform: translateX(-24px);
}

[data-aos="fade-right"] {
  transform: translateX(24px);
}

[data-aos="fade-left"].aos-animate,
[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos-delay="200"] {
  transition-delay: 0.2s;
}

[data-aos-delay="300"] {
  transition-delay: 0.3s;
}

[data-aos-delay="400"] {
  transition-delay: 0.4s;
}

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

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

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

@media (max-width: 768px) {
  :root {
    --sp-3xl: 64px;
    --sp-2xl: 48px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .container {
    padding: 0 var(--sp-md);
  }

  .hero {
    padding: 100px var(--sp-md) calc(var(--sp-2xl) + 100px);
  }

  .hero-scroll {
    bottom: 24px;
  }

  .hero-orb {
    display: none;
  }

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

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .chat-box {
    width: 320px;
    right: 0;
  }

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

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  /* Hide absolute scroll indicator on small screens — avoids overlap with stacked CTA buttons */
  .hero-scroll {
    display: none;
  }

  .otp-inputs .otp-input {
    width: 42px;
    height: 48px;
    font-size: 1.2rem;
  }

  .chat-box {
    width: calc(100vw - 48px);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}