/* ============================================================
   HR Portal — Landing Page Styles
   Tailwind CSS handles utility classes via CDN.
   This file covers:
     1. Base / global
     2. Typography helpers
     3. Component: Phone mockups
     4. Component: Feature cards
   ============================================================ */


/* ------------------------------------------------------------
   1. BASE / GLOBAL
   ------------------------------------------------------------ */

html {
  scroll-behavior: smooth;
}


/* ------------------------------------------------------------
   2. TYPOGRAPHY HELPERS
   ------------------------------------------------------------ */

/* Gradient brand headline used in the hero */
.gradient-text {
  background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ------------------------------------------------------------
   3. COMPONENT: PHONE MOCKUPS (hero section)
   ------------------------------------------------------------ */

.phone-left {
  transform: rotate(-6deg) translateY(24px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.phone-center {
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.2));
}

.phone-right {
  transform: rotate(6deg) translateY(24px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Forces the correct portrait phone aspect ratio for the screen area */
.phone-screen {
  aspect-ratio: 9 / 19.5;
}


/* ------------------------------------------------------------
   4. COMPONENT: FEATURE CARDS
   ------------------------------------------------------------ */

.card-hover {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card-hover:hover {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
  transform: translateY(-4px);
}


/* ------------------------------------------------------------
   5. SCROLLBAR UTILITIES (chat interface)
   ------------------------------------------------------------ */

/* Scrollbar utility classes */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Custom slim scrollbar for chat messages */
.scrollbar-thin::-webkit-scrollbar {
  width: 4px;
}
.scrollbar-thin::-webkit-scrollbar-track {
  background: transparent;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}
