/* ============================================================
   MANKIND MEDILAB — DESIGN SYSTEM
   Futuristic diagnostic-HUD aesthetic.
   Tokens are derived from the brand's own blue/cyan identity.
   ============================================================ */

:root{
  /* ---- colour tokens ---- */
  --bg:            #ffffff;
  --bg-elev:       #f8f9fa;
  --panel:         #f1f3f4;
  --panel-2:       #e8eaed;
  --line:          rgba(56,196,240,0.25);
  --line-strong:   rgba(56,196,240,0.45);
  --primary:       #22c3f2;   /* bright scan-blue, from the lab photo wash   */
  --primary-deep:  #0a72b0;   /* deep diagnostic blue, from the footer bar   */
  --accent:        #21e6ad;   /* leaf/health teal, from the logo mark        */
  --white:         #1a1a1a;
  --muted:         rgba(26,26,26,0.7);
  --muted-2:       rgba(26,26,26,0.5);
  --danger:        #ef2a3e;
  --icon-black:    #2c2c2c;   /* premium black for icons */
  --skeleton-bg:   #f0f0f0;
  --skeleton-shimmer: #e8e8e8;

  --radius:        2px;
  --ease:          cubic-bezier(.16,.8,.24,1);
}

/* ============================================================
   LOGO SHOWCASE (Who We Are section) - No Box Design
   ============================================================ */
.logo-showcase {
  position: relative;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition: all 0.4s ease;
}

.logo-display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.company-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(34, 195, 242, 0.3));
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 3;
  position: relative;
  animation: logoDropDown 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both, logoBreathing 4s ease-in-out 1.7s infinite;
}

.logo-showcase:hover .company-logo {
  transform: scale(1.15);
  filter: drop-shadow(0 16px 40px rgba(34, 195, 242, 0.4));
  animation-play-state: paused;
  animation: logoEnlarge 0.8s ease-out forwards;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(34, 195, 242, 0.15) 0%,
    rgba(33, 230, 173, 0.1) 40%,
    transparent 70%
  );
  animation: logoGlowPulse 3s ease-in-out infinite;
  z-index: 1;
}

.logo-showcase:hover .logo-glow {
  animation: logoGlowExpand 0.8s ease-out forwards;
}

/* Floating particles around logo */
.logo-showcase::before,
.logo-showcase::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: floatParticles 6s ease-in-out infinite;
}

.logo-showcase::before {
  top: 20%;
  right: 15%;
  animation-delay: 0s;
}

.logo-showcase::after {
  bottom: 25%;
  left: 20%;
  animation-delay: 3s;
}

/* Additional animated elements */
.logo-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

.logo-ring {
  position: absolute;
  border: 1px solid rgba(34, 195, 242, 0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo-ring:nth-child(1) {
  width: 240px;
  height: 240px;
  animation: rotateRing 20s linear infinite;
  border-style: dashed;
}

.logo-ring:nth-child(2) {
  width: 280px;
  height: 280px;
  animation: rotateRing 25s linear infinite reverse;
  border-style: dotted;
  opacity: 0.5;
}

.logo-ring:nth-child(3) {
  width: 320px;
  height: 320px;
  animation: rotateRing 30s linear infinite;
  border-color: rgba(33, 230, 173, 0.15);
}

/* Keyframe animations */
@keyframes logoDropDown {
  0% {
    transform: translateY(-100px) scale(0.8);
    opacity: 0;
    filter: drop-shadow(0 0 0 rgba(34, 195, 242, 0));
  }
  60% {
    transform: translateY(10px) scale(1.05);
    opacity: 0.9;
    filter: drop-shadow(0 8px 24px rgba(34, 195, 242, 0.2));
  }
  80% {
    transform: translateY(-5px) scale(1.02);
    opacity: 1;
    filter: drop-shadow(0 12px 32px rgba(34, 195, 242, 0.4));
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: drop-shadow(0 8px 24px rgba(34, 195, 242, 0.3));
  }
}

@keyframes logoBreathing {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 8px 24px rgba(34, 195, 242, 0.3));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 32px rgba(34, 195, 242, 0.4));
  }
}

@keyframes logoEnlarge {
  0% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1.15);
  }
}

@keyframes logoGlowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes logoGlowExpand {
  0% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.8;
  }
}

@keyframes floatParticles {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-10px) rotate(90deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-5px) rotate(180deg);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-15px) rotate(270deg);
    opacity: 1;
  }
}

@keyframes rotateRing {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Hover state enhancements */
.logo-showcase:hover .logo-ring:nth-child(1) {
  animation-duration: 8s;
  border-color: rgba(34, 195, 242, 0.4);
}

.logo-showcase:hover .logo-ring:nth-child(2) {
  animation-duration: 10s;
  border-color: rgba(33, 230, 173, 0.3);
  opacity: 0.8;
}

.logo-showcase:hover .logo-ring:nth-child(3) {
  animation-duration: 12s;
  border-color: rgba(34, 195, 242, 0.3);
}

/* Mobile optimizations */
@media (max-width: 767px) {
  .company-logo {
    width: 140px;
    height: 140px;
    animation-duration: 5s;
  }
  
  .logo-showcase:hover .company-logo {
    transform: scale(1.1);
  }
  
  .logo-glow {
    width: 180px;
    height: 180px;
  }
  
  .logo-ring:nth-child(1) {
    width: 200px;
    height: 200px;
  }
  
  .logo-ring:nth-child(2) {
    width: 230px;
    height: 230px;
  }
  
  .logo-ring:nth-child(3) {
    width: 260px;
    height: 260px;
  }
  
  .logo-showcase::before,
  .logo-showcase::after {
    display: none; /* Hide floating particles on mobile */
  }
}

/* ============================================================
   PAGE SCROLL ANIMATIONS
   ============================================================ */
   
/* Animation base classes */
.animate-on-scroll {
  opacity: 1; /* Default to visible */
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Only hide elements that specifically need animation */
.animate-on-scroll.animate-hide {
  opacity: 0;
}

.animate-on-scroll.animated {
  opacity: 1;
}

/* Fade animations - only applied when specifically needed */
.fade-in-up.animate-hide {
  transform: translateY(30px);
}

.fade-in-up.animated {
  transform: translateY(0);
}

.fade-in-down.animate-hide {
  transform: translateY(-30px);
}

.fade-in-down.animated {
  transform: translateY(0);
}

.fade-in-left.animate-hide {
  transform: translateX(-30px);
}

.fade-in-left.animated {
  transform: translateX(0);
}

.fade-in-right.animate-hide {
  transform: translateX(30px);
}

.fade-in-right.animated {
  transform: translateX(0);
}

/* Scale animations - only applied when specifically needed */
.scale-in.animate-hide {
  transform: scale(0.9);
}

.scale-in.animated {
  transform: scale(1);
}

.scale-in-bounce.animate-hide {
  transform: scale(0.8);
}

.scale-in-bounce.animated {
  transform: scale(1);
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Slide animations - only applied when specifically needed */
.slide-in-up.animate-hide {
  transform: translateY(50px);
  opacity: 0;
}

.slide-in-up.animated {
  transform: translateY(0);
  opacity: 1;
}

.slide-in-scale.animate-hide {
  transform: translateY(40px) scale(0.95);
}

.slide-in-scale.animated {
  transform: translateY(0) scale(1);
}

/* Stagger animation delays */
.animate-delay-100 { transition-delay: 0.1s; }
.animate-delay-200 { transition-delay: 0.2s; }
.animate-delay-300 { transition-delay: 0.3s; }
.animate-delay-400 { transition-delay: 0.4s; }
.animate-delay-500 { transition-delay: 0.5s; }

/* Special hover animations for cards */
.card-hover-lift {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(34, 195, 242, 0.15);
}

/* Floating animation for special elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Pulse glow animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(34, 195, 242, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(34, 195, 242, 0.6);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Scroll-triggered animations for specific sections - make visible by default */
.hero-stats .stat-num {
  opacity: 1; /* Make visible by default */
  transform: translateY(0) scale(1); /* Normal state */
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Only hide when specifically marked for animation */
.hero-stats.animate-hide .stat-num {
  opacity: 0;
  transform: translateY(20px) scale(0.8);
}

.hero-stats.animated .stat-num {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-stats .stat-num:nth-child(1) { transition-delay: 0.1s; }
.hero-stats .stat-num:nth-child(2) { transition-delay: 0.2s; }
.hero-stats .stat-num:nth-child(3) { transition-delay: 0.3s; }

/* Steps animation - make visible by default */
.steps .step {
  opacity: 1; /* Make visible by default */
  transform: translateX(0); /* Normal state */
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.steps.animate-hide .step {
  opacity: 0;
  transform: translateX(-40px);
}

.steps.animated .step {
  opacity: 1;
  transform: translateX(0);
}

.steps .step:nth-child(1) { transition-delay: 0.1s; }
.steps .step:nth-child(2) { transition-delay: 0.2s; }
.steps .step:nth-child(3) { transition-delay: 0.3s; }
.steps .step:nth-child(4) { transition-delay: 0.4s; }

/* Grid cards stagger animation - make visible by default */
.grid .card {
  opacity: 1; /* Make visible by default */
  transform: translateY(0) scale(1); /* Normal state */
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.grid.animate-hide .card {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.grid.animated .card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.grid .card:nth-child(1) { transition-delay: 0.1s; }
.grid .card:nth-child(2) { transition-delay: 0.2s; }
.grid .card:nth-child(3) { transition-delay: 0.3s; }
.grid .card:nth-child(4) { transition-delay: 0.4s; }
.grid .card:nth-child(5) { transition-delay: 0.5s; }
.grid .card:nth-child(6) { transition-delay: 0.6s; }

/* Review cards animation - make visible by default */
.reviews-grid .review-card {
  opacity: 1; /* Make visible by default */
  transform: translateY(0) rotateX(0deg); /* Normal state */
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reviews-grid.animate-hide .review-card {
  opacity: 0;
  transform: translateY(40px) rotateX(10deg);
}

.reviews-grid.animated .review-card {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.reviews-grid .review-card:nth-child(1) { transition-delay: 0.1s; }
.reviews-grid .review-card:nth-child(2) { transition-delay: 0.2s; }
.reviews-grid .review-card:nth-child(3) { transition-delay: 0.3s; }

/* Enhanced reveal classes (maintain existing reveal functionality) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.fade-left {
  transform: translateX(-40px);
}

.reveal.fade-right {
  transform: translateX(40px);
}

.reveal.fade-left.in,
.reveal.fade-right.in {
  transform: translateX(0);
}

.reveal.scale-in {
  transform: scale(0.9);
}

.reveal.scale-in.in {
  transform: scale(1);
}

/* Mobile animation adjustments */
@media (max-width: 767px) {
  .animate-on-scroll {
    transition-duration: 0.6s;
  }
  
  .fade-in-up,
  .fade-in-down {
    transform: translateY(20px);
  }
  
  .fade-in-left,
  .fade-in-right {
    transform: translateX(20px);
  }
  
  .slide-in-up {
    transform: translateY(30px);
  }
  
  .slide-in-scale {
    transform: translateY(25px) scale(0.96);
  }
}

/* ============================================================
   HEADER & FOOTER LOGO ANIMATIONS
   ============================================================ */

/* Heartbeat animation for header and footer logos */
@keyframes heartbeat {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 2px 4px rgba(34, 195, 242, 0.2));
  }
  14% {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(34, 195, 242, 0.3));
  }
  28% {
    transform: scale(1);
    filter: drop-shadow(0 2px 4px rgba(34, 195, 242, 0.2));
  }
  42% {
    transform: scale(1.08);
    filter: drop-shadow(0 6px 12px rgba(34, 195, 242, 0.4));
  }
  70% {
    transform: scale(1);
    filter: drop-shadow(0 2px 4px rgba(34, 195, 242, 0.2));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 2px 4px rgba(34, 195, 242, 0.2));
  }
}

/* Medical pulse animation - alternative */
@keyframes medicalPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 195, 242, 0.4);
    filter: drop-shadow(0 2px 4px rgba(34, 195, 242, 0.2));
  }
  25% {
    transform: scale(1.03);
    box-shadow: 0 0 0 4px rgba(34, 195, 242, 0.2);
    filter: drop-shadow(0 4px 8px rgba(34, 195, 242, 0.3));
  }
  50% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 195, 242, 0.1);
    filter: drop-shadow(0 2px 4px rgba(34, 195, 242, 0.2));
  }
  75% {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px rgba(34, 195, 242, 0.15);
    filter: drop-shadow(0 6px 12px rgba(34, 195, 242, 0.4));
  }
}

/* Apply animations to header logos */
.nav .brand-mark,
.brand .brand-mark {
  animation: heartbeat 2.5s ease-in-out infinite;
  transition: all 0.3s ease;
  border-radius: 4px; /* Slight radius for shadow effect */
}

/* Hover state for header logos */
.nav .brand:hover .brand-mark,
.brand:hover .brand-mark {
  animation: medicalPulse 1.8s ease-in-out infinite;
  transform: scale(1.02);
}

/* Apply animations to footer logos */
footer .brand-mark {
  animation: medicalPulse 3s ease-in-out infinite;
  transition: all 0.3s ease;
  border-radius: 4px;
}

/* Footer logo hover effect */
footer .brand:hover .brand-mark {
  animation: heartbeat 2s ease-in-out infinite;
  transform: scale(1.05);
}

/* Logo container styles for better animation effect */
.brand {
  position: relative;
  transition: all 0.3s ease;
}

.brand-mark {
  display: block;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

/* Enhanced glow effect for medical theme */
.nav .brand-mark::before,
footer .brand-mark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(34, 195, 242, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 50%;
  z-index: -1;
}

.nav .brand:hover .brand-mark::before,
footer .brand:hover .brand-mark::before {
  opacity: 1;
  animation: pulseGlow 1.5s ease-in-out infinite;
}

/* Specialized animations for different logo positions */

/* Header logo - more subtle heartbeat */
.nav .brand-mark {
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
}

/* Footer logo - stronger pulse effect */
footer .brand-mark {
  animation-duration: 2.8s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Mobile optimizations for logo animations */
@media (max-width: 767px) {
  .nav .brand-mark,
  footer .brand-mark {
    animation-duration: 4s; /* Slower on mobile */
  }
  
  .nav .brand-mark::before,
  footer .brand-mark::before {
    display: none; /* Remove glow effects on mobile for performance */
  }
  
  /* Reduce animation intensity on mobile */
  @keyframes heartbeat {
    0% {
      transform: scale(1);
      filter: drop-shadow(0 2px 4px rgba(34, 195, 242, 0.2));
    }
    14% {
      transform: scale(1.02);
      filter: drop-shadow(0 3px 6px rgba(34, 195, 242, 0.25));
    }
    28% {
      transform: scale(1);
      filter: drop-shadow(0 2px 4px rgba(34, 195, 242, 0.2));
    }
    42% {
      transform: scale(1.03);
      filter: drop-shadow(0 4px 8px rgba(34, 195, 242, 0.3));
    }
    70% {
      transform: scale(1);
      filter: drop-shadow(0 2px 4px rgba(34, 195, 242, 0.2));
    }
    100% {
      transform: scale(1);
      filter: drop-shadow(0 2px 4px rgba(34, 195, 242, 0.2));
    }
  }
}

/* Pause animation when user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nav .brand-mark,
  footer .brand-mark,
  .brand .brand-mark {
    animation: none;
  }
  
  .nav .brand-mark::before,
  footer .brand-mark::before {
    display: none;
  }
}

/* ============================================================
   SPECIAL LOGO ANIMATIONS FOR SPECIFIC PAGES
   ============================================================ */

/* Login page central logo - enhanced heartbeat */
.auth-hero .brand-mark {
  animation: heartbeat 2s ease-in-out infinite;
  transform-origin: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 8px;
  padding: 4px;
}

/* Enhanced login logo hover effect */
.auth-hero .brand-mark:hover {
  animation: medicalPulse 1.5s ease-in-out infinite;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(34, 195, 242, 0.3);
}

/* Dashboard logo - stronger pulse for active user session */
.dashboard-nav .brand-mark {
  animation: medicalPulse 2.2s ease-in-out infinite;
}

.dashboard-nav .brand:hover .brand-mark {
  animation: heartbeat 1.8s ease-in-out infinite;
  transform: scale(1.08);
}

/* ============================================================
   GOOGLE REVIEWS SECTION
   ============================================================ */
.reviews-container {
  background: var(--panel);
  padding: 40px;
  border-radius: var(--radius);
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.google-logo {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars svg {
  width: 16px;
  height: 16px;
}

.rating-text {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.review-card {
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 195, 242, 0.1);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
}

.reviewer-name {
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}

.review-stars {
  display: flex;
  gap: 1px;
}

.review-stars svg {
  width: 14px;
  height: 14px;
}

.review-date {
  font-size: 12px;
  color: var(--muted-2);
}

.review-text {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

.reviews-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

@media (max-width: 767px) {
  .reviews-container {
    padding: 24px;
  }
  
  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .review-card {
    padding: 20px;
  }
}

/* ============================================================
   FOOTER STYLES
   ============================================================ */
.foot-links {
  display: flex;
  gap: 16px;
}

.foot-links a {
  font-size: 12px;
  color: var(--muted-2);
  text-decoration: none;
  transition: color 0.3s ease;
}

.foot-links a:hover {
  color: var(--primary);
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 20px;
  z-index: 999998;
  display: none;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
  display: block;
  animation: slideUpBanner 0.4s ease-out;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  flex: 1;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--primary);
  color: #04141d;
  border-color: var(--primary);
}

.cookie-btn-accept:hover {
  filter: brightness(1.1);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}

.cookie-btn-decline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@keyframes slideUpBanner {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    max-width: 120px;
  }
}

/* ============================================================
   DASHBOARD STYLES
   ============================================================ */
.dashboard-main {
  padding-top: 84px;
  min-height: 100vh;
  background: var(--bg-elev);
}

.dashboard-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.user-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px;
  background: var(--panel);
  border-radius: 12px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.user-avatar svg {
  width: 32px;
  height: 32px;
}

.user-name {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 4px 0;
}

.user-id {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.quick-actions {
  display: flex;
  gap: 12px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.stat-card {
  padding: 24px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(34, 195, 242, 0.1);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(34, 195, 242, 0.1), rgba(33, 230, 173, 0.1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-black);
  border: 1px solid rgba(34, 195, 242, 0.2);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dashboard-section {
  margin-bottom: 48px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.test-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.test-result-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.test-result-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(34, 195, 242, 0.1);
}

.test-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.test-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 8px 0;
}

.test-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-date {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.test-status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-complete {
  background: rgba(26, 26, 26, 0.1);
  color: var(--icon-black);
  border: 1px solid rgba(26, 26, 26, 0.2);
}

.status-pending {
  background: rgba(26, 26, 26, 0.1);
  color: var(--icon-black);
  border: 1px solid rgba(26, 26, 26, 0.2);
}

.test-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s ease;
  cursor: pointer;
}

.action-btn:hover:not(.disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(34, 195, 242, 0.05);
}

.action-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.action-btn svg {
  width: 18px;
  height: 18px;
}

.test-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

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

.summary-item .label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.summary-item .value {
  font-size: 13px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
}

.value.normal {
  background: rgba(26, 26, 26, 0.1);
  color: var(--icon-black);
}

.value.elevated {
  background: rgba(26, 26, 26, 0.1);
  color: var(--icon-black);
}

.processing-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--panel);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
}

.processing-message svg {
  width: 20px;
  height: 20px;
  color: var(--icon-black);
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.action-card {
  background: var(--bg);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(34, 195, 242, 0.1);
}

.action-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(34, 195, 242, 0.1), rgba(33, 230, 173, 0.1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--icon-black);
  border: 1px solid rgba(34, 195, 242, 0.2);
}

.action-icon svg {
  width: 24px;
  height: 24px;
}

.action-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 8px 0;
}

.action-description {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Consultation Modal */
.consultation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.consultation-modal.active {
  display: flex;
}

.tech-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--panel);
  border-radius: 8px;
  margin-bottom: 24px;
}

.tech-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.tech-avatar svg {
  width: 28px;
  height: 28px;
}

.tech-details h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 4px 0;
}

.tech-details p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px 0;
}

.availability {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-indicator.online {
  background: var(--icon-black);
  box-shadow: 0 0 0 2px rgba(44, 44, 44, 0.2);
}

.consultation-form {
  padding: 0;
}

@media (max-width: 767px) {
  .dashboard-header {
    padding: 20px 0;
  }
  
  .user-welcome {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 24px;
  }
  
  .user-info {
    flex-direction: column;
    text-align: center;
  }
  
  .quick-actions {
    width: 100%;
    justify-content: center;
  }
  
  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .test-results-grid,
  .quick-actions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .test-header {
    flex-direction: column;
    gap: 12px;
  }
  
  .test-actions {
    align-self: flex-end;
  }
  
  .section-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ============================================================
   BOOKING MODAL
   ============================================================ */
.booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.booking-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--bg);
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--line);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modal-slide-in 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
}

.modal-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
}

.modal-close {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s ease;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--panel);
  color: var(--white);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.booking-form {
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-elev);
  color: var(--white);
  font-size: 14px;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 195, 242, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.form-actions .btn {
  min-width: 120px;
}

@keyframes modal-slide-in {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 767px) {
  .modal-content {
    margin: 0;
    border-radius: 0;
    max-height: 100vh;
  }
  
  .modal-header,
  .booking-form {
    padding: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-actions {
    flex-direction: column-reverse;
  }
  
  .form-actions .btn {
    width: 100%;
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   BENTO GRID LAYOUT (Mission/Vision/Objectives)
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  padding: 32px;
  background: var(--panel);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.bento-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: bento-fade-in 0.6s ease-out;
}

.bento-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(34, 195, 242, 0.15);
}

.mission-card:hover { border-color: #22c3f2; box-shadow: 0 12px 40px rgba(34, 195, 242, 0.15); }
.vision-card:hover { border-color: #21e6ad; box-shadow: 0 12px 40px rgba(33, 230, 173, 0.15); }
.objectives-card:hover { border-color: #22c3f2; box-shadow: 0 12px 40px rgba(34, 195, 242, 0.15); }
.stats-card:hover { border-color: #21e6ad; box-shadow: 0 12px 40px rgba(33, 230, 173, 0.15); }

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 195, 242, 0.1), rgba(33, 230, 173, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(34, 195, 242, 0.2);
  transition: all 0.3s ease;
}

.mission-card .bento-icon { color: var(--icon-black); }
.vision-card .bento-icon { color: var(--icon-black); }
.objectives-card .bento-icon { color: var(--icon-black); }

.bento-card:hover .bento-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(34, 195, 242, 0.2), rgba(33, 230, 173, 0.2));
}

.bento-icon svg {
  width: 24px;
  height: 24px;
}

.bento-content {
  position: relative;
  z-index: 2;
}

.bento-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.bento-description {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.objectives-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.objective-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.objective-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-item {
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  background: rgba(34, 195, 242, 0.05);
  border: 1px solid rgba(34, 195, 242, 0.1);
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bento-decoration {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.03;
  top: -20px;
  right: -20px;
  pointer-events: none;
}

.mission-decoration { background: radial-gradient(circle, #22c3f2, transparent); }
.vision-decoration { background: radial-gradient(circle, #21e6ad, transparent); }
.objectives-decoration { background: radial-gradient(circle, #22c3f2, transparent); }
.stats-decoration { background: radial-gradient(circle, #21e6ad, transparent); }

@keyframes bento-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Values Bento Grid */
.values-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  padding: 32px;
  background: var(--panel);
  border-radius: 12px;
}

.value-card {
  background: var(--bg);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(34, 195, 242, 0.1);
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34, 195, 242, 0.1), rgba(33, 230, 173, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--icon-black);
  border: 1px solid rgba(34, 195, 242, 0.2);
}

.value-icon svg {
  width: 20px;
  height: 20px;
}

.value-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.value-description {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Story Bento Card */
.story-bento-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  transition: all 0.3s ease;
}

.story-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(34, 195, 242, 0.15);
}

.story-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.story-bento-card:hover .story-photo {
  transform: scale(1.05);
}

.story-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(34,195,242,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.story-bento-card:hover .story-overlay {
  opacity: 1;
}

.story-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid rgba(34, 195, 242, 0.2);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.story-bento-card:hover .story-badge {
  transform: translateY(0);
  opacity: 1;
}

.story-badge svg {
  width: 14px;
  height: 14px;
}

.story-glow {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(34, 195, 242, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.story-bento-card:hover .story-glow {
  opacity: 1;
}

@media (max-width: 767px) {
  .bento-grid, .values-bento {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .bento-card, .value-card {
    padding: 20px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ============================================================
   STORY IMAGE (About page)
   ============================================================ */
.story-image {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.3s ease;
}

.story-image:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(34, 195, 242, 0.1);
}

.story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.story-image:hover .story-photo {
  transform: scale(1.02);
}

/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */
.image-placeholder {
  position: relative;
  background: var(--panel);
  border: 2px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.image-placeholder:hover {
  border-color: var(--primary);
  background: rgba(34, 195, 242, 0.02);
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25a0d3;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 20px rgba(37, 211, 102, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
  background: #25a0d3;
  transform: scale(1.05);
  box-shadow: 
    0 6px 25px rgba(37, 211, 102, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 
      0 4px 20px rgba(37, 211, 102, 0.4),
      0 2px 8px rgba(0, 0, 0, 0.15),
      0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 
      0 4px 20px rgba(37, 211, 102, 0.4),
      0 2px 8px rgba(0, 0, 0, 0.15),
      0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 
      0 4px 20px rgba(37, 211, 102, 0.4),
      0 2px 8px rgba(0, 0, 0, 0.15),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 767px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-btn {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }
}
.loading-skeleton {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 999999;
  overflow: hidden;
}

.skeleton-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  height: 84px;
  border-bottom: 1px solid var(--line);
}

.skeleton-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--skeleton-bg);
  margin-right: 14px;
  flex-shrink: 0;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-logo-text {
  width: 180px;
  height: 32px;
  background: var(--skeleton-bg);
  border-radius: var(--radius);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-nav-items {
  display: flex;
  gap: 40px;
}

.skeleton-nav-item {
  width: 60px;
  height: 16px;
  background: var(--skeleton-bg);
  border-radius: var(--radius);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-buttons {
  display: flex;
  gap: 18px;
}

.skeleton-btn {
  width: 120px;
  height: 44px;
  background: var(--skeleton-bg);
  border-radius: var(--radius);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-btn-primary {
  background: linear-gradient(90deg, var(--skeleton-bg), var(--skeleton-shimmer), var(--skeleton-bg));
}

.skeleton-hero-fullscreen {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--skeleton-bg), var(--skeleton-shimmer));
  position: relative;
}

.skeleton-hero-content {
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.skeleton-hero-card {
  max-width: 650px;
  background: rgba(255, 255, 255, 0.95);
  padding: 60px 50px;
  border-radius: 8px;
  border: 1px solid rgba(240, 240, 240, 0.3);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skeleton-hero-visual-overlay {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(240, 240, 240, 0.3);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 120px 40px 80px;
}

.skeleton-hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skeleton-kicker {
  width: 280px;
  height: 14px;
  background: var(--skeleton-bg);
  border-radius: var(--radius);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-title {
  width: 100%;
  height: 56px;
  background: var(--skeleton-bg);
  border-radius: var(--radius);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-title-short {
  width: 70%;
}

.skeleton-text {
  width: 100%;
  height: 16px;
  background: var(--skeleton-bg);
  border-radius: var(--radius);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-text-short {
  width: 60%;
}

.skeleton-buttons-hero {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.skeleton-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.skeleton-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-stat-num {
  width: 60px;
  height: 28px;
  background: var(--skeleton-bg);
  border-radius: var(--radius);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-stat-label {
  width: 80px;
  height: 12px;
  background: var(--skeleton-bg);
  border-radius: var(--radius);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-hero-visual {
  aspect-ratio: 1/1;
  background: var(--skeleton-bg);
  border-radius: var(--radius);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.skeleton-card {
  background: var(--bg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skeleton-icon {
  width: 46px;
  height: 46px;
  background: var(--skeleton-bg);
  border-radius: var(--radius);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-card-title {
  width: 80%;
  height: 20px;
  background: var(--skeleton-bg);
  border-radius: var(--radius);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-card-text {
  width: 100%;
  height: 14px;
  background: var(--skeleton-bg);
  border-radius: var(--radius);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-card-text:last-child {
  width: 75%;
}

@keyframes skeleton-shimmer {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

/* Hide skeleton when page is loaded */
body.loaded .loading-skeleton {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-out;
}

/* Responsive skeleton */
@media (max-width: 1023px) {
  .skeleton-hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
  }
  
  .skeleton-hero-card {
    padding: 50px 40px;
    max-width: none;
  }
  
  .skeleton-hero-visual-overlay {
    right: 5%;
    width: 250px;
    height: 250px;
  }
  
  .skeleton-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .skeleton-nav,
  .skeleton-hero-content,
  .skeleton-cards {
    padding-left: 22px;
    padding-right: 22px;
  }
  
  .skeleton-nav {
    height: 72px;
  }
  
  .skeleton-hero-fullscreen {
    min-height: 500px;
  }
  
  .skeleton-hero-card {
    padding: 40px 30px;
    margin-top: 20px;
  }
  
  .skeleton-hero-visual-overlay {
    display: none;
  }
  
  .skeleton-nav-items,
  .skeleton-buttons .skeleton-btn:first-child {
    display: none;
  }
  
  .skeleton-cards {
    grid-template-columns: 1fr;
  }
  
  .skeleton-stats {
    gap: 26px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .skeleton-stats .skeleton-stat {
    flex: 1;
    min-width: 100px;
    text-align: center;
  }
}

*,*::before,*::after{ box-sizing:border-box; }
html{ 
  scroll-behavior:smooth; 
  scroll-padding-top: 100px;
}

/* ============================================================
   SMOOTH SCROLL ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Enhanced reveal animations */
.reveal{
  opacity:0; 
  transform:translateY(40px); 
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.in{ 
  opacity:1; 
  transform:none; 
  animation: fadeInUp 0.8s ease-out;
}

.reveal.fade-left {
  transform: translateX(-40px);
}

.reveal.fade-left.in {
  animation: fadeInLeft 0.8s ease-out;
}

.reveal.fade-right {
  transform: translateX(40px);
}

.reveal.fade-right.in {
  animation: fadeInRight 0.8s ease-out;
}

.reveal.scale-in {
  transform: scale(0.9) translateY(30px);
}

.reveal.scale-in.in {
  animation: slideInScale 0.8s ease-out;
}

/* Staggered animations for cards */
.card.reveal {
  animation-delay: var(--delay, 0s);
}

.card:nth-child(1).reveal.in { animation-delay: 0.1s; }
.card:nth-child(2).reveal.in { animation-delay: 0.2s; }
.card:nth-child(3).reveal.in { animation-delay: 0.3s; }
.card:nth-child(4).reveal.in { animation-delay: 0.4s; }

/* Hero content animation */
.hero-content-inner.reveal.in {
  animation: slideInScale 1s ease-out;
}

/* Navigation smooth hover animations */
.nav-links a {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:hover {
  transform: translateY(-2px);
}

body{
  margin:0;
  background:var(--bg);
  color:var(--white);
  font-family:'Poppins', 'Manrope', sans-serif;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,textarea,select{ font-family:inherit; }

/* ---- skip link ---- */
.skip-link{
  position:fixed; top:-60px; left:12px; z-index:100;
  background:var(--primary); color:#04141d; padding:10px 16px;
  font-size:12px; font-weight:500; letter-spacing:.06em; transition:top .25s var(--ease);
}
.skip-link:focus{ top:12px; }

/* ---- focus ring : accessibility floor ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible{
  outline:2px solid var(--white);
  outline-offset:2px;
  border-radius:1px;
}

/* ---- background scan-grid : ambient signature texture ---- */
.scan-field{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:64px 64px;
  opacity:.35;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}

.wrap{
  position:relative; z-index:1;
  width: 100%;
  margin:0 auto;
  padding:0 40px;
}

/* ---- kicker ---- */
.kicker{
  display:flex; align-items:center; gap:12px;
  font-size:12px; font-weight:400; text-transform:uppercase;
  letter-spacing:.24em; color:var(--muted); opacity:.85;
}
.kicker::before{
  content:''; width:22px; height:1px; background:var(--primary);
}

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:50;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  width: 100%; margin:0 auto; padding:0 40px;
  height:84px; display:flex; align-items:center; justify-content:space-between;
}
.brand{ display:flex; align-items:center; gap:14px; }
.brand-mark{ 
  width:34px; 
  height:34px; 
  flex:none; 
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px;
  transition: all 0.3s ease;
}

.brand:hover .brand-mark {
  background: rgba(34, 195, 242, 0.1);
  transform: scale(1.05);
}
.brand-text{
  display:flex; flex-direction:column; line-height:1;
}
.brand-word{
  font-size:19px; font-weight:200; text-transform:uppercase; letter-spacing:.22em;
  color:var(--white);
}

.brand-word .medilab {
  color: #dc2626;
  font-weight: 600;
}
.brand-sub{
  margin-top:5px; font-size:9px; font-weight:400; letter-spacing:.16em;
  text-transform:uppercase; color:black; opacity:.9;
}

.nav-links{ display:flex; align-items:center; gap:40px; }
.nav-links a{
  font-size:12px; font-weight:500; letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted); position:relative; padding:6px 0;
  transition:color .3s var(--ease);
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:0; height:1px; width:0;
  background:var(--primary); transition:width .35s var(--ease);
}
.nav-links a:hover,.nav-links a[aria-current="page"]{ color:var(--white); }
.nav-links a:hover::after,.nav-links a[aria-current="page"]::after{ width:100%; }

.nav-cta{ display:flex; align-items:center; gap:18px; }

.nav-toggle{
  display:none; background:none; border:1px solid var(--line-strong); border-radius:1px;
  width:42px; height:42px; align-items:center; justify-content:center; color:var(--white);
}
.nav-toggle svg{ width:18px; height:18px; }
.nav-toggle .i-close{ display:none; }
.nav-toggle[aria-expanded="true"] .i-menu{ display:none; }
.nav-toggle[aria-expanded="true"] .i-close{ display:block; }

.mobile-panel{
  display:none;
  position:fixed; inset:84px 0 0 0; z-index:49;
  background:var(--bg-elev); border-top:1px solid var(--line);
  padding:28px 28px 40px;
  overflow-y:auto;
}
.mobile-panel.open{ display:block; }
.mobile-panel a{
  display:block; padding:16px 4px; font-size:15px; font-weight:400;
  text-transform:uppercase; letter-spacing:.08em; color:var(--muted);
  border-bottom:1px solid var(--line);
}
.mobile-panel a[aria-current="page"]{ color:var(--primary); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 26px; font-size:12px; font-weight:500;
  text-transform:uppercase; letter-spacing:.12em;
  border-radius:var(--radius); border:1px solid transparent;
  transition:all .3s var(--ease); white-space:nowrap;
}
.btn svg{ width:16px; height:16px; }

.btn-primary{
  background:linear-gradient(120deg,var(--primary),var(--primary-deep));
  color:#04141d; border-color:transparent;
  box-shadow:0 0 0 1px rgba(34,195,242,.25), 0 12px 30px -10px rgba(34,195,242,.55);
}
.btn-primary:hover{ filter:brightness(1.08); transform:translateY(-1px); }

.btn-ghost{
  background:transparent; color:var(--white); border-color:var(--line-strong);
}
.btn-ghost:hover{ border-color:var(--primary); color:var(--primary); }

.btn-block{ width:100%; justify-content:center; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
main{ position:relative; z-index:1; padding-top:84px; }

.section{
  position:relative;
  width: 100%; margin:0 auto; padding:96px 40px;
  border-bottom:1px solid var(--line);
}
.section.tight{ padding-top:64px; padding-bottom:64px; }
.section.no-border{ border-bottom:none; }

.eyebrow{
  font-size:12px; font-weight:400; text-transform:uppercase; letter-spacing:.24em;
  color:var(--primary); margin-bottom:18px; display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:''; width:22px; height:1px; background:var(--primary); }

.h1{
  font-size:56px; font-weight:300; line-height:1.05; letter-spacing:-.01em;
  color:var(--white); margin:0 0 22px;
}
.h1 em{ font-style:normal; color:var(--primary); font-weight:500; }

.h1 .health-text { 
  color: #b91c1c; 
  font-weight: 500; 
  font-style: normal; 
}

.h2{
  font-size:34px; font-weight:300; letter-spacing:-.005em; line-height:1.15;
  color:var(--white); margin:0 0 18px;
}
.h3{
  font-size:20px; font-weight:500; line-height:1.3; color:var(--white); margin:0 0 10px;
}
.lead{
  font-size:15px; font-weight:300; line-height:1.75; color:var(--muted); max-width:560px;
}
.body-sm{ font-size:13px; font-weight:300; line-height:1.7; color:var(--muted); }

/* reveal-on-scroll */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

@media (prefers-reduced-motion:reduce){
  .reveal{ transition:opacity .2s linear; transform:none; }
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.2s !important; }
}

/* ============================================================
   HUD CORNER BRACKETS — the signature motif
   Every key panel is framed like a scanner viewfinder.
   ============================================================ */
.hud{ position:relative; }
.hud::before,.hud::after,
.hud .hud-tr,.hud .hud-bl{
  content:''; position:absolute; width:18px; height:18px;
  border:1.4px solid var(--primary); opacity:.85;
}
.hud::before{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.hud::after{ bottom:-1px; right:-1px; border-left:none; border-top:none; }
.hud .hud-tr{ top:-1px; right:-1px; border-left:none; border-bottom:none; }
.hud .hud-bl{ bottom:-1px; left:-1px; border-right:none; border-top:none; }

/* ============================================================
   HERO - FULL SCREEN
   ============================================================ */
.hero-fullscreen {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.75) 40%,
    rgba(34, 195, 242, 0.1) 70%,
    rgba(33, 230, 173, 0.05) 100%
  );
  backdrop-filter: blur(1px);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-content-inner {
  max-width: 650px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 60px 50px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero-content-inner .h1 {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content-inner .lead {
  color: var(--muted);
}

.hero-content-inner .kicker {
  color: var(--primary);
  font-weight: 500;
}

.hero-visual-overlay {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  z-index: 2;
  width: 300px;
  height: 300px;
}

.hero-visual-overlay .scan-ring {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-overlay .scan-ring svg {
  width: 80%;
  height: 80%;
}

.logo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(34, 195, 242, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 20px rgba(34, 195, 242, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  z-index: 10;
}

.logo-center:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 
    0 6px 25px rgba(34, 195, 242, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(34, 195, 242, 0.5);
}

.center-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: filter 0.3s ease;
}

.logo-center:hover .center-logo {
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

.hero-visual-overlay .core-dot {
  display: none; /* Hide the original dot since we now have the logo */
}

/* Responsive logo sizing */
@media (max-width: 1023px) {
  .logo-center {
    width: 60px;
    height: 60px;
  }
  
  .center-logo {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 767px) {
  .logo-center {
    width: 50px;
    height: 50px;
  }
  
  .center-logo {
    width: 35px;
    height: 35px;
  }
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.stat-num {
  font-size: 26px;
  font-weight: 600;
  color: var(--primary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-label {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Legacy hero styles - keep for other pages */
.hero{
  position:relative; padding-top:120px; padding-bottom:80px;
  display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center;
}
.hero-stats{
  display:flex; gap:40px; margin-top:44px; padding-top:32px; border-top:1px solid var(--line);
}
.stat-num{ font-size:26px; font-weight:500; color:var(--primary); }
.stat-label{ margin-top:6px; font-size:10px; font-weight:400; letter-spacing:.14em; text-transform:uppercase; color:var(--muted-2); }

.hero-actions{ display:flex; gap:16px; margin-top:36px; flex-wrap:wrap; }

.hero-visual{
  position:relative; aspect-ratio:1/1; border:1px solid var(--line);
  background:radial-gradient(circle at 50% 50%, rgba(34,195,242,.10), transparent 65%), var(--panel);
  display:flex; align-items:center; justify-content:center;
}
.scan-ring{ position:relative; width:64%; height:64%; }
.scan-ring svg{ width:100%; height:100%; }
.scan-ring .ring{ transform-origin:center; animation:spin 18s linear infinite; }
.scan-ring .ring-rev{ transform-origin:center; animation:spin 24s linear infinite reverse; }
.scan-sweep{
  position:absolute; inset:0; border-radius:50%;
  background:conic-gradient(from 0deg, rgba(34,195,242,0) 0deg, rgba(34,195,242,.5) 18deg, rgba(34,195,242,0) 40deg);
  animation:spin 3.6s linear infinite;
  mask-image:radial-gradient(circle, transparent 55%, #000 56%, #000 100%);
}
@keyframes spin{ to{ transform:rotate(360deg); } }

.hero-visual .core-dot{ width:8px; height:8px; border-radius:50%; background:var(--accent); position:absolute; box-shadow:0 0 18px 4px rgba(33,230,173,.6); }

/* ============================================================
   CARD GRID
   ============================================================ */
.grid{ display:grid; gap:2px; background:var(--line); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }

.card{
  background:var(--panel); padding:34px 30px; position:relative;
  transition:background .35s var(--ease);
}
.card:hover{ background:var(--panel-2); }

.icon-box{
  width:46px; height:46px; border:1px solid var(--line-strong);
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
  color:var(--icon-black);
}
.icon-box svg{ width:24px; height:24px; }

.card .chip{
  position:absolute; top:22px; right:24px;
  font-size:9px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted-2);
}

/* ============================================================
   PANEL / SPLIT LAYOUTS
   ============================================================ */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split.rev{ direction:rtl; } .split.rev > *{ direction:ltr; }

.info-panel{
  border:1px solid var(--line); background:var(--panel); padding:36px;
}
.info-panel + .info-panel{ margin-top:2px; }

.list-check{ display:flex; flex-direction:column; gap:16px; margin-top:22px; }
.list-check li{ display:flex; gap:14px; align-items:flex-start; font-size:13px; font-weight:300; color:var(--muted); line-height:1.6; }
.list-check svg{ width:16px; height:16px; color:var(--accent); flex:none; margin-top:2px; }

/* ============================================================
   STEP / PROCESS
   ============================================================ */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:2px; background:var(--line); margin-top:8px; }
.step{ background:var(--panel); padding:30px 26px 34px; position:relative; }
.step-index{ font-size:12px; color:var(--primary); font-weight:500; letter-spacing:.08em; margin-bottom:18px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band{
  position:relative; padding:64px 48px; border:1px solid var(--line-strong);
  background:linear-gradient(120deg, rgba(34,195,242,.10), rgba(33,230,173,.05));
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
}

/* ============================================================
   FORMS
   ============================================================ */
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.field label{ font-size:11px; font-weight:500; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.field input, .field textarea, .field select{
  background:var(--panel); border:1px solid var(--line-strong); color:var(--white);
  padding:14px 16px; font-size:13px; font-weight:300; border-radius:1px;
  transition:border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color:var(--primary); background:var(--bg); outline:none;
}
.field textarea{ resize:vertical; min-height:120px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field-hint{ font-size:11px; color:var(--muted-2); font-weight:300; }
.form-note{ font-size:11px; color:var(--muted-2); font-weight:300; margin-top:14px; line-height:1.6; }

.form-status{
  display:none; margin-top:18px; padding:14px 16px; font-size:12px; font-weight:400;
  border:1px solid var(--accent); color:var(--accent); background:rgba(33,230,173,.08);
}
.form-status.show{ display:flex; align-items:center; gap:10px; }
.form-status svg{ width:16px; height:16px; flex:none; }

/* ============================================================
   FOOTER
   ============================================================ */
footer{ position:relative; z-index:1; }
.foot-top{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:50px;
  padding:72px 40px 48px; width: 100%; margin:0 auto;
}
.foot-brand .brand{ margin-bottom:18px; }
.foot-col h4{
  font-size:11px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin:0 0 20px;
}
.foot-col a, .foot-col li{ display:block; font-size:13px; font-weight:300; color:var(--muted-2); margin-bottom:12px; }
.foot-col a:hover{ color:var(--primary); }
.foot-bottom{
  border-top:1px solid var(--line); padding:24px 40px; width: 100%; margin:0 auto;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
}
.foot-bottom span{ font-size:11px; color:var(--muted-2); font-weight:300; letter-spacing:.04em; }
.foot-socials{ display:flex; gap:14px; }
.foot-socials a{
  width:36px; height:36px; border:1px solid var(--line-strong); display:flex; align-items:center; justify-content:center; color:var(--muted);
}
.foot-socials a:hover{ color:var(--primary); border-color:var(--primary); }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-header{ padding:150px 40px 60px; width: 100%; margin:0 auto; }

/* ============================================================
   LOGIN
   ============================================================ */
.auth-shell{
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  padding:140px 24px 80px; position:relative; z-index:1;
}
.auth-card{
  width:100%; max-width:420px; border:1px solid var(--line-strong);
  background:var(--panel); padding:44px 38px; position:relative;
}
.auth-tabs{ display:flex; border:1px solid var(--line-strong); margin-bottom:30px; }
.auth-tab{
  flex:1; text-align:center; padding:12px; font-size:11px; font-weight:500;
  letter-spacing:.1em; text-transform:uppercase; color:var(--muted-2); background:transparent; border:none;
}
.auth-tab[aria-selected="true"]{ background:var(--primary); color:#04141d; }
.auth-foot{ margin-top:22px; text-align:center; font-size:12px; color:var(--muted-2); font-weight:300; }
.auth-foot a{ color:var(--primary); font-weight:500; }
.auth-divider{ display:flex; align-items:center; gap:14px; margin:26px 0; }
.auth-divider::before,.auth-divider::after{ content:''; flex:1; height:1px; background:var(--line); }
.auth-divider span{ font-size:10px; color:var(--muted-2); text-transform:uppercase; letter-spacing:.1em; }
.row-between{ display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
.checkbox-row{ display:flex; align-items:center; gap:9px; font-size:12px; color:var(--muted); font-weight:300; }
.checkbox-row input{ accent-color:var(--primary); width:15px; height:15px; }
.link-sm{ font-size:12px; color:var(--primary); font-weight:400; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1023px){
  .h1{ font-size:44px; }
  .hero{ grid-template-columns:1fr; padding-top:100px; }
  .hero-visual{ order:-1; max-width:420px; margin:0 auto; }
  
  /* Full-screen hero responsive */
  .hero-content-inner {
    padding: 50px 40px;
    max-width: none;
  }
  
  .hero-visual-overlay {
    right: 5%;
    width: 250px;
    height: 250px;
  }
  
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .split{ grid-template-columns:1fr; gap:40px; }
  .foot-top{ grid-template-columns:1fr 1fr; row-gap:40px; }
}

@media (max-width:767px){
  .wrap,.section,.page-header{ padding-left:22px; padding-right:22px; }
  .nav-inner{ padding:0 22px; height:72px; }
  .nav-links, .nav-cta .btn-ghost{ display:none; }
  .nav-toggle{ display:flex; }
  .mobile-panel{ top:72px; }
  main{ padding-top:72px; }
  .h1{ font-size:32px; }
  .h2{ font-size:26px; }
  .section{ padding:56px 22px; }
  
  /* Full-screen hero mobile */
  .hero-fullscreen {
    height: 100vh;
    min-height: 500px;
  }
  
  .hero-background {
    display: block; /* Ensure background is visible on mobile */
  }
  
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .hero-overlay {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(34, 195, 242, 0.15) 80%,
      rgba(33, 230, 173, 0.1) 100%
    );
  }
  
  .hero-content {
    padding: 0 22px;
  }
  
  .hero-content-inner {
    padding: 40px 30px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
  }
  
  .hero-visual-overlay {
    display: none; /* Hide on mobile for cleaner look */
  }
  
  .hero-stats {
    gap: 26px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .hero-stats > div {
    flex: 1;
    min-width: 100px;
    text-align: center;
  }
  
  .grid-4,.grid-3,.grid-2{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .foot-top{ grid-template-columns:1fr; padding:56px 22px 36px; }
  .foot-bottom{ padding:20px 22px; flex-direction:column; align-items:flex-start; }
  .cta-band{ padding:40px 26px; flex-direction:column; align-items:flex-start; }
  .field-row{ grid-template-columns:1fr; }
  .auth-card{ padding:34px 24px; }
}
