/* ==========================================================================
   Spam Sweeper – Design System & Custom Styles
   Dark cyber-clean aesthetic with emerald glows & glassmorphism
   ========================================================================== */

:root {
  --bg: #0b0f19;
  --bg-elevated: #111827;
  --bg-panel: rgba(17, 24, 39, 0.55);
  --accent: #10b981;
  --accent-bright: #34d399;
  --accent-dim: rgba(16, 185, 129, 0.15);
  --accent-glow: rgba(16, 185, 129, 0.45);
  --text: #f1f5f9;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(16, 185, 129, 0.35);
  --danger: #f87171;
  --gold: #fbbf24;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --nav-h: 5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(16, 185, 129, 0.35);
  color: #fff;
}

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

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

i[data-lucide] {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1120px, 100%);
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1rem; /* px-4 — reliable mobile edge gap */
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem; /* sm:px-6 */
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem; /* lg:px-8 */
  }
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 36rem;
  margin: 0;
}

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

/* Honeypot – visible to bots, off-screen for humans */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Atmosphere / Background
   -------------------------------------------------------------------------- */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 185, 129, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 20%, rgba(16, 185, 129, 0.06), transparent 50%),
    radial-gradient(ellipse 35% 35% at 10% 60%, rgba(52, 211, 153, 0.05), transparent 50%),
    var(--bg);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Glass & Glow utilities
   -------------------------------------------------------------------------- */

.glass {
  background: var(--bg-panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
}

.glow-accent {
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.25),
    0 0 24px rgba(16, 185, 129, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 5rem; /* h-20 */
  width: 100%;
  box-sizing: border-box;
  transition: background 0.3s var(--ease-out), border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.site-header .nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s;
}

.site-header .nav-link:hover {
  color: var(--text);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lang-toggle:hover,
.lang-switcher.is-open .lang-toggle {
  color: var(--text);
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.lang-chevron {
  transition: transform 0.2s;
  opacity: 0.7;
}

.lang-switcher.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  inset-inline-end: 0;
  min-width: 11rem;
  max-height: min(70vh, 22rem);
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  border-radius: 0.85rem;
  z-index: 120;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.lang-menu li {
  margin: 0;
}

.lang-menu button {
  width: 100%;
  text-align: start;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}

.lang-menu button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.lang-menu button.is-active {
  color: var(--accent-bright);
  background: rgba(16, 185, 129, 0.1);
}

#lang-current-label {
  max-width: none;
  overflow: visible;
  text-overflow: unset;
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 640px) {
  #lang-current-label {
    max-width: none;
  }
}

/* RTL tweaks */
html[dir="rtl"] .lang-chevron {
  transform: scaleX(-1);
}

html[dir="rtl"] .lang-switcher.is-open .lang-chevron {
  transform: scaleX(-1) rotate(180deg);
}

html[dir="rtl"] body {
  font-family: var(--font-body), "Segoe UI", Tahoma, sans-serif;
}

.logo {
  display: flex;
  align-items: center;
  max-width: min(180px, 42vw);
}

.logo-img {
  height: 2.5rem; /* h-10 */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .logo-img {
    height: 3rem; /* md:h-12 */
  }

  .logo {
    max-width: 200px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1.35rem;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #04110c;
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.4),
    0 0 28px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  box-shadow:
    0 0 0 1px rgba(52, 211, 153, 0.5),
    0 0 40px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.btn-primary.pulse-glow {
  position: relative;
  isolation: isolate;
}

.btn-primary.pulse-glow::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
  background: rgba(16, 185, 129, 0.42);
  animation: pulse-glow-op 2.8s ease-in-out infinite;
}

@keyframes pulse-glow-op {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.25);
}

.btn-nav {
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--text);
  border-radius: 0.5rem;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(11, 15, 25, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.5rem;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-nav-close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  inset-inline-end: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  color: var(--text);
  border-radius: 0.75rem;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-bright);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: min(420px, 100%);
  margin-inline: auto;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0.75rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover {
  color: var(--accent-bright);
}

.mobile-nav .btn {
  margin-top: 1.5rem;
  width: 100%;
}

.mobile-nav .btn-primary,
.mobile-nav .btn-primary span {
  color: #111827 !important; /* text-gray-900 — overrides .mobile-nav a */
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 70% 55%, rgba(16, 185, 129, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(16, 185, 129, 0.06), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 1.25rem;
  color: #ffffff;
  text-shadow: 0 0 60px rgba(16, 185, 129, 0.25);
  animation: rise-in 0.7s var(--ease-out);
}

@keyframes rise-in {
  from { transform: translateY(14px); }
  to { transform: translateY(0); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text);
  max-width: 28ch;
  animation: rise-in 0.7s var(--ease-out);
}

.hero-sub {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  max-width: 36rem;
  margin: 0 0 2rem;
  animation: rise-in 0.7s var(--ease-out);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  animation: rise-in 0.7s var(--ease-out);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  animation: rise-in 0.7s var(--ease-out);
}

.store-badges.justify-center {
  justify-content: center;
}

@media (max-width: 480px) {
  .store-badges {
    flex-direction: column;
    align-items: stretch;
  }

  .store-badges .store-badge {
    justify-content: center;
  }
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.store-badge:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}

.store-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge .tiny {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-badge .name {
  font-size: 0.85rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .brand-hero,
  .hero-headline,
  .hero-sub,
  .hero-ctas,
  .store-badges,
  .btn-primary.pulse-glow::after,
  .scan-alert::after,
  .help-fab-ping,
  .sweep-btn {
    animation: none !important;
  }
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
}

/* Mobile LCP: static WebP; desktop keeps rich CSS mockup */
.hero-lcp-picture {
  display: block;
  width: min(280px, 78vw);
  margin: 0 auto;
  aspect-ratio: 480 / 720;
}

.hero-lcp-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2.25rem;
}

.hero-visual-mockup {
  display: none;
}

@media (min-width: 768px) {
  .hero-lcp-picture {
    display: none;
  }

  .hero-visual-mockup {
    display: block;
  }
}

.phone {
  width: min(280px, 78vw);
  aspect-ratio: 9 / 19.2;
  border-radius: 2.25rem;
  padding: 10px;
  background: linear-gradient(160deg, #1e293b, #0f172a 40%, #0b1220);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.15),
    0 0 60px rgba(16, 185, 129, 0.18),
    0 40px 80px rgba(0, 0, 0, 0.55);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #020617;
  border-radius: 1rem;
  z-index: 5;
}

.phone-screen {
  height: 100%;
  border-radius: 1.75rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(16, 185, 129, 0.2), transparent 55%),
    linear-gradient(180deg, #0d1424 0%, #0b0f19 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.75rem 0.85rem 1rem;
}

.phone-screen.hero-app {
  padding: 2.55rem 0 0;
}

.phone-screen.hero-app .phone-status {
  padding: 0 0.85rem;
  margin-bottom: 0.55rem;
}

.hero-app-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0 0.7rem;
  overflow: hidden;
}

.hero-app-header .hero-app-title {
  font-family: var(--font-display);
  margin: 0;
}

.hero-app-header .hero-app-sub {
  margin: 0;
}

.hero-app-card {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.hero-app-btn {
  pointer-events: none;
  cursor: default;
  line-height: 1.2;
}

.hero-app-btn-glass {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-app-tabbar {
  margin-top: auto;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  padding: 0 0.25rem;
}

.zen-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-bright);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 0.85rem;
}

.zen-badge .dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.zen-badge .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.inbox-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.inbox-meta {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.mail-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  position: relative;
  min-height: 0;
}

.mail-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.7rem 0.75rem;
  transition: transform 0.55s var(--ease-out), opacity 0.55s, filter 0.55s;
  will-change: transform, opacity;
}

.mail-card.is-spam {
  border-color: rgba(248, 113, 113, 0.25);
  background: rgba(248, 113, 113, 0.06);
}

.mail-card.is-clean {
  border-color: rgba(16, 185, 129, 0.25);
}

.mail-card.swipe-out {
  transform: translateX(120%) rotate(8deg);
  opacity: 0;
  filter: blur(2px);
}

.mail-card .from {
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mail-card .subject {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mail-tag {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.12rem 0.35rem;
  border-radius: 0.25rem;
}

.mail-tag.spam {
  background: rgba(248, 113, 113, 0.2);
  color: var(--danger);
}

.mail-tag.ai {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-bright);
}

.phone-fab {
  margin-top: auto;
  display: flex;
  justify-content: center;
  padding-top: 0.75rem;
}

.sweep-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #04110c;
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
  animation: float-fab 3s ease-in-out infinite;
}

@keyframes float-fab {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.phone-glow {
  position: absolute;
  width: 180%;
  height: 60%;
  bottom: -20%;
  left: -40%;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.2), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   App Highlights (zigzag mockups)
   -------------------------------------------------------------------------- */

.highlights .section-lead {
  margin-bottom: 3rem;
}

.highlight-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: clamp(3.5rem, 8vw, 5.5rem);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.highlight-row:last-child {
  margin-bottom: 0;
}

.highlight-visual {
  display: flex;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
}

.highlight-phone {
  width: min(260px, 70vw);
}

.highlight-copy {
  max-width: 100%;
  padding-inline: 0.15rem;
  box-sizing: border-box;
}

.highlight-screen {
  gap: 0.75rem;
}

.highlight-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0 0 1rem;
}

.highlight-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 36rem;
}

/* Shield mock UI */
.shield-card {
  margin-top: 0.25rem;
  padding: 1rem 0.9rem 1.1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shield-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  color: var(--accent-bright);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.shield-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ecfdf5;
}

.shield-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.shield-field-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.shield-field-value {
  font-size: 0.68rem;
  line-height: 1.35;
  word-break: break-all;
  color: var(--accent-bright);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 0.55rem;
  padding: 0.55rem 0.6rem;
}

.shield-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  padding: 0.55rem 0.6rem;
}

.shield-select span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shield-btn {
  margin-top: 0.15rem;
  width: 100%;
  border: none;
  border-radius: 0.7rem;
  padding: 0.75rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0b1220;
  background: linear-gradient(135deg, #bef264, #34d399 55%, #10b981);
  box-shadow: 0 0 22px rgba(190, 242, 100, 0.28);
  cursor: default;
  pointer-events: none;
}

/* Scanner / phishing mock UI */
.scanner-screen {
  position: relative;
}

.mail-view {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.15rem 0.1rem 4.5rem;
}

.mail-view-from {
  margin: 0;
  font-size: 0.62rem;
  color: var(--text-dim);
  word-break: break-all;
}

.mail-view-subject {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: #f8fafc;
}

.mail-view-body {
  margin-top: 0.35rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.mail-view-body p {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.scan-alert {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.85rem;
  padding: 0.75rem 0.8rem;
  border-radius: 0.85rem;
  background: rgba(127, 29, 29, 0.72);
  border: 1px solid rgba(248, 113, 113, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.scan-alert::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: rgba(248, 113, 113, 0.22);
  animation: pulse-glow-op 2.8s ease-in-out infinite;
}

.scan-alert-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  color: #fecaca;
  font-size: 0.72rem;
  font-weight: 700;
}

.scan-alert p {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.4;
  color: #fee2e2;
}

@media (prefers-reduced-motion: reduce) {
  .scan-alert::after {
    animation: none;
  }
}

@media (min-width: 900px) {
  .highlight-row {
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .highlight-row-reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  }

  .highlight-row-reverse .highlight-visual {
    order: 2;
  }

  .highlight-row-reverse .highlight-copy {
    order: 1;
  }

  .highlight-visual {
    justify-content: flex-start;
  }

  .highlight-row-reverse .highlight-visual {
    justify-content: flex-end;
  }
}

[dir="rtl"] .highlight-row-reverse .highlight-visual {
  order: 2;
}

[dir="rtl"] .highlight-row-reverse .highlight-copy {
  order: 1;
}

/* --------------------------------------------------------------------------
   Audience Tabs
   -------------------------------------------------------------------------- */

.audience-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 1.5rem;
}

.audience-tab {
  padding: 0.7rem 1.15rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: all 0.25s var(--ease-out);
}

.audience-tab:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.25);
}

.audience-tab.is-active {
  color: #04110c;
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: transparent;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.3);
}

.audience-panels {
  position: relative;
}

.audience-panel {
  display: none;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  animation: panel-in 0.4s var(--ease-out);
}

.audience-panel.is-active {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .audience-panel.is-active {
    grid-template-columns: auto 1fr;
    align-items: start;
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.audience-icon {
  width: 72px;
  height: 72px;
  border-radius: 1.15rem;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-bright);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
  flex-shrink: 0;
}

.audience-icon svg {
  width: 32px;
  height: 32px;
}

.audience-copy {
  min-width: 0;
}

.audience-panel h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.audience-panel p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  max-width: 52rem;
  line-height: 1.7;
}

.audience-panel p:last-child,
.audience-panel p.mb-4:last-child {
  margin-bottom: 0;
}

.audience-panel p.mb-4 {
  margin-bottom: 1rem;
}

.audience-discount-box {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.audience-discount-box p {
  margin: 0 0 1rem;
  color: var(--text);
  max-width: none;
  line-height: 1.65;
}

.audience-discount-box .btn {
  display: inline-flex;
}

/* --------------------------------------------------------------------------
   Features Pillars
   -------------------------------------------------------------------------- */

.features-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.feature-pillar {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.feature-pillar:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 48px rgba(16, 185, 129, 0.14);
}

.feature-pillar-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.feature-pillar-head .feature-icon {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-bright);
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.18);
  transition: box-shadow 0.3s;
}

.feature-pillar:hover .feature-icon {
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.4);
}

.feature-pillar-head .feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-pillar-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-list > li > svg,
.feature-list > li > i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--accent-bright);
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.45));
}

.feature-list strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.feature-list p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 52rem;
}

@media (min-width: 900px) {
  .features-pillars {
    gap: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   Time Calculator
   -------------------------------------------------------------------------- */

.calculator {
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  max-width: 960px;
}

.calc-dual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .calc-dual {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.calc-column-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
  color: var(--text);
}

.calc-column-roi {
  padding-top: 0;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .calc-column-roi {
    border-top: none;
    border-inline-start: 1px solid var(--border);
    padding-top: 0;
    padding-inline-start: 2rem;
    margin-inline-start: 0;
  }
}

.calc-note-full {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
}

.calc-stat-money {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  gap: 1rem;
}

.calc-label span:first-child {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.calc-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-bright);
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) var(--fill, 30%),
    rgba(148, 163, 184, 0.2) var(--fill, 30%),
    rgba(148, 163, 184, 0.2) 100%
  );
  outline: none;
  margin-bottom: 2rem;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
  cursor: pointer;
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  align-items: stretch;
}

.calc-stat {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 140px;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  text-align: center;
  min-width: 0;
  overflow: hidden;
}

.calc-stat .num {
  font-family: var(--font-display);
  font-size: 1.25rem; /* text-xl */
  font-weight: 700;
  color: var(--accent-bright);
  line-height: 1.25;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.calc-stat .unit {
  font-size: 0.875rem;
  color: #9ca3af; /* text-gray-400 */
  margin-top: 0;
  line-height: 1.35;
  padding-inline: 0.25rem;
  max-width: 100%;
}

.calc-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing-audience-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin: 2rem auto 0.5rem;
  padding: 0.35rem;
  max-width: 42rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border);
}

.pricing-audience-btn {
  flex: 1 1 12rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-muted);
  background: transparent;
  border: none;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: center;
}

.pricing-audience-btn:hover {
  color: var(--text);
}

.pricing-audience-btn.is-active {
  color: #04110c;
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.pricing-enterprise-hint {
  margin: 2rem auto 0;
  max-width: 36rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.pricing-enterprise-hint a {
  color: var(--accent-bright);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pricing-enterprise-hint a:hover {
  color: #6ee7b7;
}

.pricing-nonprofit-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 1.5rem auto 0;
  max-width: 52rem;
  padding: 1.15rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.06);
}

.pricing-nonprofit-emoji {
  flex-shrink: 0;
  font-size: 1.85rem;
  line-height: 1;
}

.pricing-nonprofit-text {
  flex: 1;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.55;
}

.pricing-nonprofit-text strong {
  color: var(--accent-bright);
  font-weight: 700;
}

.btn-outline-accent {
  flex-shrink: 0;
  background: transparent;
  color: var(--accent-bright);
  border: 1.5px solid rgba(16, 185, 129, 0.55);
  box-shadow: none;
}

.btn-outline-accent:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--accent-bright);
  color: #6ee7b7;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .pricing-nonprofit-banner {
    flex-direction: column;
    text-align: center;
    border-radius: 1rem;
    gap: 0.9rem;
  }

  .pricing-nonprofit-banner .btn {
    width: 100%;
    justify-content: center;
  }
}

.price-sub-billing {
  font-size: 0.75rem !important;
  margin-top: -0.35rem;
  opacity: 0.85;
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.5rem 0 2.5rem;
  flex-wrap: wrap;
}

.pricing-toggle-wrap span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-toggle-wrap span.is-active {
  color: var(--text);
}

.save-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000 !important;
  background: var(--accent);
  padding: 0.25rem 0.55rem;
  border-radius: 0.35rem;
  margin-inline-start: 0.35rem;
}

.toggle {
  width: 52px;
  height: 28px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  border: 1px solid var(--border);
  position: relative;
  transition: background 0.25s;
  flex-shrink: 0;
}

.toggle.is-yearly {
  background: rgba(16, 185, 129, 0.35);
  border-color: rgba(16, 185, 129, 0.5);
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s var(--ease-out);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.toggle.is-yearly .toggle-knob {
  transform: translateX(24px);
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 840px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .pricing-grid--two {
    grid-template-columns: repeat(2, minmax(16rem, 22rem));
    justify-content: center;
    max-width: 48rem;
    margin-inline: auto;
  }
}

.price-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.price-card.is-featured {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.15);
}

@media (min-width: 840px) {
  .price-card.is-featured {
    transform: scale(1.04);
    z-index: 1;
  }
}

.popular-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #04110c;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0.5rem 0 0.75rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-amount .period {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
}

.price-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  min-height: 1.2em;
}

.price-features {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-bright);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.price-card .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  margin-top: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-columns {
  margin-top: 2.5rem;
}

.faq-item {
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-bright);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  max-width: 240px;
}

.footer-brand .logo-img {
  height: 3rem;
}

@media (min-width: 768px) {
  .footer-brand .logo-img {
    height: 4rem;
  }
}

.footer-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 28rem;
  margin: 0 0 1.25rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--accent-bright);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.status-pill .dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.status-pill .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a,
.footer-links .ss-consent-reopen {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links .ss-consent-reopen {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  text-align: inherit;
}

.footer-links a:hover,
.footer-links .ss-consent-reopen:hover {
  color: var(--accent-bright);
}

.footer-links .ss-consent-reopen:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Modal (Live Demo)
   -------------------------------------------------------------------------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(520px, 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s var(--ease-out);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.modal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  padding-right: 2rem;
}

.modal > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.demo-modal {
  width: min(440px, 100%);
}

.demo-stack {
  position: relative;
  height: 280px;
  margin: 0 auto 1.5rem;
  max-width: 360px;
  touch-action: none;
  user-select: none;
}

.demo-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #1f2937;
  border: 1px solid #374151;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  transition:
    transform 0.35s var(--ease-out),
    opacity 0.35s var(--ease-out),
    filter 0.35s;
  will-change: transform, opacity;
  transform-origin: center center;
}

.demo-card.swipe-card {
  z-index: 5;
  cursor: grab;
  touch-action: none;
}

.demo-card.swipe-card:active,
.demo-card.is-dragging {
  cursor: grabbing;
}

.demo-card.is-dragging {
  transition: none !important;
  z-index: 10;
}

.demo-card[data-depth="0"] {
  z-index: 3;
  transform: scale(1) translateY(0);
  opacity: 1;
}

.demo-card[data-depth="1"] {
  z-index: 2;
  transform: scale(0.96) translateY(10px);
  opacity: 0.72;
  filter: brightness(0.85);
  pointer-events: none;
}

.demo-card[data-depth="2"] {
  z-index: 1;
  transform: scale(0.92) translateY(20px);
  opacity: 0.45;
  filter: brightness(0.7);
  pointer-events: none;
}

.demo-card[data-depth="3"] {
  z-index: 0;
  transform: scale(0.88) translateY(28px);
  opacity: 0.28;
  filter: brightness(0.6);
  pointer-events: none;
}

.demo-card.is-swipe-left {
  transform: translateX(-220%) rotate(-18deg) !important;
  opacity: 0 !important;
  pointer-events: none;
  transition: transform 0.35s var(--ease-out), opacity 0.3s !important;
}

.demo-card.is-swipe-right {
  transform: translateX(220%) rotate(18deg) !important;
  opacity: 0 !important;
  pointer-events: none;
  transition: transform 0.35s var(--ease-out), opacity 0.3s !important;
}

.demo-card.is-snap-back {
  transition: transform 0.3s var(--ease-out), opacity 0.3s !important;
}

.demo-card-stamp {
  position: absolute;
  top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border: 3px solid currentColor;
  border-radius: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: rotate(-12deg) scale(0.9);
  transition: opacity 0.15s;
}

.demo-card-stamp.is-nope {
  left: 1rem;
  color: #f87171;
}

.demo-card-stamp.is-like {
  right: 1rem;
  color: #34d399;
  transform: rotate(12deg) scale(0.9);
}

.demo-card-stamp.is-visible {
  opacity: 1;
}

.demo-card-from {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
  word-break: break-all;
}

.demo-card-subject {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #f9fafb;
  letter-spacing: -0.02em;
}

.demo-card-badge {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.demo-card-badge.is-danger {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(248, 113, 113, 0.55);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
}

.demo-card-badge.is-ok {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.45);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.25);
}

.demo-card-badge.is-noise {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.demo-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed rgba(52, 211, 153, 0.35);
  animation: demo-empty-in 0.4s var(--ease-out) both;
}

@keyframes demo-empty-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.demo-empty-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-bright);
}

.demo-swipe-actions {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1rem;
  transition: opacity 0.25s;
}

.demo-swipe-actions.is-hidden {
  opacity: 0.35;
  pointer-events: none;
}

.demo-swipe-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out);
}

.demo-swipe-btn:hover,
.demo-swipe-btn.hover\:scale-110:hover {
  transform: scale(1.1);
}

.demo-swipe-btn:active {
  transform: scale(0.96);
}

.demo-swipe-btn.is-hot {
  transform: scale(1.14);
}

.demo-swipe-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border-width: 3px;
  border-style: solid;
  transition: box-shadow 0.2s, background 0.2s, transform 0.2s;
}

.demo-swipe-reject .demo-swipe-icon {
  color: #f87171;
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.demo-swipe-reject:hover .demo-swipe-icon,
.demo-swipe-reject.is-hot .demo-swipe-icon {
  box-shadow: 0 0 28px rgba(239, 68, 68, 0.55);
  background: rgba(239, 68, 68, 0.22);
}

.demo-swipe-keep .demo-swipe-icon {
  color: #34d399;
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.12);
}

.demo-swipe-keep:hover .demo-swipe-icon,
.demo-swipe-keep.is-hot .demo-swipe-icon {
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.24);
}

.demo-swipe-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.demo-hint {
  margin: 0 !important;
  text-align: center;
  font-size: 0.75rem !important;
  color: var(--text-dim) !important;
}

.demo-hint.is-hidden {
  visibility: hidden;
}

/* --------------------------------------------------------------------------
   Legal / Unterseiten
   -------------------------------------------------------------------------- */

.legal-page {
  min-height: 60vh;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.legal-page h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 1.5rem 0 0.65rem;
  color: var(--text);
}

.legal-page ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.legal-page code {
  font-size: 0.9em;
  color: var(--accent-bright);
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  max-width: 42rem;
}

.legal-page a {
  color: var(--accent-bright);
}

.legal-page .back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-page .back:hover {
  color: var(--accent-bright);
}

/* --------------------------------------------------------------------------
   E-Mail-Einrichtungsanleitung (/anleitung-email)
   -------------------------------------------------------------------------- */

.guide-page {
  min-height: 70vh;
  padding: calc(var(--nav-h) + 1.75rem) 1rem 4.5rem;
  position: relative;
}

.guide-page::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  transform: translateX(-50%);
  width: min(36rem, 90vw);
  height: 18rem;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.guide-shell {
  position: relative;
  z-index: 1;
  width: min(48rem, 100%);
  margin-inline: auto;
}

.guide-back {
  margin-bottom: 1.75rem;
}

.guide-hero {
  margin-bottom: 2rem;
}

.guide-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.65rem 0 1rem;
  color: var(--text);
}

.guide-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.guide-lead strong {
  color: var(--accent-bright);
  font-weight: 600;
}

.guide-accordions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.guide-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.guide-card.is-open {
  border-color: rgba(16, 185, 129, 0.35);
}

.guide-card-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  text-align: left;
  color: var(--text);
}

.guide-card-toggle:hover {
  background: rgba(255, 255, 255, 0.03);
}

.guide-card-heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.guide-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.guide-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04110c;
  background: linear-gradient(135deg, #10b981, #059669);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}

.guide-card-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.guide-card.is-open .guide-card-panel {
  grid-template-rows: 1fr;
}

.guide-card-body {
  overflow: hidden;
  padding: 0 1.35rem 1.45rem;
}

.guide-intro,
.guide-card-body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.guide-callout {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border-left: 3px solid var(--accent);
  background: rgba(16, 185, 129, 0.08);
}

.guide-callout p {
  margin: 0;
  color: var(--text);
}

.guide-callout strong {
  color: var(--accent-bright);
}

.guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.guide-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.guide-step-num {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #04110c;
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
  margin-top: 0.1rem;
}

.guide-steps li p {
  margin: 0;
}

.guide-steps li a {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--accent-bright);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.guide-steps li a:hover {
  color: #6ee7b7;
}

.guide-hint {
  margin-top: 0.35rem !important;
  font-size: 0.88rem !important;
  color: var(--text-dim) !important;
}

.guide-hint code {
  color: var(--accent-bright);
  font-size: 0.92em;
}

.guide-ports {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
}

.guide-port {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.95rem 1.05rem;
  border-radius: 0.85rem;
  background: rgba(11, 15, 25, 0.55);
  border: 1px solid var(--border);
}

.guide-port-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.guide-port-value {
  color: var(--text);
  font-size: 0.98rem;
}

.guide-port-value strong {
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 1.15em;
}

.guide-port-value code {
  color: var(--accent-bright);
  font-size: 0.92em;
  word-break: break-all;
}

.guide-footer-note {
  margin: 2rem 0 0;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.guide-footer-note a {
  color: var(--accent-bright);
  font-weight: 600;
}

.guide-footer-note a:hover {
  color: #6ee7b7;
}

.support-card {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 1rem;
  max-width: 28rem;
}


[x-cloak] {
  display: none !important;
}

.back-to-top-wrap {
  position: fixed;
  bottom: 6.5rem;
  inset-inline-end: 2rem;
  z-index: 90;
}

/* Help FAB: E-Mail-Einrichtung (über den Social-Icons) */
.help-fab {
  position: relative;
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #04110c;
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.5),
    0 0 22px rgba(16, 185, 129, 0.55);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.help-fab > i,
.help-fab > svg {
  position: relative;
  z-index: 1;
}

.help-fab-ping {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #10b981;
  opacity: 0.6;
  animation: help-fab-ping 1.7s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes help-fab-ping {
  75%,
  100% {
    transform: scale(1.85);
    opacity: 0;
  }
}

.help-fab:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow:
    0 0 0 1px rgba(52, 211, 153, 0.7),
    0 0 32px rgba(16, 185, 129, 0.7);
}

.help-fab-tooltip {
  position: absolute;
  right: calc(100% + 0.7rem);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #04110c;
  background: #34d399;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.help-fab:hover .help-fab-tooltip,
.help-fab:focus-visible .help-fab-tooltip {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .help-fab-ping {
    animation: none;
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Contact form (App Store compliance)
   -------------------------------------------------------------------------- */

.contact-form {
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
  max-width: 720px;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-inline-end: 2.5rem;
}

html[dir="rtl"] .form-field select {
  background-position: left 0.85rem center;
}

.form-field select option {
  background: #111827;
  color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.back-to-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent-bright);
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.12),
    0 0 24px rgba(16, 185, 129, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.back-to-top:hover {
  transform: translateY(-2px);
  color: #fff;
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.3),
    0 0 36px rgba(16, 185, 129, 0.4),
    0 10px 28px rgba(0, 0, 0, 0.4);
}

.back-to-top:active {
  transform: scale(0.96);
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===================== WORKSPACES SECTION ===================== */
.ws-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2.5rem;
}
.ws-copy p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,.82);
}
.ws-visual {
  display: flex;
  justify-content: center;
}
.ws-sheet {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(160deg, #0f1729 0%, #0b1120 100%);
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem 1.25rem;
  box-shadow: 0 16px 48px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
}
.ws-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.18);
  margin: 0 auto 1.1rem;
}
.ws-sheet-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: .25rem;
}
.ws-sheet-sub {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  text-align: center;
  margin-bottom: 1.25rem;
}
.ws-option {
  display: flex;
  align-items: center;
  gap: .85rem;
  width: 100%;
  padding: .9rem 1rem;
  border-radius: .85rem;
  border: 1.5px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #fff;
  cursor: default;
  margin-bottom: .6rem;
  transition: border-color .2s, background .2s;
  text-align: left;
  font-family: inherit;
}
.ws-option.is-active {
  border-color: #22c55e;
  background: rgba(34,197,94,.08);
}
.ws-option-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .65rem;
  flex-shrink: 0;
}
.ws-icon-privat {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}
.ws-icon-business {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.55);
}
.ws-option-text {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
.ws-option-text strong {
  font-size: .95rem;
  font-weight: 600;
}
.ws-option-text small {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}
.ws-check {
  margin-left: auto;
  color: #22c55e;
  flex-shrink: 0;
}
.ws-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .75rem;
  margin-top: .4rem;
  border: 1.5px dashed rgba(255,255,255,.12);
  border-radius: .85rem;
  background: transparent;
  color: rgba(255,255,255,.4);
  font-size: .85rem;
  cursor: default;
  font-family: inherit;
}

@media (max-width: 767px) {
  .ws-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ws-copy p {
    font-size: 1rem;
  }
}

/* ===================== SCHUTZSCHILD SECTION ===================== */
.ss-sheet {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(160deg, #0f1729 0%, #0b1120 100%);
  border-radius: 1.25rem;
  padding: 2rem 1.25rem 1.5rem;
  box-shadow: 0 16px 48px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
  text-align: center;
}
.ss-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, .12);
  border: 1.5px solid rgba(212, 175, 55, .35);
  color: #d4af37;
}
.ss-sheet-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}
.ss-sheet-sub {
  font-size: .85rem;
  line-height: 1.55;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
  padding-inline: .25rem;
}
.ss-address {
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: .75rem;
  padding: .9rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  color: #22c55e;
  word-break: break-all;
  margin-bottom: 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.ss-copy-btn {
  width: 100%;
  padding: .95rem 1.25rem;
  border: none;
  border-radius: .85rem;
  background: #d4af37;
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
  cursor: default;
  font-family: inherit;
}

/* ===================== ADMIN DASHBOARD (B2B) ===================== */
.admin-dash {
  background:
    radial-gradient(ellipse 70% 60% at 15% 20%, rgba(16, 185, 129, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(59, 130, 246, 0.06), transparent 50%),
    linear-gradient(180deg, #070b14 0%, #0b1220 50%, #070b14 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.admin-dash-sub {
  margin: -0.35rem 0 1.15rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-bright);
}

.admin-dash-lead {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 36rem;
}

.admin-dash-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-dash-features li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  font-size: 0.98rem;
}

.admin-dash-features li i,
.admin-dash-features li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent-bright);
}

.admin-dash-features strong {
  color: #fff;
  font-weight: 650;
}

.admin-dash-slider {
  width: 100%;
}

.admin-slider-frame {
  position: relative;
  overflow: hidden;
  border-radius: 0.9rem;
  background: #0a101c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(16, 185, 129, 0.08);
  aspect-ratio: 16 / 10;
  min-height: 260px;
}

.admin-slide {
  margin: 0;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.admin-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.admin-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background:
    linear-gradient(145deg, #111827 0%, #0f172a 50%, #052e1f 100%);
}

.admin-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

.admin-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.admin-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.admin-slider-dot.is-active {
  width: 22px;
  background: var(--accent-bright);
}

@media (max-width: 900px) {
  .admin-dash-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===================== COOKIE CONSENT ===================== */
html.ss-cookie-pending,
html.ss-consent-lock {
  overflow: hidden;
}

html.ss-consent-lock {
  padding-inline-end: var(--ss-scrollbar-comp, 0px);
}

html.ss-consent-lock .site-header {
  padding-inline-end: var(--ss-scrollbar-comp, 0px);
}

.ss-consent {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.ss-consent[hidden] {
  display: none !important;
}

html.ss-cookie-pending #cookie-banner[hidden] {
  display: flex !important;
}

.ss-consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 16, 0.72);
  opacity: 1;
}

.ss-consent-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  max-height: min(92dvh, 100%);
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem 1.25rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(11, 15, 25, 0.99));
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.45);
  outline: none;
}

.ss-consent-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem 1.2rem calc(1.35rem + env(safe-area-inset-bottom, 0px));
  -webkit-overflow-scrolling: touch;
}

.ss-consent-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.ss-consent-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.25;
}

.ss-consent-copy,
.ss-consent-lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(241, 245, 249, 0.78);
}

.ss-consent-copy p {
  margin: 0 0 0.75rem;
}

.ss-consent-copy p:last-child {
  margin-bottom: 0;
}

.ss-consent-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ss-consent-btn {
  width: 100%;
  justify-content: center;
  min-height: 3rem;
  white-space: normal;
  text-align: center;
}

.ss-consent-actions-main #cookie-accept-all { order: 1; }
.ss-consent-actions-main #cookie-essential-only { order: 2; }
.ss-consent-actions-main #cookie-open-settings { order: 3; }

.ss-consent-actions-settings #cookie-settings-accept-all { order: 1; }
.ss-consent-actions-settings #cookie-settings-save { order: 2; }
.ss-consent-actions-settings #cookie-settings-necessary { order: 3; }

.ss-consent-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin-top: 1.15rem;
}

.ss-consent-legal a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ss-consent-legal a:hover {
  color: #6ee7b7;
}

.ss-consent-back {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 0.85rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-bright);
  cursor: pointer;
  min-height: 2.5rem;
}

.ss-consent-back:hover {
  color: #6ee7b7;
}

.ss-consent-cats {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.ss-consent-cat {
  padding: 1rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.ss-consent-cat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.ss-consent-cat-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.ss-consent-cat-badge,
.ss-consent-cat-vendor {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-bright);
}

.ss-consent-cat-vendor {
  color: var(--text-muted);
  font-weight: 500;
}

.ss-consent-cat-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(241, 245, 249, 0.7);
}

.ss-consent-switch {
  position: relative;
  flex-shrink: 0;
  width: 2.85rem;
  height: 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  padding: 0;
}

.ss-consent-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fff;
  transform: translateX(0);
  transition: transform 0.2s var(--ease-out);
}

.ss-consent-switch[aria-checked="true"] {
  background: var(--accent);
  border-color: rgba(52, 211, 153, 0.55);
}

.ss-consent-switch[aria-checked="true"]::after {
  transform: translateX(1.2rem);
}

html[dir="rtl"] .ss-consent-switch[aria-checked="true"]::after {
  transform: translateX(-1.2rem);
}

.ss-consent-switch[aria-disabled="true"],
.ss-consent-switch:disabled {
  cursor: not-allowed;
  opacity: 0.95;
}

.ss-consent :focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .ss-consent {
    align-items: center;
    padding: 1.5rem;
  }

  .ss-consent-panel {
    width: min(980px, 100%);
    max-height: min(86vh, 780px);
    border-radius: var(--radius-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 24px 64px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(16, 185, 129, 0.08);
  }

  .ss-consent-scroll {
    padding: 2.1rem 2.25rem 1.85rem;
  }

  .ss-consent-actions {
    flex-direction: row;
    align-items: stretch;
  }

  .ss-consent-btn {
    flex: 1 1 0;
    width: auto;
  }

  .ss-consent-actions-main #cookie-essential-only { order: 1; }
  .ss-consent-actions-main #cookie-open-settings { order: 2; }
  .ss-consent-actions-main #cookie-accept-all { order: 3; }

  .ss-consent-actions-settings #cookie-settings-necessary { order: 1; }
  .ss-consent-actions-settings #cookie-settings-save { order: 2; }
  .ss-consent-actions-settings #cookie-settings-accept-all { order: 3; }

  .ss-consent-cats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.ss-cookie-pending .ss-consent-backdrop,
  html.ss-consent-lock .ss-consent-backdrop {
    animation: ss-consent-fade 0.28s var(--ease-out);
  }

  html.ss-cookie-pending .ss-consent-panel,
  html.ss-consent-lock .ss-consent-panel {
    animation: ss-consent-rise 0.32s var(--ease-out);
  }
}

@keyframes ss-consent-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ss-consent-rise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .ss-consent-switch::after {
    transition: none;
  }
}

/* ===================== SUPPORT CHAT WIDGET ===================== */
.chat-widget {
  position: fixed;
  z-index: 10040;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  font-family: var(--font-body);
}

.chat-fab {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #04110c;
  background: linear-gradient(135deg, #34d399 0%, #10b981 45%, #0ea5e9 100%);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.35),
    0 10px 28px rgba(16, 185, 129, 0.35),
    0 0 40px rgba(14, 165, 233, 0.2);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.chat-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 0 0 1px rgba(52, 211, 153, 0.5),
    0 14px 36px rgba(16, 185, 129, 0.45),
    0 0 48px rgba(14, 165, 233, 0.28);
}

.chat-fab:active {
  transform: scale(0.97);
}

.chat-fab-icon {
  display: block;
}

.chat-panel {
  width: min(22.5rem, calc(100vw - 2rem));
  height: min(28rem, calc(100vh - 8rem));
  display: flex;
  flex-direction: column;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 15, 25, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(16, 185, 129, 0.1);
  overflow: hidden;
  transform-origin: bottom right;
  animation: chat-panel-in 0.28s var(--ease-out) both;
}

.chat-panel[hidden] {
  display: none !important;
}

@keyframes chat-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(14, 165, 233, 0.08));
}

.chat-panel-header-text {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.chat-panel-status {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent-bright);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
  flex-shrink: 0;
}

.chat-panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.chat-panel-close {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.chat-panel-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-behavior: smooth;
}

.chat-bubble {
  max-width: 88%;
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  font-size: 0.875rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-bubble-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-bottom-left-radius: 0.3rem;
}

.chat-bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(14, 165, 233, 0.28));
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #fff;
  border-bottom-right-radius: 0.3rem;
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.chat-input {
  flex: 1;
  min-width: 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.chat-input::placeholder {
  color: var(--text-dim);
}

.chat-input:focus {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.chat-send {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  min-width: 3.5rem;
}

.chat-typing-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent-bright);
  opacity: 0.45;
  animation: chat-typing-bounce 1.2s ease-in-out infinite;
}

.chat-typing-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-typing-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chat-typing-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .chat-widget {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .chat-panel {
    width: min(22.5rem, calc(100vw - 1.7rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-panel {
    animation: none;
  }
}
