/* === Cloakr Design System — Dark Techy Edition === */
:root {
  --teal: #00C9B1;
  --teal-dim: #00A896;
  --teal-pale: rgba(0,201,177,0.12);
  --teal-glow: rgba(0,201,177,0.25);
  --navy: #0D0F1C;
  --navy-2: #12152A;
  --navy-3: #181C35;
  --navy-4: #1E2340;
  --navy-5: #242950;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --glass-hover: rgba(255,255,255,0.07);
  --ink: #E8EAF6;
  --ink-soft: #9BA3C4;
  --ink-muted: #5A6490;
  --danger: #ef4444;
  --danger-pale: rgba(239,68,68,0.12);
  --warn: #f59e0b;
  --warn-pale: rgba(245,158,11,0.12);
  --success: #10b981;
  --success-pale: rgba(16,185,129,0.12);
  --border: rgba(255,255,255,0.07);
  --border-teal: rgba(0,201,177,0.3);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --shadow-teal: 0 0 24px rgba(0,201,177,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'Fira Code', 'Cascadia Code', monospace;
  --transition: 0.18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(0,201,177,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(0,201,177,0.04) 0%, transparent 50%);
}

h1,h2,h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; color: var(--ink); }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.25rem; }
p { color: var(--ink-soft); }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dim); }

.container { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 520px; margin: 0 auto; padding: 0 24px; }

/* === NAVBAR === */
.navbar {
  background: rgba(13,15,28,0.85);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; max-width: 980px; margin: 0 auto;
}
.navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.navbar-brand img { height: 34px; }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.nav-user {
  font-size: 0.82rem; color: var(--ink-soft);
  padding: 6px 14px;
  background: var(--glass);
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dim) 100%);
  color: var(--navy);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,201,177,0.25);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,201,177,0.4);
}
.btn-secondary {
  background: var(--glass);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-secondary:hover:not(:disabled) { background: var(--glass-hover); border-color: var(--border-teal); }
.btn-ghost { background: transparent; color: var(--ink-soft); border: 1px solid transparent; }
.btn-ghost:hover:not(:disabled) { color: var(--ink); background: var(--glass); }
.btn-danger { background: var(--danger-pale); color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }
.btn-danger:hover:not(:disabled) { background: rgba(239,68,68,0.2); }
.btn-teal-outline { background: transparent; color: var(--teal); border: 1px solid var(--border-teal); }
.btn-teal-outline:hover:not(:disabled) { background: var(--teal-pale); }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* === GLASS CARDS === */
.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.card-glow {
  box-shadow: var(--shadow-teal);
  border-color: var(--border-teal);
}
.mb-3 { margin-bottom: 20px; }
.mt-2 { margin-top: 12px; }

/* === FORMS === */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}
.form-input::placeholder { color: var(--ink-muted); }
.form-hint { font-size: 0.78rem; color: var(--ink-muted); margin-top: 5px; }
select.form-input { cursor: pointer; }

/* === ALERTS === */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  margin-bottom: 12px;
}
.alert-error { background: var(--danger-pale); color: #fca5a5; border: 1px solid rgba(239,68,68,0.2); }
.alert-success { background: var(--success-pale); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.2); }
.alert-warn { background: var(--warn-pale); color: #fcd34d; border: 1px solid rgba(245,158,11,0.2); }
.alert-info { background: var(--teal-pale); color: var(--teal); border: 1px solid var(--border-teal); }

/* === BADGES === */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-teal { background: var(--teal-pale); color: var(--teal); border: 1px solid var(--border-teal); }
.badge-green { background: var(--success-pale); color: var(--success); border: 1px solid rgba(16,185,129,0.2); }
.badge-red { background: var(--danger-pale); color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }
.badge-orange { background: var(--warn-pale); color: var(--warn); border: 1px solid rgba(245,158,11,0.2); }
.badge-gray { background: rgba(255,255,255,0.06); color: var(--ink-soft); border: 1px solid var(--border); }

/* === SPINNER === */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(0,201,177,0.2);
  border-top-color: var(--teal);
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === PAGE HEADER === */
.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin: 32px 0 24px;
}
.page-title { font-size: 1.6rem; color: var(--ink); margin-bottom: 4px; }
.page-subtitle { color: var(--ink-soft); font-size: 0.9rem; }

/* === SECTION HEADERS === */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.section-title { font-size: 0.9rem; font-weight: 600; color: var(--ink); letter-spacing: 0.03em; }
.text-small { font-size: 0.8rem; }

/* === FOLDER GRID === */
.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.folder-card {
  display: block;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.folder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: var(--transition);
}
.folder-card:hover { border-color: var(--border-teal); transform: translateY(-2px); box-shadow: var(--shadow-teal); }
.folder-card:hover::before { opacity: 1; }
.folder-card-name { font-weight: 600; color: var(--ink); font-size: 1rem; margin-bottom: 6px; }
.folder-card-desc { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 12px; min-height: 18px; }
.folder-card-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.folder-stat { font-size: 0.78rem; color: var(--ink-muted); display: flex; align-items: center; gap: 4px; }
.folder-expiry { font-size: 0.76rem; color: var(--ink-muted); }
.folder-type-badge {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
  background: var(--teal-pale); color: var(--teal); border: 1px solid var(--border-teal);
}

/* === FILE LIST === */
.file-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.file-item:last-child { border-bottom: none; }
.file-item:hover { background: transparent; }
.file-icon { font-size: 1.4rem; width: 32px; text-align: center; flex-shrink: 0; }
.file-info { flex: 1; min-width: 0; }
.file-name { font-size: 0.9rem; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-meta { font-size: 0.77rem; color: var(--ink-muted); margin-top: 2px; }
.file-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* === TABLE === */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
thead th { padding: 10px 14px; text-align: left; color: var(--ink-muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; border-bottom: 1px solid var(--border); }
tbody td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--ink-soft); }
tbody tr:hover td { background: var(--glass); }
tbody tr:last-child td { border-bottom: none; }

/* === UPLOAD ZONE === */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--teal);
  background: var(--teal-pale);
}
.upload-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.upload-icon { font-size: 2rem; margin-bottom: 10px; }
.upload-text { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 4px; }
.upload-hint { font-size: 0.78rem; color: var(--ink-muted); }

/* === PROGRESS BAR === */
.progress-bar-wrap {
  height: 6px; background: var(--navy-4); border-radius: 3px; overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-dim));
  border-radius: 3px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(0,201,177,0.4);
}

/* === MODAL === */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.hidden { display: none; }
.modal {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header { margin-bottom: 20px; }
.modal-title { font-size: 1.1rem; color: var(--ink); font-family: var(--font-sans); font-weight: 600; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }

/* === AUTH PAGES === */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(0,201,177,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0,201,177,0.05) 0%, transparent 50%);
}
.auth-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.auth-logo { display: flex; justify-content: center; margin-bottom: 8px; }
.auth-tagline { text-align: center; font-size: 0.82rem; color: var(--ink-muted); margin-bottom: 28px; letter-spacing: 0.05em; }
.auth-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.auth-switch { text-align: center; font-size: 0.85rem; color: var(--ink-muted); }
.auth-switch a { color: var(--teal); }

/* === RECIPIENT PAGE === */
.recipient-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(0,201,177,0.1) 0%, transparent 60%);
}
.recipient-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg), var(--shadow-teal);
}
.recipient-header { text-align: center; margin-bottom: 28px; }

/* === CODE INPUT === */
.code-input-group { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
.code-digit {
  width: 48px; height: 60px;
  text-align: center; font-size: 1.5rem; font-weight: 700;
  background: var(--navy-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--teal);
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition);
  caret-color: var(--teal);
}
.code-digit:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
  background: var(--navy-4);
}

/* === CODE DISPLAY (for realtor) === */
.code-display {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
  padding: 20px;
  background: var(--navy-3);
  border: 2px solid var(--border-teal);
  border-radius: var(--radius);
  color: var(--teal);
  font-family: var(--font-sans);
  text-shadow: 0 0 20px rgba(0,201,177,0.4);
  transition: var(--transition);
}
.code-display:hover { background: var(--navy-4); border-color: var(--teal); }

/* === SESSION TIMER === */
.session-timer { font-family: var(--font-sans); font-weight: 700; color: var(--teal); letter-spacing: 0.05em; }
.session-timer.warn { color: var(--warn); }
.session-timer.danger { color: var(--danger); animation: pulse 1s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.6} }

/* === MILESTONE TRACKER === */
.milestone-tracker { padding: 4px 0; }
.milestone-progress-bar-wrap {
  height: 6px;
  background: var(--navy-4);
  border-radius: 3px;
  margin-bottom: 24px;
  overflow: hidden;
}
.milestone-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-dim));
  border-radius: 3px;
  transition: width 0.6s ease;
  box-shadow: 0 0 12px rgba(0,201,177,0.4);
}
.milestone-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.milestone-item:last-child { border-bottom: none; }
.milestone-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
  font-size: 0.8rem; font-weight: 700;
  border: 2px solid var(--border);
  background: var(--navy-3);
  color: var(--ink-muted);
  transition: var(--transition);
  position: relative; z-index: 1;
}
.milestone-dot.complete {
  background: var(--success-pale); border-color: var(--success);
  color: var(--success);
}
.milestone-dot.in_progress {
  background: var(--teal-pale); border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 10px rgba(0,201,177,0.3);
}
.milestone-dot.pending { background: var(--navy-3); border-color: var(--border); color: var(--ink-muted); }
.milestone-dot.overdue { background: var(--danger-pale); border-color: var(--danger); color: var(--danger); }
.milestone-content { flex: 1; min-width: 0; }
.milestone-title {
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
  margin-bottom: 2px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.milestone-title.complete { color: var(--ink-soft); text-decoration: line-through; }
.milestone-desc { font-size: 0.8rem; color: var(--ink-muted); margin-bottom: 6px; }
.milestone-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.milestone-due {
  font-size: 0.76rem; padding: 2px 8px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 4px;
}
.milestone-due.urgent { background: var(--danger-pale); color: var(--danger); }
.milestone-due.soon { background: var(--warn-pale); color: var(--warn); }
.milestone-due.ok { background: var(--teal-pale); color: var(--teal); }
.milestone-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; margin-top: 2px; }

/* === EMPTY STATES === */
.empty-state {
  text-align: center; padding: 48px 24px;
  color: var(--ink-muted);
}
.empty-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.6; }
.empty-state h3 { color: var(--ink-soft); margin-bottom: 8px; font-size: 1rem; font-family: var(--font-sans); }
.empty-state p { font-size: 0.86rem; max-width: 320px; margin: 0 auto 16px; }

/* === LANDING === */
.hero {
  padding: 80px 0 60px;
  max-width: 640px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 20px;
  padding: 6px 14px;
  background: var(--teal-pale);
  border: 1px solid var(--border-teal);
  border-radius: 20px;
}
.hero h1 { margin-bottom: 18px; font-size: 3rem; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero p { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 32px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  padding-bottom: 64px;
}
.feature-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--border-teal); transform: translateY(-2px); box-shadow: var(--shadow-teal); }
.feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature-title { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.feature-desc { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.6; }

.footer {
  text-align: center; padding: 32px 24px;
  font-size: 0.8rem; color: var(--ink-muted);
  border-top: 1px solid var(--border);
  margin-top: 0;
}

/* === UTILITIES === */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--ink-muted); }
.text-teal { color: var(--teal); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 20px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--navy-2); }
::-webkit-scrollbar-thumb { background: var(--navy-5); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-muted); }

/* === LINK BOX === */
.link-box {
  background: var(--navy-3);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  word-break: break-all;
  color: var(--teal);
  line-height: 1.5;
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .hero h1 { font-size: 2.1rem; }
  .page-header { flex-direction: column; }
  .modal { padding: 20px; }
  .auth-card { padding: 28px 20px; }
  .recipient-card { padding: 24px 20px; }
  .code-digit { width: 40px; height: 52px; font-size: 1.3rem; }
  .code-input-group { gap: 7px; }
}

/* === PRIVACY POLICY PAGE === */
.privacy-body { color: var(--ink-soft); }
.privacy-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.privacy-section:last-child { border-bottom: none; }
.privacy-section h2 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.privacy-section p {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.privacy-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.privacy-section li {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.privacy-section strong { color: var(--ink); }
.privacy-section a { color: var(--teal); }
.privacy-section a:hover { text-decoration: underline; }

/* === DEV BANNER === */
.dev-banner {
  background: linear-gradient(90deg, #1a0a00, #2a1200);
  border-bottom: 2px solid var(--warn);
  color: #fcd34d;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  padding: 8px 20px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 300;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dev-banner a {
  color: var(--teal);
  text-decoration: underline;
  font-weight: 600;
}
.dev-banner-close {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: #fcd34d;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.7;
  padding: 0 4px;
}
.dev-banner-close:hover { opacity: 1; }

/* === FEEDBACK FORM === */
.feedback-fab {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 400;
  background: linear-gradient(135deg, var(--teal), var(--teal-dim));
  color: var(--navy);
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.84rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,201,177,0.35);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.feedback-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,201,177,0.45);
}
.feedback-modal-overlay {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.feedback-modal-overlay.hidden { display: none; }
.feedback-modal {
  background: var(--navy-2);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg), var(--shadow-teal);
}
.feedback-modal h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.feedback-modal p {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 20px;
}
.feedback-rating {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: center;
}
.feedback-star {
  font-size: 1.6rem;
  cursor: pointer;
  opacity: 0.3;
  transition: var(--transition);
  background: none;
  border: none;
  padding: 2px;
}
.feedback-star.active, .feedback-star:hover { opacity: 1; }
