/* ============================================================
   DigiCorp Technologies — Premium Website Styles
   Author: DigiCorp Technologies
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --bg-dark: #060d1a;
  --bg-navy: #0d1b35;
  --bg-section: #080f20;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --accent-blue: #0ea5e9;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --gradient-main: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  --gradient-gold: linear-gradient(135deg, #f59e0b, #ef4444);
  --gradient-hero: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 50%, #06b6d4 100%);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(14, 165, 233, 0.3);
  --glow-blue: 0 0 40px rgba(14, 165, 233, 0.25);
  --glow-purple: 0 0 40px rgba(139, 92, 246, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(14, 165, 233, 0.15);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  /* iOS Safari fix */
  width: 100%;
}

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

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

ul {
  list-style: none;
}

::selection {
  background: rgba(14, 165, 233, 0.3);
  color: #fff;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
  border-radius: 3px;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

/* ── UTILITIES ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-dark {
  background: var(--bg-section);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: var(--accent-blue);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-main);
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}

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

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-glow {
  box-shadow: 0 4px 30px rgba(14, 165, 233, 0.4);
}

.btn-glow:hover {
  box-shadow: 0 8px 40px rgba(14, 165, 233, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-primary);
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.05rem;
}

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

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

.navbar.scrolled {
  background: rgba(6, 13, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-right: auto;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--gradient-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--glow-blue);
}

.logo-d {
  letter-spacing: -2px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-arrow {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Mega Dropdown */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 680px;
  background: rgba(13, 27, 53, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

.nav-item.has-dropdown:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.mega-dropdown-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 24px;
}

.mega-col {
  padding: 0 16px;
}

.mega-col:not(:last-child) {
  border-right: 1px solid var(--border);
}

.mega-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-bottom: 2px;
}

.mega-link i {
  width: 18px;
  color: var(--accent-blue);
  font-size: 0.85rem;
}

.mega-link:hover {
  background: rgba(14, 165, 233, 0.1);
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-phone:hover {
  color: var(--accent-blue);
}

.nav-phone i {
  color: var(--accent-blue);
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-main);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
  white-space: nowrap;
}

.btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.5) 0%, transparent 70%);
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -100px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, transparent 70%);
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 40%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
  animation-delay: -5s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
}

.hero-container {
  max-width: 1318px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  min-width: 280px;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trust-item i {
  color: var(--accent-green);
}

/* Dashboard Mockup */
.hero-visual {
  position: relative;
}

.dashboard-mockup {
  background: rgba(13, 27, 53, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    var(--glow-blue);
  animation: dashFloat 6s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

@keyframes dashFloat {

  0%,
  100% {
    transform: translateY(0px) rotate(0.5deg);
  }

  50% {
    transform: translateY(-16px) rotate(-0.5deg);
  }
}

.dashboard-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}

.titlebar-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #ef4444;
}

.dot-yellow {
  background: #f59e0b;
}

.dot-green {
  background: #10b981;
}

.titlebar-title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.titlebar-icons {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.dashboard-body {
  display: flex;
  height: 360px;
}

.dashboard-sidebar {
  width: 52px;
  background: rgba(6, 13, 26, 0.8);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 4px;
}

.sidebar-logo-mini {
  width: 32px;
  height: 32px;
  background: var(--gradient-main);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-item.active {
  background: rgba(14, 165, 233, 0.2);
  color: var(--accent-blue);
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.dashboard-main {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.dash-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.dash-stat-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.dash-stat-info {
  flex: 1;
  min-width: 0;
}

.dash-stat-num {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.dash-stat-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-stat-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px;
}

.dash-stat-badge.up {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.dash-chart-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  flex: 1;
}

.dash-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.dash-chart-period {
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent-blue);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.6rem;
}

.dash-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.dash-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  height: 100%;
  justify-content: flex-end;
}

.dash-bar {
  width: 100%;
  height: var(--h);
  background: var(--c);
  border-radius: 3px 3px 0 0;
  opacity: 0.7;
  animation: barGrow 1s ease forwards;
  transform-origin: bottom;
}

.dash-bar-group.active-bar .dash-bar {
  opacity: 1;
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

.dash-bar-group span {
  font-size: 0.55rem;
  color: var(--text-muted);
}

.dash-table-mini {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.dash-table-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  padding: 6px 10px;
  font-size: 0.65rem;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dash-table-row:last-child {
  border-bottom: none;
}

.header-row {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.58rem;
}

.row-id {
  color: var(--accent-blue);
  font-weight: 600;
}

.badge-status {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  display: inline-block;
  width: fit-content;
}

.badge-status.delivered {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.badge-status.production {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.badge-status.pending {
  background: rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
}

/* Floating Badges */
.float-badge {
  position: absolute;
  background: rgba(13, 27, 53, 0.95);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  animation: badgeFloat 4s ease-in-out infinite;
  white-space: nowrap;
}

.float-badge i {
  color: var(--accent-blue);
}

.float-badge-1 {
  bottom: -20px;
  left: -40px;
  animation-delay: 0s;
}

.float-badge-2 {
  top: 30px;
  right: -40px;
  animation-delay: -2s;
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

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

  50% {
    transform: translateY(8px);
    opacity: 0.3;
  }
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(4px);
  }
}

/* ── STATS SECTION ── */
.stats-section {
  padding: 60px 24px;
  background: rgba(14, 165, 233, 0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── FEATURES SECTION ── */
.features-section {
  padding: 100px 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
  overflow: hidden;
  cursor: pointer;
  color: inherit;
}

.feature-card-glow {
  position: absolute;
  inset: 0;
  background: var(--glow, rgba(14, 165, 233, 0.08));
  opacity: 0;
  transition: var(--transition);
  border-radius: inherit;
}

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

.feature-card:hover {
  border-color: rgba(14, 165, 233, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--icon-color, var(--accent-blue));
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-tags span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.feature-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--accent-blue);
  opacity: 0;
  transition: var(--transition);
  font-size: 0.9rem;
}

.feature-card:hover .feature-arrow {
  opacity: 1;
  transform: translateX(4px);
}

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

/* ── MODULES SECTION ── */
.modules-section {
  padding: 100px 24px;
}

.modules-showcase {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  min-height: 540px;
}

.modules-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.module-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}

.module-tab i {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.module-tab h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: inherit;
  margin-bottom: 2px;
}

.module-tab p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.module-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.module-tab.active {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.25);
  color: var(--text-primary);
}

.module-tab.active i {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: var(--glow-blue);
}

.modules-right {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.module-display {
  height: 100%;
}

.module-display-content {
  position: absolute;
  inset: 0;
  padding: 36px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: auto;
}

.module-display-content.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.module-visual {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}

.module-display-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.module-display-content p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.65;
}

.module-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.module-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.module-points li i {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* VMS Visual */
.cam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: #000;
  height: 140px;
}

.cam-feed {
  background: rgba(14, 165, 233, 0.05);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cam-feed::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), transparent);
}

.cam-overlay {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  z-index: 1;
}

.cam-overlay i {
  color: #ef4444;
  animation: camBlink 2s ease-in-out infinite;
}

@keyframes camBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* WMS Visual */
.warehouse-grid {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wh-row {
  display: flex;
  gap: 6px;
}

.wh-slot {
  flex: 1;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
}

.wh-slot.occupied {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.wh-slot.empty {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
}

.wh-slot.reserved {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

/* OMS Visual */
.order-pipeline {
  display: flex;
  gap: 8px;
  padding: 12px;
  height: 130px;
  overflow: hidden;
}

.pipeline-stage {
  flex: 1;
}

.stage-header {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.stage-header.new {
  background: rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
}

.stage-header.process {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.stage-header.shipped {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.pipeline-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  margin-bottom: 4px;
}

.pc-id {
  font-size: 0.58rem;
  color: var(--accent-blue);
  font-weight: 600;
}

.pc-name {
  font-size: 0.62rem;
  color: var(--text-secondary);
}

.pc-val {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* HRMS Visual */
.hr-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 12px;
  height: 130px;
}

.hr-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hr-avatar {
  width: 26px;
  height: 26px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #8b5cf6;
  flex-shrink: 0;
}

.hr-info {
  flex: 1;
  min-width: 0;
}

.hr-info b {
  display: block;
  font-size: 0.62rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hr-info span {
  font-size: 0.58rem;
  color: var(--text-muted);
}

.hr-badge {
  font-size: 0.55rem;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 600;
  flex-shrink: 0;
}

.hr-badge.present {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.hr-badge.absent {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

/* Jobwork Visual */
.jw-tracker {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jw-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
}

.jw-label {
  width: 100px;
  color: var(--text-secondary);
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jw-bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.jw-fill {
  height: 100%;
  border-radius: 3px;
  animation: fillBar 1.5s ease forwards;
}

@keyframes fillBar {
  from {
    width: 0 !important;
  }
}

.jw-item span {
  color: var(--text-secondary);
  width: 28px;
  text-align: right;
}

/* Leads Visual */
.lead-funnel {
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  height: 130px;
  justify-content: center;
}

.funnel-stage {
  height: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  transition: var(--transition);
}

/* Custom Visual */
.custom-builder {
  padding: 12px;
  height: 130px;
}

.builder-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.tool-btn {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
}

.tool-btn.active {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.3);
  color: var(--accent-blue);
}

.builder-canvas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.builder-block {
  border-radius: 6px;
  border: 1px dashed rgba(14, 165, 233, 0.3);
  background: rgba(14, 165, 233, 0.05);
  font-size: 0.6rem;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 4px;
}

/* ── SERVICES SECTION ── */
.services-section {
  padding: 100px 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  border-color: rgba(14, 165, 233, 0.2);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--gradient-main);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: var(--glow-blue);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
}

/* ── INDUSTRIES SECTION ── */
.industries-section {
  padding: 100px 24px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
}

.industry-card:hover::after {
  opacity: 1;
}

.industry-card:hover {
  border-color: rgba(14, 165, 233, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.industry-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-blue);
  margin: 0 auto 20px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.industry-card:hover .industry-icon {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: var(--glow-blue);
  border-color: transparent;
  transform: scale(1.1);
}

.industry-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.industry-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.industry-tag {
  display: inline-block;
  margin-top: 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

/* ── WHY US SECTION ── */
.why-us-section {
  padding: 100px 24px;
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.why-us-left {
  position: sticky;
  top: calc(var(--nav-height) + 40px);
}

.why-us-left .section-tag {
  margin-bottom: 20px;
}

.why-us-left .section-title {
  margin-bottom: 20px;
  text-align: left;
}

.why-us-left .section-subtitle {
  text-align: left;
  margin-bottom: 36px;
}

.why-us-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.why-item:hover {
  border-color: rgba(14, 165, 233, 0.25);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-blue);
  flex-shrink: 0;
  transition: var(--transition);
}

.why-item:hover .why-icon {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow-blue);
}

.why-content h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.why-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ── CLIENTS SECTION ── */
.clients-section {
  padding: 100px 24px;
}

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

.client-card {
  height: 240px;
  perspective: 1200px;
  cursor: pointer;
}

.client-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-card:hover .client-card-inner {
  transform: rotateY(180deg);
}

.client-card-front,
.client-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.client-card-front {
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.client-card:hover .client-card-front {
  border-color: rgba(14, 165, 233, 0.3);
}

.client-logo-placeholder {
  width: 70px;
  height: 70px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: var(--glow-blue);
}

.client-card-front h4 {
  font-size: 1rem;
  color: var(--text-primary);
}

.client-card-front p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.client-card-back {
  background: linear-gradient(135deg, rgba(13, 27, 53, 0.98), rgba(6, 13, 26, 0.98));
  border: 1px solid rgba(14, 165, 233, 0.3);
  transform: rotateY(180deg);
  gap: 8px;
  box-shadow: var(--glow-blue);
}

.back-icon {
  width: 44px;
  height: 44px;
  background: rgba(14, 165, 233, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-blue);
  margin-bottom: 4px;
}

.client-card-back h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.back-detail {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.back-detail strong {
  color: var(--text-muted);
}

.back-quote {
  font-size: 0.78rem;
  color: var(--accent-blue);
  font-style: italic;
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 4px;
}

/* ── SUPPORT SECTION ── */
.support-section {
  padding: 100px 24px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.support-card:hover {
  border-color: rgba(14, 165, 233, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.support-step {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

.support-icon {
  width: 56px;
  height: 56px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-blue);
  margin-bottom: 20px;
  transition: var(--transition);
}

.support-card:hover .support-icon {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow-blue);
}

.support-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.support-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.support-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.support-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.support-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

.support-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 48px;
  flex-wrap: wrap;
}

.support-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  flex: 1;
  min-width: 200px;
}

.support-contact-item>i {
  width: 44px;
  height: 44px;
  background: var(--gradient-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--glow-blue);
}

.support-contact-item div span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.support-contact-item div a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.support-contact-item div a:hover {
  color: var(--accent-blue);
}

.support-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── DEMO CTA SECTION ── */
.demo-cta-section {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.demo-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.cta-orb-1 {
  width: 500px;
  height: 500px;
  top: -200px;
  left: -100px;
  background: rgba(14, 165, 233, 0.3);
}

.cta-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -50px;
  background: rgba(139, 92, 246, 0.3);
}

.demo-cta-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.demo-cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.demo-cta-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-navy);
  border-top: 1px solid var(--border);
}

.footer-top {
  padding: 72px 24px 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow-blue);
}

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

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

.footer-links-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links-col ul li a:hover {
  color: var(--accent-blue);
}

.footer-contact-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.footer-contact-item>i {
  width: 32px;
  height: 32px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--accent-blue);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 680px;
  width: 100%;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), var(--glow-blue);
  transform: translateY(24px) scale(0.97);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-main);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: var(--glow-blue);
}

.modal-header h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

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

.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
  background: rgba(14, 165, 233, 0.05);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

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

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

/* ── ORB ANIMATION ── */
@keyframes orbFloat {

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

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

  66% {
    transform: translate(-20px, 30px) scale(0.95);
  }
}

/* ── FEATURE PAGES FOOTER STRUCTURE ── */
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
  margin-top: 10px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

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

.footer-col ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-blue);
}

/* ── SUBMIT BUTTON (used in feature page modals) ── */
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient-main);
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  box-shadow: 0 4px 30px rgba(14, 165, 233, 0.35);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(14, 165, 233, 0.6);
}

/* ── RESPONSIVE ── */

/* ── 1100px: Large tablet / small laptop ── */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .float-badge-1 {
    left: 0;
  }

  .float-badge-2 {
    right: 0;
  }

  .modules-showcase {
    grid-template-columns: 1fr;
  }

  .modules-left {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .module-tab {
    flex: 1;
    min-width: 180px;
  }
}

/* ── 900px: Tablet ── */
@media (max-width: 900px) {

  /* Navbar */
  .nav-links,
  .nav-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    /* ← was: absolute */
    top: 72px;
    /* fallback only — JS overrides this */
    left: 0;
    right: 0;
    background: rgba(6, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    z-index: 999;
    height: calc(100vh - 72px);
    /* ← ADD: prevent overflow off screen */
    overflow-y: auto;
    /* ← ADD */
    -webkit-overflow-scrolling: touch;
    /* ← ADD: smooth iOS scroll */
  }

  .mega-dropdown {
    display: none;
  }

  /* Grids */
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

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

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

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid .stat-item:nth-child(4),
  .stats-grid .stat-item:nth-child(5) {
    border-top: 1px solid var(--border);
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  /* Why Us */
  .why-us-inner {
    grid-template-columns: 1fr;
  }

  .why-us-left {
    position: static;
  }

  /* Hero */
  .float-badge-1,
  .float-badge-2 {
    display: none;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  /* Modules */
  .modules-left {
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  /* Section spacing */
  .features-section,
  .services-section,
  .industries-section,
  .clients-section,
  .support-section,
  .demo-cta-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .stats-section {
    padding: 48px 20px;
  }
}

/* ── 640px: Mobile ── */
@media (max-width: 640px) {

  /* Navbar */
  .navbar {
    padding: 0 16px;
    overflow: visible;
  }

  .btn-demo {
    padding: 8px 14px;
    font-size: 0.8rem;
    gap: 6px;
  }

  /* Hero */
  .hero {
    padding: calc(var(--nav-height) + 20px) 16px 60px;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary,
  .hero-ctas .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    gap: 12px;
    flex-wrap: wrap;
  }

  .dashboard-body {
    height: 240px;
  }

  .float-badge-1,
  .float-badge-2 {
    display: none;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    padding: 16px 12px;
  }

  /* Grids */
  .features-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  /* Footer homepage */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    padding: 48px 16px 32px;
  }

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

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  /* Footer feature pages */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 16px 32px;
  }

  /* Modules */
  .modules-section {
    padding: 60px 16px;
  }

  .modules-left {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 8px;
  }

  .module-tab {
    min-width: 130px;
    padding: 10px 14px;
    font-size: 0.82rem;
  }

  .module-display {
    padding: 16px;
  }

  /* Why Us */
  .why-item {
    padding: 20px;
  }

  /* Support */
  .support-contact {
    flex-direction: column;
    padding: 24px;
  }

  .support-divider {
    width: 100%;
    height: 1px;
  }

  .support-contact-item {
    padding: 0;
    justify-content: center;
  }

  /* Section padding */
  .features-section,
  .services-section,
  .industries-section,
  .clients-section,
  .support-section,
  .demo-cta-section {
    padding: 60px 16px;
  }

  .stats-section {
    padding: 36px 16px;
  }

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

  /* Modal */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-box {
    padding: 28px 20px 36px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 92vh;
    max-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* CTA buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary,
  .cta-buttons .btn-outline {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }
}

/* ── 480px: Small phones (375–480px) ── */
@media (max-width: 480px) {

  /* Navbar */
  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    border-radius: 10px;
  }

  .logo-main {
    font-size: 0.95rem;
  }

  .btn-demo {
    padding: 7px 12px;
    font-size: 0.75rem;
  }

  /* Hero */
  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
  }

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

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

  .hero-trust {
    flex-direction: column;
    gap: 8px;
  }

  .trust-item {
    font-size: 0.82rem;
  }

  .dashboard-body {
    height: 210px;
  }

  .dashboard-titlebar {
    padding: 8px 12px;
  }

  .titlebar-title {
    font-size: 0.65rem;
  }

  .dash-stat-num {
    font-size: 0.9rem;
  }

  .dash-stats-row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .stat-label {
    font-size: 0.82rem;
  }

  /* Cards */
  .feature-card {
    padding: 20px;
  }

  .service-card {
    padding: 20px;
  }

  .industry-card {
    padding: 20px;
  }

  .benefit-card {
    padding: 20px;
  }

  /* Support */
  .support-card {
    padding: 20px;
  }

  .support-contact {
    padding: 20px 16px;
  }

  .support-contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .support-contact-item>i {
    margin: 0 auto;
  }

  /* Clients */
  .client-card {
    height: 180px;
  }

  /* Footer */
  .footer-container {
    padding: 36px 16px 24px;
    gap: 24px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  /* Modal */
  .modal-box {
    padding: 24px 16px 28px;
  }

  .modal-header h2,
  .modal-header h3 {
    font-size: 1.3rem;
  }

  .modal-icon {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .btn-submit {
    font-size: 0.875rem;
    padding: 12px 20px;
  }

  /* Sections */
  .features-section,
  .services-section,
  .industries-section,
  .clients-section,
  .support-section,
  .demo-cta-section {
    padding: 48px 16px;
  }
}

/* ============================================================
   TARGETED MOBILE FIXES
   ============================================================ */

/* ── Nav container gap ── */
@media (max-width: 900px) {
  .nav-container {
    gap: 16px;
  }

  .nav-actions {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .nav-container {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    gap: 8px;
  }
}

/* ── Mobile menu nav links ── */
@media (max-width: 900px) {
  .nav-links.mobile-open .nav-link {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 10px;
    color: var(--text-primary);
  }

  .nav-links.mobile-open .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-links.mobile-open .nav-item {
    border-bottom: 1px solid var(--border);
  }

  .nav-links.mobile-open .nav-item:last-child {
    border-bottom: none;
  }
}

/* ── Modules section ── */
@media (max-width: 1100px) {
  .modules-section {
    padding: 80px 20px;
  }

  .module-display-content {
    padding: 28px;
  }

  .module-display-content h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 640px) {

  /* Fix module tab flex for horizontal scroll */
  .module-tab {
    flex: 0 0 auto;
  }

  /* Reduce module display padding */
  .module-display-content {
    padding: 20px;
  }

  .module-display-content h3 {
    font-size: 1.1rem;
  }

  .module-display-content p {
    font-size: 0.85rem;
  }

  /* Module points - single column on mobile */
  .module-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Remove overflow hidden on modules-right so content isn't clipped */
  .modules-right {
    overflow: visible;
    min-height: 360px;
  }

  .modules-section {
    padding: 60px 16px;
  }
}

@media (max-width: 480px) {
  .module-tab {
    min-width: 120px;
    padding: 8px 12px;
  }

  .module-tab h4 {
    font-size: 0.8rem;
  }

  .module-tab p {
    font-size: 0.68rem;
  }

  .module-display-content {
    padding: 16px;
  }

  .modules-right {
    min-height: 300px;
  }
}

/* ── Client cards — touch support ── */
/* On touch screens show both faces as stacked cards, no 3D flip */
@media (hover: none) {
  .client-card {
    height: auto;
    perspective: none;
  }

  .client-card-inner {
    transform: none !important;
    transform-style: flat;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .client-card-front,
  .client-card-back {
    position: static;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transform: none;
    border-radius: 0;
  }

  .client-card-front {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 24px;
  }

  .client-card-back {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 20px;
    border-top: none;
  }
}

/* ── Why Us ── */
@media (max-width: 640px) {
  .why-us-section {
    padding: 60px 16px;
  }

  .why-us-inner {
    gap: 40px;
  }

  .why-item {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }

  .why-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .why-us-left .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* ── Hero visual on mobile ── */
@media (max-width: 640px) {
  .hero-visual {
    max-width: 100%;
  }

  .dashboard-mockup {
    animation: none;
    border-radius: var(--radius-md);
  }

  /* Reduce 3-col dash stats to 3-col but smaller */
  .dash-stat-card {
    padding: 8px 6px;
    gap: 6px;
  }

  .dash-stat-icon {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  .dash-stat-num {
    font-size: 0.85rem;
  }

  .dash-stat-label {
    font-size: 0.55rem;
  }

  .dash-stat-badge {
    font-size: 0.5rem;
  }
}

/* ── Feature cards grid ── */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  .industries-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ── Stats separator lines ── */
@media (max-width: 640px) {
  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stats-grid .stat-item {
    border-bottom: 1px solid var(--border);
  }

  .stats-grid .stat-item:last-child {
    border-bottom: none;
  }
}

/* ── Support contact ── */
@media (max-width: 640px) {
  .support-contact {
    border-radius: var(--radius-lg);
  }

  .support-contact-item {
    gap: 12px;
  }
}

/* ============================================================
   MOBILE RESPONSIVE — COMPREHENSIVE OVERHAUL
   Covers: 360px – 900px breakpoints
   ============================================================ */

/* ── GLOBAL MOBILE BASE ── */
@media (max-width: 900px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 20px;
  }
}

/* ─────────────────────────────────────────────
   NAVBAR — mobile-first overhaul
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .navbar {
    padding: 0 20px;
    height: 64px;
    --nav-height: 64px;
    overflow: visible;
  }

  .nav-container {
    height: 64px;
    gap: 12px;
    flex-wrap: nowrap;
    position: relative;
  }

  /* Logo */
  .nav-logo {
    gap: 10px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .logo-main {
    font-size: 1rem;
  }

  .logo-sub {
    display: none;
  }

  /* Hide desktop nav */
  .nav-links {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  /* Actions */
  .nav-actions {
    gap: 10px;
  }

  .btn-demo {
    padding: 9px 16px;
    font-size: 0.82rem;
    gap: 6px;
  }

  /* Hamburger */
  .hamburger {
    display: flex;
    margin-left: 0;
    padding: 6px;
    flex-shrink: 0;
  }

  /* Mobile menu open state */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 13, 26, 0.99);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 24px 20px;
    border-top: 1px solid var(--border);
    gap: 4px;
    z-index: 998;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.mobile-open .nav-item {
    border-bottom: 1px solid var(--border);
  }

  .nav-links.mobile-open .nav-item:last-child {
    border-bottom: none;
  }

  .nav-links.mobile-open .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links.mobile-open .nav-link:hover {
    background: rgba(14, 165, 233, 0.08);
    color: var(--accent-blue);
  }

  /* Hide dropdown arrow in mobile menu */
  .nav-links.mobile-open .nav-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 16px;
    height: 60px;
    --nav-height: 60px;
    overflow: visible;
  }

  .nav-container {
    height: 60px;
    gap: 8px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .logo-main {
    font-size: 0.92rem;
  }

  .btn-demo {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .nav-links.mobile-open {
    top: 60px;
  }
}

@media (max-width: 360px) {
  .btn-demo span {
    display: none;
  }

  .btn-demo i {
    margin: 0;
  }
}

/* ─────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    padding: calc(var(--nav-height) + 40px) 20px 72px;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
    gap: 12px;
  }

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

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .float-badge-1,
  .float-badge-2 {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: calc(var(--nav-height) + 24px) 16px 56px;
  }

  .hero-badge {
    font-size: 0.74rem;
    padding: 6px 14px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary,
  .hero-ctas .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .hero-trust {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .trust-item {
    font-size: 0.82rem;
  }

  /* Dashboard mockup scaling */
  .dashboard-mockup {
    animation: none;
  }

  .dashboard-body {
    height: 260px;
  }

  .dashboard-titlebar {
    padding: 10px 14px;
  }

  .titlebar-title {
    font-size: 0.68rem;
  }

  .dash-stat-card {
    padding: 8px;
    gap: 6px;
  }

  .dash-stat-icon {
    width: 26px;
    height: 26px;
    font-size: 0.72rem;
    border-radius: 6px;
  }

  .dash-stat-num {
    font-size: 0.88rem;
  }

  .dash-stat-label {
    font-size: 0.56rem;
  }

  .dash-stat-badge {
    display: none;
  }

  /* Scroll indicator */
  .hero-scroll-indicator {
    bottom: 20px;
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

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

  .dashboard-body {
    height: 230px;
  }

  .dash-stats-row {
    gap: 5px;
  }

  .dash-stat-card {
    padding: 6px 5px;
    gap: 4px;
  }

  .dash-stat-num {
    font-size: 0.82rem;
  }

  .dash-stat-label {
    font-size: 0.5rem;
  }

  .dash-chart-section {
    display: none;
  }

  /* hide chart on very small screens to keep mockup clean */
  .dashboard-sidebar {
    width: 44px;
  }

  .sidebar-item {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .dashboard-body {
    height: 200px;
  }
}

/* ─────────────────────────────────────────────
   STATS SECTION
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .stats-section {
    padding: 48px 20px;
  }

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

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stats-grid .stat-item:nth-child(4),
  .stats-grid .stat-item:nth-child(5) {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .stats-section {
    padding: 36px 16px;
  }

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

  .stat-item {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
  }

  .stats-grid .stat-item:nth-child(n) {
    border-top: none;
  }

  .stats-grid .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .stat-number {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .stat-label {
    font-size: 0.82rem;
  }

  .stat-desc {
    font-size: 0.7rem;
  }
}

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

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

/* ─────────────────────────────────────────────
   FEATURES SECTION
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-section {
    padding: 72px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .features-section {
    padding: 56px 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-card:hover {
    transform: none;
  }

  /* disable tilt on mobile */
  .feature-arrow {
    opacity: 1;
  }

  /* always show on mobile */
  .feature-title {
    font-size: 1.05rem;
  }

  .feature-desc {
    font-size: 0.85rem;
  }

  .feature-tags span {
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .feature-card {
    padding: 20px 16px;
    gap: 12px;
  }

  .feature-icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}

/* ─────────────────────────────────────────────
   MODULES SECTION
───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .modules-section {
    padding: 72px 20px;
  }

  .modules-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }

  .modules-left {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .modules-left::-webkit-scrollbar {
    display: none;
  }

  .module-tab {
    flex: 0 0 auto;
    min-width: 160px;
    padding: 12px 16px;
  }

  .module-display-content {
    padding: 28px;
  }

  .module-display-content h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 640px) {
  .modules-section {
    padding: 56px 16px;
  }

  .module-tab {
    min-width: 140px;
    padding: 10px 14px;
  }

  .module-tab h4 {
    font-size: 0.82rem;
  }

  .module-tab p {
    font-size: 0.72rem;
  }

  .module-tab i {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .modules-right {
    overflow: visible;
    border-radius: var(--radius-lg);
    min-height: 340px;
  }

  .module-display-content {
    padding: 20px 16px;
    position: relative;
  }

  .module-display-content h3 {
    font-size: 1.1rem;
  }

  .module-display-content p {
    font-size: 0.85rem;
  }

  .module-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .module-points li {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .module-tab {
    min-width: 120px;
    padding: 8px 12px;
  }

  .module-display-content {
    padding: 16px;
  }

  .modules-right {
    min-height: 300px;
  }
}

/* ─────────────────────────────────────────────
   SERVICES SECTION
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-section {
    padding: 72px 20px;
  }

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

@media (max-width: 640px) {
  .services-section {
    padding: 56px 16px;
  }

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

  .service-card {
    padding: 24px 20px;
  }

  .service-card:hover {
    transform: none;
  }

  .service-icon-wrap {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }

  .service-list li {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: 20px 16px;
  }
}

/* ─────────────────────────────────────────────
   INDUSTRIES SECTION
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .industries-section {
    padding: 72px 20px;
  }

  .industries-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .industries-section {
    padding: 56px 16px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .industry-card {
    padding: 28px 24px;
  }

  .industry-card:hover {
    transform: none;
  }

  .industry-icon {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }

  .industry-card h3 {
    font-size: 1rem;
  }

  .industry-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .industry-card {
    padding: 24px 20px;
  }

  .industry-icon {
    width: 54px;
    height: 54px;
    font-size: 1.3rem;
  }
}

/* ─────────────────────────────────────────────
   WHY US SECTION
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .why-us-section {
    padding: 72px 20px;
  }

  .why-us-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-us-left {
    position: static;
  }

  .why-us-left .section-title {
    text-align: left;
  }

  .why-us-left .section-subtitle {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .why-us-section {
    padding: 56px 16px;
  }

  .why-us-inner {
    gap: 32px;
  }

  .why-item {
    padding: 18px;
    gap: 14px;
  }

  .why-item:hover {
    transform: none;
  }

  .why-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .why-content h4 {
    font-size: 0.95rem;
  }

  .why-content p {
    font-size: 0.85rem;
  }

  .why-us-left .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────
   CLIENTS SECTION
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .clients-section {
    padding: 72px 20px;
  }

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

@media (max-width: 640px) {
  .clients-section {
    padding: 56px 16px;
  }

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

/* Touch-friendly card flip on mobile */
@media (hover: none) {
  .client-card {
    height: auto;
    perspective: none;
  }

  .client-card-inner {
    transform: none !important;
    transform-style: flat;
    display: flex;
    flex-direction: column;
  }

  .client-card-front,
  .client-card-back {
    position: static;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transform: none;
  }

  .client-card-front {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
    padding: 24px 20px;
  }

  .client-card-back {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-top: none;
    padding: 20px;
    transform: none;
  }
}

/* ─────────────────────────────────────────────
   SUPPORT SECTION
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .support-section {
    padding: 72px 20px;
  }

  .support-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .support-section {
    padding: 56px 16px;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .support-card {
    padding: 24px 20px;
  }

  .support-card:hover {
    transform: none;
  }

  .support-icon {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    margin-bottom: 16px;
  }

  .support-card h3 {
    font-size: 1rem;
  }

  .support-card p {
    font-size: 0.85rem;
  }

  /* Contact bar */
  .support-contact {
    flex-direction: column;
    padding: 24px 20px;
    border-radius: var(--radius-lg);
    gap: 20px;
  }

  .support-divider {
    width: 100%;
    height: 1px;
  }

  .support-contact-item {
    padding: 0;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
  }

  .support-contact-item>i {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .support-card {
    padding: 20px 16px;
  }

  .support-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
  }

  .support-contact-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .support-contact-item div a {
    font-size: 0.88rem;
  }
}

/* ─────────────────────────────────────────────
   DEMO CTA SECTION
───────────────────────────────────────────── */
@media (max-width: 640px) {
  .demo-cta-section {
    padding: 60px 16px;
  }

  .demo-cta-content h2 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .demo-cta-content p {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary,
  .cta-buttons .btn-outline {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .cta-badge {
    font-size: 0.74rem;
    padding: 6px 14px;
  }
}

@media (max-width: 480px) {
  .demo-cta-section {
    padding: 48px 16px;
  }

  .demo-cta-content h2 {
    font-size: 1.7rem;
  }
}

/* ─────────────────────────────────────────────
   FOOTER — HOMEPAGE
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-top {
    padding: 56px 20px 40px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-top {
    padding: 48px 16px 32px;
  }

  .footer-tagline {
    max-width: 100%;
    font-size: 0.85rem;
  }

  .footer-links-col h4 {
    margin-bottom: 14px;
  }

  .footer-links-col ul {
    gap: 8px;
  }

  .footer-links-col ul li a {
    font-size: 0.875rem;
  }

  .footer-contact-col h4 {
    margin-bottom: 14px;
  }

  .footer-bottom {
    padding: 18px 16px;
  }

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

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-bottom-links a {
    font-size: 0.78rem;
  }
}

/* ─────────────────────────────────────────────
   MODAL
───────────────────────────────────────────── */
@media (max-width: 640px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-box {
    padding: 28px 20px 40px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 92vh;
    max-width: 100%;
    width: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-header h2 {
    font-size: 1.4rem;
  }

  .modal-header p {
    font-size: 0.875rem;
  }

  .modal-icon {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

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

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 13px 14px;
    font-size: 16px;
    /* prevents iOS zoom */
  }
}

@media (max-width: 480px) {
  .modal-box {
    padding: 24px 16px 32px;
  }

  .modal-header {
    margin-bottom: 24px;
  }

  .modal-header h2 {
    font-size: 1.25rem;
  }

  .modal-icon {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }
}

/* ─────────────────────────────────────────────
   SECTION HEADERS — universal fix
───────────────────────────────────────────── */
@media (max-width: 640px) {
  .section-header {
    margin-bottom: 40px;
    padding: 0;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .section-subtitle {
    font-size: 0.92rem;
  }

  .section-tag {
    font-size: 0.72rem;
    padding: 5px 14px;
  }
}

@media (max-width: 480px) {
  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: clamp(1.4rem, 6.5vw, 1.9rem);
  }
}

/* ─────────────────────────────────────────────
   BUTTONS — universal touch targets
───────────────────────────────────────────── */
@media (max-width: 640px) {

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    padding: 13px 22px;
    font-size: 0.92rem;
    min-height: 46px;
    /* accessibility: min touch target */
  }

  .btn-large {
    padding: 15px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    padding: 12px 20px;
    font-size: 0.88rem;
  }
}

/* ─────────────────────────────────────────────
   FOOTER — FEATURE PAGES
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 56px 20px 40px;
  }
}

@media (max-width: 640px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 16px 32px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-col h4 {
    margin-bottom: 14px;
  }

  .footer-col ul {
    gap: 8px;
  }

  .footer-col ul li a {
    font-size: 0.875rem;
  }
}

/* ─────────────────────────────────────────────
   MISC FIXES
───────────────────────────────────────────── */

/* Prevent horizontal scroll everywhere */
@media (max-width: 640px) {
  section {
    overflow-x: hidden;
  }
}

/* Better tap highlight */
@media (max-width: 900px) {

  a,
  button {
    -webkit-tap-highlight-color: rgba(14, 165, 233, 0.15);
    tap-highlight-color: rgba(14, 165, 233, 0.15);
  }
}

/* Disable card 3D tilt on touch devices */
@media (hover: none) {

  .feature-card,
  .service-card,
  .industry-card {
    transform: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
  }
}

/* Fix dashboard table on small screens */
@media (max-width: 480px) {
  .dash-table-mini {
    overflow: hidden;
  }

  .dash-table-row {
    grid-template-columns: 0.8fr 1.2fr 1fr;
    font-size: 0.6rem;
    padding: 5px 8px;
  }
}

/* Prevent text overflow globally */
@media (max-width: 640px) {

  h1,
  h2,
  h3,
  h4 {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  p {
    overflow-wrap: break-word;
  }
}

/* ─────────────────────────────────────────────
   MOBILE MENU OPEN — navbar always visible
   Applied via JS when menu is toggled open
───────────────────────────────────────────── */
.navbar.menu-open {
  background: rgba(6, 13, 26, 0.99) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4) !important;
}

/* Ensure navbar stays on top of everything when menu open */
@media (max-width: 900px) {
  .navbar.menu-open {
    z-index: 1001;
  }

  /* The mobile menu overlay sits just below the navbar */
  .nav-links.mobile-open {
    z-index: 1000;
  }

  /* Close button / X icon color when menu open */
  .hamburger.active span {
    background: var(--accent-blue);
  }
}

/* Main Logo Css */

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.logo-main {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0f4ff;
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 3.5px;
  color: #2279db;
  text-transform: uppercase;
  display: block;
}

/* ── MARK ── */
.logo-wrapper {
  cursor: pointer;
  user-select: none;
}

/* Small */
.logo-sm .mark {
  width: 28px;
  height: 28px;
}

.logo-sm .sq {
  width: 14px;
  height: 14px;
}

.logo-sm .notch {
  width: 13px;
  height: 13px;
}

.logo-sm .brand-name {
  font-size: 18px;
  letter-spacing: -0.5px;
}

.logo-sm .brand-sub {
  display: none;
}

.logo-sm .tagline {
  display: none;
}


.mark {
  position: relative;
  width: 46px;
  height: 44px;
}

.sq {
  position: absolute;
  width: 23px;
  height: 23px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sq-g {
  background: #22A84A;
  top: 0;
  left: 0;
  animation: entryG 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both, idleG 4s ease-in-out 1.5s infinite;
}

.sq-r {
  background: #E8312A;
  top: 0;
  right: 0;
  animation: entryR 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both, idleR 4s ease-in-out 1.9s infinite;
}

.sq-y {
  background: #F5A800;
  bottom: 0;
  left: 0;
  animation: entryY 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both, idleY 4s ease-in-out 2.3s infinite;
}

.sq-b {
  background: #1A6FD4;
  bottom: 0;
  right: 0;
  animation: entryB 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both, idleB 4s ease-in-out 2.7s infinite;
}

.notch {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #0b0e14;
  /* ← change this to match YOUR navbar bg color */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: notchPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s both,
    notchPulse 3s ease-in-out 1.2s infinite;
}

/* ── Entry ── */
@keyframes entryG {
  from {
    opacity: 0;
    transform: translate(-14px, -14px) scale(0.4);
  }

  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes entryR {
  from {
    opacity: 0;
    transform: translate(14px, -14px) scale(0.4);
  }

  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes entryY {
  from {
    opacity: 0;
    transform: translate(-14px, 14px) scale(0.4);
  }

  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes entryB {
  from {
    opacity: 0;
    transform: translate(14px, 14px) scale(0.4);
  }

  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes notchPop {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes notchPulse {

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

  50% {
    transform: translate(-50%, -50%) scale(0.88);
  }
}

/* ── Idle brightness pulse ── */
@keyframes idleG {

  0%,
  100% {
    filter: brightness(1)
  }

  50% {
    filter: brightness(1.3) saturate(1.2)
  }
}

@keyframes idleR {

  0%,
  100% {
    filter: brightness(1)
  }

  50% {
    filter: brightness(1.3) saturate(1.2)
  }
}

@keyframes idleY {

  0%,
  100% {
    filter: brightness(1)
  }

  50% {
    filter: brightness(1.25) saturate(1.2)
  }
}

@keyframes idleB {

  0%,
  100% {
    filter: brightness(1)
  }

  50% {
    filter: brightness(1.3) saturate(1.2)
  }
}

/* ── Hover: fan out ── */
.logo-wrapper:hover .sq-g {
  transform: translate(-4px, -4px);
  animation: none;
  filter: brightness(1.2);
}

.logo-wrapper:hover .sq-r {
  transform: translate(4px, -4px);
  animation: none;
  filter: brightness(1.2);
}

.logo-wrapper:hover .sq-y {
  transform: translate(-4px, 4px);
  animation: none;
  filter: brightness(1.2);
}

.logo-wrapper:hover .sq-b {
  transform: translate(4px, 4px);
  animation: none;
  filter: brightness(1.2);
}

.logo-wrapper:hover .notch {
  transform: translate(-50%, -50%) scale(0.8);
  transition: transform 0.35s ease;
}

/* ── Click: explode & reassemble ── */
.mark.spinning .sq-g {
  animation: spinG 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

.mark.spinning .sq-r {
  animation: spinR 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s forwards !important;
}

.mark.spinning .sq-y {
  animation: spinY 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards !important;
}

.mark.spinning .sq-b {
  animation: spinB 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s forwards !important;
}

.mark.spinning .notch {
  animation: notchSpin 0.8s ease forwards !important;
}

@keyframes spinG {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1)
  }

  40% {
    transform: translate(-20px, -20px) rotate(-90deg) scale(0.5);
    opacity: 0.4
  }

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

@keyframes spinR {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1)
  }

  40% {
    transform: translate(20px, -20px) rotate(90deg) scale(0.5);
    opacity: 0.4
  }

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

@keyframes spinY {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1)
  }

  40% {
    transform: translate(-20px, 20px) rotate(-90deg) scale(0.5);
    opacity: 0.4
  }

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

@keyframes spinB {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1)
  }

  40% {
    transform: translate(20px, 20px) rotate(90deg) scale(0.5);
    opacity: 0.4
  }

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

@keyframes notchSpin {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg)
  }

  50% {
    transform: translate(-50%, -50%) scale(0.4) rotate(180deg)
  }

  100% {
    transform: translate(-50%, -50%) scale(1) rotate(360deg)
  }
}