/* ============================================================
   Coderyx Landing Page — Custom Styles
   Dark tech theme: bg #0a0a0f, neon #00d4ff, purple #7c3aed
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background-color: #0a0a0f; color: #e2e8f0; overflow-x: hidden; }
[x-cloak] { display: none !important; }

/* ---- Hero background: pure CSS — no image, fully readable ---- */
/* Overrides the hero-section rule below */

/* ---- Custom scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb { background: #1e2030; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #00d4ff; }

/* ============================================================
   HERO SECTION — Pure CSS, no external image
   ============================================================ */
.hero-section {
  /* Rich deep-space base: dark indigo with purple+cyan colour zones */
  background:
    /* Vignette — pulls edges dark so text always readable */
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 35%, rgba(3,3,10,0.75) 100%),
    /* Left aurora — electric purple */
    radial-gradient(ellipse 75% 80% at -5% 55%,  rgba(124,58,237,0.55) 0%, transparent 58%),
    /* Right aurora — electric cyan */
    radial-gradient(ellipse 65% 70% at 105% 20%, rgba(0,212,255,0.45)  0%, transparent 58%),
    /* Bottom glow — adds depth */
    radial-gradient(ellipse 80% 60% at 50% 115%, rgba(0,212,255,0.22)  0%, transparent 55%),
    /* Top-left accent */
    radial-gradient(ellipse 50% 45% at 18% -15%, rgba(124,58,237,0.28) 0%, transparent 52%),
    /* Bottom-right accent */
    radial-gradient(ellipse 55% 50% at 88%  90%, rgba(124,58,237,0.18) 0%, transparent 52%),
    /* Deep dark base */
    linear-gradient(155deg, #030310 0%, #05051a 40%, #080820 100%);
}

/* ---- Aurora pulse layer (opacity + scale only = GPU-accelerated) ---- */
.hero-section::before {
  content: '';
  position: absolute;
  inset: -10%;          /* slightly oversized so scaling doesn't show edges */
  background:
    radial-gradient(ellipse 60% 55% at 12% 58%, rgba(124,58,237,0.40) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 88% 32%, rgba(0,212,255,0.35)  0%, transparent 60%);
  filter: blur(40px);   /* soft bloom */
  animation: aurora-breathe 7s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes aurora-breathe {
  0%   { opacity: 0.45; transform: scale(1)    rotate(-1deg); }
  100% { opacity: 1;    transform: scale(1.12) rotate(1deg);  }
}

/* ---- Scanning neon line — cybersecurity / tech scanner vibe ---- */
.hero-section::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,212,255,0.0) 10%,
    rgba(0,212,255,0.6) 35%,
    rgba(124,58,237,0.6) 65%,
    rgba(0,212,255,0.0) 90%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(0,212,255,0.4), 0 0 24px rgba(0,212,255,0.15);
  animation: hero-scan 9s cubic-bezier(0.4,0,0.6,1) infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes hero-scan {
  0%   { top: 2%;   opacity: 0;   }
  4%   { opacity: 1;              }
  94%  { opacity: 0.7;            }
  100% { top: 98%;  opacity: 0;   }
}

/* ---- Dot-matrix overlay (replaces line grid — more premium feel) ---- */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,212,255,0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: grid-drift 30s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes grid-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 42px 42px; }
}

/* Floating colour orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.15;
  pointer-events: none;
  animation: orb-float 9s ease-in-out infinite;
}
.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -120px; right: -100px;
}
.orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
  bottom: 0; left: -80px;
  animation-delay: -4.5s;
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-32px) scale(1.06); }
}

/* ============================================================
   GRADIENT TEXT
   ============================================================ */
.gradient-text {
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   NAVBAR
   ============================================================ */
nav { transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease; }
nav.scrolled {
  background: rgba(10, 10, 15, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #1e2030;
}
.nav-link {
  color: #8892a4;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #00d4ff, #7c3aed);
  transition: width 0.25s ease;
  border-radius: 1px;
}
.nav-link:hover { color: #e2e8f0; }
.nav-link:hover::after { width: 100%; }

/* ============================================================
   LABEL TAG (section eyebrow)
   ============================================================ */
.label-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00d4ff;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.22);
  padding: 0.28rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

/* Section headings */
.section-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.875rem;
}
.section-sub {
  color: #8892a4;
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  color: #fff;
  font-weight: 600;
  border-radius: 0.6rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(0,212,255,0.22);
  border: none; cursor: pointer;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 0 36px rgba(0,212,255,0.38); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #2a2d45;
  color: #c8d0db;
  font-weight: 600;
  border-radius: 0.6rem;
  background: transparent;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.04); border-color: #00d4ff; transform: translateY(-2px); }

.btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  border-radius: 0.6rem;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 28px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { background: #1ebe58; transform: translateY(-2px); box-shadow: 0 0 40px rgba(37,211,102,0.45); }

.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 0.55rem 1rem;
  color: #8892a4;
  border-radius: 0.5rem;
  font-weight: 500;
  background: transparent; border: none; cursor: pointer;
  transition: color 0.2s, background 0.2s;
  font-size: 0.9rem;
}
.btn-ghost:hover { color: #e2e8f0; background: rgba(255,255,255,0.05); }

/* Package-specific CTA buttons */
.btn-package {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid #2a2d45;
  color: #c8d0db;
  font-weight: 600;
  border-radius: 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  text-decoration: none;
}
.btn-package:hover { background: rgba(0,212,255,0.08); border-color: #00d4ff; color: #00d4ff; transform: translateY(-1px); }
.btn-package.popular { background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%); border: none; color: #fff; box-shadow: 0 0 20px rgba(0,212,255,0.25); }
.btn-package.popular:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 0 32px rgba(0,212,255,0.4); }
.btn-package.amber { background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.3); color: #fbbf24; }
.btn-package.amber:hover { background: rgba(251,191,36,0.15); border-color: #fbbf24; transform: translateY(-1px); }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.service-card {
  background: #1a1a2e;
  border: 1px solid #1e2030;
  border-radius: 1.1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.45); border-color: rgba(0,212,255,0.25); }
.service-card.purple:hover { border-color: rgba(124,58,237,0.35); }
.service-card.soc { border-color: rgba(251,146,60,0.15); }
.service-card.soc:hover { border-color: rgba(251,146,60,0.4); box-shadow: 0 20px 50px rgba(251,146,60,0.08); }

.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.service-icon-wrap.neon   { background: rgba(0,212,255,0.1);   color: #00d4ff; }
.service-icon-wrap.purple { background: rgba(124,58,237,0.12); color: #a78bfa; }
.service-icon-wrap.amber  { background: rgba(251,146,60,0.1);  color: #fb923c; }

.service-bullets {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.service-bullets li { font-size: 0.875rem; color: #c8d0db; }

.service-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 600;
  color: #00d4ff;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s;
}
.service-link:hover { gap: 0.7rem; }
.service-link.purple { color: #a78bfa; }
.service-link.amber  { color: #fb923c; }

/* ============================================================
   WHY CODERYX SECTION
   ============================================================ */
.trust-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid #1e2030;
  border-radius: 1rem;
  padding: 1.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.trust-card:hover { transform: translateY(-5px); border-color: rgba(0,212,255,0.2); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }

.trust-icon {
  width: 52px; height: 52px;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.trust-icon.neon   { background: rgba(0,212,255,0.1);   color: #00d4ff; }
.trust-icon.yellow { background: rgba(250,204,21,0.1);  color: #facc15; }
.trust-icon.purple { background: rgba(124,58,237,0.12); color: #a78bfa; }
.trust-icon.amber  { background: rgba(251,191,36,0.1);  color: #fbbf24; }

/* ============================================================
   PACKAGES SECTION
   ============================================================ */
.package-card {
  background: #1a1a2e;
  border: 1px solid #1e2030;
  border-radius: 1.1rem;
  padding: 1.75rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.package-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(0,0,0,0.4); }
.package-card.popular {
  border-color: #00d4ff;
  box-shadow: 0 0 35px rgba(0,212,255,0.12);
}
.package-card.popular:hover { box-shadow: 0 0 50px rgba(0,212,255,0.22); }
.package-card.best-value {
  border-color: rgba(251,191,36,0.4);
}
.package-card.best-value:hover { border-color: #fbbf24; box-shadow: 0 18px 45px rgba(251,191,36,0.08); }

.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #00d4ff, #7c3aed);
  color: #fff;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.best-value-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.package-category {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #8892a4;
}
.package-category.neon   { color: #00d4ff; }
.package-category.purple { color: #a78bfa; }
.package-category.amber  { color: #fbbf24; }

.package-price {
  display: flex; align-items: baseline; gap: 0.35rem;
  margin-top: 0.6rem; margin-bottom: 0.5rem;
}

.package-features {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.package-features li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.86rem; color: #c8d0db;
}
.package-features li .fa-check {
  color: #00d4ff; font-size: 0.75rem;
  background: rgba(0,212,255,0.1);
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; flex-shrink: 0;
}
.package-card.best-value .package-features li .fa-check {
  color: #fbbf24;
  background: rgba(251,191,36,0.1);
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonial-card {
  background: rgba(255,255,255,0.018);
  border: 1px solid #1e2030;
  border-radius: 1.1rem;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-5px); border-color: rgba(124,58,237,0.35); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-heading {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c8d0db;
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a, .footer-links li { color: #8892a4; font-size: 0.875rem; text-decoration: none; transition: color 0.2s; cursor: pointer; }
.footer-links a:hover, .footer-links li:hover { color: #00d4ff; }

.social-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #1e2030;
  border-radius: 0.5rem;
  color: #8892a4;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.social-icon:hover { color: #00d4ff; border-color: #00d4ff; background: rgba(0,212,255,0.06); }
.social-icon.green:hover { color: #25d366; border-color: #25d366; background: rgba(37,211,102,0.06); }

/* ============================================================
   MODAL / FORM
   ============================================================ */
.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  color: #c8d0db;
  margin-bottom: 0.45rem;
}
.required { color: #f87171; }

.form-input {
  width: 100%;
  background: #0d0d14;
  border: 1px solid #1e2030;
  border-radius: 0.55rem;
  padding: 0.65rem 0.9rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.form-input:focus { border-color: #00d4ff; box-shadow: 0 0 0 3px rgba(0,212,255,0.1); }
.form-input::placeholder { color: #3a4055; }
.form-input option { background: #12121a; }
select.form-input { cursor: pointer; }

.form-group { margin-bottom: 1.15rem; }

/* Radio pill options */
.radio-option {
  display: inline-flex; align-items: center;
  padding: 0.6rem 1.1rem;
  border: 1px solid #1e2030;
  border-radius: 0.55rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #8892a4;
  background: transparent;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  user-select: none;
}
.radio-option.active {
  border-color: #00d4ff;
  background: rgba(0,212,255,0.08);
  color: #00d4ff;
}
.radio-option:hover:not(.active) { border-color: #2a2d45; background: rgba(255,255,255,0.03); color: #c8d0db; }

/* ============================================================
   UTILITIES
   ============================================================ */
/* Divider line */
.divider { height: 1px; background: linear-gradient(90deg, transparent, #1e2030, transparent); }

/* Glow pulse animation for stats numbers */
@keyframes count-glow {
  0%, 100% { text-shadow: 0 0 8px rgba(0,212,255,0.4); }
  50%       { text-shadow: 0 0 22px rgba(0,212,255,0.8); }
}
.stat-number { animation: count-glow 3s ease-in-out infinite; }

/* Responsive hero text */
@media (max-width: 640px) {
  .section-heading { font-size: 1.65rem; }
  /* hero uses pure CSS background — no attachment fix needed */
}

/* Modal scroll on small screens */
@media (max-height: 700px) {
  .modal-box { max-height: 95vh; }
}

/* ============================================================
   PARTICLES (JS-generated floating dots in hero)
   ============================================================ */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particle-rise linear infinite;
  z-index: 1;
}
@keyframes particle-rise {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 0.6; }
  100% { transform: translateY(-110vh) translateX(20px) scale(0.2); opacity: 0; }
}

/* ============================================================
   TYPEWRITER CURSOR
   ============================================================ */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.82em;
  background: #00d4ff;
  margin-left: 4px;
  vertical-align: middle;
  border-radius: 2px;
  animation: cursor-blink 0.72s step-end infinite;
  box-shadow: 0 0 8px rgba(0,212,255,0.8);
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ============================================================
   TESTIMONIAL CAROUSEL
   ============================================================ */
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}
.testimonial-track:active { cursor: grabbing; }
.testimonial-track::-webkit-scrollbar { display: none; }

.tcard {
  flex-shrink: 0;
  width: 320px;
  scroll-snap-align: start;
}
@media (min-width: 640px) { .tcard { width: 380px; } }

/* Carousel nav buttons */
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid #1e2030;
  display: flex; align-items: center; justify-content: center;
  color: #8892a4;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.carousel-btn:hover {
  background: rgba(0,212,255,0.1);
  border-color: #00d4ff;
  color: #00d4ff;
  transform: scale(1.08);
}

/* ============================================================
   WHAT WE BUILD — MINI CARDS
   ============================================================ */
.build-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid #1e2030;
  border-radius: 0.8rem;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.build-card:hover {
  border-color: rgba(0,212,255,0.35);
  background: rgba(0,212,255,0.04);
  transform: translateY(-3px);
}
.build-card.soc-card:hover {
  border-color: rgba(251,146,60,0.4);
  background: rgba(251,146,60,0.04);
}
.build-icon {
  width: 36px; height: 36px;
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.build-icon.neon   { background: rgba(0,212,255,0.1);   color: #00d4ff; }
.build-icon.amber  { background: rgba(251,146,60,0.1);  color: #fb923c; }

/* ============================================================
   PACKAGE CARD SHIMMER ON HOVER
   ============================================================ */
/* NOTE: overflow must stay visible so the .popular-badge / .best-value-badge
   (position:absolute; top:-13px) are not clipped at the card top edge.
   The shimmer ::after uses a near-transparent gradient so it's invisible
   outside the card even without a hard clip. */
.package-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.package-card:hover::after { left: 130%; }

/* ============================================================
   ANIMATED GRADIENT BORDER on popular card
   ============================================================ */
@keyframes border-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,212,255,0.15); }
  50%       { box-shadow: 0 0 40px rgba(0,212,255,0.35), 0 0 60px rgba(124,58,237,0.15); }
}
.package-card.popular {
  animation: border-glow 3s ease-in-out infinite;
}

/* ============================================================
   TRUST CARD — icon float animation
   ============================================================ */
.trust-card:hover .trust-icon {
  animation: icon-float 1.6s ease-in-out infinite;
}
@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* ============================================================
   SERVICE CARD — icon float
   ============================================================ */
.service-card:hover .service-icon-wrap {
  animation: icon-float 1.6s ease-in-out infinite;
}

/* ============================================================
   HERO HEADLINE GLOW
   ============================================================ */
@keyframes headline-pulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(0,212,255,0.0)); }
  50%       { filter: drop-shadow(0 0 20px rgba(0,212,255,0.3)); }
}
.gradient-text {
  animation: headline-pulse 4s ease-in-out infinite;
}

/* ============================================================
   CUSTOM PRICING CARD
   ============================================================ */
.custom-pricing-card {
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(0,212,255,0.3);
  border-radius: 1.1rem;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s, background 0.3s;
}
.custom-pricing-card:hover {
  border-color: rgba(0,212,255,0.6);
  background: rgba(0,212,255,0.03);
}

/* ============================================================
   NEON LOGO PULSE
   ============================================================ */
@keyframes logo-neon {
  0%, 100% { text-shadow: 0 0 8px rgba(0,212,255,0.4); }
  50%       { text-shadow: 0 0 20px rgba(0,212,255,0.9), 0 0 40px rgba(0,212,255,0.4); }
}
nav .text-brand-neon { animation: logo-neon 3s ease-in-out infinite; }

/* ============================================================
   SECTION DIVIDER GRADIENT LINE
   ============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #1e2030 30%, rgba(0,212,255,0.3) 50%, #1e2030 70%, transparent 100%);
  margin: 0;
}

/* ============================================================
   SOC OPERATIONS SECTION HEADING UNDERLINE
   ============================================================ */
.subsection-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #1e2030;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ============================================================
   SMOOTH FADE-IN for AOS override on mobile
   ============================================================ */
@media (max-width: 640px) {
  [data-aos] { transition-duration: 500ms !important; }
  .section-heading { font-size: 1.65rem; }
  /* hero uses pure CSS background — no attachment fix needed */

  /* ---- Typewriter shake fix ----
     Prevent the longest phrase ("Found By Everyone.") from wrapping
     at text-5xl (3rem) on narrow viewports, which causes the hero to
     reflow and visually "shake" the page.
     Strategy: scale font to viewport width so the line always fits
     in a single line regardless of phrase length. white-space:nowrap
     stops the wrap; font-size via clamp keeps it readable.          */
  .typewriter-line {
    white-space: nowrap;
    font-size: clamp(1.55rem, 7.8vw, 3rem) !important;
    overflow: hidden;
    display: block;
  }

  /* Lock the hero text block to full viewport width so internal
     width changes from typing never shift the container.           */
  .hero-section .text-center {
    width: 100%;
  }
}
@media (max-height: 700px) {
  .modal-box { max-height: 95vh; }
}

/* ============================================================
   MOBILE HORIZONTAL SCROLL — applies to Services, Why Us,
   Packages, and What-We-Build grids on small screens
   ============================================================ */
@media (max-width: 767px) {
  /* Standard card scroll (services, why-us, packages) */
  .mobile-hscroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 14px;
    padding-left: 2px;
    gap: 1rem !important;
    cursor: grab;
    align-items: stretch !important;
  }
  .mobile-hscroll:active { cursor: grabbing; }
  .mobile-hscroll::-webkit-scrollbar { display: none; }
  .mobile-hscroll > * {
    flex-shrink: 0 !important;
    width: 82vw;
    max-width: 310px;
    scroll-snap-align: start;
  }

  /* Mini-card scroll (what-we-build cards) */
  .mobile-hscroll-sm {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 10px;
    padding-left: 2px;
    gap: 0.6rem !important;
    cursor: grab;
    align-items: stretch !important;
  }
  .mobile-hscroll-sm:active { cursor: grabbing; }
  .mobile-hscroll-sm::-webkit-scrollbar { display: none; }
  .mobile-hscroll-sm > * {
    flex-shrink: 0 !important;
    width: 66vw;
    max-width: 230px;
    scroll-snap-align: start;
  }
}

/* ============================================================
   PROMO COUNTDOWN BANNER
   ============================================================ */
.promo-bar {
  background: linear-gradient(135deg, rgba(124,58,237,0.14) 0%, rgba(0,212,255,0.10) 100%);
  border: 1px solid rgba(0,212,255,0.22);
  border-radius: 0.85rem;
  padding: 1rem 1.4rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}
.promo-countdown-display {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #00d4ff;
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px rgba(0,212,255,0.55);
  display: inline-block;
  min-width: 7ch;
  font-variant-numeric: tabular-nums;
}

/* Price slash */
.price-original {
  font-size: 1rem;
  color: #8892a4;
  text-decoration: line-through;
  text-decoration-color: rgba(248,113,113,0.55);
  margin-right: 0.25rem;
  font-weight: 600;
}
.promo-off-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.16rem 0.45rem;
  border-radius: 9999px;
  vertical-align: middle;
  margin-left: 0.3rem;
  box-shadow: 0 0 10px rgba(239,68,68,0.35);
}

/* ============================================================
   QUOTE CALLOUT BANNER
   ============================================================ */
.quote-callout {
  background: linear-gradient(135deg, rgba(124,58,237,0.07) 0%, rgba(0,212,255,0.05) 100%);
  border-left: 3px solid #00d4ff;
  border-radius: 0 0.85rem 0.85rem 0;
  padding: 1.6rem 2rem 1.6rem 2.2rem;
  position: relative;
  overflow: hidden;
}
.quote-callout::before {
  content: '\201C';
  position: absolute;
  top: -1rem;
  left: 0.75rem;
  font-size: 5.5rem;
  color: rgba(0,212,255,0.10);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
