/* Workable home hero matching the design mockup */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --ns-orange: #ff6b00;
  --ns-orange-hover: #e85f00;
  --ns-navy: #001c3d;
  --ns-ink: #1a1a1a;
  --ns-muted: #4a4a4a;
  --ns-blue: #2563eb;
  --ns-header-h: 76px;
}

body {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

/* ---------- Header (always visible, sticky) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 0.75rem 2rem;
  }
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo img {
  height: 2.75rem;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .site-header__logo img {
    height: 3.15rem;
  }
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-header__nav {
    display: flex;
  }
}

.site-header__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ns-ink);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 0.25rem;
}

.site-header__link:hover,
.site-header__link.is-active {
  color: var(--ns-orange);
}

.site-header__link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ns-orange);
  border-radius: 1px;
}

.site-header__signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ns-ink);
  text-decoration: none;
  background: transparent;
  border: 1.5px solid #d1d5db;
  border-radius: 9999px;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-header__signin:hover {
  color: var(--ns-orange);
  border-color: var(--ns-orange);
  background: rgba(255, 107, 0, 0.06);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.15rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--ns-orange);
  border-radius: 9999px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}

.site-header__cta:hover {
  background: var(--ns-orange-hover);
  color: #fff;
  transform: translateY(-1px);
}

.site-header__mobile .site-header__signin,
.site-header__mobile .site-header__cta {
  margin-left: 0;
  margin-top: 0.25rem;
  align-self: flex-start;
}

.site-header__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ns-ink);
  background: transparent;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.site-header__menu-btn:hover {
  color: var(--ns-orange);
}

@media (min-width: 768px) {
  .site-header__menu-btn {
    display: none;
  }
}

.site-header__mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1.25rem 1.25rem;
  background: #fff;
}

.site-header__mobile.hidden {
  display: none;
}

@media (min-width: 768px) {
  .site-header__mobile {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f3eee6;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/images/hero-bg-clean.jpg?v=11') center center / cover no-repeat;
  transform: scale(1.02);
}

/* Soft top blend under sticky header only */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 8%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: calc(var(--ns-header-h) + 2.5rem) 1.25rem 2.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroIn 0.7s ease-out both;
}

.hero__title {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ns-navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hero__brand-accent {
  color: var(--ns-orange);
}

.hero__tagline {
  margin: 1.1rem 0 0;
  font-size: clamp(0.95rem, 2.1vw, 1.2rem);
  font-weight: 600;
  color: var(--ns-ink);
}

.hero__desc {
  margin: 0.9rem auto 0;
  max-width: 34rem;
  font-size: clamp(0.9rem, 1.7vw, 1.05rem);
  line-height: 1.55;
  color: var(--ns-muted);
}

.hero__actions {
  margin-top: 1.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__btn--primary {
  background: var(--ns-orange);
  color: #fff;
  border: 2px solid var(--ns-orange);
  box-shadow: 0 8px 22px rgba(255, 107, 0, 0.3);
}

.hero__btn--primary:hover {
  background: var(--ns-orange-hover);
  border-color: var(--ns-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(255, 107, 0, 0.38);
}

.hero__btn--primary svg {
  transition: transform 0.2s ease;
}

.hero__btn--primary:hover svg {
  transform: translateX(3px);
}

.hero__btn--ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ns-ink);
  border: 2px solid #111;
}

.hero__btn--ghost:hover {
  background: #111;
  color: #fff;
}

.hero__features {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem 0.15rem;
}

.hero__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-width: 5rem;
  padding: 0 0.5rem;
}

.hero__feature-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero__feature:hover .hero__feature-icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.hero__feature-icon--orange { color: var(--ns-orange); }
.hero__feature-icon--blue { color: var(--ns-blue); }

.hero__feature-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ns-ink);
  white-space: nowrap;
}

.hero__plus {
  align-self: center;
  margin-top: 1.05rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1;
  padding: 0 0.1rem;
}

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

@media (max-width: 560px) {
  .hero__plus {
    display: none;
  }

  .hero__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 0.75rem;
    max-width: 20rem;
  }

  .hero__veil {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 10%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .hero__btn,
  .hero__feature-icon {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Pricing CTAs (compiled Tailwind lacks emerald/violet/blue-600) ---------- */
.pricing-cta {
  display: block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: #fff !important;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.pricing-cta--starter,
.pricing-cta--pro,
.pricing-cta--enterprise {
  background-color: var(--ns-orange);
}

.pricing-cta--starter:hover,
.pricing-cta--pro:hover,
.pricing-cta--enterprise:hover {
  background-color: var(--ns-orange-hover);
  color: #fff !important;
}
