/* ════════════════════════════════════════════
   DUARA — BASE STYLESHEET
   Reset, design tokens, nav, footer, reveal,
   shared buttons. One copy, every page links it.
════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: white;
  color: #1c1b1b;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  /* canonical tokens, per DESIGN_SYSTEM.md */
  --cream:      #fcf9f8;
  --sand:       #ffe8d5;
  --peach:      #ffcca2;
  --terracotta: #92400e;
  --ink:        #1c1b1b;
  --clay:       #50453c;
  --clay-soft:  #82756b;
  --border-tint: rgba(212,195,184,0.3);

  /* legacy aliases — every page's per-page inline <style> still
     references these names; drop once Phase 3 sweeps them out */
  --beige:  var(--sand);
  --brown:  var(--terracotta);
  --muted:  var(--clay);
  --warm:   var(--clay-soft);
  --text:   var(--ink);
  --border: var(--border-tint);

  /* motion tokens */
  --dur-instant: 100ms;
  --dur-fast:    200ms;
  --dur-base:    400ms;
  --dur-slow:    800ms;
  --ease-standard: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

  /* radius tokens — slightly rounder sitewide; no sharp edges */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;
}

/* ════════════════════════════
   DUARA WORD-MARK EMPHASIS
   Lowercase "duara" in running copy: bold when the surrounding
   text isn't already bold; a slight underline when it is
   (avoids double-emphasis inside already-bold headlines/buttons).
════════════════════════════ */
.duara-word { font-weight: 600; }
.duara-word-u { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1.5px; }

/* ════════════════════════════
   REVEAL (scroll-in animation)
════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

/* ════════════════════════════
   NAV — desktop
════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background var(--dur-base) ease;
}
nav.scrolled { background: rgba(245, 242, 237, 0.92); }

.nav-logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.nav-logo-mark { width: 26px; height: 24px; flex-shrink: 0; fill: currentColor; }
.nav-logo-text {
  display: inline-block; overflow: hidden;
  max-width: 140px; opacity: 1;
  transition: max-width var(--dur-base) var(--ease-standard), opacity var(--dur-fast) ease, margin var(--dur-base) ease;
}
/* index.php only: collapse the wordmark to just the mark while the
   hero (which already shows a giant "duara") is on screen */
nav.logo-mark-only .nav-logo-text { max-width: 0; opacity: 0; }

.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-pill-container {
  background: rgba(245, 242, 237, 0.6);
  border-radius: var(--radius-full);
  padding: 6px 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links li { position: relative; }

.nav-links a {
  position: relative;
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: lowercase;
  color: var(--clay);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition:
    color var(--dur-base) var(--ease-standard),
    background-color var(--dur-base) var(--ease-standard),
    transform var(--dur-fast) var(--ease-spring);
  transform: scale(1);
  transform-origin: center;
}
.nav-links a:hover {
  color: var(--ink);
  background-color: rgba(212, 195, 184, 0.4);
  transform: scale(1.04);
}
.nav-links a.active {
  color: var(--ink);
  background-color: rgba(212, 195, 184, 0.3);
}
.nav-links a.active:hover { background-color: rgba(212, 195, 184, 0.5); }
.nav-links a:active { transform: scale(0.97); transition-duration: var(--dur-instant); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: lowercase;
  color: white; background: var(--terracotta);
  border: none; border-radius: var(--radius-full);
  padding: 12px 22px; cursor: pointer;
  transition: background var(--dur-fast) ease;
}
.nav-cta:hover { background: #6b2f08; }
.nav-cta-logo { width: 15px; height: 14px; flex-shrink: 0; fill: currentColor; transform: translateY(0.5px); }

/* ════════════════════════════
   NAV — mobile hamburger
════════════════════════════ */
.nav-hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-standard), opacity var(--dur-fast) var(--ease-standard);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════
   MOBILE MENU — full-screen sheet
════════════════════════════ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open { visibility: visible; pointer-events: auto; }

.mobile-menu-backdrop {
  position: absolute; inset: 0;
  background: rgba(28, 27, 27, 0.4);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-standard);
}
.mobile-menu.open .mobile-menu-backdrop { opacity: 1; }

.mobile-menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: var(--cream);
  display: flex; flex-direction: column;
  padding: 24px 32px 40px;
  transform: translateX(100%);
  transition: transform var(--dur-base) var(--ease-spring);
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }

.mobile-menu-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 48px;
}
.mobile-menu-close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  color: var(--ink);
}

.mobile-menu-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu-links a {
  display: block;
  font-size: 28px; font-weight: 500; color: var(--ink);
  text-decoration: none; text-transform: lowercase;
  padding: 12px 0;
  min-height: 44px;
}

.mobile-menu-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
  text-transform: lowercase;
  color: white; background: var(--terracotta);
  border: none; border-radius: var(--radius-sm);
  padding: 16px 24px; cursor: pointer;
  min-height: 44px;
}
.mobile-cta-logo { width: 17px; height: 16px; flex-shrink: 0; fill: currentColor; transform: translateY(0.5px); }

body.menu-open { overflow: hidden; }

/* ════════════════════════════
   ICONS — Lucide sprite (assets/icons/sprite.svg), stroke-width 1.5 sitewide
════════════════════════════ */
.icon {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ════════════════════════════
   CARD — consolidates the old .feature-card/.way-card/.rule-card
   patterns into one component (per DESIGN_SYSTEM.md component inventory)
════════════════════════════ */
.card {
  border: 1px solid rgba(212,195,184,0.4);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.card-icon {
  width: 20px; height: 20px;
  color: var(--terracotta);
}
.card-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.card-body { font-size: 13px; font-weight: 400; color: var(--clay); line-height: 1.6; }

/* ════════════════════════════
   NUMBERED ITEM — consolidates .p-number/.p-title and
   .right-item/.right-num into one component
════════════════════════════ */
.numbered-list { display: flex; flex-direction: column; gap: 20px; }
.numbered-item { display: flex; gap: 20px; align-items: flex-start; }
.numbered-item .num {
  font-size: 12px; font-weight: 700;
  color: var(--terracotta); letter-spacing: 0.5px;
  flex-shrink: 0; padding-top: 2px; min-width: 28px;
}
.numbered-item .body { font-size: 14px; font-weight: 400; color: var(--clay); line-height: 1.7; }
.numbered-item .body strong { font-weight: 600; color: var(--ink); }

/* ════════════════════════════
   MODAL PRIMITIVE — shared by Download + Collective
════════════════════════════ */
dialog.modal {
  position: fixed;
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: calc(100% - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: var(--cream);
  box-shadow: 0 24px 64px rgba(28,27,27,0.24);
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity var(--dur-base) var(--ease-spring),
              transform var(--dur-base) var(--ease-spring);
}
dialog.modal[open] { opacity: 1; transform: translateY(0) scale(1); }
dialog.modal.closing {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity var(--dur-fast) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard);
}
dialog.modal::backdrop {
  background: rgba(28, 27, 27, 0.45);
  opacity: 0;
  transition: opacity var(--dur-base) ease;
}
dialog.modal[open]::backdrop { opacity: 1; }

@media (max-width: 640px) {
  dialog.modal {
    max-width: none;
    width: 100%;
    margin: auto auto 0;
    max-height: 90dvh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
  }
  dialog.modal[open] { transform: translateY(0); }
  dialog.modal.closing { transform: translateY(100%); }
}

.modal-inner { padding: 40px; position: relative; }
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  color: var(--clay); border-radius: 50%;
  transition: background var(--dur-fast) ease;
}
.modal-close:hover { background: rgba(212,195,184,0.3); }
.modal-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.modal-title {
  font-size: 24px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1.3;
  margin-bottom: 8px; padding-right: 32px;
}
.modal-sub { font-size: 14px; font-weight: 400; color: var(--clay); line-height: 1.6; margin-bottom: 28px; }

/* Download modal — platform cards */
.platform-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.platform-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(212,195,184,0.5);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--dur-fast) ease, background var(--dur-fast) ease;
}
.platform-card.is-enabled { cursor: pointer; }
.platform-card.is-enabled:hover { border-color: var(--terracotta); background: rgba(255,204,162,0.08); }
.platform-card.is-disabled { opacity: 0.6; cursor: default; }
.platform-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.platform-icon.google-play { background: #000000; }
.platform-icon.app-store { background: #4a4a4a; }
.platform-icon svg { width: 22px; height: 22px; }
.platform-body { flex: 1; min-width: 0; }
.platform-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.platform-status { font-size: 12px; font-weight: 500; color: var(--clay-soft); margin-top: 2px; }
.platform-arrow { width: 16px; height: 16px; color: var(--clay-soft); flex-shrink: 0; }
.platform-arrow svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.platform-notify {
  font-size: 12px; font-weight: 600; color: var(--terracotta);
  background: none; border: none; cursor: pointer; text-decoration: underline;
  font-family: 'Poppins', sans-serif; padding: 0; margin-top: 4px;
}
.modal-reassurance { font-size: 12px; color: var(--clay-soft); line-height: 1.6; }

/* Collective modal — editorial + form */
.modal-editorial { font-size: 14px; color: var(--clay); line-height: 1.7; margin-bottom: 28px; }
.modal-form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.modal-form-row label { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--clay-soft); text-transform: uppercase; }
.modal-form-row input[type="email"],
.modal-form-row input[type="text"] {
  border: 1px solid var(--border-tint); border-radius: var(--radius-sm);
  padding: 12px 14px; font-family: 'Poppins', sans-serif;
  font-size: 16px; color: var(--ink); outline: none; background: white;
  transition: border-color var(--dur-fast) ease;
}
.modal-form-row input:focus { border-color: var(--terracotta); }
.modal-form-row textarea {
  border: 1px solid var(--border-tint); border-radius: var(--radius-sm);
  padding: 12px 14px; font-family: 'Poppins', sans-serif;
  font-size: 15px; color: var(--ink); outline: none; background: white;
  resize: none; min-height: 120px; line-height: 1.6;
  transition: border-color var(--dur-fast) ease;
}
.modal-form-row textarea:focus { border-color: var(--terracotta); }
.modal-category-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--terracotta);
  background: rgba(255,204,162,0.35); padding: 5px 12px;
  border-radius: var(--radius-full); margin-bottom: 16px;
}
.modal-consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.modal-consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.modal-consent label { font-size: 12px; color: var(--clay-soft); line-height: 1.6; }
.modal-consent a { color: var(--terracotta); text-decoration: underline; }
.modal-submit {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px; background: var(--terracotta); color: white;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  transition: background var(--dur-fast) ease;
}
.modal-submit:hover { background: #6b2f08; }
.modal-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.modal-error { font-size: 13px; color: #b3261e; margin-top: 12px; display: none; }
.modal-error.visible { display: block; }
.modal-success { display: none; text-align: center; padding: 12px 0; }
.modal-success.visible { display: block; }
.modal-success-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,204,162,0.3); color: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.modal-success-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.modal-success-title { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.modal-success-body { font-size: 14px; color: var(--clay); line-height: 1.6; }
.is-hidden { display: none !important; }

/* ════════════════════════════
   FINAL CTA — shared by index.php and philosophy.php
   (partials/final-cta.php)
════════════════════════════ */
#download {
  background: var(--terracotta);
  padding: 160px 64px 140px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
  position: relative; overflow: hidden;
}
#download::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,204,162,0.15) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.download-headline {
  font-size: clamp(40px, 4.5vw, 64px); font-weight: 500; color: white;
  letter-spacing: -0.02em; line-height: 1.2; position: relative; z-index: 1;
}
.download-sub {
  font-size: 18px; font-weight: 400; color: rgba(255,255,255,0.75); line-height: 1.6;
  max-width: 480px; position: relative; z-index: 1;
}
.download-actions { display: flex; align-items: center; gap: 24px; justify-content: center; flex-wrap: wrap; padding-top: 12px; position: relative; z-index: 1; }
.download-guarantee { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.5); position: relative; z-index: 1; margin-top: 4px; }

@media (max-width: 960px) {
  #download { padding: 80px 24px; }
}

/* ════════════════════════════
   STORE BADGES — shared by the hero and the final CTA
   (partials/store-badges.php). Both link through the "coming soon"
   modal — the real platform-chooser dialog is reserved for the
   nav "get the app" button and the footer "Download" link only.
════════════════════════════ */
.store-badges-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge.google-play { background: #000000; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.store-badge.app-store { background: #4a4a4a; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge-label { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.store-badge-label-small { font-size: 10px; font-weight: 400; color: rgba(255,255,255,0.7); letter-spacing: 0.4px; }
.store-badge-label-big { font-size: 16px; font-weight: 500; color: white; line-height: 1; }

/* ════════════════════════════
   SHARED BUTTONS
════════════════════════════ */
.btn-brown {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; background: var(--terracotta);
  color: white; font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  text-decoration: none; transition: background var(--dur-fast) ease;
}
.btn-brown:hover { background: #6b2f08; }
.btn-brown svg { width: 14px; }
svg.btn-brown-logo { width: 17px; height: 16px; flex-shrink: 0; fill: currentColor; stroke: none; transform: translateY(0.5px); }

.btn-peach {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--terracotta);
  text-decoration: none; transition: gap var(--dur-fast) ease;
}
.btn-peach:hover { gap: 12px; }
.btn-peach svg { width: 16px; }

/* ════════════════════════════
   SCROLL HINT
════════════════════════════ */
.scroll-hint { opacity: 0.35; display: inline-block; animation: bob 2.2s ease-in-out infinite; }
.scroll-hint svg { width: 14px; height: 14px; }
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ════════════════════════════
   FOOTER
════════════════════════════ */
footer { background: var(--cream); border-top: 1px solid var(--border-tint); }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 120px 64px 64px;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.footer-brand-col { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 320px; }
.footer-brand { font-size: 32px; font-weight: 600; color: var(--ink); }
.footer-tagline { font-size: 16px; font-weight: 400; color: var(--clay); }
.footer-newsletter-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: white; background: var(--terracotta);
  border: none; border-radius: var(--radius-sm);
  padding: 12px 20px; cursor: pointer;
  transition: background var(--dur-fast) ease;
}
.footer-newsletter-btn:hover { background: #6b2f08; }
.footer-feedback-link {
  font-size: 13px; font-weight: 500; color: var(--clay);
  text-decoration: underline; background: none; border: none; cursor: pointer;
  font-family: 'Poppins', sans-serif; padding: 0;
}
.footer-feedback-link:hover { color: var(--ink); }

.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col-title {
  font-size: 11px; font-weight: 700; color: var(--clay-soft);
  letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 4px;
}
.footer-link {
  font-size: 13px; font-weight: 500; color: var(--clay);
  text-decoration: none; transition: color var(--dur-fast) ease;
  background: none; border: none; padding: 0; text-align: left; cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.footer-link:hover { color: var(--ink); }

.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding: 24px 64px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  border-top: 1px solid var(--border-tint);
}
.footer-copy, .footer-compliance {
  font-size: 12px; font-weight: 500; color: var(--clay-soft);
  letter-spacing: 0.3px;
}

/* ════════════════════════════
   FLOATING DOWNLOAD PROMPT — shared across index.php + philosophy.php
   Visible from just past the hero through to the page's CTA
   (marked with [data-fp-boundary]), persistent in between —
   no auto-hide timer, only a manual dismiss (X) ends it for the visit.
════════════════════════════ */
#floatingPrompt {
  position: fixed; top: 80%; left: 50%;
  transform: translate(-50%, -50%) scale(0.88);
  z-index: 300; display: flex; align-items: center; gap: 20px;
  padding: 20px 40px 20px 28px; border-radius: 100px;
  background: rgba(146, 64, 14, 0.72);
  backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 48px rgba(146, 64, 14, 0.35), 0 2px 12px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255,255,255,0.12);
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
  max-width: 520px; white-space: nowrap;
}
#floatingPrompt.visible { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
#floatingPrompt.hiding { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.92); }
#floatingPrompt::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); border-radius: 1px;
}
.fp-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}
.fp-icon svg { width: 20px; height: 20px; stroke: white; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fp-body { display: flex; flex-direction: column; gap: 2px; }
.fp-label { font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); line-height: 1; }
.fp-headline { font-size: 16px; font-weight: 700; color: white; line-height: 1.25; }
.fp-headline .duara-word-u { text-decoration-color: rgba(255,255,255,0.7); }
.fp-cta {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px;
  background: white; color: var(--terracotta); font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: lowercase;
  border: none; border-radius: 100px; cursor: pointer; flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  text-decoration: none; margin-left: 8px;
}
.fp-cta:hover { transform: scale(1.06); box-shadow: 0 4px 20px rgba(0,0,0,0.18); }
.fp-cta:active { transform: scale(0.97); }
.fp-close {
  position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0,0,0,0.35); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15);
  color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1;
  transition: background 0.2s, transform 0.2s;
}
.fp-close svg { width: 12px; height: 12px; stroke: white; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fp-close:hover { background: rgba(0,0,0,0.55); transform: scale(1.1); }
@keyframes floatGentle {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, calc(-50% - 6px)) scale(1); }
}
#floatingPrompt.visible.floating { animation: floatGentle 4s ease-in-out infinite; }

@media (max-width: 960px) {
  #floatingPrompt {
    top: auto; bottom: 80px; left: 16px; right: 16px;
    transform: translateY(0) scale(0.88); border-radius: 28px; max-width: none; width: auto;
    padding: 16px 20px; gap: 14px; white-space: normal; flex-wrap: wrap;
  }
  #floatingPrompt.visible { transform: translateY(0) scale(1); }
  #floatingPrompt.hiding { transform: translateY(20px) scale(0.92); }
  .fp-cta { margin-left: 0; width: 100%; justify-content: center; padding: 12px 24px; }
}
@media (max-width: 960px) and (prefers-reduced-motion: no-preference) {
  @keyframes floatGentle {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1); }
  }
}

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 960px) {
  nav { padding: 18px 20px; }
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }

  .footer-inner { flex-direction: column; gap: 40px; padding: 80px 24px 48px; }
  .footer-links { gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 20px 24px 40px; }
}
