/* =============================================
   FlatApp Landing - Main Styles
   Layout, sections, typography, components
   ============================================= */

/* ---- Navigation Bar ---- */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

[data-theme="dark"] .nav-bar {
  background: var(--bg-card, #1e1e1e);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  transition: transform 0.2s;
}

.nav-logo:hover .nav-logo-img {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .nav-logo-img {
    height: 40px;
  }
}

.nav-center {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text, #222);
  transition: color 0.2s;
}

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

[data-theme="dark"] .nav-link {
  color: var(--text-light, #aaa);
}

[data-theme="dark"] .nav-link:hover {
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-lang {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light, #757575);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: color 0.2s, background 0.2s;
}

.nav-lang.active,
.nav-lang:hover {
  color: var(--primary);
  background: rgba(253, 130, 90, 0.1);
}

.nav-theme-toggle {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--text, #222);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-size: 20px;
}

.nav-theme-toggle:hover {
  background: var(--bg-input, #f5f5f5);
  color: var(--primary);
}

[data-theme="dark"] .nav-theme-toggle {
  color: var(--text-light, #aaa);
}

.btn-login {
  padding: 8px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--primary);
}

.btn-login:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--text, #222);
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s;
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 280px; height: 100vh;
  background: var(--bg-sidebar);
  z-index: 2000;
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu .nav-link {
  color: var(--text-white);
  font-size: 18px;
  display: block;
  padding: 8px 0;
}

.mobile-menu .btn-login {
  display: inline-block;
  text-align: center;
  margin-top: 16px;
}

.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  color: var(--text-white);
  font-size: 28px;
  cursor: pointer;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-overlay.open {
  opacity: 1;
}

/* ---- Sections ---- */
.section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-wide {
  max-width: 100%;
  padding: 100px 0;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FD825A, #e06a42, #ff9a7a, #FD825A);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  padding: 120px 48px 80px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  max-width: 520px;
}

.hero-logo {
  margin-bottom: 16px;
}

.hero-logo-img {
  height: 80px;
  width: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.hero-tagline {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.btn-hero-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-hero-primary:hover {
  background: var(--bg);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

.btn-hero-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-hero-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
}

.hero-visual {
  flex: 1;
  max-width: 580px;
  position: relative;
}

/* ---- CSS Mockup: Browser Frame ---- */
.mockup-frame {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.mockup-chrome {
  background: #2a2a2a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28CA41; }

.mockup-url {
  flex: 1;
  background: #3a3a3a;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: #999;
  margin-left: 8px;
}

.mockup-body {
  padding: 16px;
  min-height: 280px;
}

/* ---- CSS Mockup: Dashboard ---- */
.mock-dashboard {
  display: flex;
  gap: 12px;
}

.mock-sidebar {
  width: 48px;
  background: var(--bg-sidebar);
  border-radius: var(--radius-xs);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.mock-sidebar-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.mock-sidebar-dot.active {
  background: var(--primary);
}

.mock-sidebar-logo {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 8px;
}

.mock-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mock-stat {
  background: var(--bg);
  border-radius: var(--radius-xs);
  padding: 10px;
  text-align: center;
}

.mock-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.mock-stat-label {
  font-size: 8px;
  color: var(--text-hint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-card {
  background: var(--bg);
  border-radius: var(--radius-xs);
  padding: 10px;
  min-height: 60px;
}

.mock-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.mock-card-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--text);
}

.mock-card-badge {
  font-size: 7px;
  padding: 2px 6px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
}

.mock-card-badge.green { background: var(--green); }
.mock-card-badge.orange { background: var(--orange); }
.mock-card-badge.red { background: var(--red); }

.mock-card-meta {
  font-size: 8px;
  color: var(--text-hint);
}

.mock-chart-area {
  background: var(--bg);
  border-radius: var(--radius-xs);
  padding: 12px;
  min-height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.mock-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  min-width: 12px;
}

/* ---- SWIPE SECTION ---- */
.swipe-section {
  background: var(--bg-white);
  text-align: center;
}

.swipe-container {
  max-width: 380px;
  margin: 0 auto;
}

.swipe-stack {
  position: relative;
  width: 100%;
  height: 440px;
  margin-bottom: 24px;
}

.swipe-card {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  border-radius: var(--radius);
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  border: 1px solid var(--border-light);
}

.swipe-card-img {
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.swipe-card-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.swipe-card-img .swipe-card-type {
  z-index: 1;
}

.swipe-card-img .swipe-card-overlay {
  z-index: 1;
}

.swipe-card-type {
  position: absolute;
  top: 14px; right: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.swipe-card-overlay {
  padding: 16px;
  width: 100%;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.65));
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
}

.swipe-card-price {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.swipe-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.swipe-card-location {
  font-size: 13px;
  opacity: 0.85;
}

.swipe-card-body {
  padding: 16px;
}

.swipe-card-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.swipe-card-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.swipe-card-stats .material-icons-outlined {
  font-size: 18px;
  color: var(--primary);
}

.swipe-card-features {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.swipe-feature {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(253, 130, 90, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .swipe-feature {
  background: rgba(253, 130, 90, 0.15);
}

.swipe-feature .material-icons-outlined {
  font-size: 18px;
  color: var(--primary);
}

/* Swipe labels */
.swipe-label {
  position: absolute;
  top: 24px;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
  z-index: 20;
}

.swipe-label-like {
  left: 20px;
  color: var(--green);
  border: 3px solid var(--green);
  transform: rotate(-12deg);
  background: rgba(255,255,255,0.9);
}

.swipe-label-skip {
  right: 20px;
  color: var(--red);
  border: 3px solid var(--red);
  transform: rotate(12deg);
  background: rgba(255,255,255,0.9);
}

/* Swipe action buttons */
.swipe-actions {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 16px;
}

.swipe-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}

.swipe-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.swipe-btn:active {
  transform: scale(0.95);
}

.swipe-btn-skip .material-icons-outlined {
  font-size: 28px;
  color: var(--red);
}

.swipe-btn-skip:hover {
  border-color: var(--red);
}

.swipe-btn-fav .material-icons-outlined {
  font-size: 28px;
  color: var(--green);
}

.swipe-btn-fav:hover {
  border-color: var(--green);
}

.swipe-hint {
  font-size: 13px;
  color: var(--text-hint);
}

/* ---- WHAT WE DO Section ---- */
.what-we-do {
  background: var(--bg);
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.value-card-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(253, 130, 90, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
  color: var(--primary);
}

[data-theme="dark"] .value-card-icon {
  background: rgba(253, 130, 90, 0.15);
}

.value-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-card-text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- APP SHOWCASE Section ---- */
.app-showcase {
  background: var(--bg-white);
}

.showcase-main {
  max-width: 900px;
  margin: 0 auto 48px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.showcase-item {
  border-radius: var(--radius);
  overflow: hidden;
}

.showcase-caption {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-hint);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* ---- HOW IT WORKS Section ---- */
.how-it-works {
  background: var(--bg);
}

/* ---- How it works: shared sign-up + two-branch fork ---- */
.how-it-works .section-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
}

.hiw-tree {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hiw-shared {
  display: flex;
  justify-content: center;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.hiw-step-shared {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 26px 28px;
  max-width: 380px;
  box-shadow: var(--shadow-sm);
}

.hiw-step-icon {
  font-size: 30px;
  color: var(--primary);
  background: rgba(253, 130, 90, 0.10);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.hiw-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.3;
}

.hiw-step-desc {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
  max-width: 32ch;
}

/* Fork visual: vertical stem from shared step, then a split into two arms */
.hiw-fork {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 6px;
}

.hiw-fork-stem {
  width: 2px;
  height: 36px;
  background: var(--border);
}

.hiw-fork-split {
  position: relative;
  width: 50%;
  height: 28px;
  border-top: 2px solid var(--border);
  border-left: 2px solid var(--border);
  border-right: 2px solid var(--border);
  border-radius: 14px 14px 0 0;
}

.hiw-fork-split::before,
.hiw-fork-split::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 0;
  height: 28px;
}

.hiw-fork-arm-left,
.hiw-fork-arm-right {
  display: none; /* arms are drawn by .hiw-fork-split borders */
}

.hiw-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 0;
}

.hiw-branch {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 28px 24px 24px;
  position: relative;
}

.hiw-branch-renter {
  border-color: rgba(253, 130, 90, 0.25);
  background:
    linear-gradient(180deg, rgba(253,130,90,0.05), rgba(253,130,90,0) 40%),
    var(--bg-white);
}

.hiw-branch-agency {
  border-color: rgba(31, 41, 51, 0.18);
  background:
    linear-gradient(180deg, rgba(31,41,51,0.04), rgba(31,41,51,0) 40%),
    var(--bg-white);
}

[data-theme="dark"] .hiw-branch-renter {
  border-color: rgba(253, 130, 90, 0.32);
  background:
    linear-gradient(180deg, rgba(253,130,90,0.16), rgba(253,130,90,0) 45%),
    var(--bg-white);
}

[data-theme="dark"] .hiw-branch-agency {
  border-color: rgba(183, 199, 219, 0.28);
  background:
    linear-gradient(180deg, rgba(183,199,219,0.10), rgba(183,199,219,0) 45%),
    var(--bg-white);
}

/* Step number circles on the agency side need more lift in dark mode —
   the .hiw-branch-agency .hiw-step::before bg falls through to the
   --cockpit-ink override (light blue-gray), but the inside number text
   should switch to dark for readability. */
[data-theme="dark"] .hiw-branch-agency .hiw-steps .hiw-step::before {
  color: #0F1115;
}

.hiw-branch-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hiw-branch-renter .hiw-branch-eyebrow { color: var(--primary); }
.hiw-branch-agency .hiw-branch-eyebrow { color: var(--cockpit-ink, #1F2933); }

.hiw-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: hiw;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.hiw-steps .hiw-step {
  counter-increment: hiw;
  align-items: flex-start;
  text-align: left;
  padding: 16px 0 16px 56px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}

.hiw-steps .hiw-step:last-child {
  border-bottom: none;
}

/* Numbered circle on the left of each branch step */
.hiw-steps .hiw-step::before {
  content: counter(hiw);
  position: absolute;
  left: 0;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(253, 130, 90, 0.25);
}

.hiw-branch-agency .hiw-steps .hiw-step::before {
  background: var(--cockpit-ink, #1F2933);
  box-shadow: 0 2px 8px rgba(31, 41, 51, 0.20);
}

/* Override .hiw-step-icon inside a branch — smaller, inline with title */
.hiw-steps .hiw-step-icon {
  width: auto;
  height: auto;
  background: transparent;
  font-size: 18px;
  margin-bottom: 6px;
  margin-right: 6px;
  align-self: flex-start;
}

.hiw-branch-renter .hiw-steps .hiw-step-icon { color: var(--primary); }
.hiw-branch-agency .hiw-steps .hiw-step-icon { color: var(--cockpit-ink, #1F2933); }

.hiw-steps .hiw-step-title {
  font-size: 15.5px;
  margin: 0 0 4px;
}

.hiw-steps .hiw-step-desc {
  font-size: 13.5px;
  max-width: none;
}

@media (max-width: 760px) {
  .hiw-fork-split { width: 80%; }
  .hiw-branches {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hiw-branch { padding: 22px 18px 18px; }
}

/* ---- FEATURE HIGHLIGHTS Section ---- */
.feature-highlights {
  background: var(--bg-white);
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 80px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-visual {
  flex: 1;
  min-width: 0;
}

.feature-info {
  flex: 1;
  min-width: 0;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(253, 130, 90, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

[data-theme="dark"] .feature-badge {
  background: rgba(253, 130, 90, 0.15);
}

.feature-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.feature-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- Mini mockups for features ---- */
.mock-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 10px;
}

.mock-table th {
  background: var(--bg);
  padding: 8px 12px;
  text-align: left;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 8px;
}

.mock-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}

.mock-incident-card {
  background: var(--bg);
  border-radius: var(--radius-xs);
  padding: 12px;
  margin-bottom: 8px;
  border-left: 3px solid var(--primary);
}

.mock-incident-title {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
}

.mock-incident-meta {
  font-size: 9px;
  color: var(--text-hint);
}

.mock-doc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-doc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  font-size: 10px;
}

.mock-doc-icon {
  font-size: 16px;
  color: var(--primary);
}

.mock-chart-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  padding: 12px;
}

.mock-chart-col {
  flex: 1;
  border-radius: 4px 4px 0 0;
  min-height: 10px;
}

/* ---- PLATFORMS Section ---- */
.platforms {
  background: var(--bg);
}

.platforms-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
}

.device-frame {
  background: #1a1a1a;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.device-laptop {
  width: 420px;
}

.device-laptop .device-screen {
  padding: 8px;
}

.device-laptop .device-screen-inner {
  background: var(--bg-white);
  border-radius: var(--radius-xs);
  padding: 8px;
  min-height: 240px;
  overflow: hidden;
}

.device-tablet {
  width: 200px;
}

.device-tablet .device-screen {
  padding: 8px;
}

.device-tablet .device-screen-inner {
  background: var(--bg-white);
  border-radius: var(--radius-xs);
  padding: 6px;
  min-height: 260px;
  overflow: hidden;
}

.device-phone {
  width: 120px;
}

.device-phone .device-screen {
  padding: 6px;
}

.device-phone .device-screen-inner {
  background: var(--bg-white);
  border-radius: var(--radius-xs);
  padding: 4px;
  min-height: 200px;
  overflow: hidden;
}

.device-notch {
  width: 50%; height: 6px;
  background: #1a1a1a;
  border-radius: 0 0 8px 8px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.platform-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.platform-badge .material-icons-outlined {
  font-size: 22px;
  color: var(--primary);
}

/* ---- SOCIAL PROOF Section ---- */
.social-proof {
  background: linear-gradient(135deg, rgba(253,130,90,0.06), rgba(253,130,90,0.02));
}

[data-theme="dark"] .social-proof {
  background: linear-gradient(135deg, rgba(253,130,90,0.08), rgba(253,130,90,0.03));
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 64px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 56px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 32px;
  color: var(--primary);
  font-style: normal;
  line-height: 0;
  vertical-align: -12px;
  margin-right: 4px;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 700;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-hint);
}

/* ---- Honest Signals (replaces stats counters + testimonials) ---- */
.signals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto 48px;
}

.signals-grid.signals-grid-pair {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}

.signal-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
  transition: transform .2s, box-shadow .2s;
}

.signal-card .signal-icon {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}

.signal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.3;
}

.signal-text {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

.transparency-block {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--bg-card-alt, rgba(253,130,90,0.04));
  border: 1px solid rgba(253,130,90,0.18);
  border-radius: var(--radius);
  text-align: center;
}

.transparency-text {
  margin: 0;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.55;
}

.transparency-text a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 860px) {
  .signals-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .signal-card { padding: 18px; }
}

@media (max-width: 480px) {
  .signals-grid { grid-template-columns: 1fr; }
}

/* ---- CTA + FOOTER Section ---- */
.cta-section {
  background: var(--bg-sidebar);
  text-align: center;
  padding: 100px 48px 40px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 240px at 80% 0%, rgba(253,130,90,0.22), transparent 70%);
  pointer-events: none;
}

.closing-cta {
  position: relative;
  max-width: 720px;
  margin: 0 auto 24px;
  z-index: 1;
}

.closing-cta-heading {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text-white);
  margin: 0 0 18px;
  font-weight: 700;
}

.closing-cta-heading .closing-cta-accent {
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
  display: inline;
  margin-left: 0.25em;
}

.closing-cta-sub {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.55;
  max-width: 48ch;
  margin: 0 auto 32px;
}

.closing-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 18px;
}

.closing-cta-fineprint {
  margin: 0 auto;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.01em;
  max-width: 56ch;
}

.cta-logo {
  margin-bottom: 16px;
}

.cta-logo-img {
  height: 72px;
  width: auto;
  border-radius: var(--radius-sm);
  margin: 0 auto;
}

.cta-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  padding: 16px 48px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(253, 130, 90, 0.4);
}

.btn-cta:hover {
  background: var(--primary-light);
  box-shadow: 0 6px 28px rgba(253, 130, 90, 0.5);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-secondary {
  padding: 16px 48px;
  background: transparent;
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

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

.footer-lang {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-lang-btn {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.footer-lang-btn.active,
.footer-lang-btn:hover {
  color: var(--primary);
  background: rgba(253,130,90,0.1);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding-bottom: 24px;
}

/* ---- Mock Card with Thumbnail ---- */
.mock-card-with-img {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.mock-card-thumb {
  width: 40px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.mock-card-content {
  flex: 1;
  min-width: 0;
}

/* ---- Pricing Toggle ---- */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 48px auto 24px;
}

.pricing-style-btn {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
}

.pricing-style-btn.active {
  background: var(--primary);
  color: #fff;
}

/* ---- Pricing Grid ---- */
.pricing-grid {
  display: flex;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.pricing-grid::-webkit-scrollbar {
  height: 6px;
}

.pricing-grid::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.pricing-grid::-webkit-scrollbar-track {
  background: var(--border-light);
  border-radius: 3px;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 0;
  text-align: center;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 210px;
  flex: 1 0 210px;
  scroll-snap-align: start;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-popular {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(253,130,90,0.2);
}

.pricing-badge {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

/* Reserve same space on non-popular cards so headers align */
.pricing-card:not(.pricing-popular)::before {
  content: '';
  display: block;
  height: 27px;
  flex-shrink: 0;
}

.pricing-card-header {
  padding: 24px 16px 16px;
  border-bottom: 1px solid var(--border-light);
}

/* badge provides the top space for popular card */

.pricing-icon {
  height: 56px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 12px;
  display: block;
  background: var(--primary);
  border-radius: var(--radius-sm);
  padding: 8px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(253,130,90,0.25);
}

[data-theme="dark"] .pricing-icon {
  box-shadow: 0 2px 8px rgba(253,130,90,0.4);
}

.pricing-icon-light {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.pricing-icon-enterprise {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: #1a1a2e;
  color: #d4af37;
  font-size: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.pricing-tier-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.pricing-subtitle {
  font-size: 12px;
  color: var(--text-hint);
  margin: 0;
}

/* ---- Pricing Features List ---- */
.pricing-features {
  list-style: none;
  padding: 16px;
  margin: 0;
  text-align: left;
  flex: 1;
}

.pricing-features li {
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '\e5ca'; /* check icon */
  font-family: 'Material Icons Outlined';
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 16px;
  color: var(--primary);
}

/* ---- Pricing CTA Button ---- */
.pricing-cta {
  display: block;
  margin: 0 16px 16px;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  background: var(--primary);
  color: #fff;
  transition: background 0.2s, transform 0.1s;
}

.pricing-cta:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
}

/* ---- Colorful Mode ---- */
.pricing-grid.colorful .pricing-owner .pricing-card-header { background: linear-gradient(135deg, #e8f4fd, #d1ecf9); }
.pricing-grid.colorful .pricing-owner .pricing-price { color: #2980b9; }
.pricing-grid.colorful .pricing-owner .pricing-icon { background: #2980b9; box-shadow: 0 2px 8px rgba(41,128,185,0.25); }
.pricing-grid.colorful .pricing-owner .pricing-cta { background: #2980b9; }
.pricing-grid.colorful .pricing-owner .pricing-cta:hover { background: #2471a3; }
.pricing-grid.colorful .pricing-owner .pricing-features li::before { color: #2980b9; }
.pricing-grid.colorful .pricing-owner { border-color: #2980b9; }

.pricing-grid.colorful .pricing-pro .pricing-card-header { background: linear-gradient(135deg, #f0e6f6, #e4d4f0); }
.pricing-grid.colorful .pricing-pro .pricing-price { color: #8e44ad; }
.pricing-grid.colorful .pricing-pro .pricing-icon { background: #8e44ad; box-shadow: 0 2px 8px rgba(142,68,173,0.25); }
.pricing-grid.colorful .pricing-pro .pricing-cta { background: #8e44ad; }
.pricing-grid.colorful .pricing-pro .pricing-cta:hover { background: #7d3c98; }
.pricing-grid.colorful .pricing-pro .pricing-features li::before { color: #8e44ad; }
.pricing-grid.colorful .pricing-pro { border-color: #8e44ad; }
.pricing-grid.colorful .pricing-pro .pricing-badge { background: #8e44ad; }

.pricing-grid.colorful .pricing-contractor .pricing-card-header { background: linear-gradient(135deg, #f0fce8, #e2f7d5); }
.pricing-grid.colorful .pricing-contractor .pricing-price { color: #7cb342; }
.pricing-grid.colorful .pricing-contractor .pricing-icon-light { background: #7cb342; border-color: #7cb342; color: #fff; }
.pricing-grid.colorful .pricing-contractor .pricing-cta { background: #7cb342; }
.pricing-grid.colorful .pricing-contractor .pricing-cta:hover { background: #689f38; }
.pricing-grid.colorful .pricing-contractor .pricing-features li::before { color: #7cb342; }
.pricing-grid.colorful .pricing-contractor { border-color: #7cb342; }

.pricing-grid.colorful .pricing-enterprise .pricing-card-header { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.pricing-grid.colorful .pricing-enterprise .pricing-tier-name { color: #d4af37; }
.pricing-grid.colorful .pricing-enterprise .pricing-price { color: #d4af37; }
.pricing-grid.colorful .pricing-enterprise .pricing-subtitle { color: #aaa; }
.pricing-grid.colorful .pricing-enterprise .pricing-cta { background: #1a1a2e; }
.pricing-grid.colorful .pricing-enterprise .pricing-cta:hover { background: #16213e; }
.pricing-grid.colorful .pricing-enterprise .pricing-features li::before { color: #d4af37; }
.pricing-grid.colorful .pricing-enterprise { border-color: #1a1a2e; }
.pricing-grid.colorful .pricing-enterprise .pricing-icon-enterprise { background: #d4af37; color: #1a1a2e; }

/* Enterprise card special styling (always) */
.pricing-enterprise .pricing-card-header {
  background: linear-gradient(135deg, #f8f6f0, #f0ece0);
}

[data-theme="dark"] .pricing-enterprise .pricing-card-header {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

/* ---- Pricing responsive ---- */
@media (max-width: 768px) {
  .pricing-grid {
    padding-left: 16px;
    padding-right: 16px;
  }
  .pricing-card {
    min-width: 240px;
    flex: 0 0 240px;
  }
}

/* ---- Testimonial Avatars (initials) ---- */
.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(253,130,90,0.2);
}

.testimonial-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  border-color: transparent;
}

.testimonial-avatar-initials.avatar-orange {
  background: linear-gradient(135deg, #FD825A, #ff9a7a);
  box-shadow: 0 2px 8px rgba(253,130,90,0.25);
}

.testimonial-avatar-initials.avatar-blue {
  background: linear-gradient(135deg, #1E4FB0, #5B7CDC);
  box-shadow: 0 2px 8px rgba(30,79,176,0.25);
}

.testimonial-avatar-initials.avatar-green {
  background: linear-gradient(135deg, #0F7A4B, #4CAF50);
  box-shadow: 0 2px 8px rgba(15,122,75,0.25);
}

/* ---- Mascot Section ---- */
.mascot-container {
  text-align: center;
  margin-top: 48px;
}

.mascot-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary);
  margin: 0 auto 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s;
}

.mascot-img:hover {
  transform: scale(1.08) rotate(3deg);
}

.mascot-caption {
  font-size: 14px;
  color: var(--text-hint);
  font-style: italic;
}

/* ============ PHONE FRAME (swipe demo) ============ */
.phone-frame {
  position: relative;
  max-width: 320px;
  margin: 0 auto 24px;
  padding: 14px 12px 18px;
  background: #1a1a1a;
  border-radius: 44px;
  box-shadow:
    0 0 0 2px #2a2a2a,
    0 30px 60px -20px rgba(0, 0, 0, 0.45),
    0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone-screen {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background: var(--bg-white);
  aspect-ratio: 9 / 19;
}

.phone-home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: #4a4a4a;
  border-radius: 2px;
  z-index: 3;
}

/* Make the swipe stack fill the phone screen */
.phone-frame .swipe-stack {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
}

.phone-frame .swipe-card {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.phone-frame .swipe-card-img {
  height: 72%;
}

.phone-frame .swipe-card-body {
  padding: 12px 14px;
}

.phone-frame .swipe-card-stats {
  gap: 14px;
  margin-bottom: 8px;
  font-size: 12px;
}

.phone-frame .swipe-card-overlay {
  padding: 12px 14px 14px;
}

.phone-frame .swipe-card-title {
  font-size: 16px;
}

.phone-frame .swipe-card-price {
  font-size: 18px;
}

/* ---- Hero wordmark (Flat[home]pp) ---- */
.hero-wordmark {
  font-family: 'Roboto Condensed', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.95;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 0.02em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.18);
}

.hero-wordmark .hw-flat,
.hero-wordmark .hw-pp {
  display: inline-block;
}

.hero-wordmark .hw-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.78em;
  height: 0.78em;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  margin: 0 0.04em;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18), inset 0 -3px 0 rgba(0,0,0,0.06);
  transform: translateY(-0.06em);
}

.hero-wordmark .hw-icon .material-icons-outlined {
  font-size: 0.55em;
  color: var(--primary);
  font-weight: 700;
}

/* Re-skin .hero-tagline to be the smaller subtitle line */
.hero-tagline {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  line-height: 1.4;
  letter-spacing: 0.2px;
  margin-bottom: 32px;
  max-width: 28ch;
}

/* Hero phone — small floating phone overlapping the dashboard */
.hero-visual {
  position: relative;
}

.hero-phone {
  position: absolute;
  bottom: -28px;
  right: -8px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.28));
}

.phone-frame.phone-frame-sm {
  max-width: 168px;
  padding: 8px 6px 10px;
  border-radius: 28px;
  margin: 0;
}

.phone-frame.phone-frame-sm .phone-notch {
  width: 60px;
  height: 16px;
  top: 6px;
  border-radius: 0 0 10px 10px;
}

.phone-frame.phone-frame-sm .phone-screen {
  border-radius: 20px;
}

.phone-frame.phone-frame-sm .phone-home-indicator {
  width: 60px;
  height: 3px;
  bottom: 4px;
}

.hero-phone-card {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-phone-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 12px 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.72) 100%);
  color: #fff;
}

.hero-phone-price {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.hero-phone-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-phone-loc {
  font-size: 11px;
  opacity: 0.85;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .hero-phone {
    position: static;
    margin: 24px auto 0;
    display: flex;
    justify-content: center;
  }
}

/* =====================================================================
   Hero rewrite (§1) — split-audience layout
   ===================================================================== */

.hero-lockup {
  display: inline-flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  text-decoration: none;
  opacity: 0.92;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.25);
  flex-shrink: 0;
}

.hero-h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #fff;
  margin: 0 0 18px;
  max-width: 14ch;
}

.hero-h1 em {
  font-style: italic;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
}

.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  max-width: 52ch;
  margin: 0 0 32px;
}

.hero-tracks {
  display: flex;
  align-items: stretch;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-track {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 200px;
}

.hero-track-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.hero-track-meta {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
}

.hero-track-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.18);
}

.hero-track .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 640px) {
  .hero-tracks {
    flex-direction: column;
    gap: 18px;
  }
  .hero-track-divider {
    width: 100%;
    height: 1px;
  }
  .hero-h1 { max-width: 22ch; }
}

/* ---- Cockpit screenshot (hero) ---- */
.cockpit-shot {
  width: 100%;
  max-width: 560px;
  margin: 0;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15,17,21,0.08);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15,17,21,0.22), 0 4px 14px rgba(15,17,21,0.12);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transform-origin: center;
}

.cockpit-shot-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #FAFAFA;
  border-bottom: 1px solid #EAEAEA;
}

.cockpit-shot-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #DCDCDC;
}

.cockpit-shot-url {
  margin-left: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #9CA3AF;
}

.cockpit-shot-body {
  position: relative;
  display: block;
  background: #fff;
}

.cockpit-shot-img {
  display: block;
  width: 100%;
  height: auto;
}

.cockpit-shot-img-dark { display: none; }

.cockpit-shot-caption {
  padding: 10px 14px;
  border-top: 1px solid #EAEAEA;
  background: #FAFAFA;
  font-size: 12px;
  color: #6B7280;
  text-align: center;
}

[data-theme="dark"] .cockpit-shot {
  background: #141414;
  border-color: rgba(255,255,255,0.10);
}

[data-theme="dark"] .cockpit-shot-chrome,
[data-theme="dark"] .cockpit-shot-caption {
  background: #1B1B1B;
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .cockpit-shot-dot { background: #3A3A3A; }
[data-theme="dark"] .cockpit-shot-body { background: #0E0E0E; }
[data-theme="dark"] .cockpit-shot-img-light { display: none; }
[data-theme="dark"] .cockpit-shot-img-dark { display: block; }

@media (max-width: 768px) {
  .cockpit-shot { transform: none; }
}

/* ---- Cockpit placeholder (replaces invented dashboard mock) ---- */
.cockpit-placeholder {
  width: 100%;
  max-width: 520px;
  background: rgba(255,255,255,0.96);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15,17,21,0.22), 0 4px 14px rgba(15,17,21,0.12);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transform-origin: center;
}

.cockpit-placeholder-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #FAFAFA;
  border-bottom: 1px solid #EAEAEA;
}

.cockpit-placeholder-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #DCDCDC;
}

.cockpit-placeholder-url {
  margin-left: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #9CA3AF;
}

.cockpit-placeholder-body {
  padding: 56px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  min-height: 260px;
  background:
    repeating-linear-gradient(45deg, rgba(15,17,21,0.025) 0 8px, transparent 8px 16px),
    #fff;
}

.cockpit-placeholder-icon {
  font-size: 56px;
  color: rgba(15,17,21,0.4);
}

.cockpit-placeholder-label {
  font-size: 13.5px;
  color: #6B7280;
  font-weight: 500;
  margin: 0;
  max-width: 28ch;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cockpit-placeholder { transform: none; }
  .cockpit-placeholder-body { padding: 40px 22px; min-height: 200px; }
}

/* =====================================================================
   Two sides, one platform (§2)
   ===================================================================== */

.two-sides .section-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
}

.two-sides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 36px auto 0;
}

.two-sides-col {
  background: var(--bg-white, #fff);
  border: 1px solid var(--border, #E6E6E4);
  border-radius: 18px;
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}

.two-sides-renter {
  background:
    linear-gradient(180deg, rgba(253,130,90,0.045), rgba(253,130,90,0) 40%),
    var(--bg-white, #fff);
  border-color: rgba(253,130,90,0.22);
}

.two-sides-agency {
  background:
    linear-gradient(180deg, rgba(31,41,51,0.04), rgba(31,41,51,0) 40%),
    var(--bg-white, #fff);
  border-color: rgba(31,41,51,0.14);
}

[data-theme="dark"] .two-sides-renter {
  background:
    linear-gradient(180deg, rgba(253,130,90,0.16), rgba(253,130,90,0) 45%),
    var(--bg-white, #121212);
  border-color: rgba(253,130,90,0.32);
}

[data-theme="dark"] .two-sides-agency {
  background:
    linear-gradient(180deg, rgba(183,199,219,0.10), rgba(183,199,219,0) 45%),
    var(--bg-white, #121212);
  border-color: rgba(183,199,219,0.28);
}

.two-sides-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.two-sides-visual .phone-frame.phone-frame-sm {
  position: static;
  margin: 0;
}

.ts-swipe-card {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: inherit;
}

.cockpit-placeholder.cockpit-placeholder-mini {
  max-width: 360px;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.cockpit-placeholder.cockpit-placeholder-mini .cockpit-placeholder-body {
  padding: 28px 18px;
  min-height: 140px;
}

.cockpit-placeholder.cockpit-placeholder-mini .cockpit-placeholder-icon {
  font-size: 36px;
}

.cockpit-placeholder.cockpit-placeholder-mini .cockpit-placeholder-label {
  font-size: 12.5px;
}

.two-sides-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.two-sides-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.two-sides-eyebrow-renter { color: var(--primary); }

.two-sides-eyebrow-agency {
  color: var(--cockpit-ink, #1F2933);
}

.two-sides-h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.two-sides-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
}

.two-sides-meta {
  font-size: 13px;
  color: var(--text-light);
  margin: 4px 0 0;
}

.two-sides-meta em {
  font-style: italic;
  color: var(--text);
}

.two-sides-link {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.two-sides-link:hover { text-decoration: underline; }

.two-sides-agency .two-sides-link {
  color: var(--cockpit-ink, #1F2933);
}

@media (max-width: 860px) {
  .two-sides-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .two-sides-col { padding: 26px 22px 30px; }
  .cockpit-placeholder.cockpit-placeholder-mini { transform: none; }
}

/* =====================================================================
   Section eyebrows (used by §3 swipe + §4 showcase)
   ===================================================================== */
.section-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 12px;
  color: var(--text-light);
}
.section-eyebrow-renter { color: var(--primary); }
.section-eyebrow-agency { color: var(--cockpit-ink, #1F2933); }

/* =====================================================================
   Cockpit showcase (§4) — concept render + feature blocks
   ===================================================================== */

/* Skeleton placeholders that replace invented data inside the mockup */
.mock-stat-skeleton {
  display: block;
  width: 60%;
  height: 18px;
  margin-bottom: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg,
    rgba(15,17,21,0.08) 0%,
    rgba(15,17,21,0.14) 50%,
    rgba(15,17,21,0.08) 100%);
}

.mock-card-skeleton {
  display: inline-block;
  height: 9px;
  border-radius: 3px;
  background: rgba(15,17,21,0.12);
}

[data-theme="dark"] .mock-stat-skeleton,
[data-theme="dark"] .mock-card-skeleton {
  background: rgba(255,255,255,0.12);
}

.showcase-shot {
  margin: 0 auto;
  max-width: 1000px;
}

.showcase-shot .cockpit-shot-wide {
  max-width: none;
  transform: perspective(1200px) rotateX(2deg) rotateY(-2deg);
}

.showcase-shot-caption {
  text-align: center;
  margin: 18px auto 0;
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .showcase-shot .cockpit-shot-wide { transform: none; }
}

/* Three feature blocks replacing the 3 sub-mockups */
.showcase-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 56px auto 0;
}

.showcase-feature {
  text-align: left;
  padding: 6px 4px;
}

.showcase-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(31,41,51,0.06);
  color: var(--cockpit-ink, #1F2933);
  font-size: 22px;
  margin-bottom: 14px;
}

.showcase-feature-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.3;
}

.showcase-feature-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-light);
}

@media (max-width: 860px) {
  .showcase-features {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 40px;
  }
}

/* =====================================================================
   T-10 Pricing 2-tier overrides
   ===================================================================== */

.pricing-grid.pricing-grid-2tier {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
  overflow: visible;
}

.pricing-grid.pricing-grid-2tier .pricing-card {
  min-width: 0;
  flex: initial;
}

.pricing-icon-material {
  font-size: 56px;
  color: var(--primary);
  display: block;
  margin: 0 auto 12px;
  line-height: 1;
}

.pricing-card.pricing-cockpit .pricing-icon-material {
  color: var(--primary);
}

.pricing-card.pricing-renter .pricing-icon-material {
  color: var(--text);
}

.pricing-pilot-note a {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 720px) {
  .pricing-grid.pricing-grid-2tier {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}
