@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar for premium dark feel */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0B0F19;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #06B6D4;
}

/* Glassmorphism utility */
.glass-panel {
  background: rgba(30, 41, 59, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-light {
  background: rgba(30, 41, 59, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Accent glow borders */
.cyan-glow-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cyan-glow-hover:hover {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

/* Sticky Header styling */
.sticky-header {
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Pulse animation for CTA buttons */
@keyframes pulse-cyan {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4);
  }
  50% {
    box-shadow: 0 0 15px 4px rgba(6, 182, 212, 0.2);
  }
}

.animate-pulse-cyan {
  animation: pulse-cyan 2.5s infinite;
}

/* Success Checkmark animation */
@keyframes checkmark-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.animate-checkmark {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: checkmark-draw 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}

/* Shimmer overlay for premium badges */
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.shimmer-badge::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.2) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 2.5s infinite;
  content: '';
}

/* Touch-friendly adjustments for tap targets and mobile layouts */
@media (max-width: 640px) {
  button, .scroll-to-checkout {
    min-height: 44px; /* Recommended Apple UI Guideline for tap targets */
  }
  input, select, textarea {
    font-size: 16px !important; /* Prevents auto-zoom on mobile iOS Safari */
  }
}
