/* Team Board — BookSlot-inspired landing page */

:root {
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f3f2f1;
  --bg-subtle: #f5f8fd;
  --bg-muted: #faf9f8;
  --border: #e1dfdd;
  --border-light: #edebe9;
  --text: #252423;
  --text-muted: #605e5c;
  --text-dark: #252423;
  --text-dark-muted: #605e5c;
  --primary: #5b5fc7;
  --primary-light: #7f85f5;
  --accent: #d85028;
  --accent-light: #f07050;
  --green: #13a10e;
  --yellow: #ffaa44;
  --red: #d13438;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 8px 32px rgba(91, 95, 199, 0.12);
  --nav-h: 72px;
  --nav-scroll-offset: calc(var(--nav-h) + 3rem);
  --nav-cyan: #00bcd4;
  --container: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-scroll-offset);
  overflow-x: hidden;
}

section[id],
footer[id],
.cta-banner[id] {
  scroll-margin-top: var(--nav-scroll-offset);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-icon {
  width: 1.125em;
  height: 1.125em;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(91, 95, 199, 0.45);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 8px 28px rgba(91, 95, 199, 0.55);
}

.btn-ghost {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-ghost:hover {
  background: rgba(91, 95, 199, 0.06);
  color: var(--primary);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-light);
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(216, 80, 40, 0.4);
}

.btn-accent:hover {
  color: #fff;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--text-dark);
  flex-shrink: 0;
  text-decoration: none;
}

.nav-brand:hover {
  color: var(--text-dark);
  text-decoration: none;
}

.nav-brand-text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}

.nav-links a,
.nav-dropdown-trigger {
  color: #3d3d3d;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.55rem;
  border-radius: 4px;
  transition: color 0.2s;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}

.nav-links .nav-link.is-active,
.nav-dropdown.is-active .nav-dropdown-trigger {
  color: #7f85f5;
}

.nav-links .nav-link:hover {
  color: #7f85f5;
  text-decoration: none;
}

.nav-contact {
  color: #3d3d3d;
}

.nav-contact:hover,
.nav-contact.is-active {
  color: #7f85f5;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 0.9rem 0 0.7rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 1001;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav-dropdown-label {
  margin: 0;
  padding: 0 1.25rem 0.6rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #2d2d2d;
  line-height: 1.3;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #6f6f6f;
  white-space: nowrap;
  line-height: 1.35;
  transition: color 0.2s;
}

.nav-dropdown-menu a:hover {
  background: transparent;
  color: #7f85f5;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger,
.nav-dropdown.is-open .nav-dropdown-trigger {
  color: #7f85f5;
}

/* ── Use-case full-page views ── */
.use-case-view[hidden] {
  display: none !important;
}

body.use-case-active #landing-main,
body.use-case-active .site-footer {
  display: none;
}

body.use-case-active .use-case-view.is-visible {
  display: flex;
}

.use-case-view {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-height: 100vh;
  padding: var(--nav-h) 0 0;
  box-sizing: border-box;
  position: relative;
  background: #f4f7fb;
}

.use-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  flex: 0 0 auto;
  width: 100%;
}

.use-case-back-wrap {
  position: fixed;
  bottom: 2rem;
  left: 0;
  z-index: 999;
  width: auto;
  margin-top: 0;
  padding: 0;
}

.use-case-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.5rem 0 0.5rem 0.75rem;
  background: none;
  border: none;
  color: #6f6f6f;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: color 0.2s;
}

.use-case-back:hover {
  color: #7f85f5;
}

.use-case-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6f6f6f;
}

.use-case-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.use-case-desc {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #5a5a5a;
  max-width: 28rem;
}

.btn-use-case-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(91, 95, 199, 0.4);
  transition: box-shadow 0.2s, transform 0.2s;
}

.btn-use-case-cta:hover {
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(91, 95, 199, 0.5);
}

.use-case-visual {
  width: 100%;
}

.use-case-carousel-wrap {
  position: relative;
  width: 100%;
}

.use-case-carousel {
  position: relative;
  min-height: 0;
}

.use-case-slide-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.use-case-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.use-case-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.use-case-carousel:not(.is-initialized) .use-case-slide:first-child {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.use-case-promo-frame {
  background: linear-gradient(160deg, #5a8fd4 0%, #4a7fd4 55%, #3d6fbf 100%);
  border-radius: 10px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 12px 40px rgba(74, 127, 212, 0.25);
}

.use-case-promo-title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.use-case-promo-inner {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.use-case-tb-app {
  font-size: 12px;
}

.use-case-tb-app .tb-table-scroll {
  max-height: 240px;
  overflow: hidden;
}

.use-case-tb-app .tb-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.use-case-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.use-case-tb-app .tb-star {
  color: #ccc;
  font-size: 0.9rem;
}

.use-case-csv-slide {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}

.use-case-csv-bg {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  opacity: 0.85;
}

.use-case-csv-popover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
}

.use-case-csv-icon {
  width: 72px;
  height: 72px;
}

.use-case-csv-label {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  background: #5b5fc7;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(91, 95, 199, 0.35);
}

.use-case-calendar {
  font-size: 0.72rem;
}

.use-case-cal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #e8e8e8;
  background: #fafafa;
}

.use-case-cal-today {
  padding: 0.2rem 0.5rem;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 0.68rem;
  font-family: var(--font);
  color: #333;
}

.use-case-cal-nav {
  color: #888;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
}

.use-case-cal-range {
  flex: 1;
  text-align: center;
  font-weight: 600;
  color: #333;
  font-size: 0.7rem;
}

.use-case-cal-close {
  color: #999;
  font-size: 1rem;
  line-height: 1;
}

.use-case-cal-body {
  max-height: 220px;
  overflow-y: auto;
}

.use-case-cal-row {
  display: grid;
  grid-template-columns: 5.5rem 7rem 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid #eee;
  align-items: start;
}

.use-case-cal-row.is-today .use-case-cal-day-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: #5b5fc7;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
}

.use-case-cal-date {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.use-case-cal-day-num {
  font-weight: 700;
  color: #333;
  font-size: 0.85rem;
}

.use-case-cal-day-label {
  font-size: 0.62rem;
  color: #888;
  text-transform: uppercase;
}

.use-case-cal-time {
  color: #666;
  white-space: nowrap;
}

.use-case-cal-event {
  color: #333;
  font-weight: 500;
}

.use-case-mobile-slide {
  padding: 1rem;
  display: flex;
  justify-content: center;
  background: #f8f9fb;
}

.use-case-phone-wrap {
  transform: scale(0.92);
  transform-origin: center top;
}

.use-case-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.use-case-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 2px solid #4a7fd4;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
}

.use-case-carousel-dot.is-active {
  background: #4a7fd4;
}

.use-case-carousel-dot:hover {
  background: rgba(74, 127, 212, 0.4);
}

.use-case-carousel-dot:focus-visible {
  outline: 2px solid #4a7fd4;
  outline-offset: 2px;
}

@media (min-width: 992px) {
  .use-case-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
  }
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.5rem 1.25rem;
  background: #7f85f5;
  color: #fff !important;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-nav-cta:hover {
  background: #6b71e0;
  text-decoration: none;
  color: #fff !important;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  padding: 1.5rem 1.25rem;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  color: var(--text-dark);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  min-height: 48px;
  display: flex;
  align-items: center;
}

.mobile-menu .nav-link.is-active {
  color: #7f85f5;
}

.mobile-menu a:hover {
  color: #7f85f5;
  text-decoration: none;
}

.mobile-menu .btn,
.mobile-menu .btn-nav-cta {
  margin-top: 1rem;
  width: 100%;
}

.mobile-menu-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1rem 0 0.25rem;
}

.mobile-menu-sublabel {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #2d2d2d;
  padding: 0.35rem 0 0.15rem 1rem;
}

.mobile-menu-sub {
  padding-left: 1rem !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  color: #6f6f6f !important;
}

/* ── Hero (BookSlot-style layout, Team Board content) ── */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 3.5rem) 0 4.5rem;
  background: #f4f7fb;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 85% at 88% 42%, rgba(91, 95, 199, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: stretch;
}

.hero-content,
.hero-mockup-wrap {
  min-width: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Hero mockup ── */
.hero-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: rgba(91, 95, 199, 0.08);
  border: 1px solid rgba(91, 95, 199, 0.22);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.35rem;
}

.hero-badge-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  color: var(--primary);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-dark);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  max-width: none;
  white-space: normal;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-phrase-nowrap {
  white-space: nowrap;
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-dark-muted);
  margin: 0 0 2rem;
  max-width: 100%;
  line-height: 1.6;
  white-space: normal;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-ctas .btn {
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
}

.hero-ctas .btn-ghost {
  border-color: rgba(91, 95, 199, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  font-size: 0.84rem;
  color: var(--text-dark-muted);
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-chips span::before {
  color: var(--primary);
  font-size: 0.55rem;
  line-height: 1;
}

.hero-chips span:first-child::before {
  content: "●";
}

.hero-chips span:not(:first-child)::before {
  content: "+";
  color: var(--text-dark-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ── Hero mockup (glow) ── */
.hero-mockup-glow {
  position: absolute;
  inset: -12%;
  background: radial-gradient(ellipse, rgba(91, 95, 199, 0.16) 0%, transparent 72%);
  pointer-events: none;
}

.hero-browser {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(91, 95, 199, 0.35);
  box-shadow:
    0 24px 64px rgba(91, 95, 199, 0.18),
    0 0 0 1px rgba(91, 95, 199, 0.08);
  background: #fff;
  overflow: hidden;
}

.hero-browser .mockup-bar {
  padding: 10px 14px;
}

.hero-browser .mockup-url {
  text-align: center;
  font-size: 0.72rem;
}

/* ── Hero carousel (promo-style, matches Team Board marketing) ── */
.hero-carousel-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-carousel-wrap {
    transform: scale(1.06);
    transform-origin: center center;
  }
}

.hero-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 0 0;
  background: transparent;
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(91, 95, 199, 0.4);
  background: #fff;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.hero-carousel-dot:hover {
  border-color: #242424;
  transform: scale(1.1);
}

.hero-carousel-dot.is-active {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-carousel-dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.hero-carousel {
  position: relative;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

.hero-slide-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  box-shadow:
    0 24px 64px rgba(91, 95, 199, 0.18),
    0 0 0 1px rgba(91, 95, 199, 0.08);
  user-select: none;
  -webkit-user-drag: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  pointer-events: none;
}

.hero-slide.is-active {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-carousel:not(.is-initialized) .hero-slide:first-child {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hero-slide-card {
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

#hero-carousel .teams-chrome {
  display: none;
}

.hero-slide-card .tb-app {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

#hero-carousel .hero-slide-card,
#hero-carousel .hero-slide-mobile-only {
  overflow: hidden;
}

#hero-carousel .tb-table-scroll,
#hero-carousel .hero-mob-screen {
  overflow: hidden;
  max-height: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#hero-carousel .tb-table-scroll::-webkit-scrollbar,
#hero-carousel .hero-mob-screen::-webkit-scrollbar {
  display: none;
}

#hero-carousel .tb-table {
  min-width: 0;
  width: 100%;
}

#hero-carousel .tb-table-scroll {
  max-height: 320px;
  overflow: hidden;
}

#hero-carousel .tb-col-name {
  min-width: 0;
}

#hero-carousel .tb-user-actions {
  gap: 8px;
  margin-top: 6px;
}

#hero-carousel .tb-action-btn svg {
  width: 16px;
  height: 16px;
}

#hero-carousel .tb-status-message,
#hero-carousel .tb-status-text {
  font-size: 11px;
}

#hero-carousel .tb-status-time {
  font-size: 10px;
}

/* Microsoft Teams chrome (slide 1) */
.teams-chrome {
  font-family: "Segoe UI", var(--font);
  font-size: 11px;
}

.teams-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: #464775;
  color: #fff;
}

.teams-grid {
  font-size: 14px;
  opacity: 0.9;
}

.teams-brand {
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}

.teams-search-bar {
  flex: 1;
  max-width: 200px;
  margin: 0 auto;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
}

.teams-profile {
  margin-left: auto;
}

.teams-profile .tb-avatar-dummy {
  width: 26px;
  height: 26px;
  font-size: 9px;
  background: #c9a86c !important;
}

.teams-channelbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #f3f2f1;
  border-bottom: 1px solid #edebe9;
  flex-wrap: wrap;
}

.teams-channel-icon {
  width: 28px;
  height: 28px;
  background: #5b5fc7;
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.teams-channel-name {
  font-weight: 600;
  color: #242424;
  font-size: 12px;
}

.teams-tabs {
  display: flex;
  gap: 0;
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.teams-tabs span {
  padding: 6px 8px;
  color: #605e5c;
  font-size: 11px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.teams-tabs span.active {
  color: #5b5fc7;
  font-weight: 600;
  border-bottom-color: #5b5fc7;
}

.teams-tab-add {
  color: #605e5c !important;
  font-size: 14px !important;
}

.teams-channel-actions {
  margin-left: auto;
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: #424242;
  flex-shrink: 0;
}

.tb-toolbar-promo {
  padding: 8px 10px;
  flex-direction: column;
  align-items: stretch;
}

.tb-toolbar-promo > .tb-toolbar-right,
.tb-toolbar-promo > .tb-search {
  width: 100%;
}

.tb-toolbar-promo .tb-toolbar-right {
  justify-content: flex-end;
}

.tb-toolbar-promo .tb-search {
  min-width: 120px;
  max-width: 160px;
  flex: 0 1 auto;
  align-self: flex-start;
}

.tb-toolbar-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tb-btn-teams {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #5b5fc7;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  font-family: "Segoe UI", var(--font);
}

.tb-refresh-row {
  width: 100%;
  text-align: right;
  font-size: 10px;
  color: #605e5c;
  margin-top: 4px;
}

.tb-col-star {
  width: 24px;
  text-align: center;
  color: #c8c6c4;
  font-size: 12px;
}

.tb-col-star.filled {
  color: #5b5fc7;
}

.tb-col-msg {
  min-width: 120px;
  font-size: 11px;
  color: #242424;
}

.tb-col-actions-inline {
  white-space: nowrap;
  font-size: 11px;
  color: #a19f9d;
  letter-spacing: 2px;
}

.avatar-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.avatar-wrap .tb-avatar-dummy {
  color: #fff;
}

.avatar-wrap .tb-avatar-dummy:not([style]) {
  background: #c8c6c4;
}

.avatar-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.avatar-badge-available {
  background: #13a10e;
}

.avatar-badge-dnd,
.avatar-badge-busy {
  background: #d13438;
}

.avatar-badge-remote {
  background: #5b5fc7;
}

.avatar-badge-away {
  background: #ffaa44;
}

.avatar-badge-oof {
  background: #8764b8;
}

.avatar-badge-offline {
  background: #a19f9d;
}

.tb-user-inline {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tb-user-inline .tb-user-name {
  font-weight: 400;
}

/* Search slide compact table */
.hero-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 12px;
  padding: 6px 10px;
  border: 2px solid #5b5fc7;
  border-radius: 2px;
  max-width: 200px;
  font-size: 12px;
  color: #242424;
}

.hero-search-bar svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.hero-promo-compact .tb-table {
  min-width: 360px;
}

/* Mobile slide */
.hero-slide-mobile-only {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 1rem;
  background: linear-gradient(180deg, #f8f9fc 0%, #fff 100%);
  border: none;
  border-radius: 0;
  box-shadow: none;
}

#hero-carousel .screen-phone-wrap {
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

#hero-carousel .screen-phone.screen-phone-screens {
  width: 100%;
  max-width: 268px;
  padding: 0 8px 10px;
  display: flex;
  flex-direction: column;
  background: #1b1a19;
  border-radius: 36px;
  border: 3px solid #3b3a39;
  box-shadow: 0 20px 48px rgba(91, 95, 199, 0.25);
}

#hero-carousel .mob-phone-screen {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  max-height: 400px;
}

#hero-carousel .mob-list-scroll {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

#hero-carousel .screen-phone-home {
  background: rgba(255, 255, 255, 0.35);
  margin-top: 10px;
}

#hero-carousel .hero-mob-header {
  flex-shrink: 0;
  padding: 12px 12px 8px;
}

#hero-carousel .hero-mob-header strong {
  font-size: 12px;
}

#hero-carousel .hero-mob-header small {
  font-size: 10px;
}

#hero-carousel .mob-list-app {
  border: none;
  border-radius: 0;
  box-shadow: none;
  max-width: none;
}

.hero-mob-screen {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  font-family: "Segoe UI", var(--font);
  font-size: 10px;
  color: #242424;
}

.hero-mob-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 10px 6px;
  border-bottom: 1px solid #edebe9;
}

.hero-mob-header strong {
  display: block;
  font-size: 11px;
  line-height: 1.25;
}

.hero-mob-header small {
  display: block;
  color: #605e5c;
  font-size: 9px;
  margin-top: 2px;
}

.hero-mob-header .hero-mob-back,
.hero-mob-header .hero-mob-menu {
  color: #424242;
  font-size: 14px;
  flex-shrink: 0;
}

.hero-mob-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid #edebe9;
}

.hero-mob-toolbar .tb-search {
  flex: 1;
  min-width: 0;
  max-width: none;
  font-size: 10px;
  padding: 4px 8px;
}

.hero-mob-refresh-btn {
  width: 28px;
  height: 28px;
  background: #5b5fc7;
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.hero-mob-refresh-text {
  font-size: 8px;
  color: #605e5c;
  text-align: right;
  padding: 0 10px 4px;
}

.hero-mob-table {
  width: 100%;
  border-collapse: collapse;
}

.hero-mob-table th {
  text-align: left;
  padding: 6px 8px;
  font-size: 9px;
  font-weight: 600;
  color: #605e5c;
  border-bottom: 1px solid #edebe9;
  background: #faf9f8;
}

.hero-mob-table td {
  padding: 8px;
  border-bottom: 1px solid #edebe9;
  vertical-align: middle;
  font-size: 10px;
}

.hero-mob-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-mob-row .avatar-wrap .tb-avatar-dummy {
  width: 28px;
  height: 28px;
  font-size: 9px;
}

.hero-mob-actions {
  margin-left: auto;
  color: #a19f9d;
  font-size: 10px;
  letter-spacing: 3px;
}

/* Group contact slide */
.hero-group-toolbar {
  flex-wrap: wrap;
  gap: 8px;
}

.hero-group-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-star-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8a8886;
}

.hero-star-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.hero-star-filled {
  color: #5b5fc7;
}

.hero-group-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #f3f2f1;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #242424;
}

.hero-group-badge svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.hero-group-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.hero-group-actions .tb-action-btn {
  color: #5b5fc7;
}

.hero-group-actions .tb-action-btn svg {
  width: 18px;
  height: 18px;
}

.hero-group-refresh {
  display: flex;
  justify-content: flex-end;
  padding: 6px 12px 8px;
  border-bottom: 1px solid #edebe9;
}

#hero-carousel .tb-col-star {
  width: 28px;
  text-align: center;
  vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

@media (max-width: 991px) {
  .hero h1 {
    line-height: 1.2;
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
  }

  .hero-desc {
    line-height: 1.6;
  }

  .use-case-copy h1 {
    line-height: 1.22;
    font-size: clamp(1.6rem, 5.5vw, 2.15rem);
  }
}

@media (max-width: 767px) {
  .hero {
    overflow-x: clip;
    padding-bottom: 3rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-mockup-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }

  .hero-mockup-glow {
    inset: -4%;
  }

  .hero-browser {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .hero-carousel {
    min-height: auto;
    overflow: hidden;
  }

  .hero-promo-compact .tb-table {
    min-width: 0;
    width: 100%;
  }

  #hero-carousel .tb-table th:nth-child(4),
  #hero-carousel .tb-table td:nth-child(4) {
    display: none;
  }

  #hero-carousel .tb-user-actions {
    display: none;
  }

  #hero-carousel .tb-col-name {
    min-width: 0;
  }

  #hero-carousel .screen-phone.screen-phone-screens {
    max-width: min(240px, 72vw);
  }

  #hero-carousel .mob-phone-screen {
    min-height: 280px;
    max-height: 320px;
  }

  .use-case-view {
    min-height: auto;
    padding-bottom: 4.5rem;
  }

  .use-case-grid {
    gap: 1.75rem;
  }

  .use-case-carousel-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .use-case-slide-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .teams-search-bar {
    display: none;
  }

  .teams-tabs span:not(.active):not(.teams-tab-add) {
    display: none;
  }
}

/* ── Dashboard Mockup ── */
.mockup-wrap {
  position: relative;
}

.mockup-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse, rgba(91, 95, 199, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.mockup-browser {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #faf9f8;
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-url {
  flex: 1;
  margin-left: 8px;
  padding: 4px 12px;
  background: #f3f2f1;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.mockup-app {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 320px;
}

.mockup-sidebar {
  background: #faf9f8;
  border-right: 1px solid var(--border);
  padding: 1rem 0;
}

.mockup-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.mockup-logo img {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mockup-nav-item.active {
  color: var(--primary);
  background: rgba(91, 95, 199, 0.1);
  border-right: 2px solid var(--primary);
}

.mockup-main {
  padding: 1rem;
  overflow: hidden;
  background: #fff;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.mockup-header h3 {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
}

.mockup-search {
  padding: 0.35rem 0.75rem;
  background: #f3f2f1;
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.mockup-team {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-member {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: #faf9f8;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.mockup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.mockup-info {
  flex: 1;
  min-width: 0;
}

.mockup-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-status-text {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mockup-status.available { background: var(--green); box-shadow: 0 0 8px var(--green); }
.mockup-status.busy { background: var(--red); }
.mockup-status.away { background: var(--yellow); }
.mockup-status.dnd { background: var(--red); opacity: 0.8; }

.mockup-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.mockup-action-btn {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: rgba(91, 95, 199, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

/* ── Stats bar ── */
.stats-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-value {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-value.highlight {
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ── Sections (light) ── */
.section {
  padding: 5rem 0;
  background: #fff;
}

.section-dark {
  background: var(--bg-subtle);
  color: var(--text-dark);
}

.section-light {
  background: var(--bg-subtle);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-dark .section-eyebrow {
  color: var(--primary);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.section-dark .section-header h2 {
  color: var(--text-dark);
}

.section-header p {
  margin: 0;
  color: var(--text-dark-muted);
  font-size: 1.05rem;
}

.section-dark .section-header p {
  color: var(--text-dark-muted);
}

/* ── Steps (BookSlot-style, Team Board colors) ── */
.steps-grid {
  display: grid;
  gap: 2.5rem 1.5rem;
  grid-template-columns: 1fr;
}

.step-card {
  padding: 0 0.75rem;
  text-align: center;
}

.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(91, 95, 199, 0.32);
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.step-card p {
  margin: 0 auto;
  max-width: 17.5rem;
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  line-height: 1.65;
}

/* ── Feature cards ── */
.features-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.feature-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.feature-tag.core { background: rgba(91, 95, 199, 0.12); color: var(--primary); }
.feature-tag.teams { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.feature-tag.search { background: rgba(216, 80, 40, 0.12); color: var(--accent); }
.feature-tag.mobile { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.feature-tag.contact { background: rgba(168, 85, 247, 0.12); color: #7c3aed; }
.feature-tag.affordable { background: rgba(234, 179, 8, 0.12); color: #ca8a04; }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  line-height: 1.65;
}

/* ── Screens tabs ── */
.screens-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.screens-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  background: #faf9f8;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.screens-tabs::-webkit-scrollbar {
  display: none;
}

.screen-tab {
  flex: 1;
  min-width: 120px;
  min-height: 48px;
  padding: 0.85rem 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.screen-tab.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(91, 95, 199, 0.06);
}

.screen-panel {
  display: none;
  padding: 1.5rem;
}

.screen-panel.is-active {
  display: block;
}

.screen-caption {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-dark-muted);
}

/* ── Team Board app mockup (matches real UI) ── */
.tb-app {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #edebe9;
  overflow: hidden;
  font-family: "Segoe UI", var(--font);
  font-size: 12px;
  color: #242424;
  text-align: left;
}

.tb-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 8px 12px;
  border-bottom: 1px solid #edebe9;
  background: #fff;
  flex-wrap: wrap;
}

.tb-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  min-width: 180px;
  max-width: 280px;
  flex: 1;
  border: 1px solid #8a8886;
  border-bottom-color: #242424;
  border-radius: 2px;
  color: #605e5c;
  font-size: 13px;
}

.tb-search svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.tb-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tb-icon-bar {
  display: flex;
  align-items: center;
  gap: 2px;
}

.tb-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #424242;
  border-radius: 2px;
}

.tb-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.tb-refresh-timer {
  font-size: 12px;
  color: #242424;
  white-space: nowrap;
}

.tb-refresh-timer strong {
  font-weight: 600;
}

.tb-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-height: 420px;
  overflow-y: auto;
}

.tb-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  table-layout: auto;
}

.tb-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #faf9f8;
}

.tb-table th {
  padding: 8px 10px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  color: #242424;
  border-bottom: 1px solid #edebe9;
  white-space: nowrap;
  vertical-align: bottom;
}

.tb-table td {
  padding: 6px 10px;
  border-bottom: 1px solid #edebe9;
  vertical-align: top;
  font-size: 12px;
  color: #242424;
}

.tb-table tbody tr:hover {
  background: #f3f2f1;
}

.tb-row-highlight {
  background: #deecf9 !important;
}

.tb-row-highlight .tb-action-btn {
  color: #5b5fc7;
}

#screen-dashboard .tb-table-scroll {
  overflow: hidden;
  max-height: none;
  scrollbar-width: none;
}

#screen-dashboard .tb-table-scroll::-webkit-scrollbar {
  display: none;
}

.tb-status-message {
  font-size: 12px;
  color: #242424;
  line-height: 1.4;
}

.tb-status-blue .tb-status-text,
.tb-status-blue .tb-status-time,
.tb-status-message.tb-status-blue {
  color: #115ea3;
}

.tb-col-check {
  width: 32px;
  text-align: center;
}

.tb-col-check input {
  width: 14px;
  height: 14px;
}

.tb-col-name {
  min-width: 160px;
}

.tb-sort {
  color: #605e5c;
  font-size: 10px;
  margin-left: 2px;
}

.tb-user {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tb-user-avatar,
.tb-avatar-dummy,
.avatar-dummy {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.tb-user-photo {
  object-fit: cover;
  display: block;
  background: #f3f2f1;
}

.avatar-dummy-lg,
.screen-avatar.avatar-dummy-lg {
  width: 40px;
  height: 40px;
  font-size: 0.75rem;
}

.tb-dot-neutral {
  background: #a19f9d;
}

.tb-user-name {
  font-weight: 600;
  font-size: 12px;
  color: #242424;
  line-height: 1.3;
}

.tb-user-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.tb-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8a8886;
  cursor: default;
  flex-shrink: 0;
}

.tb-action-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.tb-status {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 100px;
}

.tb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

.tb-dot-available {
  background: #13a10e;
}

.tb-dot-busy {
  background: #d13438;
}

.tb-dot-away {
  background: #ffaa44;
}

.tb-status-text {
  display: block;
  font-size: 12px;
  color: #242424;
  line-height: 1.3;
}

.tb-status-time {
  display: block;
  font-size: 11px;
  color: #605e5c;
  line-height: 1.3;
}

.tb-link {
  color: #115ea3;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.tb-link:hover {
  text-decoration: underline;
}

.tb-nowrap {
  white-space: nowrap;
}

/* ── Screenshot CSS mockups ── */
.screen-ui {
  background: #faf9f8;
  border-radius: var(--radius);
  border: 1px solid #e1dfdd;
  overflow: hidden;
  min-height: 360px;
}

.screen-ui-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border-bottom: 1px solid #e1dfdd;
  flex-wrap: wrap;
}

.screen-ui-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #252423;
}

.screen-ui-title img {
  border-radius: 4px;
}

.screen-ui-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.screen-ui-pill {
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  background: rgba(91, 95, 199, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
}

.screen-ui-search-hint {
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  background: #f3f2f1;
  color: #605e5c;
  border-radius: 6px;
  border: 1px solid #e1dfdd;
}

.screen-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.screen-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.screen-table thead {
  background: #f3f2f1;
}

.screen-table th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  color: #605e5c;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.screen-table td {
  padding: 0.65rem 0.75rem;
  border-top: 1px solid #edebe9;
  color: #252423;
  vertical-align: middle;
}

.screen-table tbody tr:hover {
  background: rgba(91, 95, 199, 0.04);
}

.screen-td-user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  white-space: nowrap;
}

.screen-td-muted {
  color: #605e5c;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.screen-avatar-lg {
  width: 40px;
  height: 40px;
  font-size: 0.75rem;
}

.screen-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.screen-badge-available {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.screen-badge-busy {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.screen-badge-away {
  background: rgba(234, 179, 8, 0.15);
  color: #ca8a04;
}

.screen-icons {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  opacity: 0.85;
}

/* Search mockup */
.screen-search-body {
  padding: 1.25rem;
}

.screen-search-input {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 3px rgba(91, 95, 199, 0.12);
}

.screen-search-icon {
  font-size: 0.9rem;
  opacity: 0.6;
}

.screen-search-query {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  color: #252423;
}

.screen-search-clear {
  font-size: 0.75rem;
  color: #a19f9d;
  cursor: default;
}

.screen-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.screen-filter {
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid #e1dfdd;
  color: #605e5c;
}

.screen-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.screen-results-label {
  font-size: 0.78rem;
  color: #605e5c;
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.screen-search-results {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.screen-search-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e1dfdd;
}

.screen-search-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.screen-search-info strong {
  font-size: 0.85rem;
  color: #252423;
}

.screen-search-info span {
  font-size: 0.72rem;
  color: #605e5c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mobile contact list mockup (screenshots tab) */
#screen-mobile .screen-phone-wrap {
  display: flex;
  justify-content: center;
  padding: 0.25rem 0 0.5rem;
}

#screen-mobile .screen-phone.screen-phone-screens {
  width: 100%;
  max-width: 320px;
  padding: 0 8px 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(91, 95, 199, 0.2);
}

#screen-mobile .mob-phone-screen {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  max-height: 560px;
}

#screen-mobile .hero-mob-header {
  flex-shrink: 0;
  padding: 12px 12px 8px;
}

#screen-mobile .hero-mob-header strong {
  font-size: 12px;
}

#screen-mobile .hero-mob-header small {
  font-size: 10px;
}

.mob-list-app {
  width: 100%;
  background: #fff;
  overflow: hidden;
  font-family: "Segoe UI", var(--font);
  font-size: 12px;
  color: #242424;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#screen-mobile .mob-list-app {
  border: none;
  border-radius: 0;
  box-shadow: none;
  max-width: none;
}

#screen-mobile .mob-list-scroll {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

#screen-mobile .screen-phone-home {
  background: rgba(255, 255, 255, 0.35);
  margin-top: 10px;
}

.mob-list-top {
  padding: 10px 12px 8px;
  border-bottom: 1px solid #edebe9;
}

.mob-list-refresh {
  text-align: right;
  font-size: 11px;
  color: #242424;
  margin-bottom: 8px;
}

.mob-list-refresh strong {
  font-weight: 600;
}

.mob-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mob-list-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 6px 10px;
  border: 1px solid #8a8886;
  border-bottom-color: #242424;
  border-radius: 2px;
  color: #605e5c;
  font-size: 13px;
  min-width: 0;
}

#screen-mobile .mob-list-search {
  max-width: none;
}

.mob-list-search svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.mob-list-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #424242;
}

.mob-toolbar-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #424242;
}

.mob-list-header {
  padding: 8px 12px;
  font-weight: 600;
  font-size: 12px;
  color: #242424;
  background: #faf9f8;
  border-bottom: 1px solid #edebe9;
}

#screen-mobile .mob-list-scroll::-webkit-scrollbar {
  display: none;
}

.mob-contact-card {
  padding: 12px;
  border-bottom: 1px solid #edebe9;
  background: #fff;
}

.mob-contact-card.is-selected {
  background: #deecf9;
}

.mob-contact-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.mob-avatar-lg .tb-avatar-dummy {
  width: 44px;
  height: 44px;
  font-size: 13px;
}

.mob-avatar-lg .avatar-badge {
  width: 14px;
  height: 14px;
  font-size: 8px;
}

.mob-contact-info {
  flex: 1;
  min-width: 0;
}

.mob-contact-info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #242424;
  margin-bottom: 4px;
}

.mob-status-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #242424;
  line-height: 1.35;
}

.mob-status-line .tb-dot {
  margin-top: 0;
}

.mob-status-line.mob-status-blue,
.mob-time.mob-status-blue {
  color: #115ea3;
}

.mob-time {
  display: block;
  font-size: 11px;
  color: #605e5c;
  margin-top: 2px;
}

.mob-contact-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.mob-action-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #8a8886;
  flex-shrink: 0;
}

.mob-contact-card.is-selected .mob-action-icon {
  color: #5b5fc7;
}

.avatar-badge svg {
  display: block;
}

/* Legacy phone mockup (hero carousel) */
.screen-phone-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 1rem;
}

.screen-phone {
  width: 100%;
  max-width: 300px;
  background: #1b1a19;
  border-radius: 36px;
  border: 3px solid #3b3a39;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
}

.screen-phone-notch {
  width: 100px;
  height: 24px;
  background: #1b1a19;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.screen-phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 1.25rem 0.5rem;
  font-size: 0.65rem;
  color: #fff;
  font-weight: 600;
}

.screen-phone-title {
  font-size: 0.7rem;
}

.screen-phone-appbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.screen-phone-appbar img {
  border-radius: 4px;
}

.screen-phone-refresh {
  margin-left: auto;
  font-size: 1rem;
  opacity: 0.9;
}

.screen-phone-cards {
  background: #f3f2f1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 320px;
}

.screen-phone-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.6rem;
  align-items: start;
  padding: 0.75rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.screen-phone-card.dimmed {
  opacity: 0.65;
}

.screen-phone-card-body {
  min-width: 0;
}

.screen-phone-card-body strong {
  display: block;
  font-size: 0.8rem;
  color: #252423;
  margin-bottom: 0.25rem;
}

.screen-phone-card-body p {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  color: #605e5c;
  line-height: 1.4;
}

.screen-phone-actions {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding-top: 0.25rem;
}

.screen-phone-home {
  width: 100px;
  height: 4px;
  background: #605e5c;
  border-radius: 4px;
  margin: 0.75rem auto 0.85rem;
}

/* ── For Users card ── */
#for-teams .section-header {
  max-width: 960px;
}

#for-teams .section-header h2 {
  white-space: nowrap;
  font-size: clamp(1rem, 4.2vw, 2.5rem);
}

.for-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.for-grid-single {
  max-width: 640px;
  margin: 0 auto;
}

.for-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.for-icon {
  margin-bottom: 1rem;
  color: var(--primary);
}

.for-icon svg {
  display: block;
  width: 40px;
  height: 40px;
}

.for-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.for-card > p {
  color: var(--text-dark-muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.for-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.for-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.for-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Integrations ── */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.integration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.integration-card:hover {
  background: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.integration-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto;
}

.integration-icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.integration-card span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark-muted);
}

/* ── Testimonial ── */
.testimonial-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card blockquote {
  margin: 0 0 1.25rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.75;
  color: var(--text-dark);
  font-style: italic;
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(91, 95, 199, 0.2);
}

.testimonial-card cite {
  font-style: normal;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 600;
  line-height: 1.45;
  color: #5b5fc7;
}

.trust-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.75rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark-muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trust-badge img {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* ── Pricing ── */
.pricing-toggle-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  max-width: 960px;
  margin: 0 auto 2.5rem;
}

.pricing-toggle {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  width: min(100%, 340px);
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pricing-toggle-btn {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0.6rem 2rem;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-dark-muted);
  transition: 0.2s;
  text-align: center;
}

.pricing-toggle-btn.is-active {
  background: var(--primary);
  color: #fff;
}

.save-badge {
  grid-column: 3;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.5rem 1.25rem;
  min-width: 6.25rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
}

.pricing-toggle-wrap[data-billing="annual"] .save-badge {
  visibility: visible;
  opacity: 1;
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-light);
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.pricing-card.is-visible {
  display: flex;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(91, 95, 199, 0.35);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(91, 95, 199, 0.2);
}

.pricing-card.featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(91, 95, 199, 0.28);
  border-color: var(--primary-light);
}

.pricing-card-header {
  padding: 1.25rem 1.5rem;
  background: var(--bg-subtle);
  text-align: center;
}

.pricing-card.featured .pricing-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.pricing-card-header h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-card-body {
  padding: 1.75rem 1.5rem;
  flex: 1;
  text-align: center;
}

.pricing-price {
  font-size: clamp(2.25rem, 5vw, 3rem);
  color: var(--primary);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.pricing-price-unit {
  font-size: 0.42em;
  font-weight: 700;
  color: var(--text-dark-muted);
  letter-spacing: -0.01em;
}

.pricing-period {
  color: var(--text-dark-muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 1.5rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.pricing-card-footer {
  padding: 0 1.5rem 1.5rem;
  text-align: center;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-dark-muted);
  margin: 0.75rem 0 0;
}

@media (max-width: 767px) {
  .pricing-toggle-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .pricing-toggle {
    grid-column: 1;
    width: min(100%, 340px);
  }

  .save-badge {
    grid-column: 1;
    justify-self: center;
  }
}

/* ── CTA Banner ── */
#pricing {
  scroll-margin-top: var(--nav-h);
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(91, 95, 199, 0.08) 0%, var(--bg-subtle) 50%, rgba(216, 80, 40, 0.06) 100%);
  padding-top: clamp(3.25rem, 6vw, 5rem);
  padding-bottom: clamp(3.25rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 50%, rgba(91, 95, 199, 0.07) 0%, transparent 68%);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  max-width: 720px;
  line-height: 1.2;
}

.cta-banner p {
  color: var(--text-dark-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 580px;
  margin: 0 0 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  width: 100%;
}

.cta-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin: 0;
  width: 100%;
  max-width: 720px;
}

.cta-banner .cta-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 8.5rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.cta-banner .cta-chip strong {
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cta-banner .cta-chip span {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dark-muted);
}

/* ── Demo (split layout) ── */
.demo-section {
  position: relative;
  overflow: hidden;
}

.demo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 100% 50%, rgba(91, 95, 199, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(216, 80, 40, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.demo-split {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.demo-content {
  text-align: left;
}

.demo-content .section-eyebrow {
  margin-bottom: 1rem;
}

.demo-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.demo-subtitle {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
}

.demo-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.demo-features li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dark-muted);
}

.demo-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 95, 199, 0.15);
}

.demo-cta {
  min-width: 10rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
}

.demo-media {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.demo-video-embed {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.demo-video-embed::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.demo-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-watch-yt {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.demo-watch-yt:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
  text-decoration: none;
}

/* ── Footer ── */
.site-footer {
  background: #faf9f8;
  color: var(--text-dark-muted);
  padding: clamp(3.5rem, 6vw, 5rem) 0 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 0;
  padding-bottom: 2.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem 3rem;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.footer-col {
  min-width: 7.5rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
 
  margin-bottom: 3px;
}

.footer-brand h3 {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-marketplace-bar {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  background: #faf9f8;
}

.footer-marketplace-link {
  display: inline-block;
  color: #5b5fc7;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.footer-marketplace-link:hover {
  color: #7f85f5;
  text-decoration: underline;
}

.footer-bottom-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.footer-copyright {
  margin: 0 auto 0 0;
  font-size: 0.875rem;
  color: var(--text-dark-muted);
  line-height: 1.5;
  flex: 0 1 auto;
}

.footer-copyright strong {
  font-weight: 700;
  color: var(--text-dark);
}

.footer-badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer-badge-group .footer-badge + .footer-badge {
  border-left: 1px solid var(--border);
  margin-left: 1rem;
  padding-left: 1rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.footer-badge img {
  display: block;
  height: 40px;
  width: auto;
}

.footer-badge img[width="36"] {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.back-to-top {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  margin-left: 90.25rem;
  margin-top: -60px;
  transition: background 0.2s, transform 0.2s;
}

.back-to-top:hover {
  background: #4a4fb3;
  transform: translateY(-1px);
}

.footer-col h4 {
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.85rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin: 0 0 0.35rem;
}

.footer-col li:last-child {
  margin-bottom: 0;
}

.footer-col a {
  color: var(--text-dark-muted);
  font-size: 0.9rem;
  display: block;
  line-height: 1.55;
  padding: 0.2rem 0;
}

.footer-col a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

.footer-col a[href^="mailto:"] {
  color: #5b5fc7;
  font-weight: 600;
}

.footer-ms-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-ms-badge img {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* ── Desktop ── */
@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }

  .nav-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
    align-items: stretch;
  }
}

@media (min-width: 992px) and (max-width: 1279px) {
  #hero-carousel .tb-table th:nth-child(4),
  #hero-carousel .tb-table td:nth-child(4) {
    display: none;
  }

  #hero-carousel .tb-user-actions {
    display: none;
  }

  .hero-mockup-glow {
    inset: -6%;
  }
}

@media (min-width: 1280px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: stretch;
  }

  #hero-carousel .tb-table-scroll {
    max-height: 360px;
  }

  .hero-slide-mobile-only {
    min-height: 400px;
    padding: 1.5rem;
  }

  #hero-carousel .screen-phone.screen-phone-screens {
    max-width: 300px;
  }

  #hero-carousel .mob-phone-screen {
    min-height: 390px;
    max-height: 420px;
  }

  #hero-carousel .hero-slide-card,
  #hero-carousel .hero-slide-mobile-only {
    min-height: 400px;
  }

  .hero-slide-card .tb-app {
    min-height: 360px;
  }
}

@media (min-width: 1440px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
    gap: 3.5rem;
  }

  #hero-carousel .screen-phone.screen-phone-screens {
    max-width: 320px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-mockup-wrap {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-browser {
    max-width: 100%;
  }
}

@media (min-width: 768px) {

  .mockup-app {
    min-height: 360px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem 1.25rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .for-grid:not(.for-grid-single) {
    grid-template-columns: 1fr 1fr;
  }

  .demo-split {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
  }

  .integrations-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .footer-brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .footer-links {
    gap: 2rem 4rem;
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .integrations-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 480px) {
  .stat-value {
    font-size: 1.2rem;
  }

  .stat-card {
    padding: 1rem 0.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .screen-panel {
    padding: 1rem;
  }

  .screen-table th:nth-child(4),
  .screen-table td:nth-child(4) {
    display: none;
  }

  .screen-table th,
  .screen-table td {
    padding: 0.5rem 0.4rem;
    font-size: 0.72rem;
  }

  .screen-td-muted {
    max-width: 90px;
  }

  .screen-phone {
    max-width: 260px;
  }

  .screen-phone-cards {
    min-height: 280px;
  }

  .tb-refresh-timer {
    font-size: 10px;
  }

  .tb-icon-bar .tb-icon:nth-child(n+5) {
    display: none;
  }

  .tb-table {
    min-width: 360px;
  }
}

@media (max-width: 767px) {
  .cta-banner p {
    margin-bottom: 1.75rem;
  }

  .cta-actions {
    margin-bottom: 1.75rem;
  }

  .cta-chips {
    gap: 1.5rem 2rem;
    max-width: 100%;
  }

  .cta-banner .cta-chip {
    flex: 1 1 auto;
    min-width: 5.5rem;
    max-width: none;
  }

  .footer-grid {
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-badge-group {
    margin-left: 0;
  }

  .back-to-top {
    align-self: flex-end;
    margin-left: 0;
  }

  .footer-marketplace-link {
    white-space: normal;
  }

  .footer-links {
    width: 100%;
    justify-content: flex-start;
    gap: 2rem 2.5rem;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-marketplace-link {
    white-space: normal;
  }

  .mockup-app {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup-main {
    padding: 0.75rem;
  }

  .hero-ctas .btn {
    flex: 1;
    min-width: 140px;
  }
}
