/* ============================================================
   A2A Technologies — Main Stylesheet
   Professional, modern, minimalist tech-company design
   ============================================================ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS Custom Properties (Design Tokens) ─── */
:root {
  /* 5-Colour Palette — derived from A2A Technologies logo */
  --color-primary: #0f2b4c;         /* Deep navy blue — headings, nav bg */
  --color-secondary: #1a73e8;       /* Vibrant blue — links, accents */
  --color-accent: #00c4b4;          /* Teal/cyan accent — CTAs, highlights */
  --color-dark: #1a1a2e;            /* Near-black — body text */
  --color-light: #f7f9fc;           /* Cool off-white — backgrounds */

  /* Extended palette (derived shades) */
  --color-primary-light: #163d6b;
  --color-secondary-light: #4a9af5;
  --color-secondary-dark: #1557b0;
  --color-accent-light: #33d4c7;
  --color-accent-dark: #009e91;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-white: #ffffff;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-md: 1.125rem;   /* 18px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-xl: 1.5rem;     /* 24px */
  --font-size-2xl: 2rem;      /* 32px */
  --font-size-3xl: 2.5rem;    /* 40px */
  --font-size-4xl: 3rem;      /* 48px */

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --line-height-tight: 1.2;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing Scale */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 6rem;     /* 96px */

  /* Borders & Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 43, 76, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 43, 76, 0.07), 0 2px 4px -2px rgba(15, 43, 76, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 43, 76, 0.08), 0 4px 6px -4px rgba(15, 43, 76, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 43, 76, 0.1), 0 8px 10px -6px rgba(15, 43, 76, 0.05);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 43, 76, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --container-max: 1200px;
  --container-padding: var(--space-md);
  --nav-height: 72px;
}

/* ─── 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(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  color: var(--color-dark);
  background-color: var(--color-white);
  min-width: 320px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

h5 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
}

h6 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-gray-700);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--color-secondary-dark);
}

ul, ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

li {
  margin-bottom: var(--space-xs);
}

strong {
  font-weight: var(--font-weight-semibold);
}

/* ─── Images ─── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ─── Layout & Container ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.section--light {
  background-color: var(--color-light);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: var(--color-gray-300);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header p {
  font-size: var(--font-size-md);
  color: var(--color-gray-500);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Responsive Grid ─── */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 {
  grid-template-columns: 1fr;
}

.grid--3 {
  grid-template-columns: 1fr;
}

.grid--4 {
  grid-template-columns: 1fr;
}

/* ─── Navigation ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  height: var(--nav-height);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo img {
  max-height: 60px;
  width: auto;
}

.nav__logo picture {
  display: flex;
  align-items: center;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__links a {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-700);
  text-decoration: none;
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width var(--transition-base);
}

.nav__links a:hover,
.nav__links a:focus {
  color: var(--color-secondary);
}

.nav__links a:hover::after,
.nav__links a:focus::after {
  width: 100%;
}

.nav__links a.active {
  color: var(--color-secondary);
  font-weight: var(--font-weight-semibold);
}

.nav__links a.active::after {
  width: 100%;
  background-color: var(--color-secondary);
}

/* Hamburger Menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav__hamburger span + span {
  margin-top: 6px;
}

.nav__hamburger.open span:nth-child(1),
.nav__hamburger.nav-toggle--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav__hamburger.open span:nth-child(2),
.nav__hamburger.nav-toggle--active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3),
.nav__hamburger.nav-toggle--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Body offset for fixed header */
.main-content {
  padding-top: var(--nav-height);
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-secondary-dark) 100%);
  color: var(--color-white);
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 196, 180, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(26, 115, 232, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero__logo-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl) auto;
}

/* Spinning globe ring */
.hero__logo-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: rgba(26, 115, 232, 0.9);
  border-right-color: rgba(0, 196, 180, 0.6);
  border-bottom-color: rgba(26, 115, 232, 0.3);
  border-left-color: transparent;
  -webkit-animation: globeSpin 2.5s linear infinite;
  animation: globeSpin 2.5s linear infinite;
  box-shadow: 0 0 20px rgba(26, 115, 232, 0.4),
              0 0 40px rgba(0, 196, 180, 0.2),
              inset 0 0 20px rgba(26, 115, 232, 0.1);
}

/* Second ring — orbit */
.hero__logo-wrap::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(0, 196, 180, 0.7);
  border-left-color: rgba(26, 115, 232, 0.4);
  -webkit-animation: globeSpinReverse 4s linear infinite;
  animation: globeSpinReverse 4s linear infinite;
  box-shadow: 0 0 15px rgba(0, 196, 180, 0.3),
              0 0 30px rgba(26, 115, 232, 0.15);
}

@-webkit-keyframes globeSpin {
  from { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes globeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@-webkit-keyframes globeSpinReverse {
  from { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
  to { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
}

@keyframes globeSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Third ring — different speed */
.hero__globe-ring {
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(26, 115, 232, 0.5);
  border-right-color: rgba(0, 196, 180, 0.3);
  -webkit-animation: globeSpin 3.2s linear infinite;
  animation: globeSpin 3.2s linear infinite;
  box-shadow: 0 0 12px rgba(26, 115, 232, 0.2);
  pointer-events: none;
}

.hero__matrix {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
}

.hero__logo {
  width: 260px;
  height: auto;
  margin-bottom: 0;
  filter: brightness(0) invert(1);
  -webkit-animation: heartbeat 1.4s ease-in-out infinite;
  animation: heartbeat 1.4s ease-in-out infinite;
}

@-webkit-keyframes heartbeat {
  0%, 56%, 100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.3));
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.3));
  }
  14% {
    -webkit-transform: scale(1.06);
    transform: scale(1.06);
    -webkit-filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255,255,255,0.6)) drop-shadow(0 0 40px rgba(0,196,180,0.4));
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255,255,255,0.6)) drop-shadow(0 0 40px rgba(0,196,180,0.4));
  }
  28% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.3));
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.3));
  }
  42% {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
    -webkit-filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255,255,255,0.5)) drop-shadow(0 0 30px rgba(0,196,180,0.3));
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255,255,255,0.5)) drop-shadow(0 0 30px rgba(0,196,180,0.3));
  }
}

@keyframes heartbeat {
  0%, 56%, 100% {
    transform: scale(1);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.3));
  }
  14% {
    transform: scale(1.06);
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255,255,255,0.6)) drop-shadow(0 0 40px rgba(0,196,180,0.4));
  }
  28% {
    transform: scale(1);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.3));
  }
  42% {
    transform: scale(1.04);
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255,255,255,0.5)) drop-shadow(0 0 30px rgba(0,196,180,0.3));
  }
}

.hero__title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-xl);
  font-weight: var(--font-weight-light);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 44px;
  min-width: 44px;
  white-space: nowrap;
}

.btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn--white:hover,
.btn--white:focus {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn--accent:hover,
.btn--accent:focus {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--font-size-base);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--font-size-xs);
}

/* ─── Cards (Product & Value) ─── */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: var(--color-white);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-lg);
}

.card__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.card__text {
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-secondary);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.card__link:hover {
  gap: var(--space-sm);
  color: var(--color-secondary-dark);
}

/* Uniportal Card Variant */
.card--uniportal {
  background-color: #232637;
  border-color: #232637;
  text-align: center;
  box-shadow: 0 10px 30px rgba(35, 38, 55, 0.5);
}

.card--uniportal .card__text {
  color: rgba(255, 255, 255, 0.85);
}

.card--uniportal .card__title {
  color: #ffffff;
}

/* Vantix Card Variant */
.card--vantix {
  background-color: #1d0e35;
  border-color: #1d0e35;
  text-align: center;
  box-shadow: 0 10px 30px rgba(29, 14, 53, 0.5);
}

.card--vantix .card__text {
  color: rgba(255, 255, 255, 0.85);
}

.card--vantix .card__badge img {
  width: 360px;
}

.card__badge {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.card__badge img {
  width: 120px;
  height: auto;
  border-radius: var(--radius-md);
  margin-left: auto;
  margin-right: auto;
}

/* Value Cards (legacy) */
.value-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.value-card .card__icon {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Core Values — Floating Tiles ─── */
.values-section {
  background: linear-gradient(160deg, var(--color-primary) 0%, #0d2240 60%, var(--color-secondary-dark) 100%);
  overflow: hidden;
  position: relative;
}

.values-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(0, 196, 180, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(26, 115, 232, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.values-section .section-header h2 {
  color: var(--color-white);
}

.values-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.values-orbit {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  position: relative;
}

.value-tile {
  position: relative;
  width: 260px;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease,
              border-color 0.4s ease,
              background 0.4s ease;
  animation: tileFloat 6s ease-in-out infinite;
}

.value-tile:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 20px 60px rgba(0, 196, 180, 0.2), 0 0 30px rgba(26, 115, 232, 0.15);
  border-color: rgba(0, 196, 180, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

/* Stagger the float animation per tile */
.value-tile--1 { animation-delay: 0s; }
.value-tile--2 { animation-delay: 1.5s; }
.value-tile--3 { animation-delay: 3s; }
.value-tile--4 { animation-delay: 4.5s; }

/* Glow accent line at top of each tile */
.value-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  opacity: 0;
  transition: opacity 0.4s ease, width 0.4s ease;
}

.value-tile:hover::before {
  opacity: 1;
  width: 100px;
}

.value-tile__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.value-tile__text {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

/* Floating keyframes */
@keyframes tileFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Pause float on hover so the hover transform takes over */
.value-tile:hover {
  animation-play-state: paused;
}

/* Responsive tiles */
@media (max-width: 767px) {
  .values-orbit {
    flex-direction: column;
    align-items: center;
  }

  .value-tile {
    width: 100%;
    max-width: 320px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .value-tile {
    width: calc(50% - var(--space-lg));
  }
}

/* Product Cards — 3D Perspective Showcase */
.product-card {
  display: flex;
  flex-direction: column;
  perspective: 1000px;
  opacity: 0;
  transform: translateY(30px);
  animation: cardReveal 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }

@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-lg);
  cursor: pointer;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotateX(2deg) rotateY(0deg);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.5s ease,
              border-color 0.4s ease;
}

/* Device frame — top bar mimicking a browser/app window */
.product-card__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(180deg, rgba(30, 30, 40, 0.95), rgba(30, 30, 40, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  /* Three dots to simulate window controls */
  background-image:
    radial-gradient(circle 4px at 16px 14px, #ff5f57 100%, transparent 100%),
    radial-gradient(circle 4px at 32px 14px, #febc2e 100%, transparent 100%),
    radial-gradient(circle 4px at 48px 14px, #28c840 100%, transparent 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.product-card__image img {
  width: 100%;
  height: auto;
  padding-top: 28px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
}

.product-card__image picture {
  display: block;
  width: 100%;
}

.product-card__image picture img {
  width: 100%;
  height: auto;
}

/* Hover: lift + glow */
.product-card__image:hover {
  transform: rotateX(0deg) rotateY(0deg) translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 196, 180, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 196, 180, 0.3);
}

.product-card__image:hover img {
  transform: scale(1.05);
}

/* Gradient overlay on hover */
.product-card__image::after {
  content: '';
  position: absolute;
  inset: 28px 0 0 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(15, 43, 76, 0.6) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.product-card__image:hover::after {
  opacity: 1;
}

/* "View" icon overlay */
.product-card__image .product-card__zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-full);
  font-size: var(--font-size-lg);
  z-index: 3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-card__image:hover .product-card__zoom {
  opacity: 1;
  transform: translateY(0);
}

/* Uniportal-specific glow */
.product-section--uniportal .product-card__image:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 196, 180, 0.2),
    0 0 80px rgba(0, 196, 180, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 196, 180, 0.4);
}

/* Vantix-specific glow */
.product-section--vantix .product-card__image:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(26, 115, 232, 0.2),
    0 0 80px rgba(26, 115, 232, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(26, 115, 232, 0.4);
}

/* Reflection shine sweep on hover */
@keyframes shineSwipe {
  0% { left: -75%; }
  100% { left: 125%; }
}

.product-card__image .product-card__shine {
  position: absolute;
  top: 28px;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  z-index: 2;
  pointer-events: none;
  transform: skewX(-20deg);
}

.product-card__image:hover .product-card__shine {
  animation: shineSwipe 0.8s ease forwards;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .product-card {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .product-card__image {
    transform: none;
  }

  .product-card__image:hover {
    transform: none;
  }

  .product-card__image:hover img {
    transform: none;
  }

  .product-card__image .product-card__shine {
    display: none;
  }
}

/* Module list */
.module-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
}

.module-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-xs);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.module-list li:hover {
  background-color: var(--color-gray-100);
}

.module-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* ─── Forms ─── */
.form {
  max-width: 640px;
}

.form--centered {
  margin-left: auto;
  margin-right: auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-700);
  margin-bottom: var(--space-sm);
}

.form-group label .required {
  color: #e53e3e;
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--color-dark);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
}

.form-control::placeholder {
  color: var(--color-gray-400);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.form-control:hover {
  border-color: var(--color-gray-400);
}

.form-control--error {
  border-color: #e53e3e;
}

.form-control--error:focus {
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-error {
  display: block;
  font-size: var(--font-size-xs);
  color: #e53e3e;
  margin-top: var(--space-xs);
  font-weight: var(--font-weight-medium);
}

.form-row {
  display: grid;
  gap: var(--space-lg);
}

/* ─── Messages (Success / Error) ─── */
.message {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.message--success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.message--error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.message--warning {
  background-color: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.message--info {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* ─── Footer ─── */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-gray-300);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__content {
  display: grid;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo img {
  max-height: 80px;
  width: auto;
  margin-bottom: var(--space-md);
}

.footer__logo picture {
  display: block;
}

.footer__description {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  line-height: var(--line-height-relaxed);
}

.footer__nav h4 {
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav ul li {
  margin-bottom: var(--space-sm);
}

.footer__nav ul a {
  color: var(--color-gray-400);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer__nav ul a:hover,
.footer__nav ul a:focus {
  color: var(--color-white);
}

.footer__contact p {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  margin-bottom: var(--space-sm);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer__copyright {
  font-size: var(--font-size-xs);
  color: var(--color-gray-500);
}

/* ─── WhatsApp Widget ─── */
.whatsapp-widget {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 999;
}

.whatsapp-widget__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-full);
  background-color: #25d366;
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.whatsapp-widget__btn:hover,
.whatsapp-widget__btn:focus {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: var(--color-white);
}

.whatsapp-widget__btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Tooltip on hover */
.whatsapp-widget__tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.whatsapp-widget:hover .whatsapp-widget__tooltip {
  opacity: 1;
}

/* ─── Lightbox / Modal ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2xl);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: var(--font-size-xl);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ─── 404 Page ─── */
.page-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
}

.page-404__code {
  font-size: 8rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-gray-200);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.page-404__title {
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.page-404__text {
  font-size: var(--font-size-md);
  color: var(--color-gray-500);
  margin-bottom: var(--space-xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Google Maps Embed ─── */
.map-embed {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

.map-embed iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* ─── Product Sections ─── */
.product-section {
  padding: var(--space-3xl) 0;
}

.product-section--uniportal {
  background-color: #232637;
}

.product-section--vantix {
  background-color: #1d0e35;
}

.product-section--uniportal h2,
.product-section--uniportal h3,
.product-section--uniportal h4,
.product-section--uniportal .card__title,
.product-section--vantix h2,
.product-section--vantix h3,
.product-section--vantix h4,
.product-section--vantix .card__title {
  color: #ffffff;
}

.product-section--uniportal p,
.product-section--uniportal .product-section__description,
.product-section--vantix p,
.product-section--vantix .product-section__description {
  color: rgba(255, 255, 255, 0.85);
}

.product-section--uniportal .module-list a,
.product-section--vantix .module-list a {
  color: rgba(255, 255, 255, 0.9);
}

.product-section--uniportal .module-list li::before {
  background-color: var(--color-accent);
}

.product-section--vantix .module-list li::before {
  background-color: var(--color-secondary-light);
}

.product-section__badge {
  margin-bottom: var(--space-lg);
}

.product-section__badge img {
  height: auto;
  border-radius: var(--radius-md);
}

.product-section--uniportal .product-section__badge img {
  width: 160px;
}

.product-section--vantix .product-section__badge img {
  width: 400px;
}

.product-section + .product-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-section__header {
  margin-bottom: var(--space-2xl);
}

.product-section__description {
  font-size: var(--font-size-md);
  color: var(--color-gray-600);
  max-width: 720px;
  line-height: var(--line-height-relaxed);
}

.product-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* ─── Contact / Map Layout ─── */
.contact-layout {
  display: grid;
  gap: var(--space-2xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  color: var(--color-secondary);
  flex-shrink: 0;
}

/* ─── About Page — Hero, Who, Story ─── */
.about-hero {
  position: relative;
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-secondary-dark) 100%);
  text-align: center;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 196, 180, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.about-hero__title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
  position: relative;
}

.about-hero__text {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
  font-weight: var(--font-weight-light);
  position: relative;
}

/* Who We Are — centered with accent border */
.about-who {
  padding: var(--space-3xl) 0;
  background-color: var(--color-white);
}

.about-who__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-200);
  background: var(--color-light);
}

.about-who__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  border-radius: 2px;
}

.about-who__title {
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.about-who__text {
  font-size: var(--font-size-md);
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

/* Our Story — dark themed panel */
.about-story {
  padding: var(--space-3xl) 0;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.about-story::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(26, 115, 232, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(0, 196, 180, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.about-story__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.about-story__title {
  font-size: var(--font-size-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.about-story__text {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-md);
}

.about-story__text:last-child {
  margin-bottom: 0;
}

/* 5th tile stagger */
.value-tile--5 {
  animation-delay: 6s;
}

@media (max-width: 767px) {
  .about-hero {
    padding: var(--space-3xl) 0;
  }

  .about-hero__title {
    font-size: var(--font-size-2xl);
  }

  .about-hero__text {
    font-size: var(--font-size-base);
  }

  .about-who__content {
    padding: var(--space-lg);
  }
}

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary-dark) 100%);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-section h2 {
  color: var(--color-white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* ─── Utility Classes ─── */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ─── PDF / Download Links ─── */
.download-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-secondary);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.download-link:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.download-unavailable {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  font-style: italic;
  padding: var(--space-sm) 0;
}

.product-section--uniportal .download-unavailable,
.product-section--vantix .download-unavailable {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   RESPONSIVE DESIGN — Mobile First
   ============================================================ */

/* ─── Tablet (768px+) ─── */
@media (min-width: 768px) {
  :root {
    --container-padding: var(--space-xl);
  }

  h1 {
    font-size: var(--font-size-4xl);
  }

  h2 {
    font-size: var(--font-size-3xl);
  }

  .section {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }

  /* Grid — multi-column */
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Form rows */
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer__content {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  /* Contact layout */
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  /* Map */
  .map-embed iframe {
    height: 400px;
  }
}

/* ─── Desktop (1024px+) ─── */
@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer */
  .footer__content {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  /* Hero */
  .hero {
    min-height: 70vh;
  }

  .hero__title {
    font-size: 3.5rem;
  }
}

/* ─── Mobile (below 768px) ─── */
@media (max-width: 767px) {
  /* Show hamburger */
  .nav__hamburger {
    display: flex;
  }

  /* Mobile nav menu */
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: calc(var(--nav-height) + var(--space-lg)) var(--space-xl) var(--space-xl);
    background-color: var(--color-white);
    box-shadow: var(--shadow-2xl);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
  }

  .nav__links.open,
  .nav__links.nav-menu--open {
    transform: translateX(0);
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: var(--space-md) 0;
    font-size: var(--font-size-base);
    border-bottom: 1px solid var(--color-gray-100);
  }

  .nav__links a::after {
    display: none;
  }

  /* Mobile overlay */
  .nav__overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .nav__overlay.active,
  .nav__overlay.nav-menu--open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Hero */
  .hero {
    padding: var(--space-3xl) 0;
    min-height: auto;
  }

  .hero__title {
    font-size: var(--font-size-2xl);
  }

  .hero__subtitle {
    font-size: var(--font-size-base);
  }

  .hero__actions {
    flex-direction: column;
  }

  /* CTA */
  .cta-section__actions {
    flex-direction: column;
    align-items: center;
  }

  /* 404 */
  .page-404__code {
    font-size: 5rem;
  }

  /* WhatsApp tooltip hidden on mobile */
  .whatsapp-widget__tooltip {
    display: none;
  }
}

/* ─── Small Mobile (320px–480px) ─── */
@media (max-width: 480px) {
  :root {
    --container-padding: var(--space-md);
  }

  .card {
    padding: var(--space-lg);
  }

  .value-card {
    padding: var(--space-lg);
  }

  .hero__title {
    font-size: var(--font-size-xl);
  }

  .section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── Print Styles ─── */
@media print {
  .site-header,
  .site-footer,
  .whatsapp-widget,
  .nav__hamburger {
    display: none !important;
  }

  .main-content {
    padding-top: 0;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ─── Graceful Degradation (no JavaScript) ─── */
@media (max-width: 767px) {
  .no-js .nav__hamburger {
    display: none;
  }

  .no-js .nav__links {
    position: static;
    width: auto;
    max-width: none;
    flex-direction: column;
    padding: var(--space-sm) 0;
    background: none;
    box-shadow: none;
    transform: none;
    overflow: visible;
  }
}

/* ─── Image Modal (Lightbox) ─── */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.image-modal--open {
  opacity: 1;
  pointer-events: auto;
}

.image-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.image-modal__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal__img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2xl);
  object-fit: contain;
}

.image-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: var(--font-size-xl);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.image-modal__close:hover,
.image-modal__close:focus {
  background: rgba(255, 255, 255, 0.3);
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* Prevent body scrolling when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Module list link styling on products page */
.module-list a {
  color: var(--color-gray-700);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
}

.module-list a:hover,
.module-list a:focus {
  color: var(--color-secondary);
}

/* Image modal responsive — ensure 600px+ width display */
@media (min-width: 600px) {
  .image-modal__content {
    min-width: 600px;
  }
}

@media (max-width: 599px) {
  .image-modal__content {
    max-width: 95vw;
  }

  .image-modal__img {
    max-height: 75vh;
  }
}

/* ─── Pricing Page — Section & Grid ─── */
.pricing-section {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(0, 196, 180, 0.07) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(0, 196, 180, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

/* Vantix dark background (matches products page) */
.pricing-section--vantix {
  background-color: #1d0e35;
}

.pricing-section--vantix .pricing-section__logo-img {
  max-width: 400px;
}

/* Uniportal dark background (matches products page) */
.pricing-section--uniportal {
  background-color: #232637;
}

/* White text on dark pricing sections */
.pricing-section--vantix h2,
.pricing-section--uniportal h2 {
  color: #ffffff;
}

.pricing-section--vantix::before {
  background: radial-gradient(ellipse at 30% 20%, rgba(26, 115, 232, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(0, 196, 180, 0.06) 0%, transparent 40%);
}

.pricing-section--uniportal::before {
  background: radial-gradient(ellipse at 30% 20%, rgba(0, 196, 180, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(26, 115, 232, 0.06) 0%, transparent 40%);
}

.pricing-section__logo {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.pricing-section__logo-img {
  max-width: 200px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/* Pricing Grid — mobile-first (single column) */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* Tablet: 2 columns (768px – 1023px) */
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 3 columns (1024px and above) */
@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── Pricing Card Base & Popular Variant ─── */
.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Subtle gradient shine at top of every card */
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  opacity: 0.4;
  transition: opacity var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent-light);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card--popular {
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 196, 180, 0.15), var(--shadow-xl);
  border: 2px solid var(--color-accent);
  z-index: 1;
}

.pricing-card--popular::before {
  height: 5px;
  opacity: 1;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary), var(--color-accent));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.pricing-card--popular:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 25px 70px rgba(0, 196, 180, 0.2), var(--shadow-2xl);
}

/* Card icon */
.pricing-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.08), rgba(0, 196, 180, 0.08));
}

/* Card divider line */
.pricing-card__divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  border-radius: 2px;
  margin: var(--space-sm) 0 var(--space-lg) 0;
}

.pricing-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: white;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 196, 180, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.pricing-card__coming-soon {
  text-align: center;
  font-size: var(--font-size-lg);
  color: var(--color-gray-400);
  font-weight: var(--font-weight-medium);
  padding: var(--space-2xl) 0;
  font-style: italic;
}

/* ─── Pricing Page — Features, CTAs & Animations ─── */

/* Feature list */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl) 0;
}

/* Feature list items */
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--font-size-sm);
  color: var(--color-gray-700);
  line-height: var(--line-height-relaxed);
}

/* Checkmark */
.pricing-features__check {
  color: var(--color-accent);
  font-weight: var(--font-weight-bold);
  min-width: 16px;
  font-size: var(--font-size-base);
  line-height: 1.5;
}

/* CTA container */
.pricing-cta {
  display: flex;
  gap: var(--space-sm);
  margin-top: auto;
  flex-wrap: wrap;
}

/* CTA button */
.pricing-cta__btn {
  flex: 1;
  min-width: 120px;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  border-radius: var(--radius-md);
  min-height: 44px;
  transition: all var(--transition-base);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

/* Quote button (replaces email) */
.pricing-cta__btn--quote {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: white;
}

.pricing-cta__btn--quote:hover {
  background: linear-gradient(135deg, var(--color-secondary-dark), var(--color-accent-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3);
  color: white;
}

.pricing-cta__btn--full {
  width: 100%;
  padding: 1rem;
  font-size: var(--font-size-base);
}

/* Email button (legacy - kept for compatibility) */
.pricing-cta__btn--email {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: white;
}

/* Email hover */
.pricing-cta__btn--email:hover {
  background: linear-gradient(135deg, var(--color-secondary-dark), var(--color-accent-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3);
}

/* WhatsApp button */
.pricing-cta__btn--whatsapp {
  background: #25d366;
  color: white;
  border: none;
}

/* WhatsApp hover */
.pricing-cta__btn--whatsapp:hover {
  background: #1da851;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Animation initial state */
.pricing-card--animate {
  opacity: 0;
  transform: translateY(20px);
}

/* Animation visible state */
.pricing-card--visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

/* Popular card visible state */
.pricing-card--popular.pricing-card--visible {
  transform: scale(1.05);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pricing-card--animate {
    opacity: 1;
    transform: none;
  }

  .pricing-card:hover {
    transform: none;
  }

  .pricing-card--popular {
    transform: none;
  }

  .pricing-card--popular:hover {
    transform: none;
  }

  .pricing-badge {
    box-shadow: none;
  }
}

/* Focus styles */
.pricing-cta__btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  .pricing-card--popular {
    transform: none;
  }

  .pricing-card--popular.pricing-card--visible {
    transform: none;
  }

  .pricing-cta {
    flex-direction: column;
  }

  .pricing-cta__btn {
    width: 100%;
  }
}

/* ─── Quote Request Modal ─── */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.quote-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.quote-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 43, 76, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.quote-modal__content {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition-base);
}

.quote-modal[aria-hidden="false"] .quote-modal__content {
  transform: translateY(0) scale(1);
}

.quote-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  border: none;
  background: var(--color-gray-100);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
  color: var(--color-gray-600);
}

.quote-modal__close:hover {
  background: var(--color-gray-200);
  transform: rotate(90deg);
}

.quote-modal__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xs);
}

.quote-modal__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  margin-bottom: var(--space-lg);
}

.quote-modal__selected {
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.08), rgba(0, 196, 180, 0.08));
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-xl);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  text-align: center;
}

.quote-modal__form {
  max-width: 100%;
}

.quote-modal__form .form-group {
  margin-bottom: var(--space-md);
}

.quote-modal__status {
  text-align: center;
  margin-top: var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.quote-modal__status--success {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.quote-modal__status--error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

@media (max-width: 767px) {
  .quote-modal__content {
    padding: var(--space-xl);
    width: 95%;
  }
}

/* ============================================================
   Product Showcase — Horizontal Sliding Dock Style
   Continuous horizontal scroll of product screenshots
   over a clean blue/white gradient background.
   Images are fully visible, sliding left-to-right endlessly.
   ============================================================ */

/* ─── Screen-reader only utility ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Showcase Section ─── */
.showcase {
  position: relative;
  width: 100%;
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-light) 40%, var(--color-secondary) 100%);
  overflow: hidden;
}

/* Subtle radial glows for depth */
.showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(0, 196, 180, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

/* ─── Heading ─── */
.showcase__heading {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.showcase__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.showcase__subtitle {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

/* ─── Sliding Track ─── */
.showcase__track {
  display: flex;
  gap: var(--space-xl);
  animation: slideTrack 40s linear infinite;
  width: max-content;
}

/* Pause on hover so users can look at images */
.showcase__track:hover {
  animation-play-state: paused;
}

@keyframes slideTrack {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ─── Individual Slides ─── */
.showcase__slide {
  flex-shrink: 0;
  width: 420px;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
}

.showcase__slide:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(0, 196, 180, 0.2);
  border-color: var(--color-accent);
}

/* ─── Images ─── */
.showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.showcase__slide:hover .showcase__img {
  transform: scale(1.05);
}

/* ─── Fade edges for smooth infinite feel ─── */
.showcase::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(to right,
      var(--color-primary) 0%,
      transparent 8%,
      transparent 92%,
      var(--color-primary) 100%
    );
}

/* ─── Responsive ─── */
@media (max-width: 1023px) {
  .showcase__slide {
    width: 340px;
    height: 230px;
  }

  .showcase__track {
    gap: var(--space-lg);
    animation-duration: 35s;
  }
}

@media (max-width: 767px) {
  .showcase {
    padding: var(--space-2xl) 0 var(--space-3xl);
  }

  .showcase__slide {
    width: 280px;
    height: 190px;
  }

  .showcase__track {
    gap: var(--space-md);
    animation-duration: 30s;
  }

  .showcase__title {
    font-size: var(--font-size-xl);
  }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  .showcase__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    padding: 0 var(--space-md);
  }

  .showcase__slide {
    width: 300px;
    height: 200px;
  }

  .showcase::after {
    display: none;
  }
}

