/* ============================================================
   VEDRYXONIX TECHNOLOGIES — style.css
   Shared stylesheet for all pages
   ============================================================ */

/* ─── TAILWIND CONFIG (must match tailwind.config in each HTML head) ───── */
/* Colors:
   --dk:  #050816  (dark background)
   --dk-s:#0B1224  (secondary dark)
   --ac:  #4F7CFF  (accent blue)
   --ac-s:#6C5BFF  (accent purple)
   --hl:  #2EE6D6  (highlight teal)
   --ok:  #35E06A  (success green)
   --tx:  #FFFFFF  (primary text)
   --tx-s:#AEB6C9  (secondary text)
*/

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: #AEB6C9;
  background-color: #050816;
  overflow-x: hidden;
}

@media (hover: hover) and (pointer: fine) {
  body, a, button, input, select, textarea, .cursor-pointer {
    cursor: none;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: #fff;
  letter-spacing: -0.02em;
}

::selection {
  background: rgba(79, 124, 255, 0.3);
  color: #fff;
}

/* ─── CUSTOM SCROLLBAR ──────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #050816;
}
::-webkit-scrollbar-thumb {
  background: #4F7CFF;
  border-radius: 3px;
}

/* ─── CUSTOM CANVAS CURSOR MOCKUP ─── */
#cursor-canvas {
  mix-blend-mode: screen;
}

/* ─── BACKGROUND EFFECTS ────────────────────────────────────────────────── */
.bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Floating glow particles */
.ptc {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(79, 124, 255, 0.3);
  animation: a-float 8s ease-in-out infinite;
}

/* ─── GLASSMORPHISM ─────────────────────────────────────────────────────── */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.glass-sm {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── DEVICE FRAMES ─────────────────────────────────────────────────────── */
.macbook {
  background: linear-gradient(180deg, #222538, #141624);
  border-radius: 18px 18px 0 0;
  padding: 8px 8px 0;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.macbook-screen {
  background: #080b16;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.macbook-base {
  height: 10px;
  background: linear-gradient(180deg, #2a2e45, #121422);
  border-radius: 0 0 10px 10px;
  margin: 0 -45px;
  position: relative;
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.macbook-base::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 0 0 4px 4px;
}

.iphone {
  background: linear-gradient(160deg, #1e2140, #13162a);
  border-radius: 36px;
  padding: 5px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: rotate(6deg);
}

.iphone-screen {
  background: #080b16;
  border-radius: 31px;
  overflow: hidden;
  position: relative;
}

.iphone-notch {
  width: 55px;
  height: 16px;
  background: #13162a;
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
}

/* ─── KEYFRAME ANIMATIONS ───────────────────────────────────────────────── */
@keyframes a-scale {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes a-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes a-down {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes a-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes a-right {
  from { opacity: 0; transform: translateX(40px) rotate(6deg); }
  to   { opacity: 1; transform: translateX(0) rotate(6deg); }
}

@keyframes a-load {
  from { width: 0; }
  to   { width: 100%; }
}

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

@keyframes a-float-r {
  0%, 100% { transform: translateY(0) rotate(6deg); }
  50%       { transform: translateY(-8px) rotate(6deg); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 0.8; }
}

@keyframes mq {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ─── ANIMATION UTILITY CLASSES ─────────────────────────────────────────── */
/* Initial state (hidden) */
.asm { opacity: 0; }

/* Triggered states */
.asm-s { animation: a-scale  0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.asm-f { animation: a-fade   0.6s ease forwards; }
.asm-d { animation: a-down   0.5s ease forwards; }
.asm-u { animation: a-up     0.5s ease forwards; }
.asm-r { animation: a-right  0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Floating card animations */
.float-card   { animation: a-float   6s ease-in-out infinite; }
.float-card-r { animation: a-float-r 7s ease-in-out infinite; }

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn-grad {
  background: linear-gradient(135deg, #4F7CFF, #6C5BFF);
  border-radius: 16px;
  color: #fff;
  font-weight: 600;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-grad::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #6C5BFF, #4F7CFF);
  opacity: 0;
  transition: opacity 0.35s;
}

.btn-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79, 124, 255, 0.35);
}

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

.btn-grad span { position: relative; z-index: 1; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #AEB6C9;
  font-weight: 500;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: translateY(-2px);
}

/* ─── CARDS ──────────────────────────────────────────────────────────────── */
/* Service Cards */
.svc-card {
  background: rgba(20, 25, 45, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 50%),
    rgba(79, 124, 255, 0.06),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.svc-card:hover {
  border-color: rgba(79, 124, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

/* Portfolio Cards */
.port-card {
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
  cursor: pointer;
}

.port-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.port-card:hover img { transform: scale(1.05); }

.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 8, 22, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.port-card:hover .port-overlay { opacity: 1; }

/* Tech chips */
.tech-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.3s;
}

.tech-chip:hover {
  background: rgba(79, 124, 255, 0.08);
  border-color: rgba(79, 124, 255, 0.25);
  box-shadow: 0 0 20px rgba(79, 124, 255, 0.1);
  transform: translateY(-2px);
}

/* ─── PROCESS SECTION ───────────────────────────────────────────────────── */
.proc-line { position: relative; }

.proc-line::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.proc-fill {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 1px;
  background: linear-gradient(90deg, #4F7CFF, #6C5BFF);
  width: 0;
  transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── TESTIMONIAL SLIDER ────────────────────────────────────────────────── */
.test-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── SCROLL REVEAL ─────────────────────────────────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv.rvd {
  opacity: 1;
  transform: translateY(0);
}

.rv-l {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv-l.rvd {
  opacity: 1;
  transform: translateX(0);
}

.rv-r {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv-r.rvd {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for child reveal elements */
.stg .rv:nth-child(1) { transition-delay: 0.05s; }
.stg .rv:nth-child(2) { transition-delay: 0.12s; }
.stg .rv:nth-child(3) { transition-delay: 0.19s; }
.stg .rv:nth-child(4) { transition-delay: 0.26s; }

/* ─── NAVIGATION ────────────────────────────────────────────────────────── */
.nav-shrink {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  background: rgba(5, 8, 22, 0.85) !important;
  backdrop-filter: blur(30px) !important;
  -webkit-backdrop-filter: blur(30px) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Mobile menu */
.mob-menu {
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}
.mob-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* Dropdown nav */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: rgba(11, 18, 36, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.nav-dropdown-parent:hover .nav-dropdown,
.nav-dropdown-parent:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #AEB6C9;
  font-size: 0.875rem;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-dropdown a:hover {
  background: rgba(79, 124, 255, 0.08);
  color: #fff;
}

.nav-dropdown a .dd-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Active page indicator in nav */
.nav-link-active {
  color: #fff !important;
  position: relative;
}

.nav-link-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #4F7CFF, #6C5BFF);
  border-radius: 1px;
}

/* ─── MODAL ──────────────────────────────────────────────────────────────── */
.modal-bg {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-bg.open,
.modal-bg:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.modal-ct {
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-bg.open .modal-ct,
.modal-bg:not(.hidden) .modal-ct {
  transform: scale(1) translateY(0);
}

/* ─── FORM INPUTS ────────────────────────────────────────────────────────── */
.est-sel {
  background: rgba(20, 25, 45, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #AEB6C9;
  transition: border-color 0.2s;
}

.est-sel:focus {
  border-color: rgba(79, 124, 255, 0.4);
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.1);
}

.est-sel option {
  background: #0B1224;
  color: #AEB6C9;
}

/* Range slider */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F7CFF, #6C5BFF);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(79, 124, 255, 0.4);
}

/* Toggle switch */
.tog {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
}
.tog.on { background: linear-gradient(135deg, #4F7CFF, #6C5BFF); }

.tog-k {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.tog.on .tog-k { transform: translateX(20px); }

/* Checkbox */
.chk {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.chk.on {
  background: linear-gradient(135deg, #4F7CFF, #6C5BFF);
  border-color: transparent;
}

/* Radio cards */
.rad-card {
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
}
.rad-card.sel {
  border-color: rgba(79, 124, 255, 0.4);
  background: rgba(79, 124, 255, 0.06);
}

/* ─── TOAST NOTIFICATION ────────────────────────────────────────────────── */
.toast {
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ─── MARQUEE ────────────────────────────────────────────────────────────── */
.marquee-t { animation: mq 35s linear infinite; }

/* ─── HERO SECTION SPECIFICS ────────────────────────────────────────────── */
.hero-vis {
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-vis.out {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}
.hero-vis.in {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-fade { transition: opacity 0.3s ease, transform 0.3s ease; }
.hero-fade.hide { opacity: 0; transform: translateY(6px); }

/* Desktop & mobile subtitle fade transitions */
#heroSub, #m-heroSub {
  transition: opacity 0.25s ease-in-out;
}
#heroSub.hide, #m-heroSub.hide {
  opacity: 0;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.35s;
}
.slide-dot.active {
  width: 28px;
  background: linear-gradient(135deg, #4F7CFF, #6C5BFF);
}

.app-scr {
  position: absolute;
  inset: 0;
  padding: 10px;
  opacity: 0;
  transform: translateX(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.app-scr.on {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.live-dot {
  width: 5px;
  height: 5px;
  background: #ff3b3b;
  border-radius: 50%;
  animation: live-blink 1.2s ease infinite;
}

.scanlines::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.06) 2px,
    rgba(0, 0, 0, 0.06) 4px
  );
  pointer-events: none;
  border-radius: 31px;
  z-index: 5;
}

.hero-progress {
  height: 2px;
  background: rgba(79, 124, 255, 0.15);
  border-radius: 1px;
  overflow: hidden;
  margin-top: 8px;
}

.hero-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4F7CFF, #6C5BFF);
  border-radius: 1px;
  width: 0%;
  transition: width 0.1s linear;
}

/* ─── PAGE HERO BANNER (for inner pages) ──────────────────────────────── */
.page-hero {
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .page-hero {
    padding: 110px 0 40px;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 100px 0 32px;
  }
}

/* ─── MOBILE HERO LAYOUT HELPERS ─────────────────────────────────────────── */
/* Reorder columns on mobile: visual can be moved up or down with order utilities */
@media (max-width: 767px) {
  .mobile-order-first { order: -1; }
  .mobile-order-last  { order: 99; }
  /* Compact stats strip on mobile */
  .hero-stats-mobile {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-stats-mobile::-webkit-scrollbar { display: none; }
  .hero-stats-mobile .stat-pill {
    flex-shrink: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 6px 14px;
    white-space: nowrap;
    font-size: 11px;
  }
}

/* Universal scrollbar-hide utility */
.scrollbar-hide {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Coastal Wave Glow Animation for Identity Elements */
@keyframes wave-glow {
  0%, 100% {
    border-color: rgba(79, 124, 255, 0.25);
    box-shadow: 0 0 15px rgba(79, 124, 255, 0.1);
  }
  50% {
    border-color: rgba(46, 230, 214, 0.45);
    box-shadow: 0 0 25px rgba(46, 230, 214, 0.2);
  }
}
.wave-glow {
  animation: wave-glow 4s ease-in-out infinite;
}

/* ─── GOA BIOLUMINESCENT WAVE ANIMATIONS ─── */
.goa-wave-svg {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 100%;
  animation: wave-slide 12s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}
.wave-layer-1 {
  fill: rgba(46, 230, 214, 0.22);
  filter: drop-shadow(0 0 10px rgba(46, 230, 214, 0.5));
}
.wave-layer-2 {
  fill: #050816;
}
@keyframes wave-slide {
  0% { transform: translateX(0); }
  50% { transform: translateX(-25%); }
  100% { transform: translateX(0); }
}

@keyframes wave-wash-sweep {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  20% {
    opacity: 0.9;
  }
  60% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(140%);
    opacity: 0;
  }
}
.wave-surge {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(46, 230, 214, 0.35), rgba(79, 124, 255, 0.4), transparent);
  filter: blur(12px);
  animation: wave-wash-sweep 4s ease-in-out infinite;
  pointer-events: none;
}
.text-glow-cyan {
  text-shadow: 0 0 14px rgba(46, 230, 214, 0.7);
}
.text-glow-teal {
  text-shadow: 0 0 14px rgba(53, 224, 106, 0.6);
}
.wave-tide-animate {
  display: inline-block;
  animation: wave-bob 3s ease-in-out infinite;
}
@keyframes wave-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-10deg); }
}

/* iPhone mockup sizing for mobile screens */
@media (max-width: 640px) {
  .iphone {
    width: 175px !important;
    max-width: 200px !important;
  }
  .iphone-screen {
    height: 310px !important;
  }
}

/* ─── MOBILE COLUMN REORDER FOR 2-COLUMN GRIDS ───────────────────────────── */
/* Used on contact, services, dashboard, web-dev, android-apps pages */
@media (max-width: 1023px) {
  .mobile-form-first {
    order: 1;
  }
  .mobile-info-last {
    order: 2;
  }
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #AEB6C9;
  margin-bottom: 1.25rem;
}
.breadcrumb a {
  color: #AEB6C9;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #ffffff;
}
.breadcrumb span {
  color: #ffffff;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(79, 124, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── PRICING PACKAGES ─────────────────────────────────────────────────── */
.price-card {
  background: rgba(20, 25, 45, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  border-color: rgba(79, 124, 255, 0.3);
  box-shadow: 0 0 60px rgba(79, 124, 255, 0.1);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* ─── BLOG CARDS ───────────────────────────────────────────────────────── */
.blog-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(20, 25, 45, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
  border-color: rgba(79, 124, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.blog-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ─── BREADCRUMB ───────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(174, 182, 201, 0.5);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(174, 182, 201, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: #4F7CFF; }

.breadcrumb span { color: #AEB6C9; }

/* ─── MEDIA QUERIES ─────────────────────────────────────────────────────── */
/* Hide custom cursor on touch devices */
@media (max-width: 1024px) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
  body {
    cursor: auto;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .asm { opacity: 1; }
}

/* ─── WHATSAPP FLOATING BUTTON ──────────────────────────────────────────── */
#wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.38), 0 2px 8px rgba(0,0,0,0.3);
  text-decoration: none;
  opacity: 0;
  transform: scale(0.6) translateY(20px);
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s ease, opacity 0.4s ease;
  animation: wa-entrance 0.6s cubic-bezier(.16,1,.3,1) 1.5s forwards;
  cursor: pointer !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

#wa-float:focus-visible {
  outline: 2px solid #35E06A;
  outline-offset: 3px;
}

@keyframes wa-entrance {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

#wa-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0,0,0,0.3);
}

/* Immediate tactile feedback on touch devices */
#wa-float:active {
  transform: scale(0.92) translateY(0) !important;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4) !important;
  transition: transform 0.1s ease;
}

/* Pulse ring */
#wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.25);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Tooltip: Shown strictly on desktop with mouse hover support */
@media (hover: hover) and (min-width: 1025px) {
  #wa-float::after {
    content: 'Chat on WhatsApp';
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: rgba(10, 14, 30, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  }

  #wa-float:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* WhatsApp SVG icon */
#wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

/* Tablet Optimizations (641px – 1024px) */
@media (max-width: 1024px) {
  #wa-float {
    bottom: max(24px, env(safe-area-inset-bottom, 24px));
    right: max(22px, env(safe-area-inset-right, 22px));
    width: 54px;
    height: 54px;
  }
  #wa-float svg {
    width: 26px;
    height: 26px;
  }
  /* Completely prevent sticky hover tooltip on tablets & touchscreens */
  #wa-float::after {
    display: none !important;
  }
}

/* Mobile Optimizations (≤ 640px) */
@media (max-width: 640px) {
  #wa-float {
    bottom: max(18px, env(safe-area-inset-bottom, 18px));
    right: max(16px, env(safe-area-inset-right, 16px));
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0,0,0,0.3);
  }
  #wa-float svg {
    width: 24px;
    height: 24px;
  }
  #wa-float::before {
    inset: -3px;
  }
  #wa-float::after {
    display: none !important;
  }
}

/* ─── TOUCH & MOBILE MODAL FRIENDLINESS ─────────────────────────────────── */
.modal-bg {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

.modal-ct {
  max-height: calc(100vh - 2.5rem);
  max-height: calc(100dvh - 2.5rem);
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Mobile form input auto-zoom prevention for iOS (inputs must be >= 16px) */
@media (max-width: 640px) {
  .est-sel,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Tactile touch response for cards & buttons on touch screens */
@media (hover: none) {
  .sc-addon-card,
  .wp-addon-card,
  .ap-addon-card,
  .app-platform-card {
    -webkit-tap-highlight-color: transparent;
  }
  .sc-addon-card:active,
  .wp-addon-card:active,
  .ap-addon-card:active,
  .app-platform-card:active {
    transform: scale(0.99);
    transition: transform 0.1s ease;
  }
  .btn-grad:active,
  .btn-ghost:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}

/* ─── GOA SHORELINE BIOLUMINESCENT TWINKLE & HOTEL GLOW ─────────────────── */
@keyframes shoreline-twinkle {
  0%, 100% {
    opacity: 0.15;
    transform: scale(0.7);
    filter: drop-shadow(0 0 2px rgba(46, 230, 214, 0.4));
  }
  50% {
    opacity: 1;
    transform: scale(1.4);
    filter: drop-shadow(0 0 8px rgba(46, 230, 214, 0.95)) drop-shadow(0 0 16px rgba(79, 124, 255, 0.8));
  }
}

.shoreline-twinkle {
  animation: shoreline-twinkle 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes hotel-glow-depth {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.1);
  }
}

.hotel-depth-glow {
  animation: hotel-glow-depth 4.5s ease-in-out infinite;
}

/* ─── DESKTOP HERO SECTION HEIGHT ───────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
}

/* ─── MOBILE HERO HEADLINE LINES (absolutely stable, no layout shift) ────── */
/* Each odom line has a fixed height = 1 line of the h1 font.
   overflow:hidden + white-space:nowrap means random scramble chars NEVER
   wrap and NEVER change the height of the h1 block. */
.hero-odom-line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  line-height: inherit;
  /* Stabilise GPU layer to prevent surrounding content from repainting */
  will-change: contents;
  transform: translateZ(0);
}

/* ─── MOBILE SLIDE DOTS ─────────────────────────────────────────────────── */
.m-slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.35s;
}
.m-slide-dot.active {
  width: 22px;
  background: linear-gradient(135deg, #4F7CFF, #6C5BFF);
}

/* ─── DESKTOP ODOMETER & HERO STABILITY (Zero Layout Shift & Stutter) ────── */
#odom1, #odom2, #odom3 {
  contain: layout inline-size;
  will-change: contents;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  min-height: 1.15em;
  line-height: 1.15;
  transform: translateZ(0);
}

#heroSub {
  min-height: 3.5rem;
}

#st0-d, #st1-d, #st2-d, #st3-d {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  min-height: 1.25em;
  line-height: 1.25;
  contain: layout inline-size;
  will-change: contents;
  transform: translateZ(0);
}
