/* Clean Light Theme Styles for Hafia.dev (Mobile First) */

/* Clean Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Subtle Architecture Grid Background (Clean & Crisp, No Glow) */
.subtle-grid {
  background-size: 28px 28px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

/* Smooth Device Mockup Transition */
#device-mockup {
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.35s ease;
  max-width: 100%;
}

/* Smooth Iframe Fade */
#mockup-iframe {
  transition: opacity 0.2s ease-in-out;
  -webkit-overflow-scrolling: touch;
}

/* Clean Card Hover (Natural Elevation, No Neon) */
.clean-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .clean-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.06), 0 4px 8px -4px rgba(15, 23, 42, 0.04);
  }
}

/* Prevent unwanted mobile horizontal scroll */
html, body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}
