:root {
  --forest-black: #081E14;
  --forest: #0C3D24;
  --forest-mid: #175A38;
  --forest-soft: #1F6B44;
  --gold: #F5B930;
  --gold-bright: #FFD25E;
  --gold-deep: #D89614;
  --mint: #8FE3B8;
  --cream: #F5F0E4;
  --cream-dim: rgba(245, 240, 228, 0.68);
  --line: rgba(245, 240, 228, 0.14);
  --font-display: 'Tajawal', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--forest-black);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Ambient code-glyph background layer */
.glyph-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--mint);
  line-height: 2.4;
  white-space: pre;
  overflow: hidden;
  user-select: none;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* ---------- NAV ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(8, 30, 20, 0.94), rgba(8, 30, 20, 0.82));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 44px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.brand:hover img {
  transform: scale(1.05) rotate(-2deg);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--cream);
  letter-spacing: 0.2px;
}

.brand-text span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.62rem;
  color: var(--mint);
  letter-spacing: 1.5px;
  margin-top: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 26px;
  border-radius: 9px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #12220F;
  box-shadow: 0 6px 20px rgba(245, 185, 48, 0.25);
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(245, 185, 48, 0.42);
}

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

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

.btn-ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
  background: rgba(143, 227, 184, 0.06);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-bright);
  border-color: rgba(245, 185, 48, 0.45);
}

.btn-outline-gold:hover {
  background: rgba(245, 185, 48, 0.12);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 185, 48, 0.2);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

.nav-actions .btn-ghost {
  display: none;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 88px 0 70px;
  background:
    radial-gradient(ellipse 900px 560px at 78% 8%, rgba(31, 107, 68, 0.55), transparent 60%),
    radial-gradient(ellipse 700px 500px at 10% 90%, rgba(245, 185, 48, 0.10), transparent 60%),
    linear-gradient(160deg, var(--forest-black) 0%, var(--forest) 55%, #0A331F 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 240, 228, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 240, 228, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 20%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 20%, black, transparent);
}

.sparkle {
  position: absolute;
  color: var(--gold-bright);
  opacity: 0.8;
  filter: drop-shadow(0 0 8px rgba(245, 185, 48, 0.5));
  pointer-events: none;
}

.s1 {
  top: 14%;
  right: 6%;
  font-size: 22px;
  animation: twinkle 3.2s ease-in-out infinite;
}

.s2 {
  top: 62%;
  right: 16%;
  font-size: 14px;
  animation: twinkle 4s ease-in-out 0.6s infinite;
}

.s3 {
  top: 30%;
  left: 8%;
  font-size: 16px;
  animation: twinkle 3.6s ease-in-out 1.1s infinite;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.25;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) rotate(15deg);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--mint);
  background: rgba(143, 227, 184, 0.08);
  border: 1px solid rgba(143, 227, 184, 0.25);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.eyebrow:hover {
  background: rgba(143, 227, 184, 0.16);
  border-color: var(--mint);
  transform: translateY(-1px);
}

.eyebrow::before {
  content: "●";
  color: var(--gold-bright);
  font-size: 0.6rem;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

h1.headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  line-height: 1.18;
  color: var(--cream);
  margin-bottom: 22px;
}

h1.headline .accent {
  color: var(--gold-bright);
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--cream-dim);
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.8;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.trust-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

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

.trust-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gold-bright);
}

.trust-label {
  font-size: 0.78rem;
  color: var(--cream-dim);
}

/* Instructor Visual & Floating Code Chips */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.photo-frame {
  position: relative;
  width: 340px;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(245, 185, 48, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.photo-frame:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--gold-bright);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 25px rgba(245, 185, 48, 0.25);
}

.photo-frame img {
  width: 100%;
  display: block;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 0.5s ease;
}

.photo-frame:hover img {
  transform: scale(1.03);
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 30, 20, 0.75) 100%);
  pointer-events: none;
}

/* Micro-animations for Code Chips */
.code-chip {
  position: absolute;
  background: rgba(10, 40, 25, 0.88);
  border: 1px solid rgba(143, 227, 184, 0.35);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mint);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  z-index: 3;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.code-chip:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 18px 36px rgba(245, 185, 48, 0.22);
}

.code-chip .dots {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.code-chip .dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
}

.code-chip .dots span:nth-child(1) { background: #F27E6B; }
.code-chip .dots span:nth-child(2) { background: var(--gold-bright); }
.code-chip .dots span:nth-child(3) { background: var(--mint); }
.code-chip .kw { color: var(--gold-bright); font-weight: 600; }
.code-chip .fn { color: #7FD7F0; }

.chip-top {
  top: -24px;
  right: -18px;
  width: 210px;
  animation: floatChipTop 5s ease-in-out infinite;
}

.chip-bottom {
  bottom: -20px;
  left: -30px;
  width: 190px;
  animation: floatChipBottom 6s ease-in-out infinite 0.5s;
}

@keyframes floatChipTop {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes floatChipBottom {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}

/* ---------- MARQUEE STRIP ---------- */
.marquee-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 18px 0;
}

.marquee-strip .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cream-dim);
  letter-spacing: 0.5px;
}

.marquee-strip span {
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.marquee-strip span:hover {
  color: var(--cream);
  transform: translateY(-1px);
}

.marquee-strip b {
  color: var(--gold-bright);
  font-weight: 600;
}

/* ---------- SECTION SHARED ---------- */
section {
  position: relative;
  padding: 100px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 14px;
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--cream);
  line-height: 1.3;
}

.section-desc {
  color: var(--cream-dim);
  margin-top: 14px;
  font-weight: 300;
  font-size: 1.02rem;
}

/* ---------- FEATURES ---------- */
.features {
  background: linear-gradient(180deg, #0A331F, var(--forest-black));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 185, 48, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 15px rgba(245, 185, 48, 0.12);
}

.fc-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--line);
}

.fc-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.fc-bar span:nth-child(1) { background: #F27E6B; }
.fc-bar span:nth-child(2) { background: var(--gold-bright); }
.fc-bar span:nth-child(3) { background: var(--mint); }

.fc-bar .fc-title {
  margin-right: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cream-dim);
}

.fc-body {
  padding: 26px 22px 28px;
}

.fc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(245, 185, 48, 0.18), rgba(143, 227, 184, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover .fc-icon {
  transform: scale(1.12) rotate(4deg);
  background: linear-gradient(135deg, rgba(245, 185, 48, 0.3), rgba(143, 227, 184, 0.2));
}

.fc-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--cream);
}

.fc-body p {
  color: var(--cream-dim);
  font-size: 0.92rem;
  font-weight: 300;
}

/* ---------- PATH / TRACKS ---------- */
.tracks {
  background: var(--forest-black);
}

.track-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.track-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
}

.track-row:hover {
  background: rgba(245, 185, 48, 0.04);
  padding-right: 14px;
  border-bottom-color: rgba(245, 185, 48, 0.25);
}

.track-idx {
  font-family: var(--font-mono);
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 600;
}

.track-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cream);
}

.track-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--cream-dim);
  font-size: 0.85rem;
  margin-top: 4px;
}

.track-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--mint);
  border: 1px solid rgba(143, 227, 184, 0.3);
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.track-row:hover .track-tag {
  background: rgba(143, 227, 184, 0.12);
  border-color: var(--mint);
  transform: scale(1.05);
}

/* ---------- PLAYGROUND ---------- */
.playground {
  background: linear-gradient(180deg, var(--forest-black), #0A331F);
}

.pg-shell {
  background: #0A1F15;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  transition: border-color 0.3s ease;
}

.pg-shell:focus-within {
  border-color: rgba(245, 185, 48, 0.4);
}

.pg-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--line);
}

.pg-bar span.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pg-bar span.dot:nth-child(1) { background: #F27E6B; }
.pg-bar span.dot:nth-child(2) { background: var(--gold-bright); }
.pg-bar span.dot:nth-child(3) { background: var(--mint); }

.pg-filename {
  margin-right: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cream-dim);
}

.pg-run {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #12220F;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  padding: 6px 14px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pg-run:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 18px rgba(245, 185, 48, 0.35);
}

.pg-run:active {
  transform: translateY(0);
}

.pg-body {
  display: grid;
  grid-template-columns: 44px 1fr;
  min-height: 230px;
}

.pg-lines {
  background: rgba(0, 0, 0, 0.18);
  color: rgba(245, 240, 228, 0.28);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.75;
  padding: 18px 0;
  text-align: center;
  user-select: none;
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.pg-editor {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--mint);
  direction: ltr;
  text-align: left;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  white-space: pre;
  overflow: auto;
  caret-color: var(--gold-bright);
}

.pg-editor::placeholder {
  color: rgba(245, 240, 228, 0.35);
}

.pg-console {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cream-dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pg-console .tag {
  color: var(--gold-bright);
  flex-shrink: 0;
  font-weight: bold;
}

#pgConsoleText {
  white-space: pre-wrap;
  word-break: break-word;
}

.pg-hint {
  text-align: center;
  margin-top: 18px;
  color: var(--cream-dim);
  font-size: 0.88rem;
}

.pg-hint b {
  color: var(--gold-bright);
  font-weight: 600;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--forest-mid), var(--forest));
  border-radius: 26px;
  padding: 64px 48px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border: 1px solid rgba(245, 185, 48, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.cta-banner:hover {
  border-color: rgba(245, 185, 48, 0.45);
  transform: translateY(-2px);
}

.cta-banner::before {
  content: "</>";
  position: absolute;
  left: -10px;
  bottom: -30px;
  font-family: var(--font-mono);
  font-size: 9rem;
  color: rgba(245, 240, 228, 0.04);
  font-weight: 700;
  pointer-events: none;
}

.cta-banner h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--cream);
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.cta-banner p {
  color: var(--cream-dim);
  margin-top: 10px;
  font-weight: 300;
  position: relative;
  z-index: 2;
}

.cta-banner .btn {
  position: relative;
  z-index: 2;
}

/* ---------- FOOTER ---------- */
footer {
  background: #061A10;
  border-top: 1px solid var(--line);
  padding: 56px 0 26px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--cream-dim);
  font-size: 0.88rem;
  max-width: 280px;
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: var(--cream);
  transform: translateX(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--cream-dim);
  font-family: var(--font-mono);
}

.footer-bottom a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--cream);
  text-decoration: underline;
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    order: -1;
    margin-bottom: 10px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .track-row {
    grid-template-columns: 44px 1fr;
  }
  .track-tag {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 8px;
  }
  .cta-banner {
    padding: 40px 26px;
    flex-direction: column;
    text-align: center;
  }
  .cta-banner::before {
    display: none;
  }
  .footer-top {
    flex-direction: column;
    gap: 28px;
  }
  .footer-links {
    gap: 32px;
  }
  .chip-top {
    right: 0;
    top: -16px;
  }
  .chip-bottom {
    left: 0;
    bottom: -16px;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 18px;
  }
  .cta-row {
    flex-direction: column;
  }
  .cta-row .btn {
    width: 100%;
  }
  .trust-row {
    gap: 20px;
  }
  .pg-body {
    grid-template-columns: 32px 1fr;
  }
  .pg-editor {
    font-size: 0.82rem;
  }
}

/* Focus visibility & Reduced Motion */
a:focus-visible, button:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation: none !important;
    transition: none !important;
  }
}
