:root{
  --brand-bg-start:#7c3aed; /* electric purple */
  --brand-bg-end:#00e5ff;   /* teal */
  --brand-text:#0b0b0c;
  --brand-muted:#6b7280;
  --brand-surface:rgba(255,255,255,0.72);
}

html{
  scroll-behavior: smooth;
}

html,body{
  font-family: "Inter", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

/* Unified page background with flowing gradients */
body{
  background: 
    radial-gradient(1000px 800px at 15% 10%, rgba(124,58,237,0.25), transparent 60%),
    radial-gradient(900px 700px at 85% 40%, rgba(0,229,255,0.18), transparent 60%),
    radial-gradient(800px 600px at 50% 80%, rgba(124,58,237,0.15), transparent 60%),
    linear-gradient(180deg, #0b0b0c 0%, #0f1220 30%, #111826 60%, #0d1320 100%);
  background-attachment: fixed;
  position: relative;
}

/* Animated ambient background layer */
body::before{
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(600px 700px at 20% 20%, rgba(124,58,237,0.15), transparent 60%),
    radial-gradient(700px 600px at 80% 60%, rgba(0,229,255,0.12), transparent 60%);
  animation: ambientFlow 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Subtle grain texture for depth */
body::after{
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

@keyframes ambientFlow{
  0%, 100%{ 
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  50%{ 
    opacity: 0.8;
    transform: translate(3%, -2%) scale(1.05);
  }
}

/* Ensure all content sits above background layers */
body > *{
  position: relative;
  z-index: 1;
}

/* Page load animation for hero content */
.hero .caption{
  animation: fadeInHero 0.8s ease forwards;
}
.hero header{
  animation: fadeInHero 0.6s ease forwards;
}

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

h1,h2,h3,.mean_title,.title{
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* Mobile-first utility container */
.container{ max-width:1140px; padding:0 20px; margin:0 auto; }

/* Simple grid utilities */
.alt-grid{ display:grid; gap:18px; }
.alt-grid-2{ grid-template-columns: 1fr; }
.alt-grid-3{ grid-template-columns: 1fr; }
@media (min-width: 40em){ /* ~640px */
  .alt-grid-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 64em){ /* ~1024px */
  .alt-grid-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* Cards replacing old .columns */
.alt-card{
  background: var(--brand-surface);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 28px 18px;
}

/* Hero section - transparent, relies on body background */
.hero{
  position: relative;
  background: transparent;
  min-height: 85vh;
  height: auto;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-10%;
  background: radial-gradient(600px 700px at 20% 0%, rgba(124,58,237,0.2), transparent 60%),
              radial-gradient(700px 600px at 80% 20%, rgba(0,229,255,0.18), transparent 60%);
  filter: blur(20px);
  animation: heroDrift 26s ease-in-out infinite;
  pointer-events:none;
  z-index: -1;
}

@keyframes heroDrift{
  0%, 100%{ 
    opacity: 1;
    transform: translate3d(0,0,0) scale(1); 
  }
  50%{ 
    opacity: 0.7;
    transform: translate3d(2%, -2%, 0) scale(1.04); 
  }
}

.hero .caption h1.mean_cap{
  text-transform:none;
  line-height:1.1;
}
.hero .caption h2.sub_cap{
  text-transform:none;
  font-size:28px;
  line-height:1.4;
}

/* Modern button */
.btn_fancy{
  color:#0b0b0c;
  background: linear-gradient(135deg, var(--brand-bg-start), var(--brand-bg-end));
  border-radius: 12px;
  padding:12px 20px;
  min-height: 40px;
  box-shadow: 0 8px 24px rgba(124,58,237,0.25), 0 2px 8px rgba(0,229,255,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn_fancy .border_layer,
.btn_fancy .solid_layer{ display:none; }
.btn_fancy .text_layer{ color:#ffffff; font-weight:700; letter-spacing:0.3px; line-height: 1.2; }

/* Services section - seamless with body background */
.services{
  background: transparent;
  position: relative;
  padding: 140px 0;
}
/* Subtle divider line only */
.services::before{
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), rgba(0,229,255,0.25), transparent);
  opacity: 0.6;
}
.services .services_list .alt-card{ 
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(124,58,237,0.2);
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.3), 
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 -1px 0 rgba(0,0,0,0.2) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.services .services_list .alt-card:nth-child(1){ animation-delay: 0.1s; }
.services .services_list .alt-card:nth-child(2){ animation-delay: 0.2s; }
.services .services_list .alt-card:nth-child(3){ animation-delay: 0.3s; }
.services .services_list .alt-card:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(0,229,255,0.4);
  box-shadow: 
    0 12px 48px rgba(124,58,237,0.3), 
    0 4px 16px rgba(0,229,255,0.2),
    0 1px 0 rgba(255,255,255,0.12) inset;
  transform: translateY(-6px);
}
.services .title{ 
  letter-spacing:0.6px; 
  color: #ffffff;
  font-weight: 700;
}
.services p{ 
  color: #ffffff;
  line-height: 1.7;
}

/* Ensure card descriptions are solid white (override older specific rule) */
.services .services_list p{
  color: #ffffff;
  opacity: 1;
}
.services .mean_title{
  color: #ffffff;
  font-weight: 700;
}
.services .sub_title{
  color: rgba(255,255,255,0.9);
  font-weight: 400;
}

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

/* Quote section - seamless integration with subtle glow */
.quote{
  background: transparent;
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 140px 0;
}
.quote::before{
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), rgba(0,229,255,0.25), transparent);
  opacity: 0.6;
}
.quote::after{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.15), rgba(0,229,255,0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
}
.quote blockquote{ 
  padding: 0;
  margin: 0;
  border: 0;
  position: relative;
  z-index: 1;
}
.quote blockquote p{ 
  text-transform:none; 
  font-size:28px;
  margin-bottom: 16px;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.4;
}
.quote .strong{
  background: linear-gradient(135deg, var(--brand-bg-start), var(--brand-bg-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.quote .author{ 
  color: rgba(255,255,255,0.9);
  display: block;
  font-size: 16px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}
.quote .quote-cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

/* CTA section - seamless with subtle accent glow */
.cta{
  position: relative;
  background: transparent;
  overflow: hidden;
  padding: 140px 0;
}
.cta::before{
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), rgba(0,229,255,0.25), transparent);
  opacity: 0.6;
}
.cta::after{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,229,255,0.1), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  filter: blur(50px);
}
.cta .title{
  color: #ffffff;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.cta .sub_title{
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

/* Back-to-top button restyle */
#back_top{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--brand-bg-start), var(--brand-bg-end));
  box-shadow: 0 10px 24px rgba(124,58,237,0.35), 0 4px 8px rgba(0,229,255,0.18);
}
#back_top .solid_layer,
#back_top .border_layer{ display: none; }
#back_top .text_layer{ display: flex; align-items: center; justify-content: center; color: #fff; }
#back_top svg{ width: 22px; height: 22px; }
#back_top:active{ transform: translateY(1px); }

/* Sentence case overrides */
.services .mean_title,
.services .title,
.cta .title{
  text-transform: none !important;
}
.services .sub_title,
.cta .sub_title{
  text-transform: none !important;
}

/* Unify hero CTA styling across sizes */
.hero .caption .btn_details{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--brand-bg-start), var(--brand-bg-end));
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(124,58,237,0.25), 0 2px 8px rgba(0,229,255,0.18);
}
.hero .caption .btn_details span{ border: none; color: #fff; font-weight: 700; letter-spacing: 0.3px; }
.hero .caption .btn_details svg{ width: 18px; height: 18px; color: #fff; }

/* Improved focus styles */
:focus-visible{ outline: 3px solid rgba(0,229,255,0.7); outline-offset: 2px; }

/* Touch-friendly tap targets */
a, button, .btn_fancy{
  -webkit-tap-highlight-color: rgba(124, 58, 237, 0.2);
  touch-action: manipulation;
}

/* Ensure minimum tap target size (48x48px) */
  .alt-nav-menu li a,
  .alt-nav-toggle{
  min-height: 44px;
  min-width: 44px;
}

/* Mobile optimizations for Gen Z */
@media only screen and (max-width: 40em){
  /* Hero section mobile */
  .hero{ 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column;
    padding-bottom: 32px;
  }
  .hero header{ flex-shrink: 0; }
  .hero .caption{ 
    margin-top: auto;
    margin-bottom: auto;
    padding: 32px 0;
  }
  .hero .caption h1.mean_cap{ 
    font-size: 36px; 
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
  }
  .hero .caption h2.sub_cap{ 
    font-size: 20px; 
    line-height: 1.5;
    margin-bottom: 32px;
    font-weight: 400;
  }
  .hero .caption .btn_details{
    display: inline-flex;
    align-items: center;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--brand-bg-start), var(--brand-bg-end));
    border-radius: 12px;
    text-decoration: none;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .hero .caption .btn_details:active{
    transform: scale(0.97);
  }
  .hero .caption .btn_details span{
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
  }
  
  /* Section spacing */
  .services, .cta, .quote{ 
    padding: 64px 0; 
  }
  
  /* Typography improvements */
  .services .mean_title, .cta .title{ 
    font-size: 28px; 
    line-height: 1.2;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 700;
  }
  .services .sub_title, .cta .sub_title{ 
    font-size: 18px; 
    line-height: 1.7;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
  }
  
  /* Card improvements for mobile */
  .alt-card{ 
    padding: 32px 24px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(124,58,237,0.2);
    box-shadow: 
      0 8px 32px rgba(0,0,0,0.3), 
      0 1px 0 rgba(255,255,255,0.08) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .alt-card:active{
    transform: scale(0.98);
    background: rgba(255,255,255,0.06);
    border-color: rgba(0,229,255,0.4);
    box-shadow: 
      0 4px 16px rgba(124,58,237,0.3),
      0 2px 8px rgba(0,229,255,0.2),
      0 1px 0 rgba(255,255,255,0.12) inset;
  }
  
  .services .services_list{ 
    margin-top: 48px; 
    gap: 20px;
  }
  .services .services_list .alt-card{ margin-bottom: 0; }
  .services .services_list .serv_icon{ 
    margin-bottom: 24px;
    max-width: 64px;
    max-height: 64px;
    filter: brightness(1.2) contrast(1.1);
  }
  .services .title{ 
    font-size: 18px; 
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    color: #ffffff;
    font-weight: 700;
  }
  .services p{ 
    font-size: 15px; 
    line-height: 1.7;
    color: #ffffff;
  }
  
  /* Button improvements */
  .btn_fancy{ 
    padding: 14px 24px; 
    font-size: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .btn_fancy:active{
    transform: scale(0.97);
  }
  .btn_fancy .text_layer{ 
    font-size: 16px; 
    letter-spacing: 0.4px;
  }
  .services .btn_fancy, .cta .btn_fancy{ 
    margin-top: 48px; 
  }
  
  /* Quote section mobile */
  .quote{ 
    padding: 64px 0;
    min-height: auto;
    display: flex;
    align-items: center;
  }
  .quote blockquote{ 
    width: 100%;
  }
  .quote blockquote p{ 
    font-size: 24px; 
    line-height: 1.3;
    margin-bottom: 16px;
  }
  .quote .author{ 
    font-size: 15px; 
    line-height: 1.6;
    max-width: 100%;
    margin: 16px auto 0;
    padding: 0 8px;
  }
  .quote .quote-cta-btn{
    margin-top: 32px;
    width: auto;
    min-width: 220px;
  }
  
  /* Container padding for mobile */
  .container{ 
    padding: 0 24px; 
  }
  
  /* Grid improvements */
  .alt-grid{ gap: 20px; }
  
  /* Footer mobile improvements */
  footer{ 
    padding: 48px 0 32px;
    background: transparent;
    margin-top: 60px;
  }
  footer .copyrights{ 
    margin-bottom: 32px;
    text-align: center;
  }
  footer .copyrights .logo h1{
    font-size: 22px;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 700;
  }
  footer .copyrights p{
    font-size: 14px;
    color: rgba(255,255,255,0.7);
  }
  footer .contact_details{
    text-align: center;
  }
  footer .contact{
    margin: 0 auto;
    width: 100%;
  }
  footer .contact p{
    font-size: 15px;
    color: rgba(255,255,255,0.85);
  }

  /* Avoid overlap of back-to-top with footer content */
  #back_top{
    bottom: 88px;
    right: 16px;
  }
}

/* Onboarding overlay */
.onboarding-overlay{ position:fixed; inset:0; background:rgba(9,9,11,0.55); backdrop-filter: blur(6px); display:none; align-items:center; justify-content:center; z-index:10000; }
.onboarding-overlay[aria-hidden="false"], .onboarding-overlay.active{ display:flex; }
.onboarding-modal{ width:100%; max-width:560px; background:#ffffff; border-radius:16px; box-shadow:0 30px 60px rgba(0,0,0,0.25); padding:20px 20px 16px; position:relative; color:#0b0b0c; }
.onboarding-close{ position:absolute; top:10px; right:10px; border:0; background:transparent; font-size:22px; cursor:pointer; color:#0b0b0c; }
.onboarding-progress{ width:100%; height:6px; background:#eef2ff; border-radius:999px; overflow:hidden; margin:4px 0 16px; }
.onboarding-progress-bar{ height:100%; width:0%; background:linear-gradient(135deg, var(--brand-bg-start), var(--brand-bg-end)); transition:width .25s ease; }
.onboarding-modal h2{ margin:6px 0 16px; font-size:22px; color:#0b0b0c; }
.onboarding-step{ display:none; }
.onboarding-step.active{ display:block; }
.onboarding-field{ margin-bottom:14px; }
.onboarding-field label{ display:block; font-weight:600; margin-bottom:6px; color:#0b0b0c; }
.onboarding-field p{ color:#4b5563; }
.onboarding-field input[type="text"], 
.onboarding-field input[type="email"], 
.onboarding-field select{ color:#0b0b0c; background:#ffffff; border:1px solid #d1d5db; border-radius:8px; padding:10px 12px; width:100%; box-sizing:border-box; max-width:100%; }
.onboarding-field input[type="checkbox"]{ accent-color: var(--brand-bg-start); }
.onboarding-field small{ color:#6b7280; }
.onboarding-helper{ color:#6b7280; font-size:14px; }
.onboarding-note{ color:#6b7280; }
.onboarding-actions{ display:flex; justify-content:space-between; margin-top:10px; }
.onboarding-actions .btn{ border:0; border-radius:10px; padding:12px 16px; cursor:pointer; font-weight:700; }
.onboarding-actions .btn.primary{ background:linear-gradient(135deg, var(--brand-bg-start), var(--brand-bg-end)); color:#ffffff; }
.onboarding-actions .btn.ghost{ background:#f3f4f6; color:#0b0b0c; }
.onboarding-error{ color:#b91c1c; font-size:13px; margin-top:4px; }
.onboarding-success{ text-align:center; padding:24px; font-weight:600; color:#0b0b0c; }

/* Custom nav replacing Foundation */
.alt-nav{ display:flex; align-items:center; justify-content:space-between; padding: 20px 0; margin-top: 0; position: relative; z-index: 20000; }
.alt-nav .logo h1{ color:#fff; font-size: 20px; margin: 0; }
.alt-nav-toggle{ display:inline-flex; align-items:center; justify-content:center; width: 48px; height: 48px; font-size:24px; background:rgba(255,255,255,0.1); border:0; color:#fff; cursor:pointer; border-radius: 12px; backdrop-filter: blur(10px); transition: all 0.3s ease; z-index: 20003; }
.alt-nav-toggle:hover{ background:rgba(255,255,255,0.2); transform: scale(1.05); }
.alt-nav-toggle:active{ transform: scale(0.95); }

/* Mobile menu overlay */
.alt-nav-menu{ list-style:none; margin:0; padding:0; display:none; gap:18px; }
.alt-nav-menu li{ margin: 0; }
.alt-nav-menu li a{ color:#fff; text-transform:none; font-weight:600; font-size:14px; letter-spacing:0.2px; text-decoration: none; transition: color 0.2s ease; }
.alt-nav-menu li a:hover{ color: var(--brand-bg-end); }

/* Mobile menu drawer */
@media (max-width: 47.99em){
  .alt-nav-menu{ 
    position: fixed; 
    top: 0; 
    right: -100%; 
    width: min(85vw, 360px); 
    height: 100vh; 
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
    backdrop-filter: blur(20px);
    padding: 80px 32px 32px;
    flex-direction: column;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    z-index: 20002; /* Above backdrop */
  }
  .alt-nav.open .alt-nav-menu{ 
    display: flex;
    right: 0;
  }
  .alt-nav-menu li{ 
    opacity: 0;
    transform: translateX(20px);
    animation: slideInMenuItem 0.4s ease forwards;
  }
  .alt-nav.open .alt-nav-menu li:nth-child(1){ animation-delay: 0.1s; }
  .alt-nav.open .alt-nav-menu li:nth-child(2){ animation-delay: 0.15s; }
  .alt-nav.open .alt-nav-menu li:nth-child(3){ animation-delay: 0.2s; }
  .alt-nav.open .alt-nav-menu li:nth-child(4){ animation-delay: 0.25s; }
  
  .alt-nav-menu li a{ 
    display: block;
    padding: 18px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  .alt-nav-menu li:last-child a{ border-bottom: none; }
  
  /* Animated hamburger icon */
  .alt-nav-toggle{ 
    position: relative; 
    z-index: 20003;
    color: transparent;
    font-size: 0;
  }
  .alt-nav-toggle::before,
  .alt-nav-toggle::after{ 
    content: ''; 
    position: absolute; 
    left: 50%;
    width: 20px; 
    height: 2px; 
    background: #fff; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    margin-left: -10px;
  }
  /* Middle line created with box-shadow */
  .alt-nav-toggle::before{ 
    top: 50%;
    margin-top: -1px;
    box-shadow: 0 -7px 0 0 #fff, 0 7px 0 0 #fff;
  }
  .alt-nav-toggle::after{ 
    display: none;
  }
  /* X animation */
  .alt-nav.open .alt-nav-toggle::before{ 
    box-shadow: none;
    transform: rotate(45deg);
  }
  .alt-nav.open .alt-nav-toggle::after{ 
    display: block;
    top: 50%;
    margin-top: -1px;
    transform: rotate(-45deg);
  }
  .alt-nav.open .alt-nav-toggle{ background: rgba(255, 255, 255, 0.2); }
  
  /* Mobile menu backdrop */
  .alt-nav-backdrop{ 
    position: fixed; 
    inset: 0; 
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(4px);
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s ease;
    z-index: 20001;
  }
  .alt-nav.open ~ .alt-nav-backdrop,
  .alt-nav-backdrop.active{ 
    opacity: 1; 
    pointer-events: auto; 
  }
}

@keyframes slideInMenuItem{
  to{ opacity: 1; transform: translateX(0); }
}

/* Tablet improvements */
@media (min-width: 40.063em) and (max-width: 64em){
  .hero .caption h1.mean_cap{ font-size: 48px; }
  .hero .caption h2.sub_cap{ font-size: 24px; }
  .services .mean_title, .cta .title{ 
    font-size: 36px;
    color: #ffffff;
    font-weight: 700;
  }
  .services .sub_title, .cta .sub_title{ 
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
  }
  .quote blockquote p{ 
    font-size: 32px;
    color: #ffffff;
  }
}

@media (min-width: 48em){
  .alt-nav-toggle{ display:none; }
  .alt-nav-menu{ display:flex; }
  .alt-nav-backdrop{ display: none; }
}

/* Footer - seamless integration */
footer{
  padding: 80px 0;
  background: transparent;
  position: relative;
  margin-top: 60px;
}
footer::before{
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), rgba(0,229,255,0.25), transparent);
  opacity: 0.6;
}
footer .copyrights .logo h1{
  color: #ffffff;
  font-weight: 700;
}
footer .copyrights p{
  color: rgba(255,255,255,0.7);
}
footer .social ul li a,
footer .contact p{
  color: rgba(255,255,255,0.85);
}
footer .social ul li a:hover{
  color: var(--brand-bg-end);
  transition: color 0.3s ease;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .services .services_list .alt-card{ opacity: 1; }
}


