/* ---------------------------------------------------------------------------
   Work+ marketing site — light, minimal, whitespace-led.
   Reuses the app-wide design tokens and .wt-card / .btn-wt system from
   app.css (loaded before this file) so the marketing site and the product
   feel like one thing, not two different visual languages.
--------------------------------------------------------------------------- */

body {
  color: var(--wt-text-body);
}

/* ---- Section vertical rhythm ---------------------------------------------
   One consistent spacing scale used by every marketing section, instead of
   ad-hoc py-5 / py-lg-4 combinations stacking on top of each other.
--------------------------------------------------------------------------- */

.wt-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 992px) {
  .wt-section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

.wt-section-sm {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .wt-section-sm {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* ---- Nav ------------------------------------------------------------- */

.wt-nav-bar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--wt-border);
}

.wt-nav-brand {
  color: var(--wt-text);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wt-nav-link-light {
  position: relative;
  color: var(--wt-text-body);
  font-weight: 500;
  font-size: 0.92rem;
  padding-bottom: 3px;
}

.wt-nav-link-light::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: var(--wt-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.wt-nav-link-light:hover {
  color: var(--wt-text);
}

.wt-nav-link-light:hover::after {
  transform: scaleX(1);
}

.wt-nav-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--wt-text);
  background: var(--wt-surface);
  border: 1px solid var(--wt-border);
  border-radius: 10px;
}

.wt-nav-toggle:hover {
  background: var(--wt-bg);
}

/* ---- Off-canvas mobile menu ---------------------------------------------- */

.wt-offcanvas {
  width: 300px;
  max-width: 86vw;
  border-left: 1px solid var(--wt-border);
}

.wt-offcanvas .offcanvas-header {
  border-bottom: 1px solid var(--wt-border-soft);
  padding: 1.15rem 1.35rem;
}

.wt-offcanvas .offcanvas-body {
  padding: 1.35rem;
}

.wt-offcanvas-link {
  display: block;
  padding: 0.95rem 0.15rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--wt-text);
  text-decoration: none;
  border-bottom: 1px solid var(--wt-border-soft);
}

.wt-offcanvas-link:hover {
  color: var(--wt-primary);
}

/* ---- Hero -------------------------------------------------------------
   A plain light section with one soft, low-opacity color glow behind the
   headline for a bit of depth — not a loud gradient background.
------------------------------------------------------------------------- */

.wt-hero-light {
  position: relative;
  overflow: hidden;
  background: var(--wt-surface);
}

.wt-hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(480px circle at 18% 30%, rgba(79, 70, 229, 0.10), transparent 60%),
    radial-gradient(420px circle at 82% 10%, rgba(34, 197, 94, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.wt-hero-light > .container {
  position: relative;
  z-index: 1;
}

.wt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--wt-primary-soft);
  color: var(--wt-primary);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
}

.wt-hero-light h1 {
  color: var(--wt-text);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(2.1rem, 1.55rem + 3.2vw, 3.75rem);
}

.wt-accent {
  color: var(--wt-primary);
}

.wt-hero-light .lead {
  color: var(--wt-muted);
  font-size: 1.15rem;
}

.wt-trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
  font-size: 0.85rem;
  color: var(--wt-muted);
}

/* ---- Browser-chrome product mockup ---------------------------------------
   A framed "this is a real web app" preview instead of a floating card —
   grounds the screenshot rather than leaving it decorative.
--------------------------------------------------------------------------- */

.wt-hero-visual {
  max-width: 900px;
}

.wt-browser-frame {
  background: var(--wt-surface);
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), 0 4px 14px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  text-align: left;
}

.wt-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  background: var(--wt-bg);
  border-bottom: 1px solid var(--wt-border);
}

.wt-browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wt-border);
  flex-shrink: 0;
}

.wt-browser-url {
  margin-left: 0.5rem;
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--wt-border-soft);
  border-radius: 99px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  color: var(--wt-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wt-browser-body {
  padding: 1.35rem;
}

.wt-live-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: 99px;
  padding: 0.4rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--wt-text-body);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 2;
}

.wt-live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wt-green);
}

.wt-live-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: var(--wt-green);
  opacity: 0.35;
  animation: wt-pulse 1.8s ease-out infinite;
}

@keyframes wt-pulse {
  0% { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wt-live-dot::after { animation: none; }
}

.wt-mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  row-gap: 0.35rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--wt-border-soft);
  border-radius: var(--wt-radius-sm);
}

/* ---- Highlights strip ------------------------------------------------------
   Short factual claims as left-aligned icon+text rows — full width on the
   smallest phones so longer phrases have room to breathe instead of
   wrapping under a centered icon in a half-width column.
--------------------------------------------------------------------------- */

.wt-stats-strip {
  border-top: 1px solid var(--wt-border);
  border-bottom: 1px solid var(--wt-border);
  background: var(--wt-bg);
}

.wt-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wt-highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.02rem;
  background: var(--wt-primary-soft);
  color: var(--wt-primary);
  flex-shrink: 0;
}

.wt-highlight-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wt-text-body);
  text-align: left;
  line-height: 1.3;
}

/* ---- Section headings ---------------------------------------------------- */

.wt-section-eyebrow {
  color: var(--wt-primary);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wt-section-heading {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--wt-text);
}

/* ---- Feature tiles --------------------------------------------------------- */

.wt-feature-tile {
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wt-feature-tile:hover {
  border-color: #c7d2fe;
  box-shadow: var(--wt-shadow);
}

.wt-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

/* ---- Spotlight (alternating feature deep-dive) rows ------------------------ */

.wt-spotlight-visual {
  background: var(--wt-bg);
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  padding: 1.5rem;
}

.wt-spotlight-point {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--wt-text-body);
}

.wt-spotlight-point i {
  color: var(--wt-green);
  margin-top: 0.2rem;
}

/* ---- How it works steps -----------------------------------------------------
   Each step is centered and self-contained; adjacent steps are separated by
   a plain divider (horizontal rule on stacked mobile, vertical rule between
   the three panels on desktop) instead of a hand-positioned connector line.
--------------------------------------------------------------------------- */

.wt-step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--wt-primary-soft);
  color: var(--wt-primary);
}

.wt-step-divider {
  border-top: 1px solid var(--wt-border-soft);
  padding-top: 2.5rem;
}

@media (min-width: 992px) {
  .wt-step-divider {
    border-top: none;
    border-left: 1px solid var(--wt-border-soft);
    padding-top: 0;
    padding-left: 2.5rem;
  }
}

/* ---- Testimonials --------------------------------------------------------- */

.wt-testimonial {
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  background: var(--wt-surface);
}

.wt-testimonial .stars {
  color: #f59e0b;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.wt-testimonial .quote {
  color: var(--wt-text-body);
  font-size: 0.95rem;
}

/* ---- Principles list (editorial layout, distinct from the feature grid) --- */

.wt-principle-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--wt-border-soft);
}

.wt-principle-row:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.wt-principle-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  background: var(--wt-primary-soft);
  color: var(--wt-primary);
}

/* ---- FAQ -------------------------------------------------------------------- */

.wt-faq .accordion-item {
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius-sm) !important;
  overflow: hidden;
  margin-bottom: 0.7rem;
}

.wt-faq .accordion-button {
  font-weight: 600;
  color: var(--wt-text);
}

.wt-faq .accordion-button:not(.collapsed) {
  color: var(--wt-primary);
  background: var(--wt-primary-soft);
  box-shadow: none;
}

.wt-faq .accordion-button:focus {
  box-shadow: none;
  border-color: var(--wt-border);
}

/* ---- Pricing plans ------------------------------------------------------------ */

.wt-plan {
  background: var(--wt-surface);
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wt-plan.featured {
  border-color: var(--wt-primary);
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.12);
}

.plan-price {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--wt-text);
  letter-spacing: -0.02em;
}

/* ---- Closing CTA band -------------------------------------------------------- */

.wt-cta-band {
  background: var(--wt-primary-soft);
  border: 1px solid #dfe3fb;
  border-radius: var(--wt-radius);
}

/* ---- Legal page prose ---------------------------------------------------------- */

.wt-legal-body {
  color: var(--wt-text-body);
  font-size: 0.96rem;
  line-height: 1.7;
}

.wt-legal-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wt-text);
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.wt-legal-body p {
  margin-bottom: 1rem;
}

.wt-legal-body ul {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.wt-legal-body li {
  margin-bottom: 0.4rem;
}

.wt-legal-body a {
  color: var(--wt-primary);
  font-weight: 500;
}

/* ---- Footer ------------------------------------------------------------------ */

.wt-footer {
  background: var(--wt-sidebar-bg);
  color: #94a3b8;
}

.wt-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.wt-footer a:hover {
  color: #fff;
}

@media (max-width: 991px) {
  .wt-step-line { display: none; }
}
