/* ── Reset & Base ───────────────────────────────────── */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  background: #060a1c;
}

body.subpage,
body.subpage html {
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a { color: inherit; }

/* ═══════════════════════════════════════════════════ */
/* ── ANIMATIONS ─────────────────────────────────── */
/* ═══════════════════════════════════════════════════ */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 24px rgba(26, 109, 255, 0.25); }
  50%      { box-shadow: 0 4px 40px rgba(26, 109, 255, 0.45); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(77, 159, 255, 0.1); }
  50%      { border-color: rgba(77, 159, 255, 0.3); }
}

@keyframes heroEntry {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes iconSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  30%      { transform: translateY(-8px); }
  50%      { transform: translateY(-4px); }
  70%      { transform: translateY(-6px); }
}

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

@keyframes iconSwing {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(8deg); }
  75%      { transform: rotate(-8deg); }
}

@keyframes iconPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.2); }
  60%  { transform: scale(0.95); }
  100% { transform: scale(1.1); }
}

@keyframes strokeDraw {
  from { stroke-dashoffset: 200; }
  to   { stroke-dashoffset: 0; }
}

@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(77, 159, 255, 0.2)); }
  50%      { filter: drop-shadow(0 0 12px rgba(77, 159, 255, 0.5)); }
}

@keyframes colorShift {
  0%, 100% { color: #4d9fff; }
  33%      { color: #7bb8ff; }
  66%      { color: #3d8aef; }
}

/* ── Scroll-triggered animation classes ────────────── */

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate.fade-only {
  transform: none;
}

.animate.slide-left {
  transform: translateX(-40px);
}

.animate.slide-right {
  transform: translateX(40px);
}

.animate.scale-up {
  transform: scale(0.9);
}

.animate.in-view {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ── Homepage entrance animations ──────────────────── */

.home-animate .nav {
  animation: fadeIn 0.8s ease-out 0.1s both;
}

.home-animate .hero-eyebrow {
  animation: fadeInUp 0.7s ease-out 0.3s both;
}

.home-animate .hero-title {
  animation: heroEntry 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.home-animate .hero-sub {
  animation: fadeInUp 0.7s ease-out 0.8s both;
}

.home-animate .service-tile {
  animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-animate .service-tile:nth-child(1) { animation-delay: 1.0s; }
.home-animate .service-tile:nth-child(2) { animation-delay: 1.1s; }
.home-animate .service-tile:nth-child(3) { animation-delay: 1.2s; }
.home-animate .service-tile:nth-child(4) { animation-delay: 1.3s; }
.home-animate .service-tile:nth-child(5) { animation-delay: 1.4s; }
.home-animate .service-tile:nth-child(6) { animation-delay: 1.5s; }

.home-animate .cta-section {
  animation: fadeInUp 0.7s ease-out 1.7s both;
}

.home-animate .footer {
  animation: fadeIn 0.5s ease-out 2.0s both;
}

/* ── Video Background (homepage) ───────────────────── */

.video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1b3e 40%, #081428 100%);
}

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

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 6, 18, 0.92) 0%,
    rgba(6, 12, 32, 0.78) 35%,
    rgba(4, 8, 24, 0.82) 65%,
    rgba(4, 6, 18, 0.92) 100%
  );
}

/* ── Page Layout (homepage — fixed viewport) ───────── */

.page {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
}

/* ── Subpage Layout (scrollable) ───────────────────── */

.subpage-layout {
  height: auto;
  min-height: 100vh;
  justify-content: flex-start;
}

/* ── Nav ───────────────────────────────────────────── */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  flex-shrink: 0;
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.nav-brand:hover {
  transform: translateX(2px);
}

.brand-bluu {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #4d9fff;
  background: linear-gradient(135deg, #4d9fff, #7bb8ff, #4d9fff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

.brand-ms {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #4d9fff;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

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

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border: 1px solid rgba(77, 159, 255, 0.4);
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(77, 159, 255, 0.15), rgba(26, 109, 255, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-cta:hover {
  border-color: rgba(77, 159, 255, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(77, 159, 255, 0.2);
}

.nav-cta:hover::before {
  opacity: 1;
}

/* ── Hero (homepage) ──────────────────────────────── */

.hero {
  text-align: center;
  flex-shrink: 0;
  padding-top: 2vh;
}

.hero-eyebrow {
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #5eaaff;
  margin-bottom: 16px;
  text-shadow: 0 1px 10px rgba(77, 159, 255, 0.4);
}

.hero-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-sub {
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* ── Services Grid (homepage) ─────────────────────── */

.services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  flex-shrink: 0;
}

.service-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(16px, 2vw, 28px) 8px;
  background: rgba(6, 10, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-tile:hover {
  background: rgba(77, 159, 255, 0.1);
  border-color: rgba(77, 159, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(77, 159, 255, 0.12);
}

.service-tile .service-icon {
  animation: iconPulse 4s ease-in-out infinite;
}

.service-tile:nth-child(1) .service-icon { animation-delay: 0s; }
.service-tile:nth-child(2) .service-icon { animation-delay: 0.5s; }
.service-tile:nth-child(3) .service-icon { animation-delay: 1.0s; }
.service-tile:nth-child(4) .service-icon { animation-delay: 1.5s; }
.service-tile:nth-child(5) .service-icon { animation-delay: 2.0s; }
.service-tile:nth-child(6) .service-icon { animation-delay: 2.5s; }

.service-tile:hover .service-icon {
  animation: iconPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             glowPulse 2s ease-in-out infinite 0.4s;
}

.service-icon {
  width: clamp(32px, 3.5vw, 42px);
  height: clamp(32px, 3.5vw, 42px);
  color: #4d9fff;
  flex-shrink: 0;
  transition: color 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 4px rgba(77, 159, 255, 0.15));
}

.service-tile:hover .service-icon {
  color: #7bb8ff;
  filter: drop-shadow(0 0 10px rgba(77, 159, 255, 0.4));
}

.service-label {
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 600;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ── CTA ───────────────────────────────────────────── */

.cta-section {
  text-align: center;
  flex-shrink: 0;
}

.cta-button {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  padding: 14px 48px;
  background: linear-gradient(135deg, #1a6dff 0%, #0050d4 100%);
  border-radius: 8px;
  letter-spacing: 0.03em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(26, 109, 255, 0.25);
  animation: pulseGlow 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px rgba(26, 109, 255, 0.5);
}

/* ── Footer ────────────────────────────────────────── */

.footer {
  text-align: center;
  padding: 20px 0;
  flex-shrink: 0;
}

.footer p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════ */
/* ── SUBPAGE STYLES ─────────────────────────────── */
/* ═══════════════════════════════════════════════════ */

/* ── Page Hero (subpages) ──────────────────────────── */

.page-hero {
  text-align: center;
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(77, 159, 255, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(26, 109, 255, 0.03) 0%, transparent 50%);
  animation: gradientShift 8s ease-in-out infinite;
  background-size: 200% 200%;
}

.page-hero .hero-eyebrow {
  margin-bottom: 20px;
}

.page-hero .hero-title {
  font-size: clamp(28px, 4vw, 52px);
}

.page-hero .hero-sub {
  max-width: 600px;
}

/* ── Content ───────────────────────────────────────── */

.content {
  flex: 1;
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section:last-child {
  border-bottom: none;
}

.section-dark {
  background: rgba(0, 0, 0, 0.15);
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #4d9fff;
  margin-bottom: 12px;
  display: inline-block;
  background: linear-gradient(90deg, #4d9fff 0%, #7bb8ff 50%, #4d9fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ── Check list arrow animation ────────────────────── */

.check-list li::before {
  transition: transform 0.2s ease;
}

.check-list li:hover::before {
  transform: translateX(4px);
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-text {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 700px;
}

.section-text.centered {
  margin: 0 auto;
  text-align: center;
}

/* ── Feature Cards ─────────────────────────────────── */

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

.feature-card {
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4d9fff, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  background: rgba(77, 159, 255, 0.06);
  border-color: rgba(77, 159, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

.feature-card-icon {
  width: 44px;
  height: 44px;
  color: #4d9fff;
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 6px rgba(77, 159, 255, 0.15));
  animation: colorShift 6s ease-in-out infinite;
}

.feature-card:hover .feature-card-icon {
  transform: scale(1.15) rotate(-5deg);
  filter: drop-shadow(0 0 14px rgba(77, 159, 255, 0.5));
  color: #7bb8ff;
}

.feature-card:nth-child(1) .feature-card-icon { animation-delay: 0s; }
.feature-card:nth-child(2) .feature-card-icon { animation-delay: 1s; }
.feature-card:nth-child(3) .feature-card-icon { animation-delay: 2s; }
.feature-card:nth-child(4) .feature-card-icon { animation-delay: 3s; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.feature-card ul {
  list-style: none;
  margin-top: 12px;
}

.feature-card ul li {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.feature-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4d9fff;
  opacity: 0.5;
}

/* ── Product Cards ─────────────────────────────────── */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

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

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

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

.product-card {
  padding: 40px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(77, 159, 255, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  background: rgba(77, 159, 255, 0.05);
  border-color: rgba(77, 159, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

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

.product-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4d9fff;
  padding: 4px 12px;
  background: rgba(77, 159, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 20px;
  position: relative;
  transition: all 0.3s ease;
  animation: borderGlow 4s ease-in-out infinite;
  border: 1px solid rgba(77, 159, 255, 0.15);
}

.product-card:hover .product-card-badge {
  background: rgba(77, 159, 255, 0.2);
  color: #fff;
  box-shadow: 0 0 12px rgba(77, 159, 255, 0.3);
}

/* ── Product Images ────────────────────────────────── */

.product-image {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 24px;
  opacity: 0.85;
  transition: all 0.4s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.product-card:hover .product-image {
  opacity: 1;
  transform: scale(1.03);
}

.product-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

.product-card .product-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.product-card p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.product-card ul {
  list-style: none;
  margin-top: 16px;
}

.product-card ul li {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}

.product-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4d9fff;
  opacity: 0.5;
}

/* ── Spec Table ────────────────────────────────────── */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 300;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-table th {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  width: 160px;
}

.spec-table td {
  color: rgba(255, 255, 255, 0.5);
}

.spec-table thead th {
  font-weight: 600;
  color: #4d9fff;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(77, 159, 255, 0.2);
}

/* ── Vertical Cards (POS industries) ───────────────── */

.vertical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.vertical-card {
  padding: 36px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vertical-card:hover {
  background: rgba(77, 159, 255, 0.06);
  border-color: rgba(77, 159, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.vertical-card:hover .vertical-card-icon {
  animation: iconBounce 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 12px rgba(77, 159, 255, 0.5));
  color: #7bb8ff;
}

.vertical-card-icon {
  width: 52px;
  height: 52px;
  color: #4d9fff;
  margin: 0 auto 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 4px rgba(77, 159, 255, 0.15));
  animation: float 5s ease-in-out infinite;
}

.vertical-card:nth-child(1) .vertical-card-icon { animation-delay: 0s; }
.vertical-card:nth-child(2) .vertical-card-icon { animation-delay: 0.8s; }
.vertical-card:nth-child(3) .vertical-card-icon { animation-delay: 1.6s; }
.vertical-card:nth-child(4) .vertical-card-icon { animation-delay: 2.4s; }
.vertical-card:nth-child(5) .vertical-card-icon { animation-delay: 3.2s; }

.vertical-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.vertical-card p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* ── Inline List ───────────────────────────────────── */

.check-list {
  list-style: none;
  margin-top: 24px;
  max-width: 700px;
}

.check-list li {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  padding: 8px 0 8px 28px;
  position: relative;
  line-height: 1.5;
}

.check-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #4d9fff;
  font-weight: 500;
}

/* ── Two Column Layout ─────────────────────────────── */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.two-col-text h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}

.two-col-text p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* ── CTA Banner (subpages) ─────────────────────────── */

.cta-banner {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(26, 109, 255, 0.08) 0%, transparent 100%);
}

.cta-banner h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
}

/* ── Subpage Footer ────────────────────────────────── */

.footer-sub {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-sub p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer-credit {
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.15);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: #4d9fff;
}

/* ── Legal Page Styles ─────────────────────────────── */

.legal-text {
  max-width: 720px;
}

.legal-text h2 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 36px;
  margin-bottom: 10px;
}

.legal-text h2:first-child {
  margin-top: 0;
}

.legal-text p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-text a {
  color: #4d9fff;
  text-decoration: none;
}

.legal-text a:hover {
  text-decoration: underline;
}

.legal-updated {
  margin-top: 40px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

/* ── Contact Form ──────────────────────────────────── */

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

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

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

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px 16px;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(77, 159, 255, 0.5);
  background: rgba(77, 159, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(77, 159, 255, 0.1);
}

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

.contact-form .cta-button {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.contact-info {
  padding-top: 8px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-info-item a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-item a:hover {
  color: #4d9fff;
}

.stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
}

.star {
  color: #fbbf24;
  font-size: 16px;
}

.star-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-left: 8px;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ═══════════════════════════════════════════════════ */
/* ── RESPONSIVE ─────────────────────────────────── */
/* ═══════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
    max-width: 360px;
  }

  .hero {
    padding-top: 1vh;
  }

  .hero-title br {
    display: none;
  }

  .brand-ms {
    display: none;
  }

  .nav-link {
    display: none;
  }

  .page-hero {
    padding: 48px 0 40px;
  }

  .section {
    padding: 48px 0;
  }

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

  .product-grid,
  .product-grid.cols-2,
  .product-grid.cols-3,
  .product-grid.cols-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vertical-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .spec-table th {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
    max-width: 280px;
  }

  .cta-button {
    padding: 12px 36px;
    font-size: 14px;
  }

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

@media (max-height: 700px) {
  .hero-sub {
    display: none;
  }

  .hero {
    padding-top: 0;
  }

  .hero-title {
    margin-bottom: 12px;
  }

  .nav {
    padding: 16px 0;
  }

  .footer {
    padding: 12px 0;
  }
}
