:root {
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --line: #e8eef6;
  --soft: #f5f7fb;
  --white: #ffffff;
  --blue: #2563eb;
  --blue-soft: #eff4ff;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius: 28px;
  --radius-sm: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 110px; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Hind", sans-serif;
  color: var(--ink);
  background: #f6f8fc;
  overflow-x: hidden;
}

body.landing-page {
  background-color: #f6f8fc;
}

body.landing-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    url("../images/04_workify_background_texture.png") top center / cover no-repeat;
  opacity: 0.08;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #cbd5e1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn svg,
.btn i {
  width: 16px;
  height: 16px;
}

.btn--dark {
  background: #111827;
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

.btn--dark:hover { transform: translateY(-1px); background: #0b1220; }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: #e5e7eb;
}

.btn--ghost:hover { border-color: #111827; }

.btn--light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn--light:hover { background: #fff; color: #111827; }

.btn--white {
  background: #fff;
  color: #111827;
}

/* Header */
.topbar {
  position: sticky;
  top: 16px;
  z-index: 40;
  padding: 0 16px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 12px 10px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.brand__logo--light {
  filter: brightness(0) invert(1);
}

.nav__menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 16px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 6px;
}

.navlinks > a,
.navdrop > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: #334155;
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
}

.navlinks > a:hover,
.navdrop > button:hover { color: #111827; background: #f8fafc; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navdrop { position: relative; }

.navdrop__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 180px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: none;
}

.navdrop:hover .navdrop__menu,
.navdrop:focus-within .navdrop__menu { display: grid; }

.navdrop__menu a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: #334155;
}

.navdrop__menu a:hover { background: #f8fafc; color: #111827; }

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: #f8fafc;
  border-radius: 50%;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 16px;
  height: 1.8px;
  background: #111827;
  border-radius: 99px;
  display: block;
}

/* Hero */
.hero {
  position: relative;
  padding: 54px 0 28px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #eef2f7;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.hero__title {
  margin: 18px 0 16px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #0f172a;
}

.hero__sub {
  max-width: 460px;
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
}

.hero__checks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__checks i {
  width: 16px;
  height: 16px;
  color: #16a34a;
}

.hero__visual { position: relative; }

.hero__frame {
  position: relative;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 32px;
  padding: 14px;
  box-shadow: 0 30px 70px rgba(37, 99, 235, 0.12);
}

.hero__frame img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: contain;
}

.hero__note {
  position: absolute;
  right: 8px;
  bottom: -6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  transform: rotate(-6deg);
}

.hero__note svg { width: 42px; opacity: 0.7; }

/* Logos */
.logos {
  padding: 28px 0 10px;
}

.logos__label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 18px;
}

.logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  color: #94a3b8;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logos__row span { opacity: 0.8; }

/* Sections */
.section { padding: 72px 0; }

.head {
  max-width: 620px;
  margin: 0 auto 42px;
  text-align: center;
}

.head h2,
.split__copy h2,
.faq-wrap h2,
.quote-copy h2,
.cta h2 {
  margin: 10px 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.head p,
.split__copy p,
.faq-wrap > p,
.quote-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.head-row .head {
  margin: 0;
  text-align: left;
  max-width: 640px;
}

/* Why cards */
.why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 28px;
  padding: 28px 26px 26px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.why-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4f7fb;
  color: #111827;
}

.ic i, .ic svg { width: 22px; height: 22px; }

/* About */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.split__copy h2 { max-width: 460px; }

.ticks {
  display: grid;
  gap: 12px;
  margin: 26px 0 28px;
}

.ticks div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #334155;
}

.ticks i {
  width: 18px;
  height: 18px;
  color: #16a34a;
}

.cta2 { display: flex; flex-wrap: wrap; gap: 12px; }

.photo-wrap { position: relative; }

.photo-wrap img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  object-fit: contain;
}

.orb {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8px;
}

.orb b {
  display: block;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.orb span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.25;
  color: #64748b;
  font-weight: 500;
}

.orb--a { top: 18px; right: -18px; }
.orb--b { top: 46%; right: -36px; }
.orb--c { bottom: 86px; right: -10px; }

/* Modules */
.modules {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.m {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 22px;
  padding: 22px 16px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
  transition: 0.2s ease;
}

.m:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.m .ic { margin: 0 auto 14px; }

.m b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.m span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

/* Testimonials */
.quote {
  display: grid;
  grid-template-columns: 1fr 0.72fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.quote-copy h2 { max-width: 360px; }

.quote-text {
  margin: 22px 0 24px;
  font-size: 18px;
  line-height: 1.7;
  color: #334155;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.person img,
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar {
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
  font-weight: 700;
}

.person b { display: block; font-size: 15px; }
.person span { color: var(--muted); font-size: 13px; }

.rating-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}

.rating-card .score {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  margin: 8px 0 16px;
}

.stars i { width: 16px; height: 16px; fill: currentColor; }

.statline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #eef2f7;
  color: var(--muted);
  font-size: 13px;
}

.statline b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 2px;
}

.building {
  border-radius: 32px;
  overflow: hidden;
}

.building img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.faq details {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  padding: 0 20px;
  margin-bottom: 12px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary i {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  flex: 0 0 18px;
}

.faq details[open] summary { color: #111827; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.help-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
}

.help-card h3 {
  margin: 14px 0 8px;
  font-size: 24px;
}

.help-card p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

/* CTA */
.cta-wrap { padding: 10px 0 80px; }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 48px;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 52%, #7c3aed 100%);
  box-shadow: 0 24px 50px rgba(79, 70, 229, 0.28);
}

.cta .kicker { color: rgba(255, 255, 255, 0.72); }
.cta .kicker::before { background: rgba(255, 255, 255, 0.45); }
.cta h2 { margin: 8px 0 8px; }
.cta p { margin: 0; color: rgba(255, 255, 255, 0.82); }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: 64px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .brand { color: #fff; }

.footer__brand p {
  max-width: 280px;
  line-height: 1.7;
  color: #94a3b8;
  margin: 14px 0 0;
  font-size: 14px;
}

.footer h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 15px;
}

.footer a,
.footer li {
  color: #94a3b8;
  font-size: 14px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer a:hover { color: #fff; }

.newsletter {
  display: flex;
  gap: 8px;
}

.newsletter input {
  flex: 1;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 0 16px;
  font-family: inherit;
}

.newsletter button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.footer__copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 13px;
  color: #64748b;
}

.footer__copy nav { display: flex; gap: 16px; }

@media (max-width: 1100px) {
  .hero__grid,
  .split,
  .quote,
  .faq-grid,
  .cta,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .modules { grid-template-columns: repeat(3, 1fr); }
  .orb--a, .orb--b, .orb--c { right: 12px; }
  .hero__note { display: none; }
  .building img { min-height: 0; }
}

@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .nav {
    border-radius: 24px;
    position: relative;
  }

  .hamburger { display: grid; }

  .nav__menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow);
    z-index: 20;
  }

  .nav__menu.is-open { display: grid; gap: 4px; }

  .nav__menu .navlinks,
  .nav__menu .nav__actions {
    display: grid;
    gap: 4px;
  }

  .nav__menu .nav__actions {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .modules { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 32px 24px; }
  .footer__copy { flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .hero { padding-top: 28px; }
  .hero__title { font-size: 36px; }
  .modules { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
