/* 033 · Pureflow One (نقاء الهواء) — 1:1 Reference-Faithful Bespoke Stylesheet */
:root {
  --pf-hero-bg: #eef1f4;
  --pf-bg: #ffffff;
  --pf-card: #f8fafc;
  --pf-border: #e2e8f0;
  --pf-ink: #111827;
  --pf-body: #475569;
  --pf-muted: #64748b;
  --pf-green: #4ade80;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--pf-bg);
  color: var(--pf-ink);
}

body {
  margin: 0;
  background: var(--pf-bg);
  color: var(--pf-ink);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, a, button, span {
  letter-spacing: 0;
}

[dir="ltr"] {
  font-family: 'JetBrains Mono', 'Readex Pro', monospace;
}

/* Fixed 3-Zone Swiss-Tech Header */
.pf-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  padding: 16px clamp(20px, 3.2vw, 40px);
  pointer-events: none;
}

.pf-nav-row {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pf-nav-row > * {
  pointer-events: auto;
}

.pf-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  color: #111111;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.pf-center-pill {
  background: var(--pf-ink);
  border-radius: 999px;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.pf-nav-item {
  padding: 7px 15px;
  border-radius: 999px;
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.pf-nav-item:hover {
  color: #ffffff;
}

.pf-nav-item.is-active {
  background: #ffffff;
  color: var(--pf-ink);
  font-weight: 700;
}

.pf-reserve-pill {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: var(--pf-ink);
  color: #ffffff;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
  transition: background 0.2s ease, transform 0.2s ease;
}

.pf-reserve-pill:hover {
  background: #374151;
}

.pf-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pf-green);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.85);
}

/* Section 1: #device Hero with 48px SVG Grid + Cursor X-Ray Spotlight Reveal */
.pf-hero {
  position: relative;
  min-height: 100dvh;
  background: var(--pf-hero-bg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 110px clamp(24px, 4.5vw, 64px) clamp(56px, 9vh, 96px);
}

.pf-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(100, 116, 139, 0.11) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(100, 116, 139, 0.11) 1px, transparent 1px);
  background-size: 48px 48px;
}

.pf-portrait-base,
.pf-xray-canvas {
  position: absolute;
  inset: 0;
}

.pf-portrait-base {
  z-index: 1;
}

.pf-portrait-base img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pf-xray-canvas {
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pf-hero-wash {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(54% 58% at 78% 68%, rgba(238, 241, 244, 0.9) 0%, rgba(238, 241, 244, 0.48) 52%, rgba(238, 241, 244, 0) 100%);
}

.pf-hero-copy {
  position: relative;
  z-index: 5;
  max-width: 440px;
}

.pf-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pf-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pf-hero-copy h1 {
  margin: 0 0 14px;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--pf-ink);
}

.pf-hero-hint {
  margin: 0 0 22px;
  font-size: 0.94rem;
  color: var(--pf-body);
}

.pf-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.pf-spec-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pf-ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.pf-spec-link:hover {
  text-decoration: underline;
}

/* Lower Swiss-Tech Editorial Sections */
.pf-band {
  scroll-margin-top: 88px;
  border-top: 1px solid var(--pf-border);
  background: var(--pf-bg);
  padding: clamp(72px, 8vw, 108px) clamp(24px, 4.5vw, 64px);
}

.pf-container {
  max-width: 1140px;
  margin: 0 auto;
}

.pf-band h2 {
  margin: 8px 0 18px;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 600;
  line-height: 1.2;
  color: #0f172a;
}

.pf-band-p {
  margin: 0;
  max-width: 680px;
  font-size: 1.04rem;
  color: var(--pf-body);
}

.pf-metrics-row {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 780px;
}

.pf-mini-stat {
  background: var(--pf-card);
  border: 1px solid var(--pf-border);
  border-radius: 16px;
  padding: 18px 20px;
}

.pf-mini-stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--pf-ink);
}

.pf-mini-stat span {
  font-size: 0.84rem;
  color: var(--pf-muted);
}

/* #plans 3-Column Tier Grid */
.pf-plans-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pf-plan-card {
  background: var(--pf-card);
  border: 1px solid var(--pf-border);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pf-plan-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.pf-plan-card h3 {
  margin: 0;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.pf-plan-price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--pf-ink);
}

.pf-plan-card p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--pf-body);
}

/* Showcase Prev/Next Tail inside #contact */
.pf-showcase-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--pf-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--pf-muted);
}

.pf-outline-pill {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--pf-border);
  background: var(--pf-card);
  color: var(--pf-ink);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.pf-outline-pill:hover {
  border-color: var(--pf-ink);
}

@media (max-width: 720px) {
  .pf-center-pill {
    display: none;
  }
  .pf-metrics-row,
  .pf-plans-grid {
    grid-template-columns: 1fr;
  }
}
