/* Fifth pass — visual match to a reference site the user shared (dorlancer.ir, a Persian
   freelance marketplace): soft blue gradient hero with a highlighted headline phrase and
   avatar-stack trust signal, rounded-full pill buttons, white cards with pill tags and
   capacity progress bars, colorful gradient highlight tiles, a dark-navy CTA banner, and a
   dark-navy footer with a tag cloud. Colors picked and contrast-checked by hand — see claude.md.
   No fake testimonials, stock photos, or trust badges (eNamad etc.) — same rule as every other
   variant in this workspace: don't claim something that doesn't exist yet. */
/* Fonts self-hosted in fonts/ — was Estedad/Vazirmatn from Google Fonts, replaced with Lahzeh Pro
   per user request (font file supplied directly: `Lahzeh Pro/`, sibling of this workspace).
   Lahzeh Pro ships as static per-weight TTFs (not a variable font), so each weight actually used
   on this page (400/600/700/800) is its own @font-face with an exact font-weight, converted to
   woff2 with fontTools for size. Verified via fontTools cmap inspection that the font covers
   Arabic, Persian digits, and Latin — so no separate fallback subset/font is needed. */
@font-face {
  font-family: 'Lahzeh Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lahzeh-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Lahzeh Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/lahzeh-semibold.woff2') format('woff2');
}
@font-face {
  font-family: 'Lahzeh Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/lahzeh-bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Lahzeh Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/lahzeh-extrabold.woff2') format('woff2');
}

:root {
  --color-bg: #EEF4FF;
  --color-bg-2: #DCE9FB;
  --color-surface: #FFFFFF;

  --color-primary: #2563EB;
  --color-primary-dark: #1D4ED8;
  --color-navy: #0B1220;
  --color-navy-2: #131C31;

  --color-purple: #7C3AED;
  --color-purple-bg: #EDE9FE;
  --color-orange: #C2410C;
  --color-orange-bg: #FFEDD5;
  --color-slate: #475569;
  --color-slate-bg: #E2E8F0;

  --color-text: #0F172A;
  --color-text-muted: #475569;
  --color-text-faint: #94A3B8;

  --color-border: #E1E9F7;
  --color-border-soft: #EAF1FC;

  --color-success: #16A34A;
  --color-success-bg: #DCFCE7;
  --color-danger: #DC2626;
  --color-danger-bg: #FEE2E2;

  --font-fa: 'Lahzeh Pro', 'Tahoma', sans-serif;

  --container: 1180px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 32px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 30px 64px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  padding-top: 73px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-fa);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

section[id],
#main {
  scroll-margin-top: 73px;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  right: 16px;
  top: -60px;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 100;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  min-height: 46px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-ghost:hover {
  background: rgba(37, 99, 235, 0.06);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
  min-height: 52px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(238, 244, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border-soft);
}

.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--color-text);
  justify-self: start;
  grid-column: 1;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: center;
  grid-column: 2;
}

.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

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

.nav-links a[aria-current="true"] {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  grid-column: 3;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 73px); /* 73px = fixed .site-header height; together they fill exactly one viewport */
  display: flex;
  padding: 48px 0 40px;
  overflow: hidden;
  background: linear-gradient(160deg, #FBFDFF 0%, var(--color-bg) 45%, var(--color-bg-2) 100%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hero-main {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  margin: auto 0; /* centers this block in the flexible space left above .hero-trust-strip */
}

.hero-trust-strip {
  flex-shrink: 0;
  padding-top: 36px;
}

.hero-trust-strip .trust-label {
  text-align: center;
  font-size: 13.5px;
  color: var(--color-text-faint);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-trust-strip .trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.hero-trust-strip .trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 10px;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.hero-trust-strip .trust-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.42;
  color: var(--color-text);
  letter-spacing: -0.4px;
}

.hero h1 .highlight {
  padding: 0 4px;
  background-image: linear-gradient(to top, #BFD7FF 0.5em, transparent 0.5em);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  border-radius: 4px;
}

.hero-sub {
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.9;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid var(--color-bg);
  margin-right: -10px;
}

.avatar-stack span:nth-child(1) { background: var(--color-primary); }
.avatar-stack span:nth-child(2) { background: var(--color-purple); }
.avatar-stack span:nth-child(3) { background: var(--color-success); }
.avatar-stack span:nth-child(4) { background: var(--color-orange); }

.hero-trust strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arc {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 99, 235, 0.18);
  z-index: 0;
}

.hero-blob {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #DCEBFF, transparent 70%);
  z-index: 0;
}

.mock-window {
  position: relative;
  z-index: 2;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 400px;
  width: 100%;
  transform: rotate(-1.5deg);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border-soft);
}

.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-border);
}

.mock-body {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
}

.mock-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-lines {
  flex: 1;
  display: grid;
  gap: 7px;
}

.mock-line {
  height: 9px;
  border-radius: 5px;
  background: var(--color-border);
}

.mock-line.short {
  width: 55%;
}

.mock-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
}

.floating-chip.chip-1 {
  top: 6%;
  right: -6%;
}

.floating-chip.chip-2 {
  bottom: 8%;
  left: -8%;
}

.floating-chip.chip-3 {
  top: 42%;
  left: -14%;
  align-items: flex-start;
}

.floating-chip .fc-lines {
  display: grid;
  gap: 2px;
}

.floating-chip .fc-lines strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text);
}

.floating-chip .fc-lines span {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-purple);
}

.floating-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Section shared */
.section {
  padding: 88px 0;
  position: relative;
}

.section-alt {
  background: var(--color-surface);
}

.section-head {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-primary);
  background: #DCEAFE;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.4;
}

.section-head p {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* Showcase: customer booking experience */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.showcase-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.showcase-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-success-bg);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase-item strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.showcase-item span {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.phone-mock {
  max-width: 290px;
  margin: 0 auto;
  border: 10px solid var(--color-navy);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-navy);
}

.phone-screen {
  background: var(--color-surface);
  border-radius: 30px;
  overflow: hidden;
}

.phone-notch {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-notch::after {
  content: "";
  width: 70px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-navy);
}

.phone-body {
  padding: 18px;
  display: grid;
  gap: 16px;
  text-align: right;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-text);
}

.phone-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-success);
  background: var(--color-success-bg);
  padding: 4px 10px;
  border-radius: 999px;
}

.calendar-strip {
  display: flex;
  gap: 8px;
  overflow: hidden;
}

.calendar-day {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  border-radius: 10px;
  background: var(--color-bg);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.calendar-day.active {
  background: var(--color-primary);
  color: #fff;
}

.slot-list {
  display: grid;
  gap: 8px;
}

.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--color-border-soft);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-text);
}

.slot.booked {
  background: #DCEAFE;
  color: var(--color-primary-dark);
  border-color: transparent;
}

.slot.open {
  color: var(--color-text-faint);
}

.phone-cta {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 800;
}

/* Dark navy CTA banner */
.dark-banner {
  background: linear-gradient(120deg, var(--color-navy), var(--color-navy-2));
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.dark-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 85% 20%, rgba(37, 99, 235, 0.35), transparent 70%);
  pointer-events: none;
}

.dark-banner h2 {
  position: relative;
  color: #fff;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  line-height: 1.5;
  max-width: 520px;
}

.dark-banner .btn-ghost {
  position: relative;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.dark-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* App download */
.download-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.download-icon {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 28px;
  background: linear-gradient(150deg, #EEF4FF, var(--color-bg-2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-copy h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--color-text);
}

.download-copy p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: 1.85;
}

.download-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* Feature cards (service wall style) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-primary);
  background: #DCEAFE;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Why Nobiline: stat bar */
.stat-panel {
  display: flex;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.stat-item {
  flex: 1;
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid var(--color-border-soft);
}

.stat-item:first-child {
  border-right: none;
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #DCEAFE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.stat-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-text);
}

.stat-label {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Pricing */
.price-card-trial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #EEF4FF 0%, var(--color-bg) 70%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px 32px;
}

.price-card-trial-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: right;
}

.price-card-trial-info .price-desc {
  margin: 0;
  padding: 0;
  border: none;
  width: auto;
  max-width: 480px;
  font-size: 13.5px;
  line-height: 1.8;
}

.price-card-trial .price-amount {
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary-dark);
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 20px 26px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.price-card-featured {
  background: linear-gradient(180deg, #EEF4FF 0%, var(--color-surface) 60%);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
  padding-top: 38px;
  z-index: 1;
}

.price-card-featured:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary-dark);
}

.price-ribbon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 7px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.price-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-primary);
  background: #DCEAFE;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.price-card-featured .price-tag {
  color: #fff;
  background: var(--color-primary);
}

.price-original {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--color-danger);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.price-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

.price-card-featured .price-amount {
  font-size: 30px;
  color: var(--color-primary-dark);
}

.price-amount span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.price-desc {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
  width: 100%;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.price-discount {
  display: inline-block;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-success);
  background: var(--color-success-bg);
  padding: 5px 14px;
  border-radius: 999px;
}

.pricing-cta {
  text-align: center;
  margin-top: 32px;
}

/* Comparison: old way vs Nobiline */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 30px 28px;
}

.compare-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 20px;
}

.compare-card ul {
  display: grid;
  gap: 16px;
}

.compare-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.compare-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compare-old {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.compare-old h3 {
  color: var(--color-text-muted);
}

.compare-old li {
  color: var(--color-text-muted);
}

.compare-icon-x {
  background: #F1F1EF;
  color: #94918B;
}

.compare-new {
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}

.compare-new h3 {
  color: var(--color-text);
}

.compare-new li {
  color: var(--color-text);
}

.compare-icon-check {
  background: var(--color-success-bg);
  color: var(--color-success);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  padding: 28px 24px 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Social banner */
.social-banner {
  background: var(--color-bg);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.social-banner p {
  font-size: 15px;
  font-weight: 700;
}

.social-banner p strong {
  color: var(--color-primary);
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.social-icons a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* FAQ */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  padding: 19px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  text-align: right;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--color-primary);
}

.faq-item[data-open="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-item[data-open="true"] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 22px 19px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand-mark {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.85;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
}

.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s ease;
}

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

.footer-col-enamad {
  display: flex;
  align-items: flex-start;
}

.footer-col-enamad img {
  max-width: 100px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .social-icons a {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.6);
  width: 34px;
  height: 34px;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-main {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    min-height: 470px;
  }
  .floating-chip {
    display: flex;
    max-width: 190px;
    padding: 10px 12px;
    font-size: 11.5px;
  }
  /* Three cards around the mock-window's corners, each overlapping its edge a little (not just
     floating above/beside it): chip-3 top-right, chip-1 bottom-right, chip-2 bottom-left (front).
     top/left/right/bottom are always fully re-specified (never left to inherit from the base
     desktop rule) -- leaving an old top+new bottom (or old right+new left) both active stretches
     the element to fill the gap between them (absolutely positioned + both top&bottom, or both
     left&right, set = stretch, per spec) -- see earlier change_log entries for how that broke chip-1. */
  .floating-chip.chip-1 {
    top: auto;
    left: auto;
    bottom: 65px; /* was 40px; +38px (~1cm) up, per user request, same relative spot to chip-2 */
    right: 2%;
    z-index: 3;
  }
  .floating-chip.chip-2 {
    top: auto;
    right: auto;
    bottom: 30px; /* was 0; +38px (~1cm) up */
    left: 2%;
    z-index: 4;
  }
  .floating-chip.chip-3 {
    display: flex;
    bottom: auto;
    left: auto;
    top: 45px;
    right: 2%;
    max-width: 230px;
  }
  .hero-trust-strip .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .showcase {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--color-border-soft);
    box-shadow: none;
  }
  .stat-item {
    border-right: none;
    background: var(--color-surface);
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 76px 16px auto 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }
  .nav-links a:hover {
    background: var(--color-bg);
  }
  body[data-nav-open="true"] .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle {
    display: flex;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-trust-strip .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 60px 0;
  }
  .dark-banner {
    padding: 36px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .download-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
  .price-card-trial {
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    gap: 14px;
    padding: 24px;
  }
  .price-card-trial .price-amount {
    align-self: flex-start;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

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

/* ==========================================================================
   Legal & Document Pages (Privacy Policy, Terms of Service)
   ========================================================================== */

.legal-hero {
  padding: 48px 0 28px;
  position: relative;
}

.legal-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}

.legal-breadcrumbs a {
  color: var(--color-primary);
  font-weight: 600;
  transition: color 0.15s ease;
}

.legal-breadcrumbs a:hover {
  color: var(--color-primary-dark);
}

.legal-breadcrumbs .separator {
  color: var(--color-text-faint);
  font-size: 11px;
}

.legal-header-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.legal-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.legal-badge-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.legal-badge-date svg {
  flex-shrink: 0;
}

.legal-intro-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-right: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  font-size: 15px;
  line-height: 2.0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 72px;
}

.legal-sidebar {
  position: sticky;
  top: 96px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
}

.legal-sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-navy);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border-soft);
  margin-bottom: 12px;
}

.legal-toc-list {
  overflow-y: auto;
  padding-left: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.legal-toc-list::-webkit-scrollbar {
  width: 4px;
}

.legal-toc-list::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

.legal-toc-link {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  line-height: 1.5;
}

.legal-toc-link:hover {
  background: #F1F5F9;
  color: var(--color-primary);
  transform: translateX(-2px);
}

.legal-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}

.legal-section {
  margin-bottom: 40px;
  scroll-margin-top: 100px;
}

.legal-section:last-of-type {
  margin-bottom: 32px;
}

.legal-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-navy);
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--color-border-soft);
  margin-bottom: 18px;
}

.legal-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #EFF6FF;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.legal-sub-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 22px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-sub-title::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
}

.legal-p {
  font-size: 15px;
  line-height: 2.1;
  color: #1E293B;
  margin-bottom: 14px;
}

.legal-list {
  margin: 14px 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list-item {
  position: relative;
  padding-right: 22px;
  font-size: 14.5px;
  line-height: 2.0;
  color: #334155;
}

.legal-list-item::before {
  content: '';
  position: absolute;
  right: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.legal-strong {
  color: var(--color-navy);
  font-weight: 700;
}

.legal-contact-box {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid #BFDBFE;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-contact-info {
  flex: 1;
  min-width: 260px;
}

.legal-contact-info h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.legal-contact-info p {
  font-size: 13.5px;
  color: var(--color-slate);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 980px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .legal-sidebar {
    position: static;
    max-height: 280px;
  }
  .legal-card {
    padding: 32px 24px;
  }
  .legal-title {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .legal-hero {
    padding: 32px 0 20px;
  }
  .legal-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .legal-card {
    padding: 24px 16px;
  }
  .legal-section-title {
    font-size: 18px;
  }
  .legal-contact-box {
    padding: 20px 16px;
  }
}
