/* ==========================================================================
   Landing.css — public marketing landing page
   ========================================================================== */

/* ClientData.css sets body { background-color: PowderBlue !important; }
   globally via main.css's unconditional @import chain — override it
   here so any bare body area on this page isn't teal. */
body
{
  background-color: #f7fafc !important;
}

@keyframes fadeInUp
{
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatBlob
{
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-12px, 16px) scale(1.06); }
}

@keyframes pulseLogo
{
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 0 rgba(2, 117, 216, 0.0)); }
  50%      { transform: scale(1.06); filter: drop-shadow(0 4px 14px rgba(2, 117, 216, 0.25)); }
}

.hero
{
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 24px 96px;
  background: linear-gradient(135deg, #eaf4fc 0%, #ffffff 55%, #ffffff 100%);
}

.hero-blob
{
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
  animation: floatBlob 9s ease-in-out infinite;
}

.hero-blob-1
{
  width: 260px;
  height: 260px;
  top: -80px;
  left: -60px;
  background: radial-gradient(circle, #79c0f7 0%, transparent 70%);
}

.hero-blob-2
{
  width: 320px;
  height: 320px;
  bottom: -140px;
  right: -80px;
  background: radial-gradient(circle, #0275d8 0%, transparent 70%);
  animation-delay: -4s;
}

.hero-content
{
  position: relative;
  z-index: 1;
}

.logo-pulse
{
  display: inline-block;
  animation: pulseLogo 3.2s ease-in-out infinite;
}

.hero img
{
  width: 72px;
  height: 63px;
  display: block;
}

.hero h1
{
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #2c3e50;
  margin: 18px 0 8px;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.1s forwards;
}

.hero h1 span
{
  color: #0275d8;
}

.hero p.tagline
{
  font-size: 17px;
  color: #5a6b7d;
  max-width: 560px;
  margin: 0 auto 30px;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.28s forwards;
}

.hero-actions
{
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.46s forwards;
}

.hero-actions a
{
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.hero-actions .btn-primary
{
  background-color: #0275d8;
  color: #ffffff;
}

.hero-actions .btn-primary:hover
{
  background-color: #025aa5;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 117, 216, 0.35);
}

.hero-actions .btn-secondary
{
  background-color: #ffffff;
  color: #2c3e50;
  border: 1px solid #cbd5e0;
}

.hero-actions .btn-secondary:hover
{
  background-color: #f7fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.12);
}

.hero-wave
{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 60px;
  fill: #f7fafc;
}

.features
{
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  /* main.css's body rule loses to ClientData.css's PowderBlue
     !important, so anything below the hero needs its own explicit
     background rather than relying on inheriting body's. */
  background-color: #f7fafc;
}

@media (max-width: 720px)
{
  .features
  {
    grid-template-columns: 1fr;
  }

  .steps
  {
    grid-template-columns: 1fr !important;
  }

  .steps::before
  {
    display: none;
  }
}

.feature-card
{
  text-align: left;
  padding: 24px;
  border-radius: 10px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card:hover
{
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(44, 62, 80, 0.1);
}

.feature-icon
{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #eaf4fc;
  color: #0275d8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-icon svg
{
  width: 22px;
  height: 22px;
}

.feature-card h3
{
  color: #2c3e50;
  font-size: 17px;
  margin: 0 0 8px;
}

.feature-card p
{
  color: #5a6b7d;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.how-it-works
{
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 56px 24px 64px;
  text-align: center;
}

.how-it-works h2
{
  color: #2c3e50;
  font-size: 24px;
  margin: 0 0 40px;
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.steps
{
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.steps::before
{
  content: "";
  position: absolute;
  top: 20px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, #cfe4f7, #0275d8, #cfe4f7);
}

.step
{
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.32s; }
.step:nth-child(3) { animation-delay: 0.44s; }

.step-number
{
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background-color: #0275d8;
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3
{
  color: #2c3e50;
  font-size: 16px;
  margin: 0 0 6px;
}

.step p
{
  color: #5a6b7d;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.landing-footer
{
  text-align: center;
  padding: 28px 24px 40px;
  color: #a0aec0;
  font-size: 13px;
  background-color: #f7fafc;
}

@media (prefers-reduced-motion: reduce)
{
  .hero h1, .hero p.tagline, .hero-actions, .feature-card, .how-it-works h2, .step
  {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .logo-pulse, .hero-blob
  {
    animation: none !important;
  }
}
