/* ================================================
   WebApple — Shared Stylesheet
   Building Solutions. Empowering Digital.
   ================================================ */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap");

/* ---- CSS Variables — Exact Logo Colors ---- */
:root {
  --bg: #f8fafc;
  --bg2: #f1f5f9;
  --navy: #0f1540;
  --blue: #2563eb;
  --blue-mid: #3b82f6;
  --blue-dark: #1d4ed8;
  --sky: #0ea5e9;
  --cyan: #06b6d4;
  --blue-light: #60a5fa;
  --indigo: #4f46e5;
  --surface: #ffffff;
  --surface2: #f8fafc;
  --border: rgba(37, 99, 235, 0.15);
  --border2: rgba(0, 0, 0, 0.08);
  --glow-blue: rgba(37, 99, 235, 0.2);
  --glow-sky: rgba(14, 165, 233, 0.2);
  --text: #0f172a;
  --text-inverse: #ffffff;
  --muted: #475569;
  --nav-h: 72px;
  --radius: 14px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---- Canvas Particle Background ---- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Page Wrapper ---- */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1280px;
  height: auto;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 1.6rem;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255,255,255,0.6);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15), inset 0 1px 0 rgba(255,255,255,0.7);
}
.nav-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  color: var(--text);
  user-select: none;
  text-decoration: none;
}
.nav-logo .logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
  animation: pixelGlow 3s ease-in-out infinite;
  box-shadow: 0 0 14px rgba(0, 180, 255, 0.4);
}
.nav-logo .logo-text {
  display: flex;
  align-items: baseline;
  line-height: 1;
}
.nav-logo .logo-web {
  color: var(--navy);
  font-weight: 700;
}
.nav-logo .logo-apple {
  background: linear-gradient(90deg, var(--blue), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--muted);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.3rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--text-inverse);
  transition: var(--transition);
}
.nav-cta:hover {
  box-shadow: 0 0 20px rgba(26, 111, 255, 0.5);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
  backdrop-filter: blur(20px);
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--muted);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border2);
  transition: color var(--transition);
}
.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--cyan);
}

/* ================================================
   PAGE HERO BANNER (inner pages)
   ================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 5rem) 2rem 5rem;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 0%,
      rgba(26, 111, 255, 0.12) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 50% at 80% 100%,
      rgba(0, 200, 255, 0.08) 0%,
      transparent 70%
    );
  pointer-events: none;
}
.page-hero-badge {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 999px;
  padding: 0.35rem 1.2rem;
  margin-bottom: 1.2rem;
}
.page-hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--navy) 30%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.breadcrumb a {
  color: var(--cyan);
  transition: opacity 0.2s;
}
.breadcrumb a:hover {
  opacity: 0.7;
}

/* ================================================
   SECTION UTILITIES
   ================================================ */
.section {
  padding: 5rem 2rem;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
}
.section-label {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title span {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.text-center {
  text-align: center;
}
.text-center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
/* Shimmer ripple on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after {
  opacity: 1;
  animation: shimmer 0.6s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%);
  color: var(--text-inverse);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}
.btn-primary:hover {
  box-shadow:
    0 8px 36px rgba(37, 99, 235, 0.55),
    0 0 50px rgba(0, 180, 255, 0.2);
  transform: translateY(-3px);
}
.btn-outline {
  border: 1.5px solid rgba(37, 99, 235, 0.5);
  color: var(--blue-light);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--blue);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.25);
  transform: translateY(-3px);
}
.btn-ghost {
  color: var(--sky);
  border: 1.5px solid rgba(0, 180, 255, 0.4);
}
.btn-ghost:hover {
  background: rgba(0, 180, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.2);
  transform: translateY(-3px);
}

/* ================================================
   GLASS CARD
   ================================================ */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.glass-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(37, 99, 235, 0.12),
    0 0 40px rgba(37, 99, 235, 0.1),
    0 0 80px rgba(0, 180, 255, 0.05);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 5rem 2rem 2rem;
  position: relative;
  z-index: 1;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--blue),
    var(--cyan),
    var(--blue),
    transparent
  );
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: inline-flex;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.85;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1rem;
  transition: var(--transition);
  font-weight: 600;
}
.footer-social a:hover {
  border-color: var(--blue);
  color: var(--cyan);
  background: rgba(26, 111, 255, 0.1);
  box-shadow: 0 0 14px rgba(26, 111, 255, 0.2);
}
.footer-col h4 {
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.4rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-col ul li a {
  color: var(--muted);
  font-size: 0.93rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col ul li a:hover {
  color: var(--cyan);
}
.footer-col ul li a:hover::before {
  content: "→";
  font-size: 0.8rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.footer-contact-item .icon {
  color: var(--cyan);
  font-size: 1.1rem;
  margin-top: 1px;
  flex-shrink: 0;
}
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.86rem;
}
.footer-bottom span {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* ================================================
   ANIMATIONS — Logo Matched
   ================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(-12px) translateX(-50%);
  }
}
/* Logo W glow pulse — deep blue → sky */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(0, 180, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}
/* Logo pixel-dissolve flicker */
@keyframes pixelGlow {
  0%,
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(0, 180, 255, 0.6));
  }
  50% {
    opacity: 0.85;
    filter: drop-shadow(0 0 28px rgba(37, 99, 235, 0.9));
  }
}
/* Gradient text shift — matches W gradient left-to-right */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* Shimmer sweep */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
/* Neon border glow */
@keyframes borderGlow {
  0%,
  100% {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 0 0 rgba(37, 99, 235, 0);
  }
  50% {
    border-color: rgba(0, 180, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 180, 255, 0.2);
  }
}
/* Floating elements */
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
/* Spin */
@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}
/* Cursor blink */
@keyframes blink {
  50% {
    opacity: 0;
  }
}
/* Count up number shimmer */
@keyframes numberGlow {
  0%,
  100% {
    filter: none;
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(0, 180, 255, 0.7));
  }
}
/* Slide up for cards */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}
.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}
.delay-6 {
  animation-delay: 0.6s;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
/* Staggered reveal delays */
.reveal.delay-1 {
  transition-delay: 0.1s;
}
.reveal.delay-2 {
  transition-delay: 0.18s;
}
.reveal.delay-3 {
  transition-delay: 0.26s;
}
.reveal.delay-4 {
  transition-delay: 0.34s;
}

/* ================================================
   PAGE TRANSITION
   ================================================ */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.page-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ================================================
   BLUE DIVIDER
   ================================================ */
.blue-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 3px;
  margin: 0.8rem 0 1.5rem;
}
.text-center .blue-divider {
  margin-left: auto;
  margin-right: auto;
}

/* ================================================
   STAT CARDS
   ================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-card {
  padding: 2.2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.stat-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.stat-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--blue), var(--indigo));
}
.stat-card:nth-child(4)::before {
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
}

.stat-number {
  font-family: "Outfit", sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ================================================
   ICON BOX
   ================================================ */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.icon-blue {
  background: rgba(26, 111, 255, 0.12);
  color: var(--blue);
}
.icon-cyan {
  background: rgba(0, 200, 255, 0.12);
  color: var(--cyan);
}
.icon-indigo {
  background: rgba(91, 94, 244, 0.12);
  color: var(--indigo);
}
.icon-light {
  background: rgba(77, 159, 255, 0.12);
  color: var(--blue-light);
}

/* ================================================
   FORM ELEMENTS
   ================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.form-control {
  background: rgba(26, 111, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.88rem 1.1rem;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.97rem;
  font-weight: 400;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 111, 255, 0.12);
}
.form-control::placeholder {
  color: #3a4d6b;
}
.form-control option {
  background: #0a1020;
  color: var(--text);
}
textarea.form-control {
  resize: vertical;
  min-height: 140px;
}
.form-error {
  font-size: 0.8rem;
  color: #ff5c7a;
  display: none;
}
.form-error.show {
  display: block;
}
.form-control.invalid {
  border-color: #ff5c7a;
}

/* ================================================
   TAGS / CHIPS
   ================================================ */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 6px;
  border: 1px solid;
}
.tag-blue {
  color: var(--blue-light);
  border-color: rgba(26, 111, 255, 0.3);
  background: rgba(26, 111, 255, 0.08);
}
.tag-cyan {
  color: var(--cyan);
  border-color: rgba(0, 200, 255, 0.3);
  background: rgba(0, 200, 255, 0.07);
}
.tag-indigo {
  color: var(--indigo);
  border-color: rgba(91, 94, 244, 0.3);
  background: rgba(91, 94, 244, 0.08);
}
.tag-light {
  color: var(--text);
  border-color: rgba(77, 159, 255, 0.3);
  background: rgba(77, 159, 255, 0.07);
}

/* ================================================
   STARS
   ================================================ */
.stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
}

/* ================================================
   BADGE PILL
   ================================================ */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(
    135deg,
    rgba(26, 111, 255, 0.15),
    rgba(0, 200, 255, 0.1)
  );
  border: 1px solid rgba(0, 200, 255, 0.25);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ================================================
   GRADIENT TEXT
   ================================================ */
.grad-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================
   GRID OVERLAY
   ================================================ */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 111, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 111, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.88rem;
  }
}

/* ================================================
   SCROLLBAR
   ================================================ */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue), var(--cyan));
  border-radius: 10px;
}

/* ================================================
   SELECTION
   ================================================ */
::selection {
  background: rgba(26, 111, 255, 0.3);
  color: var(--text);
}

/* === INDEX.HTML STYLES === */
/* WHY DETAIL SECTION */
.why-detail-section {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.04) 0%,
    rgba(0, 180, 255, 0.03) 100%
  );
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.why-detail-container {
  max-width: 960px;
}

.why-detail-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
  max-width: 820px;
  margin: 1.2rem auto 2.5rem;
}

.why-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.why-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  border-right: 1px solid rgba(37, 99, 235, 0.1);
  transition: background 0.25s ease;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.65;
}

.why-detail-item:hover {
  background: rgba(37, 99, 235, 0.06);
}

/* Remove right border on even items (right column) */
.why-detail-item:nth-child(even) {
  border-right: none;
}

/* Remove bottom border on last two items */
.why-detail-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.why-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
  margin-top: 1px;
}

.why-detail-item strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .why-detail-grid {
    grid-template-columns: 1fr;
  }

  .why-detail-item:nth-child(even) {
    border-right: none;
  }

  .why-detail-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  }

  .why-detail-item:last-child {
    border-bottom: none;
  }
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 90% 70% at 50% -10%,
      rgba(37, 99, 235, 0.22) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 50% 40% at 90% 80%,
      rgba(0, 180, 255, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 50% at 10% 90%,
      rgba(26, 58, 159, 0.1) 0%,
      transparent 60%
    );
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 4rem 2rem;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  animation: fadeInUp 0.7s ease 0.1s both;
}

/* Logo W pixel-glow + float animation */
.hero-logo-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  animation: hero-logo-anim 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.6))
    drop-shadow(0 0 50px rgba(0, 180, 255, 0.3));
}

@keyframes hero-logo-anim {
  0% {
    transform: translateY(0);
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.6))
      drop-shadow(0 0 50px rgba(0, 180, 255, 0.3));
  }

  50% {
    transform: translateY(-14px);
    filter: drop-shadow(0 0 35px rgba(37, 99, 235, 0.9))
      drop-shadow(0 0 80px rgba(0, 180, 255, 0.5));
  }

  100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.6))
      drop-shadow(0 0 50px rgba(0, 180, 255, 0.3));
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(
    135deg,
    rgba(26, 111, 255, 0.15),
    rgba(0, 200, 255, 0.1)
  );
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 999px;
  padding: 0.4rem 1.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.6rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-badge span {
  color: var(--blue-light);
}

.hero-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  color: var(--text);
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-title .grad-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-typing-wrap {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1rem;
  animation: fadeInUp 0.7s ease 0.35s both;
  min-height: 2.5rem;
}

#typing-text {
  color: var(--cyan);
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--cyan);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 0.8s step-end infinite;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.5s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  animation: float 2.5s ease-in-out infinite;
  cursor: pointer;
  z-index: 2;
}

.hero-scroll svg {
  width: 30px;
  height: 30px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 2;
  filter: drop-shadow(0 0 8px var(--cyan));
}

/* SERVICES PREVIEW */
.services-preview {
  padding: 6rem 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3rem;
}

.service-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}

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

.service-num {
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--blue-light);
  opacity: 0.5;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 1rem 0 0.7rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 1.2rem;
  transition: gap 0.2s;
}

.service-card:hover .service-arrow {
  gap: 0.7rem;
}

/* WHY WEBAPPLE */
.why-section {
  padding: 5rem 2rem;
  background: rgba(26, 111, 255, 0.02);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 1rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition:
    transform var(--transition),
    border-color var(--transition);
}

.why-item:hover {
  transform: translateX(6px);
  border-color: rgba(26, 111, 255, 0.4);
}

.why-item h4 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.why-item p {
  color: var(--muted);
  font-size: 0.93rem;
}

.why-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-orb {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 111, 255, 0.2) 0%,
    rgba(0, 200, 255, 0.05) 60%,
    transparent 80%
  );
  border: 1px solid rgba(26, 111, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.why-orb-inner {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 111, 255, 0.3) 0%,
    rgba(0, 200, 255, 0.1) 70%
  );
  border: 2px solid rgba(0, 200, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: 0 0 60px rgba(26, 111, 255, 0.3);
  animation: pulse-ring 3s ease-in-out infinite;
}

.why-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 200, 255, 0.15);
  animation: spin-slow 20s linear infinite;
}

.why-orb-ring:nth-child(1) {
  width: 280px;
  height: 280px;
}

.why-orb-ring:nth-child(2) {
  width: 330px;
  height: 330px;
  animation-direction: reverse;
  animation-duration: 30s;
}

/* CTA STRIP */
.cta-strip-wrap {
  padding: 2rem 2rem 6rem;
}

.cta-strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(26, 111, 255, 0.1) 0%,
    rgba(0, 200, 255, 0.06) 100%
  );
  border: 1px solid rgba(26, 111, 255, 0.25);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 111, 255, 0.15) 0%,
    transparent 70%
  );
}

.cta-strip h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.cta-strip h2 span {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-strip p {
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .why-visual {
    display: none;
  }

  .cta-strip {
    flex-direction: column;
    text-align: center;
  }
}
