/* Ofoq – أفق Official Arabic Showcase & Custom Checkout Stylesheet v2.0 (Luminous Editorial UI/UX) */

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cairo-arabic-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/cairo-arabic-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/cairo-arabic-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/readex-pro-arabic-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/readex-pro-arabic-700-normal.woff2') format('woff2');
}

:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --paper: #faf9f5;
  --paper-alt: #f2efe8;
  --paper-card: #ffffff;
  --paper-line: #e5e0d5;
  --text: #0f172a;
  --muted: #526077;
  --brand: #1e22b4;
  --brand-soft: #eef1ff;
  --brand-hover: #161994;
  --accent: #ea580c;
  --accent-hover: #d24804;
  --emerald: #0d9f6e;
  --emerald-hover: #0a8259;
  --radius: 18px;
  --radius-sm: 11px;
  --shadow-xl: 0 28px 65px -12px rgba(15, 23, 42, 0.16), 0 8px 24px -6px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 10px 28px -6px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
  --font-body: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-head: 'Readex Pro', 'Cairo', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.72;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.wrap {
  width: min(1280px, 92vw);
  margin-inline: auto;
}

.ico {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Promo Top Bar */
.promo {
  background: linear-gradient(90deg, #1e22b4 0%, #151985 50%, #1e22b4 100%);
  color: #fff;
  font-size: 0.87rem;
}
.promo .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 8px;
  flex-wrap: wrap;
}
.promo b {
  background: #ff6b35;
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.77rem;
  margin-left: 6px;
}
.promo a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: #fde68a;
}
.promo a:hover {
  text-decoration: underline;
}

/* Crisp Translucent White Header */
header.top {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-bottom: 1px solid var(--paper-line);
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(14px);
}
header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand svg {
  width: 28px;
  height: 28px;
  fill: var(--brand);
}
.brand i {
  color: var(--accent);
  font-style: normal;
}
.brand .brand-tag {
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 700;
  border-right: 1px solid var(--paper-line);
  padding-right: 10px;
  margin-right: 2px;
}
header.top nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  font-size: 0.93rem;
  font-weight: 700;
}
header.top nav a {
  color: #334155;
  transition: color 0.18s;
}
header.top nav a:hover {
  color: var(--brand);
}
@media (max-width: 940px) {
  header.top nav {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  line-height: 1.3;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}
.btn.lg {
  padding: 14px 28px;
  font-size: 1.02rem;
}
.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(30, 34, 180, 0.24);
}
.btn.primary:hover {
  background: var(--brand-hover);
}
.btn.coral {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(234, 88, 12, 0.26);
}
.btn.coral:hover {
  background: var(--accent-hover);
}
.btn.emerald {
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 10px 26px rgba(13, 159, 110, 0.25);
}
.btn.emerald:hover {
  background: var(--emerald-hover);
}
.btn.secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: #d6d1c4;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.btn.secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.sec.dark .btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.cta-row.center {
  justify-content: center;
}

/* ==========================================================================
   Luminous Editorial Hero Section + Balanced Multi-Device Stage
   ========================================================================== */
.hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(30, 34, 180, 0.07), transparent 42%),
    radial-gradient(circle at 86% 82%, rgba(234, 88, 12, 0.07), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f7f5ee 100%);
  color: var(--ink);
  padding-block: clamp(42px, 5.5vw, 76px);
  border-bottom: 1px solid var(--paper-line);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 1020px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #dfe3ef;
  box-shadow: 0 2px 8px rgba(30, 34, 180, 0.05);
  border-radius: 999px;
  padding: 5px 14px 5px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
  margin: 0 0 18px;
}
.pill b {
  background: var(--brand);
  color: #fff;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.05rem, 3.8vw, 3.15rem);
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--ink);
}
.acc {
  color: var(--brand);
  font-style: normal;
}
.acc-warm {
  color: var(--accent);
  font-style: normal;
}
.hero .lede {
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 58ch;
}
.hero-price {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--paper-line);
  padding: 10px 18px;
  border-radius: 16px;
  margin: 0 0 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.hero-price .now {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}
.hero-price s {
  font-size: 1.15rem;
  color: #94a3b8;
}
.hero-price .save {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}
.trust {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
}
@media (max-width: 520px) {
  .trust { grid-template-columns: 1fr; }
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust .ico {
  color: var(--emerald);
}

/* Balanced, Crisp Light Browser + Smartphone Stage */
.hero-fig {
  margin: 0;
}
.stage {
  position: relative;
  padding: 22px 18px 26px 34px;
}
.win {
  background: #ffffff;
  border: 1px solid #d8dee9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.win .bar {
  height: 30px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: 12px;
  border-bottom: 1px solid #e2e8f0;
  direction: ltr;
}
.win .bar i {
  width: 8.5px;
  height: 8.5px;
  border-radius: 50%;
}
.win .bar i:nth-child(1) { background: #fb7185; }
.win .bar i:nth-child(2) { background: #fbbf24; }
.win .bar i:nth-child(3) { background: #34d399; }
.win .bar span {
  font-size: 11px;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1px 10px;
  border-radius: 999px;
  margin-left: 8px;
  font-family: ui-monospace, monospace;
}
.win .screen {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ffffff;
}
.win .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.22s ease;
}
.win.w-main {
  position: relative;
  z-index: 3;
  width: 92%;
  margin-right: auto;
}
.win.w-back {
  position: absolute;
  top: 0;
  right: 0;
  width: 68%;
  z-index: 1;
  opacity: 0.92;
  transform: translate(8px, -4px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
}
/* Proportional iPhone Bezel (NEVER tall!) */
.stage .phone {
  position: absolute;
  bottom: 4px;
  left: 4px;
  width: clamp(118px, 24%, 158px);
  aspect-ratio: 1 / 2;
  z-index: 4;
  border-radius: 22px;
  border: 5px solid #1e293b;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.28);
}
.stage .phone::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: #0f172a;
  z-index: 2;
}
.stage .phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.22s ease;
}

/* Interactive Hero Demo Switcher Pills */
.hero-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hero-sw-btn {
  background: #ffffff;
  color: #334155;
  border: 1px solid #dcd7ca;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}
.hero-sw-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.hero-sw-btn.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 4px 12px rgba(30, 34, 180, 0.22);
}

/* ==========================================================================
   Sections & Stats
   ========================================================================== */
.sec {
  padding-block: clamp(64px, 7.5vw, 104px);
}
.sec.alt {
  background: var(--paper-alt);
  border-block: 1px solid var(--paper-line);
}
.sec.dark {
  background: var(--ink);
  color: #fff;
}
.head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 4.5vw, 54px);
}
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.84rem;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid #dbe2ff;
  padding: 4px 15px;
  border-radius: 999px;
  margin: 0 0 12px;
}
.sec.dark .eyebrow {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.28);
}
.head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  line-height: 1.3;
  margin: 0 0 12px;
}
.head .sub {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 0;
}
.sec.dark .head .sub {
  color: #94a3b8;
}

/* Stats Strip */
.stats {
  list-style: none;
  padding: 26px 24px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  text-align: center;
}
.stats li {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 700;
}
.stats li b {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 4px;
}
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* Demos Filter Tabs */
.demo-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-btn {
  background: #fff;
  color: #334155;
  border: 1px solid var(--paper-line);
  padding: 7px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s;
}
.filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Demos Grid */
.demos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) {
  .demos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .demos { grid-template-columns: 1fr; }
}
.demo {
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.demo[hidden] {
  display: none !important;
}
.demo:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.11);
  border-color: #c5beae;
}
.demo .frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}
.demo .chrome {
  height: 30px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-inline: 11px;
  direction: ltr;
}
.demo .chrome i {
  width: 7.5px;
  height: 7.5px;
  border-radius: 50%;
}
.demo .chrome i:nth-child(1) { background: #fb7185; }
.demo .chrome i:nth-child(2) { background: #fbbf24; }
.demo .chrome i:nth-child(3) { background: #34d399; }
.demo .chrome span {
  margin-left: 8px;
  font-size: 11px;
  color: #64748b;
  font-family: ui-monospace, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo .shot {
  height: 276px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
}
.demo .shot img {
  width: 100%;
  height: auto;
  transform: translateY(0);
  transition: transform 4.5s cubic-bezier(0.25, 0.9, 0.35, 1);
}
.demo:hover .shot img {
  transform: translateY(calc(-100% + 276px));
}
.demo .peek {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s;
}
.demo .peek:hover {
  background: var(--brand);
  transform: scale(1.03);
}
.demo .meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
}
.demo .niche {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand);
}
.demo h3 {
  font-family: var(--font-head);
  font-size: 1.24rem;
  margin: 2px 0 0;
  color: var(--ink);
}
.demo .live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid #d5ddff;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.demo .live:hover {
  background: var(--brand);
  color: #fff;
}
.demo > p {
  margin: 8px 0 14px;
  font-size: 0.91rem;
  color: var(--muted);
  flex-grow: 1;
}
.demo .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f3f1eb;
  color: #3f4859;
}
.badge.hot {
  background: #fff1eb;
  color: #c2410c;
}
.badge.green {
  background: #ecfdf5;
  color: #047857;
}

.after-cta {
  text-align: center;
  margin-top: 48px;
}
.after-cta p {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Crisp Light Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 920px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
}
.feat {
  background: #ffffff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feat:hover {
  border-color: #b8c4ff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}
.feat .fi {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feat h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  margin: 0 0 8px;
  color: var(--ink);
}
.feat p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Split Sections (Modules, Admin Panel, Support) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; }
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px 18px;
}
.ticks.two {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 520px) {
  .ticks.two { grid-template-columns: 1fr; }
}
.ticks li {
  position: relative;
  padding-right: 26px;
  font-weight: 700;
  font-size: 0.95rem;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(13, 159, 110, 0.15);
  color: var(--emerald);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.panel-showcase {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-xl);
}
.panel-showcase img {
  border-radius: 11px;
  border: 1px solid #e2e8f0;
}

/* Support Cards */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) {
  .support-grid { grid-template-columns: 1fr; }
}
.sup-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.sup-card h3 {
  font-family: var(--font-head);
  margin: 12px 0 8px;
  font-size: 1.15rem;
}
.sup-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Pricing Box */
.price-box {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(145deg, #161f35, #0e1424);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 48px);
  color: #fff;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 820px) {
  .price-box { grid-template-columns: 1fr; }
}
.price-tag-col {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
}
.price-tag-col .big {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.price-tag-col .big small {
  font-size: 1.2rem;
  font-weight: 600;
  color: #cbd5e1;
}
.price-tag-col .old {
  font-size: 1.12rem;
  color: #94a3b8;
  margin-top: 6px;
}
.pay-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.pay-badges span {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 11px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
}
.faq-list summary {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.04rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--brand);
  font-weight: 800;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
footer.dark {
  background: #0b101d;
  color: #94a3b8;
  padding-block: 56px 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 28px;
}
@media (max-width: 820px) {
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  footer .cols { grid-template-columns: 1fr; }
}
footer h2 {
  color: #fff;
  font-size: 0.96rem;
  margin: 0 0 12px;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}
footer a:hover { color: #fff; }
footer .legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

/* Sticky Buy Bar */
#buybar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 85;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--paper-line);
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.08);
  color: var(--ink);
  padding-block: 10px;
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
#buybar.visible {
  transform: translateY(0);
}
#buybar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
#buybar .name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
#buybar .bp {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
#buybar .bp em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
}
#buybar .bp b {
  font-size: 1.22rem;
  color: var(--brand);
}
#buybar .bp s {
  color: #94a3b8;
  font-size: 0.9rem;
}
@media (max-width: 640px) {
  #buybar .bp em { display: none; }
}

/* Quick Preview Modal (<dialog>) */
dialog.pv {
  width: min(1140px, 94vw);
  height: min(86vh, 860px);
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.38);
}
dialog.pv::backdrop {
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(4px);
}
dialog.pv[open] {
  display: flex;
  flex-direction: column;
}
.pv-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  flex-wrap: wrap;
}
.pv-head h2 {
  margin: 0;
  font-size: 1.15rem;
}
.pv-head .niche {
  font-size: 0.8rem;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}
.pv-tabs {
  margin-right: auto;
  display: inline-flex;
  background: #e2e8f0;
  border-radius: 999px;
  padding: 3px;
}
.pv-tabs button {
  background: transparent;
  color: #334155;
  border: 0;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}
.pv-tabs button[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
}
.pv-x {
  background: #e2e8f0;
  color: var(--ink);
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pv-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #f1f5f9;
}
.pv-body img {
  width: 100%;
  max-width: 1040px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}
.pv-body.is-mobile img {
  max-width: 380px;
}
.pv-foot {
  padding: 12px 20px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pv-foot p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ==========================================================================
   Custom Checkout Page Styles (acode.tech/ofoq/checkout/)
   ========================================================================== */
.co-main {
  padding-block: clamp(32px, 5vw, 60px);
}
.co-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 920px) {
  .co-grid { grid-template-columns: 1fr; }
}
.co-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: clamp(20px, 3.5vw, 32px);
  box-shadow: var(--shadow-card);
}
.co-step-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.co-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.co-field {
  margin-bottom: 16px;
}
.co-field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.co-field input[type="text"],
.co-field input[type="email"],
.co-field input[type="tel"],
.co-field input[type="file"] {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid #d5d0c5;
  background: #faf9f6;
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color 0.18s, background 0.18s;
}
.co-field input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}
.co-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0 18px;
}
@media (max-width: 560px) {
  .co-methods { grid-template-columns: 1fr; }
}
.co-method-btn {
  text-align: right;
  padding: 15px 16px;
  border-radius: 12px;
  border: 2px solid #e2ded5;
  background: #faf9f6;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.18s ease;
}
.co-method-btn.active {
  border-color: var(--brand);
  background: #eff4ff;
  box-shadow: 0 6px 18px rgba(30, 34, 180, 0.1);
}
.co-method-btn strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
}
.co-method-btn span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}
.rib-box {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 18px;
}
.rib-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}
.rib-row:last-child { border-bottom: 0; }
.rib-label {
  font-size: 0.84rem;
  color: #94a3b8;
}
.rib-val {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: #f8fafc;
  direction: ltr;
}
.copy-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  cursor: pointer;
}
.copy-btn:hover { background: var(--brand); }
.co-alert {
  padding: 14px 16px;
  border-radius: 11px;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 0.93rem;
}
.co-alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.co-alert.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
