/* AIZ.to Custom Stylesheet - High-Performance Web Hosting Directory */

/* Baseline Layout & Responsive Image Resets */
*, *::before, *::after {
  box-sizing: border-box;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
  height: auto;
}

.logo-container img,
header img {
  max-height: 52px !important;
  width: auto !important;
  object-fit: contain;
}

footer img {
  max-height: 75px !important;
  width: auto !important;
  object-fit: contain;
}

:root {
  --color-primary: #0B1F4D;
  --color-secondary: #1E8BFF;
  --color-accent: #FF7A00;
  --color-ice: #F3F7FF;
  --color-dark: #070F26;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #F8FAFC;
  color: #1E293B;
  overflow-x: hidden;
}

/* Glassmorphism & Header */
.glass-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -2px rgba(11, 31, 77, 0.06);
}

/* iOS and Touch Device Optimizations */
html, body {
  -webkit-text-size-adjust: 100%;
}

button, a, input, select {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-link {
  color: #334155;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  transition: all 0.15s ease-in-out;
}

.nav-link:hover {
  color: #1E8BFF;
  background-color: rgba(30, 139, 255, 0.08);
}

.nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease-in-out;
}

.nav-dropdown-group:hover .nav-dropdown-menu,
.nav-dropdown-group:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.logo-container {
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  transition: all 0.2s ease-in-out;
}

.logo-container:hover {
  background: rgba(30, 139, 255, 0.04);
}

/* Hero Background Gradients */
.hero-gradient {
  background: radial-gradient(circle at 80% 20%, rgba(30, 139, 255, 0.25) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(255, 122, 0, 0.15) 0%, transparent 40%),
              linear-gradient(135deg, #070F26 0%, #0B1F4D 60%, #0E2A66 100%);
}

.card-gradient-top {
  background: linear-gradient(180deg, rgba(30, 139, 255, 0.04) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Glowing Badges & Elements */
.glow-blue {
  box-shadow: 0 0 25px -3px rgba(30, 139, 255, 0.4);
}

.glow-orange {
  box-shadow: 0 0 25px -3px rgba(255, 122, 0, 0.45);
}

.badge-pulse {
  animation: pulse-badge 2.5s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Provider Scorecards */
.provider-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #E2E8F0;
}

.provider-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px -5px rgba(11, 31, 77, 0.09), 0 10px 15px -5px rgba(11, 31, 77, 0.04);
  border-color: #CBD5E1;
}

.provider-card.featured-card {
  border: 2px solid #1E8BFF;
  box-shadow: 0 12px 30px -5px rgba(30, 139, 255, 0.15);
}

/* Speed Gauge */
.speed-meter {
  background: linear-gradient(90deg, #10B981 0%, #3B82F6 70%, #F59E0B 100%);
}

/* Custom Scrollbar for Comparison Tables */
.table-scroll::-webkit-scrollbar,
.matrix-scroll::-webkit-scrollbar {
  height: 8px;
}
.table-scroll::-webkit-scrollbar-track,
.matrix-scroll::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 4px;
}
.table-scroll::-webkit-scrollbar-thumb,
.matrix-scroll::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
.table-scroll::-webkit-scrollbar-thumb:hover,
.matrix-scroll::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Sticky Comparison Column */
.sticky-col {
  position: sticky;
  left: 0;
  z-index: 10;
  background: white;
}

/* Tooltip & Disclosures */
.disclosure-tag {
  cursor: help;
  border-bottom: 1px dotted #94A3B8;
}

/* Hero Headline Continuous Sliding Ticker (Never Blank, Unmerged) */
.hero-ticker-window {
  display: block;
  position: relative;
  overflow: hidden;
  height: 1.24em;
}

.hero-ticker-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-ticker-track > span {
  height: 1.24em;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Floating Mascot Animation */
@keyframes hero-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

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

/* Pure Mascot Showcase Slides (No Card, No Text, Pure Artwork) */
.mascot-img-slide {
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.mascot-img-slide.active {
  opacity: 1 !important;
  transform: scale(1) !important;
  pointer-events: auto !important;
  z-index: 10 !important;
}

.mascot-img-slide:not(.active) {
  opacity: 0 !important;
  transform: scale(0.96) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.mascot-dot {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-dot.active {
  width: 1.5rem !important;
  background-color: #1E8BFF !important;
}

