/* ==========================================================================
   Harmony Innovation Hub — Custom Stylesheet
   ========================================================================== */

:root {
  --brand-dark: #060b19;
  --brand-card: #0d1528;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;
  --brand-cyan: #06b6d4;
}

/* Smooth scrolling & base typography */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Subtle Architectural Hero Grid Pattern */
.hero-grid {
  background-size: 48px 48px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* Brand Color Utility Helpers */
.bg-brand-dark {
  background-color: var(--brand-dark);
}

.bg-brand-card {
  background-color: var(--brand-card);
}

/* Startup Card Subtle Hover Polish */
.startup-card {
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.startup-card:hover {
  box-shadow: 0 24px 48px -12px rgba(6, 11, 25, 0.75);
}

/* Preview Modal Entrance Animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-modal {
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Scrollbar for Preview Modal */
#modal-body::-webkit-scrollbar {
  width: 8px;
}

#modal-body::-webkit-scrollbar-track {
  background: #060b19;
}

#modal-body::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}

#modal-body::-webkit-scrollbar-thumb:hover {
  background: #334155;
}