/* BilzatHR marketing site — teal ink, not admin purple */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Manrope:wght@400;500;600;700;800&family=Noto+Serif+SC:wght@500;700&display=swap");

:root {
  --ink: #0b1f1c;
  --ink-soft: #1a3530;
  --muted: #4d635e;
  --line: rgba(15, 50, 44, 0.12);
  --paper: #f3faf7;
  --foam: #e7f6f1;
  --teal: #0f766e;
  --teal-bright: #14b8a6;
  --teal-deep: #0a4f49;
  --gold: #c4a35a;
  --white: #ffffff;
  --font-display: "Fraunces", "Noto Serif SC", serif;
  --font-body: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(243, 250, 247, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(243, 250, 247, 0.94);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-links a:hover { color: var(--teal); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
}

.nav-cta:hover { background: var(--teal-deep); }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #effaf7;
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(20, 184, 166, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(196, 163, 90, 0.18), transparent 55%),
    linear-gradient(165deg, #062e2a 0%, #0a4f49 42%, #0f766e 78%, #134e4a 100%);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%);
  animation: gridDrift 28s linear infinite;
}

@keyframes gridDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-48px, -48px, 0); }
}

.hero-chain {
  position: absolute;
  right: -4%;
  top: 12%;
  width: min(52vw, 560px);
  height: min(52vw, 560px);
  opacity: 0.55;
  animation: floatSoft 8s ease-in-out infinite;
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(88px, 16vh, 160px) 0 clamp(48px, 8vh, 80px);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  animation: riseIn 0.9s ease both;
}

.hero-line {
  max-width: 28ch;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 0.75rem;
  animation: riseIn 0.9s 0.08s ease both;
}

.hero-sub {
  max-width: 38ch;
  margin: 0 0 1.75rem;
  color: rgba(239, 250, 247, 0.78);
  font-size: 1.02rem;
  animation: riseIn 0.9s 0.14s ease both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: riseIn 0.9s 0.2s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: #fff;
  color: var(--teal-deep);
}

.btn-primary:hover { background: var(--foam); }

.btn-ghost {
  background: transparent;
  color: #effaf7;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover { border-color: #fff; }

.btn-solid {
  background: var(--teal);
  color: #fff;
}

.btn-solid:hover { background: var(--teal-deep); }

.btn-outline {
  background: transparent;
  color: var(--teal-deep);
  border-color: rgba(15, 118, 110, 0.35);
}

.btn-outline:hover { border-color: var(--teal); background: var(--foam); }

/* —— Sections —— */
.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(56px, 10vh, 96px) 0;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  max-width: 18ch;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.05rem;
}

.band {
  background:
    linear-gradient(180deg, rgba(231, 246, 241, 0.9), rgba(243, 250, 247, 0.4)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(15, 118, 110, 0.03) 18px,
      rgba(15, 118, 110, 0.03) 19px
    );
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .hero-chain { opacity: 0.28; width: 70vw; right: -18%; top: 8%; }
  .nav-links a:not(.nav-cta) { display: none; }
}

.pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.pillar-list li {
  padding-left: 1.1rem;
  border-left: 3px solid var(--teal-bright);
}

.pillar-list strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.pillar-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.formula {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  padding: 1.4rem 1.5rem;
  background: var(--ink);
  color: #e7f6f1;
  border-radius: 4px 28px 4px 28px;
}

.formula em {
  font-style: normal;
  color: var(--teal-bright);
}

/* plans */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 960px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .plans { grid-template-columns: 1fr; }
}

.plan {
  padding: 1.35rem 1.2rem 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.plan:hover {
  border-color: rgba(15, 118, 110, 0.45);
  transform: translateY(-3px);
}

.plan.featured {
  background: linear-gradient(165deg, #0a4f49, #0f766e);
  color: #effaf7;
  border-color: transparent;
}

.plan.featured .muted { color: rgba(239, 250, 247, 0.72); }

.plan-ver {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.plan.featured .plan-ver { color: var(--gold); }

.plan h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.35rem 0 0.5rem;
}

.plan .price {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0.4rem 0;
}

.plan .muted { color: var(--muted); font-size: 0.88rem; }

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  counter-reset: step;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

.step {
  padding: 1rem 0.9rem;
  border-top: 2px solid var(--teal);
  background: transparent;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.step strong { display: block; font-size: 0.95rem; margin-bottom: 0.25rem; }
.step span { font-size: 0.82rem; color: var(--muted); }

/* prose / about */
.prose {
  max-width: 72ch;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  margin: 2.2rem 0 0.7rem;
}

.prose h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--teal-deep);
}

.prose p { color: var(--ink-soft); margin: 0 0 1rem; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
}

.prose th,
.prose td {
  text-align: left;
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.prose th { color: var(--muted); font-weight: 700; font-size: 0.8rem; }

.page-hero {
  padding: clamp(48px, 10vh, 88px) 0 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.08rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(16px, 4vw, 40px) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer a { font-weight: 600; color: var(--teal-deep); }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}
