/* ============================================================================
   PRO.DJAZ.APP — Régie Publicitaire & Solutions Business
   Editorial dark theme · Djaz brand colors · B2B landing
   ============================================================================ */

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

:root {
  color-scheme: dark;

  /* ------- Djaz Color system ------- */
  --ink:        #0a0a0c;
  --ink-2:      #0f0f12;
  --ink-3:      #16161a;
  --paper:      #f3eee3;
  --paper-2:    #e6dfd0;
  --mute:       #8d8a83;
  --mute-2:     #5e5b55;
  --rule:       rgba(243, 238, 227, 0.08);
  --rule-mid:   rgba(243, 238, 227, 0.16);
  --rule-strong:rgba(243, 238, 227, 0.28);

  /* Djaz Brand Colors */
  --accent:       #fa711b;
  --accent-deep:  #d65a0e;
  --accent-soft:  rgba(250, 113, 27, 0.14);
  --accent-glow:  rgba(250, 113, 27, 0.42);
  --djaz-green:   #22c55e;
  --djaz-green-glow: rgba(34, 197, 94, 0.3);
  --djaz-blue:    #3b82f6;
  --djaz-blue-soft: rgba(59, 130, 246, 0.15);

  /* ------- Type ------- */
  --font-display: "Fraunces", "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans:    "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --font-arabic:  "Tajawal", "Amiri", "Inter Tight", system-ui, sans-serif;
  --font-arabic-display: "Amiri", "Tajawal", "Fraunces", serif;

  /* ------- Rhythm ------- */
  --max:        1240px;
  --max-narrow:  860px;
  --gutter:     clamp(20px, 4vw, 56px);
  --section-y:  clamp(96px, 14vw, 192px);
  --section-y-tight: clamp(64px, 9vw, 120px);

  /* ------- Radii / depth ------- */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 999px;
}

html,
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  font-feature-settings: "ss01", "ss02", "cv11";
}

[dir="rtl"] body,
[lang="ar"] body {
  font-family: var(--font-arabic);
}

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

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

::selection {
  background: var(--accent);
  color: var(--ink);
}

/* ============================================================================
   Ambient background
   ============================================================================ */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% 8%, rgba(250, 113, 27, 0.10), transparent 70%),
    radial-gradient(1100px 700px at 88% 92%, rgba(34, 197, 94, 0.06), transparent 70%),
    radial-gradient(800px 500px at 50% 50%, rgba(59, 130, 246, 0.05), transparent 70%),
    var(--ink);
}

.orb-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
  opacity: 0.55;
}

.orb-1 {
  width: 60vmax;
  height: 60vmax;
  left: -20vmax;
  top: -20vmax;
  background: radial-gradient(closest-side, rgba(250, 113, 27, 0.35), rgba(250, 113, 27, 0) 70%);
  animation: orbDrift1 38s ease-in-out infinite alternate;
}

.orb-2 {
  width: 70vmax;
  height: 70vmax;
  right: -30vmax;
  top: 30%;
  background: radial-gradient(closest-side, rgba(34, 197, 94, 0.20), rgba(34, 197, 94, 0) 70%);
  animation: orbDrift2 52s ease-in-out infinite alternate;
}

.orb-3 {
  width: 50vmax;
  height: 50vmax;
  left: 30%;
  bottom: -25vmax;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0) 70%);
  animation: orbDrift3 64s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
  0%   { transform: translate3d(0, 0, 0)        scale(1); }
  50%  { transform: translate3d(8vw, 12vh, 0)   scale(1.15); }
  100% { transform: translate3d(-4vw, 18vh, 0)  scale(0.95); }
}

@keyframes orbDrift2 {
  0%   { transform: translate3d(0, 0, 0)         scale(1); }
  50%  { transform: translate3d(-10vw, -8vh, 0)  scale(1.1); }
  100% { transform: translate3d(-6vw, 10vh, 0)   scale(0.92); }
}

@keyframes orbDrift3 {
  0%   { transform: translate3d(0, 0, 0)        scale(1); }
  50%  { transform: translate3d(12vw, -6vh, 0)  scale(1.08); }
  100% { transform: translate3d(-8vw, -14vh, 0) scale(1); }
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(243, 238, 227, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(243, 238, 227, 0.05) 1px, transparent 1px);
  background-size: 64px 64px, 110px 110px;
  background-position: 0 0, 32px 55px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 70%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95   0 0 0 0 0.93   0 0 0 0 0.88   0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

.cursor-halo {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  margin-left: -260px;
  margin-top: -260px;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(250, 113, 27, 0.13), rgba(250, 113, 27, 0) 70%);
  transform: translate3d(-1000px, -1000px, 0);
  transition: opacity 400ms ease;
  opacity: 0;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-halo {
    opacity: 1;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--djaz-green));
  z-index: 100;
  box-shadow: 0 0 14px var(--accent-glow);
  transition: width 80ms linear;
}

/* ============================================================================
   Layout shell
   ============================================================================ */

.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.shell-narrow {
  width: 100%;
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

main {
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  padding-block: var(--section-y);
}

section + section {
  border-top: 1px solid var(--rule);
}

section + section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(60%, 540px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--djaz-green), transparent);
  opacity: 0.45;
  pointer-events: none;
}

/* ============================================================================
   Topbar
   ============================================================================ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding 220ms ease, background 220ms ease, border-color 220ms ease;
}

.topbar.is-shrunk {
  padding-block: 12px;
  background: rgba(10, 10, 12, 0.85);
  border-bottom-color: var(--rule);
}

.topbar-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--paper);
  font-size: clamp(18px, 2.5vw, 24px);
}

.brand-logo {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
  transition: height 220ms ease;
}

.topbar.is-shrunk .brand-logo {
  height: 36px;
}

.brand-fallback {
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-text {
  font-weight: 300;
  color: var(--mute);
}

.brand-separator {
  color: var(--accent);
}

.brand-djaz {
  font-weight: 500;
  background: linear-gradient(120deg, var(--accent) 0%, #ffb87a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tld {
  font-weight: 300;
  color: var(--mute-2);
}

.topbar nav {
  display: flex;
  gap: 28px;
}

.topbar nav a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.01em;
  position: relative;
  padding-block: 6px;
  transition: color 200ms ease;
}

.topbar nav a:hover {
  color: var(--paper);
}

.topbar nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: inset-inline-start;
  transition: transform 240ms ease;
}

.topbar nav a:hover::after {
  transform: scaleX(1);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.02);
}

.lang-btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease;
}

.lang-btn:hover {
  color: var(--paper);
}

.lang-btn.is-active {
  background: var(--paper);
  color: var(--ink);
}

/* ============================================================================
   Typography primitives
   ============================================================================ */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

[dir="rtl"] .eyebrow::before {
  margin-left: 0;
  margin-right: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--paper);
  margin: 0;
  font-feature-settings: "ss01";
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
  font-family: var(--font-arabic-display);
  letter-spacing: 0;
  line-height: 1.18;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

p {
  margin: 0;
  color: var(--paper-2);
}

.lede {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
  color: var(--paper-2);
  max-width: 56ch;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 720px;
}

.section-head h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.04;
}

/* Word reveal animation */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  line-height: inherit;
}

.word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.is-visible .word-inner,
.reveal-words.is-visible .word-inner {
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================================
   Buttons
   ============================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 240ms ease, background 240ms ease, color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: #ffb87a;
  border-color: #ffb87a;
  box-shadow: 0 6px 28px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--rule-mid);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-wallet {
  background: linear-gradient(135deg, var(--djaz-green) 0%, #16a34a 100%);
  color: var(--ink);
  border-color: var(--djaz-green);
  padding: 16px 28px;
  font-size: 15px;
  box-shadow: 0 4px 20px var(--djaz-green-glow);
}

.btn-wallet:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--djaz-green-glow);
}

.wallet-icon {
  font-size: 18px;
}

.btn .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  transition: transform 240ms ease;
}

[dir="rtl"] .btn .arrow {
  transform: scaleX(-1);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

[dir="rtl"] .btn:hover .arrow {
  transform: scaleX(-1) translateX(3px);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-mid);
  transition: border-color 240ms ease, color 240ms ease;
}

.btn-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-link::after {
  content: "↗";
  font-size: 13px;
  color: var(--accent);
  transition: transform 240ms ease;
}

.btn-link:hover::after {
  transform: translate(2px, -2px);
}

/* ============================================================================
   HERO
   ============================================================================ */

.hero {
  padding-block: clamp(80px, 12vw, 160px) clamp(60px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  z-index: -1;
  background: radial-gradient(800px 500px at 70% 60%, rgba(250, 113, 27, 0.08), transparent 70%);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-bottom: clamp(28px, 4vw, 44px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--accent) 0%, var(--djaz-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-main {
  font-size: clamp(42px, 7vw, 110px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 350;
  max-width: 18ch;
  text-wrap: balance;
  font-family: var(--font-display);
  color: var(--paper);
  margin: 0 0 20px;
  opacity: 1 !important;
  transform: none !important;
}

[dir="rtl"] .hero-title-main {
  letter-spacing: 0;
  line-height: 1.1;
  max-width: none;
}

.hero-title-main .algerie-highlight,
.algerie-highlight {
  font-style: italic;
  background: linear-gradient(120deg, var(--accent) 0%, var(--djaz-green) 50%, var(--djaz-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
  position: relative;
  display: inline;
}

.hero-title-main .algerie-highlight::after,
.algerie-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--djaz-green));
  border-radius: 2px;
  opacity: 0.6;
}

/* For RTL support */
[dir="rtl"] .hero-title-main .algerie-highlight::after,
[dir="rtl"] .algerie-highlight::after {
  background: linear-gradient(90deg, var(--djaz-green), var(--accent));
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 300;
  color: var(--paper);
  margin-top: 12px;
  letter-spacing: -0.01em;
}

.hero .lede {
  margin-top: clamp(28px, 4vw, 40px);
  max-width: 55ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: clamp(36px, 4.5vw, 52px);
}

/* Hero Marquee */
.hero-marquee {
  position: relative;
  margin-top: clamp(72px, 9vw, 120px);
  padding-block: 22px;
  border-block: 1px solid var(--rule);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.hero-marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
}

.hero-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-inline-end: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

.hero-marquee-track span::after {
  content: "✦";
  color: var(--accent);
  font-size: 10px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

[dir="rtl"] .hero-marquee-track {
  animation-direction: reverse;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(56px, 7vw, 80px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--rule);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ============================================================================
   INTEGRITY SECTION
   ============================================================================ */

.integrity {
  background:
    radial-gradient(700px 500px at 10% 30%, rgba(34, 197, 94, 0.05), transparent 70%),
    radial-gradient(500px 400px at 90% 80%, rgba(250, 113, 27, 0.04), transparent 70%);
}

.integrity-intro {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  max-width: 65ch;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.integrity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.integrity-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.integrity-card:hover {
  transform: translateY(-4px);
  border-color: var(--rule-mid);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.integrity-icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  margin-bottom: 24px;
}

.integrity-icon svg {
  width: 100%;
  height: 100%;
}

.integrity-card:nth-child(2) .integrity-icon {
  color: var(--djaz-green);
}

.integrity-card:nth-child(3) .integrity-icon {
  color: var(--djaz-blue);
}

.integrity-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  margin-bottom: 16px;
}

.integrity-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--mute);
}

/* ============================================================================
   PBID SECTION
   ============================================================================ */

.pbid {
  background:
    radial-gradient(800px 600px at 80% 40%, rgba(59, 130, 246, 0.08), transparent 70%),
    var(--ink);
}

.pbid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
}

.pbid-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pbid-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1.6;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--rule-mid);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.pbid-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250, 113, 27, 0.15), rgba(59, 130, 246, 0.1), transparent 60%);
  pointer-events: none;
}

.pbid-hologram {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: conic-gradient(from 0deg, var(--accent), var(--djaz-blue), var(--djaz-green), var(--accent));
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(20px);
  animation: hologramRotate 8s linear infinite;
}

@keyframes hologramRotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

.pbid-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pbid-logo {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.pbid-chip {
  display: flex;
  gap: 3px;
}

.chip-line {
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--djaz-green));
  border-radius: 2px;
}

.chip-line:nth-child(2) {
  background: linear-gradient(90deg, var(--djaz-green), var(--djaz-blue));
}

.chip-line:nth-child(3) {
  background: linear-gradient(90deg, var(--djaz-blue), var(--accent));
}

.pbid-number {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--paper);
  margin-top: auto;
  margin-bottom: 8px;
}

.pbid-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.pbid-copy h2,
.pbid-title-main {
  font-size: clamp(36px, 4vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--paper);
}

[dir="rtl"] .pbid-copy h2,
[dir="rtl"] .pbid-title-main {
  letter-spacing: 0;
  line-height: 1.2;
}

.pbid-text {
  margin-top: 24px;
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 50ch;
}

.pbid-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pbid-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.pbid-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--djaz-green);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================================
   PRICING SECTION
   ============================================================================ */

.pricing {
  background:
    radial-gradient(900px 600px at 50% 30%, rgba(250, 113, 27, 0.06), transparent 70%),
    var(--ink);
}

.pricing-intro {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.pricing-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--rule-mid);
}

.pricing-card--featured {
  background: linear-gradient(180deg, rgba(250, 113, 27, 0.08), rgba(250, 113, 27, 0.02));
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-soft);
  transform: scale(1.02);
}

.pricing-card--featured:hover {
  box-shadow: 0 0 60px var(--accent-glow);
}

.pricing-card--elite {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.06), rgba(34, 197, 94, 0.02));
  border-color: var(--djaz-green);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.pricing-header h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 16px;
}

.pricing-card--featured .pricing-header h3 {
  color: var(--accent);
}

.pricing-card--elite .pricing-header h3 {
  color: var(--djaz-green);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.price-currency {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

.price-period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
  margin-left: 4px;
}

.pricing-features {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper-2);
  position: relative;
  padding-left: 20px;
}

.pricing-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-cta {
  margin-top: 28px;
  width: 100%;
  justify-content: center;
}

.pricing-wallet {
  margin-top: clamp(48px, 6vw, 64px);
  display: flex;
  justify-content: center;
}

/* ============================================================================
   CONTACT SECTION
   ============================================================================ */

.contact {
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.04), transparent 60%),
    var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

.contact h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 20px;
  font-weight: 350;
  max-width: 18ch;
}

.contact p {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--paper-2);
  font-size: 16.5px;
  line-height: 1.6;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

[dir="rtl"] .contact-cta {
  align-items: flex-end;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
  padding-block: clamp(72px, 9vw, 120px) 40px;
  border-top: 1px solid var(--rule);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--rule);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand .brand {
  font-size: 24px;
}

.footer-brand p {
  max-width: 38ch;
  color: var(--paper-2);
  font-size: 15px;
  line-height: 1.55;
}

.footer-brand p a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 200ms ease;
}

.footer-brand p a:hover {
  opacity: 0.8;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  margin: 0 0 18px;
}

[dir="rtl"] .footer-col h4 {
  font-family: var(--font-mono);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col li {
  color: var(--paper-2);
  font-size: 14.5px;
  transition: color 200ms ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}

.footer-sig {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mute-2);
}

/* ============================================================================
   Responsive
   ============================================================================ */

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .pricing-card--featured {
    transform: scale(1);
    grid-column: span 1;
  }
}

@media (max-width: 980px) {
  .pbid-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .pbid-visual {
    order: -1;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .integrity-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 22px;
    --section-y: 88px;
    --section-y-tight: 56px;
  }
  
  .topbar {
    padding-block: 16px;
  }
  
  .topbar.is-shrunk {
    padding-block: 10px;
  }
  
  .topbar nav {
    display: none;
  }
  
  .topbar-inner {
    justify-content: space-between;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .stat-num {
    font-size: 28px;
  }
  
  .stat-label {
    font-size: 9px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .stat-item {
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
}
