* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Prompt', sans-serif;
  background-color: #FFFFFF;
  color: #1E293B;
  overflow-x: hidden;
}

/* ── Nav ── */
.nav-blur {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, #1A365D 0%, #2563EB 60%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero gradient ── */
.hero-bg {
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 50%, #DBEAFE 100%);
}

/* ── Animated gradient border ── */
.glow-border {
  position: relative;
}
.glow-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1A365D, #2563EB, #60A5FA, #1A365D);
  background-size: 200% 200%;
  animation: borderRotate 4s linear infinite;
  z-index: -1;
  opacity: 0.6;
}
@keyframes borderRotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Wave divider ── */
.wave-divider { line-height: 0; }
.wave-divider svg { display: block; }

/* ── Product card hover ── */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26,54,93,0.18);
}

/* ── Pill badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ── Feature icon circle ── */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Stats number animation ── */
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

/* ── Case study card ── */
.case-card {
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover .case-overlay {
  opacity: 1;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,54,93,0.18);
}
.case-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(to top, rgba(26,54,93,0.85) 0%, transparent 60%);
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile menu ── */
#mobile-menu {
  transition: max-height 0.35s ease, opacity 0.35s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}

/* ── Tooltip ── */
[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #1A365D;
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 50;
}

/* ── Tab active ── */
.tab-btn.active {
  background-color: #1A365D;
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,54,93,0.25);
}
.tab-btn {
  transition: all 0.25s ease;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Spec row alternating ── */
.spec-row:nth-child(even) { background: #F8FAFC; }

/* ── Contact card ── */
.contact-channel {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-channel:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(26,54,93,0.12);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #94A3B8; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #1A365D; }

/* ── Pulse ring for hero ── */
@keyframes pingRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
.ping-ring {
  animation: pingRing 2s ease-out infinite;
}

/* ── Floating particles ── */
.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  pointer-events: none;
}
@keyframes floatParticle {
  0% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { opacity: 0.2; }
  100% { transform: translateY(-80px) scale(0.6); opacity: 0; }
}

/* ── Custom Form Container Styling ── */
.alt-custom-form-container .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.alt-custom-form-container input[type="text"],
.alt-custom-form-container input[type="email"],
.alt-custom-form-container input[type="tel"],
.alt-custom-form-container select,
.alt-custom-form-container textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #1E293B;
  background-color: #FFFFFF;
  transition: all 0.2s ease;
  font-family: 'Prompt', 'Inter', sans-serif;
}
.alt-custom-form-container input[type="text"]::placeholder,
.alt-custom-form-container input[type="email"]::placeholder,
.alt-custom-form-container input[type="tel"]::placeholder,
.alt-custom-form-container textarea::placeholder {
  color: #94A3B8;
}
.alt-custom-form-container input:focus,
.alt-custom-form-container select:focus,
.alt-custom-form-container textarea:focus {
  outline: none;
  border-color: rgba(26,54,93,0.5);
  box-shadow: 0 0 0 2px rgba(26,54,93,0.15);
}
.alt-custom-form-container input[type="submit"],
.alt-custom-form-container .wpcf7-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1A365D;
  color: #FFFFFF;
  font-weight: 600;
  padding: 16px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(26,54,93,0.25);
  transition: all 0.2s ease;
  font-family: 'Prompt', 'Inter', sans-serif;
}
.alt-custom-form-container input[type="submit"]:hover,
.alt-custom-form-container .wpcf7-submit:hover {
  background-color: #0F1F3D;
  box-shadow: 0 20px 25px -5px rgba(26,54,93,0.3);
  transform: translateY(-2px);
}
.alt-custom-form-container input[type="submit"]:active,
.alt-custom-form-container .wpcf7-submit:active {
  transform: translateY(0);
}

/* Response messaging */
.alt-custom-form-container .wpcf7-response-output {
  margin: 20px 0 0 0;
  padding: 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: 'Prompt', 'Inter', sans-serif;
  text-align: center;
  border: 1px solid transparent;
}
.alt-custom-form-container .wpcf7-mail-sent-ok {
  background-color: #F0FDF4 !important;
  border-color: #BBF7D0 !important;
  color: #166534 !important;
}
.alt-custom-form-container .wpcf7-validation-errors,
.alt-custom-form-container .wpcf7-acceptance-missing {
  background-color: #FEF2F2 !important;
  border-color: #FECACA !important;
  color: #991B1B !important;
}
.alt-custom-form-container .wpcf7-not-valid-tip {
  color: #EF4444;
  font-size: 0.75rem;
  margin-top: 4px;
  display: block;
}

/* ── Interactive Dual Product Showcase ── */
.showcase-container {
  perspective: 1000px;
}

.product-showcase-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, z-index, box-shadow;
}

/* Base states */
.showcase-card-primary {
  transform: translateZ(20px) rotateY(-8deg) rotateX(4deg);
  z-index: 20;
}

.showcase-card-secondary {
  transform: translate3d(-15%, 15%, -40px) rotateY(12deg) rotateX(2deg);
  z-index: 10;
  opacity: 0.85;
}

/* Interactive Hover States */
.showcase-container:hover .showcase-card-primary {
  transform: translate3d(15%, -5%, -40px) rotateY(-15deg) scale(0.9);
  z-index: 10;
  opacity: 0.75;
}

.showcase-container:hover .showcase-card-secondary {
  transform: translate3d(0, 0, 30px) rotateY(0deg) scale(1.05);
  z-index: 30;
  opacity: 1;
  box-shadow: 0 25px 60px -15px rgba(37, 99, 235, 0.3);
}

/* Individual card hover focus */
.product-showcase-card:hover {
  opacity: 1 !important;
}

/* Premium Ultrasonic Concentric Ripples */
.ripple-wave {
  position: absolute;
  border: 1.5px solid rgba(59, 130, 246, 0.4);
  border-radius: 50%;
  animation: ripplePulse 4s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  opacity: 0;
  pointer-events: none;
}

.ripple-wave-2 {
  animation-delay: 1.3s;
}

.ripple-wave-3 {
  animation-delay: 2.6s;
}

@keyframes ripplePulse {
  0% {
    width: 60px;
    height: 60px;
    opacity: 0.8;
  }
  100% {
    width: 600px;
    height: 600px;
    opacity: 0;
    border-color: rgba(37, 99, 235, 0.05);
  }
}

/* Active status indicator dot */
.status-indicator {
  position: relative;
  display: inline-flex;
}
.status-indicator::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #10B981;
  animation: statusPulse 2s ease-out infinite;
}
@keyframes statusPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

