:root {
  --bg-body: #ffffff;
  --bg-section: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-card: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #dbeafe;
  --green: #10b981;
  --green-dark: #059669;
  --green-light: #d1fae5;
  --purple: #8b5cf6;
  --purple-light: #ede9fe;
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --nav-height: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.1);
  font-family: Inter, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg-body);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* ── Navigation ── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 36px; height: 40px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  border-radius: var(--radius-sm);
}
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); }
.brand-tag {
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-left: 4px;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
}
.navlinks a { padding: 6px 0; transition: color 0.15s; }
.navlinks a:hover, .navlinks a.active { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
  gap: 8px;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-light);
}
.btn-ghost:hover { background: var(--bg-section); border-color: #cbd5e1; }
.btn-green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16,185,129,0.3); }
.menu-btn { display: none; font-size: 24px; padding: 0 8px; min-height: 44px; background: none; border: none; cursor: pointer; color: var(--text-primary); }
.lang-btn { background: none; border: none; cursor: pointer; color: var(--text-muted); font-weight: 700; font-size: 14px; padding: 4px 8px; transition: color 0.15s; }
.lang-btn:hover, .lang-btn.active { color: var(--blue); }
.lang-separator { color: var(--border-light); user-select: none; }

/* Hero */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 40%, #ecfdf5 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 600px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--blue); }
.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 520px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Phone Mockup ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.phone-frame {
  width: 280px;
  background: #0f172a;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
}
.phone-screen {
  background: #f8fafc;
  border-radius: 28px;
  overflow: hidden;
  padding: 0;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
}
.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.phone-badge {
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
}
.phone-body { padding: 16px; }
.phone-score {
  text-align: center;
  margin-bottom: 16px;
}
.phone-score-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0% 75%, #e2e8f0 75% 100%);
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  position: relative;
}
.phone-score-circle::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}
.phone-score-circle span {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 800;
  color: var(--green-dark);
}
.phone-score-label { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.phone-items {
  display: grid;
  gap: 8px;
}
.phone-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.phone-item-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.phone-item-status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}
.phone-cta {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
}
.phone-cta:hover { background: var(--blue-dark); }

/* Floating stat card next to phone */
.hero-stat-card {
  position: absolute;
  bottom: 20px;
  right: -30px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-lg);
  width: 180px;
}
.hero-stat-card small { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.hero-stat-number { font-size: 28px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.hero-stat-detail { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

/* ── Trust Strip ── */
.trust-strip {
  padding: 40px 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  text-align: center;
  padding: 16px;
}
.trust-icon {
  width: 48px; height: 48px;
  margin: 0 auto 10px;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  font-size: 22px;
}
.trust-item h4 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.trust-item p { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* ── Section Shared ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-section); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--blue);
  background: var(--blue-light);
  box-shadow: inset 0 0 0 1px rgba(37,99,235,0.12);
}
.feature-icon-blue { color: var(--blue); background: var(--blue-light); }
.feature-icon-green { color: var(--green-dark); background: var(--green-light); }
.feature-icon-purple { color: var(--purple); background: var(--purple-light); }
.feature-icon-amber { color: var(--amber); background: var(--amber-light); }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ── Dashboard / Analysis Section ── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.dashboard-main {
  display: grid;
  gap: 20px;
}
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.dash-card-header h3 { font-size: 15px; font-weight: 700; }
.dash-card-header span { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.dash-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.dash-row:last-child { border-bottom: none; }
.dash-row-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  font-size: 14px;
}
.dash-row strong { display: block; font-size: 14px; }
.dash-row small { display: block; font-size: 12px; color: var(--text-muted); }
.dash-risk-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.dash-risk-high { background: #fee2e2; color: #dc2626; }
.dash-risk-medium { background: var(--amber-light); color: #d97706; }
.dash-risk-low { background: var(--green-light); color: var(--green-dark); }
.dash-risk-safe { background: var(--blue-light); color: var(--blue); }

/* Side stats */
.dash-side {
  display: grid;
  gap: 20px;
}
.dash-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.dash-stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}
.dash-stat-label { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.dash-stat-sub { font-size: 12px; color: var(--text-muted); margin-top: 10px; }
.dash-progress-bar {
  height: 8px;
  background: var(--border-light);
  border-radius: 999px;
  margin: 14px 0 8px;
  overflow: hidden;
}
.dash-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  width: 0%;
}
.dash-grid-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.dash-mini-card {
  background: var(--bg-card-alt);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}
.dash-mini-card strong { display: block; font-size: 22px; font-weight: 800; color: var(--text-primary); }
.dash-mini-card small { font-size: 11px; color: var(--text-muted); font-weight: 600; }

/* ── Why HeidSec ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.why-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  font-size: 26px;
  flex-shrink: 0;
}
.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ── Pricing Preview ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 100%;
}
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-md);
}
.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.pricing-tier { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.pricing-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.pricing-card .price { font-size: 32px; font-weight: 800; color: var(--text-primary); margin: 16px 0 4px; }
.pricing-card .price small { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.pricing-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.4; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; display: grid; gap: 10px; }
.pricing-features li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before {
  content: '\2713';
  font-weight: 800;
  color: var(--green);
  font-size: 14px;
}
.pricing-cta-row { text-align: center; margin-top: 32px; }

/* Footer */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
footer h4 { color: #f1f5f9; font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
footer p { font-size: 14px; line-height: 1.6; }
.footer-brand { font-size: 20px; font-weight: 800; color: #f1f5f9; margin-bottom: 10px; display: block; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-links a { font-size: 14px; color: #94a3b8; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: #64748b; transition: color 0.15s; }
.footer-bottom-links a:hover { color: #fff; }

/* ── Back to top ── */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: none;
  place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 50;
  transition: opacity 0.2s;
}
.back-top.visible { display: grid; }
.back-top:hover { background: var(--blue-dark); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-lead { max-width: 100%; }
  .cta-row { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-stat-card { position: relative; bottom: auto; right: auto; margin-top: 16px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navlinks {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 14px;
    right: 14px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .navlinks.open { display: flex; }
  .navlinks a { padding: 10px 0; width: 100%; border-bottom: 1px solid var(--border-light); }
  .navlinks a:last-child { border-bottom: none; }
  .menu-btn { display: block; }
  .brand .brand-tag { display: none; }
  .nav-actions > .btn-primary { display: none; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 36px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dash-grid-mini { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 24px, 1200px); }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .trust-item { padding: 12px; }
  .section { padding: 48px 0; }
}

/* Shared premium subpage patterns */
.page-hero {
  padding: 76px 0 56px;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.page-hero .hero-content {
  max-width: 680px;
}
.page-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.insight-panel,
.business-device,
.support-summary,
.auth-panel,
.legal-panel,
.cta-band {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.insight-panel {
  padding: 28px;
}
.insight-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.insight-panel-head span,
.support-line span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}
.insight-panel-head strong {
  color: var(--blue);
  font-size: 24px;
}
.insight-meter {
  height: 10px;
  border-radius: 999px;
  background: var(--border-light);
  overflow: hidden;
  margin-bottom: 22px;
}
.insight-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}
.insight-list {
  display: grid;
  gap: 12px;
}
.insight-list div,
.support-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-section);
}
.insight-list strong {
  display: block;
  color: var(--text-primary);
}
.insight-list small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
}
.pricing-grid-page .pricing-card .btn {
  width: 100%;
  margin-top: auto;
}
.pricing-grid-page .pricing-card.selected {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow-md);
}
.pricing-grid-page {
  align-items: stretch;
}
.pricing-grid-page .pricing-card {
  min-height: 520px;
}
.pricing-grid-page .pricing-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.pricing-grid-page .pricing-card[data-tier="kipower"] {
  border-color: #d8b4fe;
}
.section-head-left {
  text-align: left;
  margin: 0 0 28px;
}
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: start;
}
.check-grid {
  display: grid;
  gap: 14px;
}
.check-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.check-card strong {
  display: block;
  margin-bottom: 4px;
}
.check-card span {
  color: var(--text-muted);
  font-size: 14px;
}
.legal-panel {
  padding: 28px;
}
.legal-panel h3 {
  margin-bottom: 18px;
  font-size: 22px;
}
.legal-list a {
  color: var(--text-secondary);
}
.legal-list a:hover {
  color: var(--blue);
}
.business-visual {
  display: flex;
  justify-content: center;
}
.business-device {
  width: min(100%, 420px);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.business-device::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 0%, rgba(37,99,235,0.12), transparent 34%);
  pointer-events: none;
}
.business-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}
.business-toolbar span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}
.business-toolbar strong {
  color: var(--blue);
}
.business-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}
.business-row strong {
  color: var(--text-primary);
}
.business-chart {
  height: 150px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: end;
  margin-top: 22px;
  padding: 18px;
  background: var(--bg-section);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}
.business-chart span {
  display: block;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}
.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px;
}
.cta-band h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 8px;
}
.cta-band p {
  color: var(--text-muted);
  max-width: 680px;
}
.support-summary {
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.support-summary h3 {
  margin-bottom: 18px;
  font-size: 24px;
}
.support-line {
  align-items: center;
  margin-bottom: 12px;
}
.support-line a,
.faq-list a,
.checkline a,
.auth-links a {
  color: var(--blue);
  font-weight: 700;
}
.support-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.support-card-grid .btn {
  margin-top: 18px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--text-primary);
}
.faq-list p {
  margin-top: 10px;
  color: var(--text-muted);
}
.legal-hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(37,99,235,0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 66px 0 34px;
}
.legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 32px;
  align-items: end;
}
.legal-hero h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 12px 0 14px;
}
.legal-hero p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 720px;
}
.legal-meta-card {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 22px;
}
.legal-meta-card strong {
  display: block;
  margin-bottom: 8px;
}
.legal-meta-card span {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}
.legal-shell {
  background: var(--bg-section);
  padding: 34px 0 72px;
}
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
.legal-document {
  max-width: 940px;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 4vw, 42px);
}
.legal-document h1 {
  display: none;
}
.legal-document .meta,
.legal-document > p:first-of-type {
  color: var(--text-muted);
}
.legal-document h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.03em;
  margin: 34px 0 12px;
}
.legal-document .meta + h2 {
  margin-top: 0;
}
.legal-document h3 {
  font-size: 18px;
  margin: 22px 0 8px;
}
.legal-document p,
.legal-document li {
  color: var(--text-secondary);
  line-height: 1.76;
}
.legal-document p + p {
  margin-top: 10px;
}
.legal-document a {
  color: var(--blue);
  font-weight: 700;
}
.legal-document ul,
.legal-document ol {
  margin: 12px 0 18px 22px;
}
.placeholder,
.legal-placeholder {
  display: inline;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.92em;
  font-weight: 700;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-height) + 18px);
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 20px;
}
.legal-toc strong {
  display: block;
  margin-bottom: 12px;
}
.legal-toc a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  padding: 8px 0;
  border-top: 1px solid var(--border-light);
}
.legal-toc a:hover {
  color: var(--blue);
}
.legal-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.legal-link-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-section);
}
.legal-link-card strong {
  display: block;
  margin-bottom: 4px;
}
.legal-link-card span {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
}
.auth-section {
  background: var(--bg-section);
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.auth-panel {
  padding: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.auth-panel-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.auth-icon {
  width: 52px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius-md);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.auth-panel h3 {
  font-size: 24px;
  margin-bottom: 4px;
}
.auth-panel p {
  color: var(--text-muted);
}
.form-clean {
  display: grid;
  gap: 12px;
}
.form-clean label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-secondary);
}
.form-clean input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0 14px;
  color: var(--text-primary);
  background: #fff;
  outline: none;
}
.form-clean input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.form-state {
  min-height: 22px;
  color: var(--green-dark);
  font-weight: 800;
}
.checkline {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-muted) !important;
  line-height: 1.45;
  margin: 4px 0 8px;
}
.checkline input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}
.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  font-size: 14px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  max-width: min(520px, calc(100% - 32px));
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: var(--text-primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  transition: opacity 0.18s, transform 0.18s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1024px) {
  .page-hero-grid,
  .split-layout,
  .auth-grid,
  .legal-hero-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
    order: -1;
  }
  .support-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .page-hero {
    padding: 44px 0;
  }
  .page-hero-grid {
    gap: 28px;
  }
  .support-card-grid,
  .pricing-grid-page {
    grid-template-columns: 1fr;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-band .btn {
    width: 100%;
  }
  .legal-hero {
    padding: 44px 0 26px;
  }
  .legal-links-grid {
    grid-template-columns: 1fr;
  }
  .support-line,
  .insight-list div {
    flex-direction: column;
    gap: 6px;
  }
}

/* Billing Toggle Switch */
.billing-toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0 auto 36px;
  padding: 8px 16px;
  background: var(--bg-card-alt);
  border-radius: 999px;
  width: fit-content;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.billing-toggle-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}
.billing-toggle-label.active {
  color: var(--blue);
}
.billing-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.billing-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.billing-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.25s ease;
  border-radius: 24px;
}
.billing-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s ease;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
input:checked + .billing-slider {
  background-color: var(--blue);
}
input:checked + .billing-slider:before {
  transform: translateX(20px);
}
.discount-badge-toggle {
  font-size: 11px;
  font-weight: 800;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 6px;
  letter-spacing: 0.01em;
  display: inline-block;
  vertical-align: middle;
  box-shadow: inset 0 0 0 1px rgba(16,185,129,0.15);
}

/* Pricing Card Updates */
.price-hint {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
  min-height: 18px;
  transition: all 0.2s ease;
}

/* Pricing Legal Notes */
.pricing-legal-notes {
  margin-top: 40px;
  text-align: center;
  padding: 0 16px;
}
.legal-disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.legal-disclaimer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.legal-disclaimer-links a {
  color: var(--blue);
  transition: color 0.15s;
}
.legal-disclaimer-links a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}
.legal-separator-dot {
  color: var(--border-light);
  user-select: none;
}

@media (max-width: 480px) {
  .billing-toggle-wrapper {
    gap: 8px;
    padding: 6px 12px;
  }
  .billing-toggle-label {
    font-size: 13px;
  }
  .discount-badge-toggle {
    margin-left: 2px;
    padding: 2px 6px;
    font-size: 10px;
  }
  .pricing-legal-notes {
    margin-top: 24px;
  }
  .legal-disclaimer-links {
    gap: 6px;
  }
}

/* ─── Analysis Dashboard Preview ─── */
.analysis-visuals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.visual-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 290px;
}
.visual-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.visual-card-header {
  margin-bottom: 16px;
}
.visual-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.visual-card-header h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}
.visual-card-body {
  flex: 1;
  margin-bottom: 16px;
}
.visual-card-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  text-align: center;
}
.illustration-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

/* App-Scan List */
.mock-app-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-app-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-section);
  border: 1px solid var(--border-light);
}
.mock-app-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-weight: bold;
  font-size: 14px;
}
.mock-app-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mock-app-info strong {
  font-size: 13px;
  color: var(--text-primary);
}
.mock-app-info small {
  font-size: 11px;
  color: var(--text-muted);
}
.mock-risk-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}
.risk-high-badge {
  background: #fee2e2;
  color: #dc2626;
}
.risk-medium-badge {
  background: #fef3c7;
  color: #d97706;
}
.risk-safe-badge {
  background: #d1fae5;
  color: #059669;
}

/* Permission Matrix */
.permission-matrix {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.matrix-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
}
.matrix-row.header {
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 6px;
}
.matrix-row:last-child {
  border-bottom: none;
}
.perm-name {
  font-weight: 600;
  color: var(--text-primary);
}
.perm-count {
  color: var(--text-secondary);
}
.perm-status {
  font-weight: 700;
  text-align: right;
}
.status-warn {
  color: #d97706;
}
.status-safe {
  color: #059669;
}
.status-info {
  color: var(--blue);
}

/* Sensor Guard Status */
.sensor-status-card {
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
}
.sensor-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.sensor-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.active-green {
  color: #059669;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: #059669;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(5, 150, 105, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
  }
}
.status-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
}
.green-pill {
  background: #d1fae5;
  color: #059669;
}
.sensor-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}
.sensor-log {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border-light);
  padding-top: 8px;
}
.log-entry {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
}
.log-entry.blocked {
  font-weight: 600;
}
.log-entry .time {
  color: var(--text-muted);
}

/* KI Signals */
.ki-signals-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ki-signal-item {
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
}
.ki-signal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-size: 12px;
}
.ki-signal-meta strong {
  color: var(--text-primary);
}
.ki-signal-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}
.badge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
}
.badge-amber {
  background: #fef3c7;
  color: #d97706;
}
.badge-red {
  background: #fee2e2;
  color: #dc2626;
}

/* Score Dial & Verlauf */
.score-chart-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  height: 100%;
}
.score-circle-wrapper {
  flex-shrink: 0;
}
.conic-score-dial {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 82%, var(--border-light) 82% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.dial-center {
  width: 68px;
  height: 68px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.score-lbl {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}
.verlauf-graph {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.graph-bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.bar-fill {
  width: 12px;
  background: var(--blue);
  border-radius: 3px 3px 0 0;
  transition: height 0.3s;
}
.graph-bar:nth-child(5) .bar-fill {
  background: var(--green);
}

/* Report Sheet */
.mock-report-sheet {
  background: #ffffff;
  border: 1px dashed var(--border-card);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: monospace;
  font-size: 11px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.02);
}
.sheet-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 6px;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.sheet-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  color: var(--text-secondary);
}
.sheet-recommendations {
  margin-top: 8px;
  border-top: 1px solid var(--border-light);
  padding-top: 8px;
}
.sheet-recommendations strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.sheet-recommendations ul {
  margin: 0;
  padding-left: 14px;
  color: var(--text-muted);
}
.sheet-recommendations li {
  margin-bottom: 4px;
}

/* ─── B2B Dashboard Preview ─── */
.b2b-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .analysis-visuals-grid,
  .b2b-dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .analysis-visuals-grid,
  .b2b-dashboard-grid,
  .value-comparison-grid {
    grid-template-columns: 1fr;
  }
  .value-comparison-grid {
    max-width: 480px;
  }
}

/* ─── Plan Value Comparison Grid ─── */
.value-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 40px auto 0;
}

.pricing-features li.no-check::before {
  content: none;
}
.pricing-features li.no-check {
  margin-left: 0;
  padding-left: 0;
}

/* ─── Premium Muster-Widerrufsformular Card ─── */
.withdrawal-form-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  margin: 36px 0;
  position: relative;
  text-align: left;
}
.withdrawal-form-card h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 0 !important;
  margin-bottom: 12px;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 10px;
}
.form-instructions {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.recipient-box {
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.recipient-box strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.recipient-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.form-intro-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-left: 12px;
  border-left: 3px solid var(--blue);
}
.withdrawal-form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}
.form-row label small {
  font-weight: normal;
  color: var(--text-muted);
}
.field-line-wrapper {
  border-bottom: 1px solid #cbd5e1;
  min-height: 32px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4px;
}
.field-line-placeholder {
  color: #94a3b8;
  font-size: 14px;
  font-style: italic;
}
.form-double-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 18px;
  font-style: italic;
}
.form-actions-print {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
}
.btn-print {
  min-height: 44px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .form-double-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .withdrawal-form-card {
    padding: 20px;
  }
}

/* ─── Print Styles ─── */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt !important;
  }
  header, footer, .topbar, .legal-toc, .legal-hero, .legal-meta-card, .form-actions-print, .btn-print, #cookie-consent-banner {
    display: none !important;
  }
  main, .legal-shell, .container, .legal-layout {
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
  }
  .legal-document {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    background: #fff !important;
  }
  .withdrawal-form-card {
    border: 1px solid #000 !important;
    box-shadow: none !important;
    padding: 20px !important;
    margin: 20px 0 !important;
    background: #fff !important;
    page-break-inside: avoid;
  }
  .recipient-box {
    border: 1px solid #000 !important;
    background: #fff !important;
  }
  .field-line-wrapper {
    border-bottom: 1px solid #000 !important;
  }
  .field-line-placeholder {
    display: none !important;
  }
}

/* FAQ Details Animations */
.faq-list details {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-list details:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-md);
}
.faq-list details[open] {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

/* ─── Account & Auth Layout ─── */
.auth-container-single {
  max-width: 480px;
  margin: 40px auto;
  width: 100%;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.account-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}
.account-card h3 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin: 0 0 12px;
  font-weight: 800;
}
.account-card-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.account-section-title {
  font-size: 22px;
  font-weight: 800;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  text-align: left;
}
.backend-model-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.model-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.model-card h4 {
  font-size: 14px;
  color: var(--blue);
  margin: 0 0 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 6px;
  font-weight: 800;
}
.model-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
.model-card li {
  margin-bottom: 10px;
}
.model-card li strong {
  color: var(--text-primary);
}
.model-card li small {
  color: var(--text-muted);
  font-size: 11px;
}
.dashboard-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.dashboard-block-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

@media (max-width: 1024px) {
  .account-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .backend-model-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dashboard-block-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .account-grid,
  .backend-model-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Real Data Dashboard Forms ─── */
.dashboard-block-card form input[type="text"],
.dashboard-block-card form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: #ffffff;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dashboard-block-card form input[type="text"]:focus,
.dashboard-block-card form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
  outline: none;
}


/* W5V premium local graphics upgrade */
.hero-trust-item img,
.phone-item-icon img,
.hero-stat-row img,
.trust-icon img,
.why-icon img,
.mock-app-icon img,
.inline-security-icon,
.feature-icon img,
.account-icon img,
.model-icon img,
.dashboard-title-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-trust-item img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  filter: drop-shadow(0 5px 10px rgba(15, 23, 42, 0.10));
}
.trust-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: #fff !important;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  padding: 8px;
}
.feature-illustration,
.premium-graphic-frame {
  width: 132px;
  height: 132px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
}
.feature-illustration img,
.premium-graphic-frame img {
  width: 118px;
  height: 118px;
  object-fit: contain;
}
.feature-card .feature-illustration + h3 {
  margin-top: 4px;
}
.phone-item-icon,
.mock-app-icon,
.why-icon,
.account-icon,
.model-icon,
.dashboard-title-icon {
  background: #fff !important;
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
  padding: 4px;
  color: inherit;
}
.phone-item-icon img,
.mock-app-icon img {
  width: 24px;
  height: 24px;
}
.why-icon {
  padding: 7px;
}
.visual-card.graphic-led {
  overflow: hidden;
  position: relative;
}
.visual-card.graphic-led::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(37, 99, 235, 0.10), transparent 32%);
  pointer-events: none;
}
.visual-card.graphic-led > * {
  position: relative;
  z-index: 1;
}
.live-analysis-hero {
  max-width: 188px;
  margin: -18px auto 20px;
}
.permission-icon-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.permission-icon-label img {
  width: 20px;
  height: 20px;
}
.footer-brand .inline-security-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: -6px;
  margin-right: 8px;
}
.account-card h3,
.model-card h4,
.dashboard-block-card h3 {
  gap: 8px;
}
.account-icon,
.model-icon,
.dashboard-title-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  margin-right: 8px;
}
.model-icon {
  width: 34px;
  height: 34px;
}
@media (max-width: 768px) {
  .feature-illustration,
  .premium-graphic-frame {
    width: 112px;
    height: 112px;
    border-radius: 24px;
  }
  .feature-illustration img,
  .premium-graphic-frame img {
    width: 100px;
    height: 100px;
  }
  .trust-icon {
    width: 64px;
    height: 64px;
  }
}

/* W5W payment visibility */
.payment-note {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--green-dark, #047857);
}
.payment-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 10px;
}
.payment-trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--border-light, #e2e8f0);
  color: var(--text-secondary, #475569);
  font-size: 12px;
  font-weight: 700;
}
.checkout-feedback {
  max-width: 760px;
  margin: 14px auto 0;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e40af;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.checkout-feedback.warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}
@media (max-width: 560px) {
  .payment-trust-row { align-items: stretch; flex-direction: column; }
  .payment-trust-row span { justify-content: center; text-align: center; }
}
/* W5Z legal-inline-toc */
.legal-inline-toc {
  margin: 18px 0 28px;
  padding: 16px 18px;
  background: linear-gradient(180deg,#f8fafc,#eef2f7);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
}
.legal-inline-toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #475569;
}
.legal-inline-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 24px;
}
.legal-inline-toc li {
  margin: 4px 0;
  break-inside: avoid;
}
.legal-inline-toc a {
  color: #1e3a8a;
  text-decoration: none;
}
.legal-inline-toc a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .legal-inline-toc ol { columns: 1; }
}

/* =========================================================================
   W5AA Live Analysis Stage
   ========================================================================= */
#analysis-preview .analysis-stage {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 36px;
}
@media (max-width: 980px) {
  #analysis-preview .analysis-stage {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
  }
}

/* Phone stage */
.phone-stage {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 24px 8px;
}
#analysis-preview .phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19;
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 30px 60px -20px rgba(15, 23, 42, 0.45),
    0 12px 24px -8px rgba(37, 99, 235, 0.18),
    inset 0 0 0 1.5px rgba(255,255,255,0.08);
}
.phone-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(60% 50% at 50% 30%, rgba(37,99,235,0.18), transparent 70%);
  border-radius: 60px;
  z-index: -1;
  pointer-events: none;
}
#analysis-preview .phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: #0f172a;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
#analysis-preview .phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,#ffffff 0%,#f1f5f9 100%);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 22px 4px;
  font-size: 11px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: .02em;
}
.ps-bullets { display: inline-flex; gap: 3px; }
.ps-bullets span {
  width: 4px; height: 4px; border-radius: 50%; background: #0f172a;
}
.ps-battery {
  width: 22px; height: 10px; border: 1.5px solid #0f172a; border-radius: 3px; position: relative;
  background: linear-gradient(90deg, #10b981 70%, transparent 70%);
}
.ps-battery::after {
  content: ''; position: absolute; right: -3px; top: 2px; width: 2px; height: 4px; background: #0f172a; border-radius: 0 1px 1px 0;
}
.phone-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: linear-gradient(180deg, rgba(37,99,235,0.06), transparent);
}
.phone-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  color: #1e3a8a;
  letter-spacing: .02em;
}
.phone-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: linear-gradient(135deg,#2563eb,#06b6d4);
  color: #fff;
  border-radius: 7px;
  font-weight: 900;
  font-size: 12px;
}
.phone-shield { color: #10b981; display: inline-flex; }
#analysis-preview .phone-screen-body {
  flex: 1;
  padding: 10px 14px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Score card inside phone */
.phone-score-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 6px -2px rgba(15,23,42,0.06);
}
.phone-score-ring {
  position: relative;
  width: 64px; height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  background: conic-gradient(#10b981 0 82%, #e5e7eb 82% 100%);
  display: grid;
  place-items: center;
  animation: phoneRingFill 1.4s ease-out 0.2s both;
}
.phone-score-ring-inner {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
}
.phone-score-num { font-weight: 800; font-size: 18px; color: #0f172a; line-height: 1; }
.phone-score-lbl { font-size: 9px; color: #64748b; text-transform: uppercase; letter-spacing: .08em; }
.phone-score-meta { flex: 1; min-width: 0; }
.phone-score-meta strong { display: block; font-size: 12px; color: #0f172a; }
.phone-score-meta span { display: block; font-size: 10px; color: #64748b; margin-bottom: 6px; }
.phone-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 28px;
}
.phone-bars i {
  flex: 1;
  position: relative;
  height: var(--h, 50%);
  background: linear-gradient(180deg,#60a5fa,#2563eb);
  border-radius: 3px 3px 1px 1px;
  animation: barGrow 1.2s ease-out both;
}
.phone-bars i:nth-child(1) { animation-delay: 0.05s; }
.phone-bars i:nth-child(2) { animation-delay: 0.15s; }
.phone-bars i:nth-child(3) { animation-delay: 0.25s; }
.phone-bars i:nth-child(4) { animation-delay: 0.35s; background: linear-gradient(180deg,#34d399,#10b981); }
.phone-bars i:nth-child(5) { animation-delay: 0.45s; }
.phone-bars i b {
  position: absolute;
  bottom: -12px;
  left: 0; right: 0;
  text-align: center;
  font-size: 7px;
  font-weight: 600;
  color: #64748b;
  font-style: normal;
}
@keyframes barGrow {
  from { height: 4%; opacity: 0; }
  to { height: var(--h, 50%); opacity: 1; }
}
@keyframes phoneRingFill {
  from { background: conic-gradient(#10b981 0 0%, #e5e7eb 0% 100%); }
  to   { background: conic-gradient(#10b981 0 82%, #e5e7eb 82% 100%); }
}

/* Section titles inside phone */
.phone-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #64748b;
  padding: 4px 2px 0;
}
.phone-section-title.small { font-size: 9px; }

/* App list inside phone */
.phone-app-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phone-app-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}
.phone-app-list li.risk-high { border-color: #fecaca; background: linear-gradient(180deg, #fff, #fef2f2); }
.phone-app-list li.risk-medium { border-color: #fde68a; background: linear-gradient(180deg, #fff, #fffbeb); }
.phone-app-list li.risk-safe { border-color: #bbf7d0; background: linear-gradient(180deg, #fff, #f0fdf4); }
.phone-app-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--c, #94a3b8);
  color: #fff;
  font-weight: 800;
  font-size: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 26px;
}
.phone-app-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.phone-app-info strong { font-size: 11px; color: #0f172a; line-height: 1.15; }
.phone-app-info small { font-size: 9px; color: #64748b; }
.phone-pill {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.pill-red { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.pill-amber { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.pill-green { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

/* Permission rows inside phone */
.phone-permissions {
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px 10px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.phone-perm-row {
  display: grid;
  grid-template-columns: 50px 1fr 58px;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #0f172a;
  font-weight: 600;
}
.phone-perm-bar {
  height: 6px;
  background: #f1f5f9;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.phone-perm-bar i {
  display: block;
  height: 100%;
  width: var(--w, 30%);
  background: var(--c, #2563eb);
  border-radius: 3px;
  animation: permBarGrow 1s ease-out 0.4s both;
}
@keyframes permBarGrow {
  from { width: 4%; }
  to   { width: var(--w, 30%); }
}
.phone-perm-state {
  font-size: 9px;
  font-weight: 700;
  text-align: right;
}
.state-warn { color: #b45309; }
.state-safe { color: #15803d; }
.state-info { color: #1e40af; }

.phone-tabbar {
  display: flex;
  justify-content: space-around;
  padding: 8px 28px 12px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}
.phone-tabbar span {
  width: 22px; height: 4px; border-radius: 2px; background: #cbd5e1;
}
.phone-tabbar span.active { background: linear-gradient(90deg,#2563eb,#06b6d4); }

/* Floating bubbles around phone */
.phone-floating {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: 0 12px 24px -8px rgba(15,23,42,0.18);
  font-size: 11px;
  max-width: 180px;
  z-index: 2;
}
.phone-floating .bubble-text { display: flex; flex-direction: column; line-height: 1.2; }
.phone-floating .bubble-text strong { font-size: 11px; color: #0f172a; }
.phone-floating .bubble-text small { font-size: 9px; color: #64748b; }
.phone-floating .bubble-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #10b981; flex: 0 0 10px;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.45);
}
.phone-floating .bubble-arrow {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  background: linear-gradient(135deg,#10b981,#047857);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
}
.sensor-bubble { top: 14%; left: -28px; }
.score-bubble  { bottom: 18%; right: -28px; }
@media (max-width: 980px) {
  .sensor-bubble { left: 8px; }
  .score-bubble  { right: 8px; }
}
@media (max-width: 480px) {
  .phone-floating { display: none; }
}

/* Pulse animation */
.pulse {
  animation: pulseRing 1.8s ease-out infinite;
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.insight-dot.pulse.violet { animation-name: pulseViolet; }
.insight-dot.pulse.blue   { animation-name: pulseBlue; }
@keyframes pulseViolet {
  0%   { box-shadow: 0 0 0 0 rgba(124,58,237,0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(124,58,237,0); }
  100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); }
}
@keyframes pulseBlue {
  0%   { box-shadow: 0 0 0 0 rgba(37,99,235,0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(37,99,235,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}

/* Live insight cards (right side) */
.live-insights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.insight-card {
  background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 6px 16px -6px rgba(15,23,42,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -16px rgba(15,23,42,0.15);
}
.insight-card header { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.insight-card h3 { margin: 0; font-size: 16px; color: #0f172a; }
.insight-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tag-green  { background: #ecfdf5; color: #047857; border: 1px solid #bbf7d0; }
.tag-violet { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.tag-blue   { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.insight-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.insight-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.insight-timeline li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
}
.insight-timeline li.tl-ok    { border-left: 3px solid #10b981; }
.insight-timeline li.tl-block { border-left: 3px solid #ef4444; background: #fef2f2; color: #991b1b; }
.tl-time { font-size: 11px; font-weight: 700; color: #64748b; }

.insight-signals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.insight-signals li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}
.insight-signals li strong { font-size: 13px; color: #0f172a; }
.insight-signals li p { grid-column: 1 / -1; margin: 0; font-size: 12px; color: #475569; }
.signal-badge {
  font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px; letter-spacing: .04em;
  align-self: start;
}
.signal-badge.amber { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.signal-badge.red   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.insight-report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}
.rep-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rep-stat.warn { border-color: #fecaca; background: #fff7f7; }
.rep-stat.ok   { border-color: #bbf7d0; background: #f0fdf4; }
.rep-num { font-size: 22px; font-weight: 800; color: #0f172a; line-height: 1; }
.rep-stat.warn .rep-num { color: #b91c1c; }
.rep-stat.ok   .rep-num { color: #047857; }
.rep-lbl { font-size: 10px; color: #64748b; text-transform: uppercase; letter-spacing: .06em; }
.insight-report-hint { margin: 8px 0 0; font-size: 12px; color: #475569; }

/* Module strip */
.module-strip-title {
  margin: 56px 0 16px;
  font-size: 18px;
  color: #1e293b;
  text-align: center;
  font-weight: 700;
  letter-spacing: .01em;
}
.module-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .module-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .module-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px)  { .module-strip { grid-template-columns: 1fr; } }
.module-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.module-tile:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 32px -16px rgba(37,99,235,0.22);
}
.module-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg,#eff6ff,#dbeafe);
  border-radius: 12px;
}
.module-icon img { width: 36px; height: 36px; }
.module-tile strong { font-size: 14px; color: #0f172a; line-height: 1.2; }
.module-tile small { font-size: 12px; color: #475569; line-height: 1.35; }

/* Footnote + CTA */
.analysis-footnote {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.analysis-disclaimer {
  max-width: 780px;
  margin: 0;
  font-size: 13px;
  color: #64748b;
}
.analysis-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hide legacy fallback */
#analysis-preview .analysis-visuals-grid.hidden { display: none !important; }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .phone-bars i,
  .phone-score-ring,
  .phone-perm-bar i,
  .pulse,
  .insight-dot.pulse {
    animation: none !important;
  }
}

/* =========================================================================
   W5AK Account Center
   ========================================================================= */
.account-page { background: #f8fafc; padding-bottom: 72px; }

/* Hero */
.account-hero { padding: 48px 0 24px; background: linear-gradient(180deg,#ffffff 0%,#f1f5f9 100%); border-bottom: 1px solid #e5e7eb; }
.account-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 980px) { .account-hero-grid { grid-template-columns: 1fr; gap: 24px; } }
.account-hero-left h1 { font-size: clamp(32px, 4.4vw, 48px); margin: 12px 0 8px; letter-spacing: -.01em; }
.account-hero-lead { color: #475569; font-size: 16px; margin: 0 0 20px; max-width: 540px; }
.account-hero-badges { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.account-chip { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.account-chip.chip-blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.account-chip.chip-violet { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.account-hero-session .legal-meta-card { background: #fff; border-color: #e5e7eb; }
.account-hero-session .legal-meta-card.logged-in { background: #f0fdf4; border-color: #bbf7d0; }
.account-hero-session .legal-meta-card code { font-size: 11px; background: #f1f5f9; padding: 1px 5px; border-radius: 4px; }

/* Hero status card */
.account-status-card {
  background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 14px 32px -18px rgba(15,23,42,0.18);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.status-card-head { display: flex; justify-content: space-between; align-items: center; }
.status-card-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #64748b; font-weight: 700; }
.status-card-plan { font-size: 32px; font-weight: 800; color: #0f172a; letter-spacing: -.01em; line-height: 1; }
.status-card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 12px 0; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.status-card-row { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.status-card-row .lbl { color: #64748b; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.status-card-row strong { color: #0f172a; }
.status-card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.status-card-actions .btn { flex: 1; min-width: 140px; min-height: 40px; font-size: 13px; }
.status-card-trust { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #64748b; }
.status-card-trust li::before { content: '\2713'; color: #10b981; font-weight: 700; margin-right: 4px; }

/* Status pills */
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.status-active  { background: #ecfdf5; color: #047857; border: 1px solid #bbf7d0; }
.status-trial   { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.status-warn    { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.status-cancel  { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.status-pending { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

/* Banners */
.account-banner { border-radius: 16px; padding: 16px 20px; font-size: 14px; line-height: 1.55; }
.account-banner.banner-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.account-banner.banner-error   { background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; }
.account-banner .banner-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* Not-logged-in CTA */
.account-login-cta {
  background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  box-shadow: 0 14px 32px -18px rgba(15,23,42,0.12);
}
@media (max-width: 760px) { .account-login-cta { grid-template-columns: 1fr; padding: 28px; } }
.account-login-cta h2 { font-size: clamp(22px, 3vw, 28px); margin: 12px 0 8px; }
.account-login-cta p { color: #475569; max-width: 460px; }
.account-login-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.account-login-cta-trust { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 16px; padding: 18px 22px; }
.account-login-cta-trust strong { display: block; margin-bottom: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #334155; }
.account-login-cta-trust ul { list-style: none; margin: 0; padding: 0; }
.account-login-cta-trust li { padding: 5px 0; font-size: 13px; color: #475569; }
.account-login-cta-trust li::before { content: '\2022'; color: #2563eb; font-weight: 700; margin-right: 8px; }

/* KPI Grid */
.account-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .account-kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .account-kpi-grid { grid-template-columns: 1fr; } }
.kpi-card {
  background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 16px -10px rgba(15,23,42,0.10);
  transition: transform .2s ease, box-shadow .2s ease;
}
.kpi-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg,#2563eb,#06b6d4);
}
.kpi-plan::before    { background: linear-gradient(180deg,#6366f1,#4338ca); }
.kpi-devices::before { background: linear-gradient(180deg,#2563eb,#06b6d4); }
.kpi-reports::before { background: linear-gradient(180deg,#10b981,#047857); }
.kpi-support::before { background: linear-gradient(180deg,#f59e0b,#d97706); }
.kpi-card:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -20px rgba(15,23,42,0.18); }
.kpi-card header { display: flex; align-items: center; gap: 10px; }
.kpi-icon { width: 36px; height: 36px; display: grid; place-items: center; background: #eff6ff; border-radius: 10px; }
.kpi-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #64748b; font-weight: 700; }
.kpi-value { font-size: 22px; font-weight: 800; color: #0f172a; margin-top: 4px; line-height: 1.15; }
.kpi-meta  { font-size: 12px; color: #64748b; }
.kpi-cta {
  margin-top: auto; padding-top: 12px;
  align-self: flex-start;
  font-size: 13px; font-weight: 700;
  background: none;
  border: 0;
  color: #1d4ed8;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .01em;
}
.kpi-cta:hover { text-decoration: underline; }
.kpi-cta:disabled { color: #94a3b8; cursor: not-allowed; }

/* Section heads */
.account-section-head { margin-bottom: 16px; }
.account-section-head h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 6px; letter-spacing: -.01em; }
.account-section-head p  { color: #475569; margin: 0; font-size: 14px; }

/* Generic block */
.account-block {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 6px 16px -10px rgba(15,23,42,0.08);
}
.account-block h3 { font-size: 17px; margin: 0 0 8px; color: #0f172a; }
.account-block p { color: #475569; font-size: 14px; margin: 0 0 16px; }
.account-block-soft { background: linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%); }

.account-block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.account-block-head h3 { margin: 0; }

/* Definition list */
.account-defs { margin: 0 0 16px; padding: 0; }
.account-defs > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 14px; }
.account-defs > div:last-child { border-bottom: 0; }
.account-defs dt { color: #64748b; margin: 0; }
.account-defs dd { margin: 0; text-align: right; }

/* Pay grid */
.account-pay-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) { .account-pay-grid { grid-template-columns: 1fr; } }

/* Devices */
.account-devices-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) { .account-devices-grid { grid-template-columns: 1fr; } }
.account-device-list { display: grid; gap: 12px; }
.device-empty {
  padding: 18px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
  border: 1px dashed #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}
.device-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.device-card:hover { border-color: #bfdbfe; box-shadow: 0 10px 24px -14px rgba(37,99,235,0.18); }
.device-card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.device-card-icon { width: 36px; height: 36px; display: grid; place-items: center; background: #eff6ff; border-radius: 10px; }
.device-card-title { flex: 1; min-width: 140px; display: flex; flex-direction: column; }
.device-card-title strong { font-size: 14px; color: #0f172a; }
.device-card-title small  { font-size: 11px; color: #64748b; }
.device-card-meta { font-size: 12px; color: #64748b; }
.device-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.device-card-actions .btn { font-size: 12px; min-height: 32px; padding: 0 12px; }

/* Hints / Notes */
.account-hint { padding: 12px 14px; border-radius: 12px; font-size: 13px; margin-bottom: 14px; line-height: 1.45; }
.hint-amber { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.account-note { padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.note-amber { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.note-green { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.note-red   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* Forms */
.account-form { display: grid; gap: 12px; }
.account-field { display: flex; flex-direction: column; gap: 4px; }
.account-field-lbl { font-size: 12px; font-weight: 700; color: #475569; letter-spacing: .02em; }
.account-form input, .account-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #0f172a;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.account-form input:focus, .account-form textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.account-form textarea { min-height: 90px; resize: vertical; }
.account-form button[type="submit"] { min-height: 40px; }

/* Pairing code */
.pairing-code-box {
  margin-top: 16px;
  background: linear-gradient(180deg,#eff6ff,#dbeafe);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pairing-code-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #1d4ed8; }
.pairing-code-box strong { font-size: 28px; font-weight: 800; letter-spacing: .2em; color: #0f172a; font-family: 'SF Mono', Consolas, monospace; }
.pairing-code-box small  { font-size: 12px; color: #475569; }
.pairing-code-box .btn { align-self: flex-start; }

/* Trust list */
.account-trust-list { list-style: none; margin: 0 0 12px; padding: 0; }
.account-trust-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; color: #334155; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; }
.dot.dot-green  { background: #10b981; }
.dot.dot-blue   { background: #2563eb; }
.dot.dot-violet { background: #7c3aed; }
.dot.dot-amber  { background: #f59e0b; }
.account-link { font-size: 13px; color: #1d4ed8; font-weight: 700; text-decoration: none; }
.account-link:hover { text-decoration: underline; }

/* Actions */
.account-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Security modules */
.account-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .account-modules-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .account-modules-grid { grid-template-columns: 1fr; } }
.account-module-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.account-module-card:hover { border-color: #bfdbfe; box-shadow: 0 10px 24px -14px rgba(37,99,235,0.16); }
.account-module-icon { width: 44px; height: 44px; display: grid; place-items: center; background: linear-gradient(180deg,#eff6ff,#dbeafe); border-radius: 12px; flex: 0 0 44px; }
.account-module-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.account-module-text strong { font-size: 14px; color: #0f172a; }
.account-modules-foot { text-align: center; color: #64748b; font-size: 13px; margin-top: 14px; }

/* Tickets */
.account-tickets-list { display: grid; gap: 10px; }
.ticket-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 12px 14px; }
.ticket-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.ticket-card header strong { font-size: 13px; color: #0f172a; }
.ticket-card p { margin: 0; font-size: 12px; color: #475569; }

/* Next steps */
.account-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.account-steps li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 12px 16px; }
.step-num { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; background: linear-gradient(135deg,#2563eb,#06b6d4); color: #fff; font-weight: 800; border-radius: 50%; font-size: 13px; }
.account-steps li strong { display: block; font-size: 14px; color: #0f172a; }
.account-steps li span { font-size: 13px; color: #475569; }

/* Help grid */
.account-help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 800px) { .account-help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .account-help-grid { grid-template-columns: 1fr; } }
.account-help-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.account-help-card:hover { transform: translateY(-2px); border-color: #bfdbfe; box-shadow: 0 14px 28px -18px rgba(37,99,235,0.18); }
.account-help-card strong { font-size: 14px; color: #0f172a; }
.account-help-card small  { font-size: 12px; color: #64748b; line-height: 1.4; }

/* Legal links cluster */
.account-legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 700; }
.account-legal-links a { color: #1d4ed8; text-decoration: none; }
.account-legal-links a.link-danger { color: #b91c1c; }
.account-legal-links a:hover { text-decoration: underline; }

/* btn-secondary alignment for account page */
.account-page .btn-secondary { background: #fff; color: #0f172a; border: 1px solid #e5e7eb; }
.account-page .btn-secondary:hover { border-color: #bfdbfe; color: #1d4ed8; }

/* =========================================================================
   W5AL — Mobile nav fix + responsive hero
   ========================================================================= */
@media (max-width: 768px) {
  .navlinks {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    z-index: 1000; /* above cookie banner content */
  }
  .navlinks a {
    font-size: 15px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .navlinks a.active {
    color: var(--blue, #2563eb);
    font-weight: 700;
  }
  /* Prevent horizontal scroll caused by nav inner */
  body, html { overflow-x: hidden; }
  .topbar { overflow: visible; }
}

/* Cookie banner above page content but below open nav */
.heidsec-cookie-banner { z-index: 9999; }
.heidsec-cookie-banner[hidden] { display: none !important; }

/* Mobile hero sizing for support/kontakt and other legal heros */
@media (max-width: 768px) {
  .legal-hero { padding: 28px 0 18px; }
  .legal-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .legal-hero h1 { font-size: clamp(24px, 6vw, 32px); margin: 6px 0; }
  .legal-hero p  { font-size: 14px; }
  .legal-meta-card {
    padding: 12px 14px;
    font-size: 13px;
  }
  /* kontakt.html page-hero */
  .page-hero { padding: 28px 0; }
  .page-hero-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .page-hero h1 { font-size: clamp(26px, 6.5vw, 34px); }
  .page-hero .hero-lead { font-size: 14px; }
  .support-summary { padding: 14px 16px; font-size: 14px; }
  .cta-row { flex-wrap: wrap; gap: 8px; }
  .cta-row .btn { font-size: 13px; min-height: 40px; }
}

/* =========================================================================
   W5AD — body.w5ad typography polish
   ========================================================================= */
body.w5ad h1, body.w5ad .hero h1, body.w5ad .section-head h2 {
  letter-spacing: -0.02em;
  line-height: 1.12;
}
body.w5ad p, body.w5ad .hero-lead, body.w5ad .feature-card p {
  line-height: 1.65;
}

/* =========================================================================
   W5AE — Business Header Banner
   ========================================================================= */
.w5ae-business-header-banner {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
}
.w5ae-business-header-banner picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.w5ae-business-header-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.w5ae-banner-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 400px;
  background: linear-gradient(90deg, rgba(15,23,42,.82) 0%, rgba(15,23,42,.55) 60%, transparent 100%);
}
.w5ae-banner-content {
  max-width: 620px;
  color: #fff;
}
.w5ae-banner-content .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: #93c5fd;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.w5ae-banner-content h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.w5ae-banner-content .hero-lead {
  font-size: 15px;
  color: #cbd5e1;
  margin: 0 0 22px;
  max-width: 500px;
  line-height: 1.6;
}
.w5ae-banner-content .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.w5ae-banner-content .btn-primary {
  background: #2563eb;
  color: #fff;
  border: none;
}
.w5ae-banner-content .btn-primary:hover { background: #1d4ed8; }
.w5ae-banner-content .btn-ghost {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,.25);
}
.w5ae-banner-content .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}
.w5ae-banner-content .hero-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.w5ae-banner-content .hero-trust-item {
  font-size: 13px;
  color: #94a3b8;
  background: rgba(255,255,255,.06);
  padding: 4px 12px;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .w5ae-business-header-banner { min-height: 380px; }
  .w5ae-banner-overlay { min-height: 380px; background: rgba(15,23,42,.55); }
  .w5ae-banner-content { max-width: 100%; padding: 20px 0; }
  .w5ae-banner-content h1 { font-size: 28px; }
  .w5ae-banner-content .hero-lead { font-size: 14px; }
}

/* =========================================================================
   W5AF — Service Grid (support & kontakt)
   ========================================================================= */
.w5af-service-grid-section { padding: 60px 0; }
.w5af-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.w5af-service-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  text-decoration: none;
  color: #0f172a;
  transition: box-shadow 0.2s, transform 0.15s;
}
.w5af-service-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.w5af-service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 12px;
  margin-bottom: 14px;
}
.w5af-service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
}
.w5af-service-card p {
  font-size: 14px;
  color: #475569;
  margin: 0 0 14px;
  flex: 1;
}
.w5af-service-link {
  font-size: 13px;
  color: #2563eb;
  font-weight: 600;
}
@media (max-width: 768px) {
  .w5af-service-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   W5AG — Banner Hero (support & kontakt)
   ========================================================================= */
.w5ag-hero {
  position: relative;
  width: 100%;
  min-height: 360px;
  overflow: hidden;
}
.w5ag-hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.w5ag-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.w5ag-hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 360px;
  background: linear-gradient(90deg, rgba(15,23,42,.55) 0%, rgba(15,23,42,.20) 60%, transparent 100%);
}
.w5ag-hero-content {
  max-width: 640px;
  color: #fff;
}
.w5ag-hero-content .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.1);
  color: #93c5fd;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.w5ag-hero-content h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.w5ag-hero-content p {
  font-size: 14px;
  color: #cbd5e1;
  margin: 0 0 16px;
  max-width: 480px;
  line-height: 1.6;
}
.w5ag-hero-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.w5ag-hero-meta span {
  font-size: 13px;
  color: #94a3b8;
  background: rgba(255,255,255,.08);
  padding: 5px 14px;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .w5ag-hero { min-height: 340px; }
  .w5ag-hero-overlay { min-height: 340px; background: rgba(15,23,42,.55); }
  .w5ag-hero-content h1 { font-size: 26px; }
  .w5ag-hero-content p { font-size: 13px; }
  .w5ag-hero-meta { flex-direction: column; gap: 8px; }
}

/* =========================================================================
   
   W5AP-R2 — Full-Banner Hero Recovery
   ═══════════════════════════════════════════════ */
.w5ap-hero-full {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 60px;
}
.w5ap-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.w5ap-hero-bg img,
.w5ap-hero-bg source {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.w5ap-r2-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(15,23,42,0.35) 0%, rgba(15,23,42,0.10) 50%, rgba(15,23,42,0.30) 100%);
}
.w5ap-r2-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.w5ap-r2-copy {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.25);
}
.w5ap-r2-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: rgba(37,99,235,0.08);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.w5ap-r2-copy h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.w5ap-r2-copy p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 480px;
}
.w5ap-r2-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 28px;
}
.w5ap-r2-bullets span {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.w5ap-r2-bullets span::before {
  content: "\2713";
  font-weight: 800;
}
.w5ap-r2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.w5ap-r2-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.w5ap-r2-link:hover {
  opacity: 0.75;
}
.w5ap-r2-mini {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.05);
  border: 1px solid rgba(255,255,255,0.2);
}
.w5ap-r2-mini-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.w5ap-r2-mini-head strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.w5ap-r2-mini-head span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-section);
  padding: 2px 8px;
  border-radius: 999px;
}
.w5ap-r2-score {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
}
.w5ap-r2-score > span {
  display: block;
  font-size: 56px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.w5ap-r2-score small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.w5ap-r2-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.w5ap-r2-mini-grid div {
  background: var(--bg-section);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}
.w5ap-r2-mini-grid div strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.w5ap-r2-mini-grid div small {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.w5ap-r2-mini > p {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}
.w5ap-trust-strip {
  background: var(--bg-section);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}
.w5ap-trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}
.w5ap-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.w5ap-trust-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.w5ap-trust-chip-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--green);
  fill: none;
}
.w5ap-trust-chip-icon svg circle {
  fill: var(--green-light);
  stroke: var(--green);
}

/* W5AH Premium Feature Cards */
.w5ah-section {
  padding: 80px 0;
}
.w5ah-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.w5ah-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: default;
}
.w5ah-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.w5ah-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.w5ah-card-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
}
.badge-green {
  background: var(--green-light);
  color: var(--green-dark);
}
.badge-red {
  background: #fef2f2;
  color: #dc2626;
}
.badge-amber {
  background: var(--amber-light);
  color: #92400e;
}
.badge-violet {
  background: var(--purple-light);
  color: var(--purple);
}
.badge-teal {
  background: #ccfbf1;
  color: #0f766e;
}
.badge-blue {
  background: var(--blue-light);
  color: var(--blue-dark);
}
.w5ah-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.w5ah-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.w5ah-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.w5ah-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* W5AP-R2 Responsive */
@media (max-width: 1024px) {
  .w5ah-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .w5ap-r2-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .w5ap-r2-copy h1 {
    font-size: 32px;
  }
}
@media (max-width: 640px) {
  .w5ap-hero-full {
    min-height: 420px;
    padding: 60px 0 30px;
  }
  .w5ap-r2-copy {
    padding: 20px;
  }
  .w5ap-r2-copy h1 {
    font-size: 28px;
  }
  .w5ap-r2-mini {
    padding: 16px;
  }
  .w5ap-r2-score > span {
    font-size: 36px;
  }
  .w5ap-r2-bullets span {
    font-size: 12px;
    padding: 3px 10px;
  }
  .w5ah-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .w5ap-hero-full {
    min-height: 380px;
    padding: 50px 0 24px;
  }
  .w5ap-r2-copy {
    padding: 16px;
  }
  .w5ap-r2-copy h1 {
    font-size: 24px;
  }
  .w5ap-r2-mini {
    padding: 14px;
  }
  .w5ap-r2-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .w5ap-r2-actions .btn {
    width: 100%;
    text-align: center;
  }
  .w5ap-trust-grid {
    gap: 8px 16px;
  }
}

/* ═══════════════════════════════════════════════
   
W5AH — Premium Feature Card Grid (index)
   ========================================================================= */
.w5ah-section { padding: 60px 0; }
.w5ah-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.w5ah-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.w5ah-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  transform: translateY(-2px);
}
.w5ah-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.w5ah-card-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .03em;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-violet { background: #ede9fe; color: #5b21b6; }
.badge-teal { background: #ccfbf1; color: #115e59; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.w5ah-card-icon img { width: 44px; height: 44px; }
.w5ah-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
}
.w5ah-card p {
  font-size: 14px;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .w5ah-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   W5AI — Problem / Solution Premium Cards
   ========================================================================= */
.w5ai-section { padding: 60px 0; }
.w5ai-problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.w5ai-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.w5ai-problem-card { border-left: 4px solid #f59e0b; }
.w5ai-solution-card { border-left: 4px solid #10b981; }
.w5ai-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 12px;
}
.w5ai-problem-card .w5ai-card-icon { background: #fef3c7; }
.w5ai-solution-card .w5ai-card-icon { background: #dcfce7; }
.w5ai-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}
.w5ai-card p {
  font-size: 14px;
  color: #475569;
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 768px) {
  .w5ai-problem-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   W5AJ — MDM 5-Step Flow, Dashboard Preview, Metrics, Use Cases
   ========================================================================= */
.w5aj-mdm-section { padding: 60px 0; }
.w5aj-mdm-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin-top: 36px;
  max-width: 700px;
}
.w5aj-mdm-flow::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: linear-gradient(180deg, #2563eb, #7c3aed);
}
.w5aj-mdm-step {
  display: flex;
  gap: 20px;
  position: relative;
  padding: 16px 0;
}
.w5aj-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #2563eb;
  z-index: 1;
}
.w5aj-step-content {
  flex: 1;
  padding-top: 6px;
}
.w5aj-step-content strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}
.w5aj-step-content p {
  font-size: 13px;
  color: #475569;
  margin: 0 0 6px;
}
.w5aj-step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-teal { background: #ccfbf1; color: #115e59; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-violet { background: #ede9fe; color: #5b21b6; }

.w5aj-mdm-transparency { margin-top: 28px; }
.w5aj-transparency-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2563eb;
  border-radius: 12px;
  padding: 18px 22px;
}
.w5aj-transparency-box strong {
  display: block;
  font-size: 14px;
  color: #2563eb;
  margin-bottom: 4px;
}
.w5aj-transparency-box p {
  font-size: 13px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

/* Dashboard Preview */
.w5aj-dashboard-section { padding: 60px 0; }
.w5aj-dashboard-preview {
  text-align: center;
  margin-top: 36px;
}
.w5aj-dashboard-svg {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  border: 1px solid #e5e7eb;
}
.w5aj-dashboard-preview .illustration-disclaimer {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}

/* Metric Grid */
.w5aj-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.w5aj-metric-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  border-left: 4px solid var(--accent, #2563eb);
}
.w5aj-metric-card strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}
.w5aj-metric-card span {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .w5aj-metric-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

/* Use Case Grid */
.w5aj-usecase-section { padding: 60px 0; }
.w5aj-usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.w5aj-usecase-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 28px 22px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.w5aj-usecase-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  transform: translateY(-2px);
}
.w5aj-usecase-icon {
  margin-bottom: 12px;
}
.w5aj-usecase-icon img { width: 48px; height: 48px; }
.w5aj-category-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.w5aj-usecase-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}
.w5aj-usecase-card p {
  font-size: 13px;
  color: #475569;
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 768px) {
  .w5aj-usecase-grid { grid-template-columns: 1fr; }
}

/* CTA Banner */
.w5aj-cta-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 18px;
  padding: 40px 36px;
  text-align: center;
  color: #fff;
}
.w5aj-cta-content h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
}
.w5aj-cta-content p {
  font-size: 15px;
  color: #bfdbfe;
  margin: 0 auto 20px;
  max-width: 560px;
  line-height: 1.5;
}
.w5aj-cta-content .btn-primary {
  background: #fff;
  color: #2563eb;
  border: none;
  font-weight: 700;
}
.w5aj-cta-content .btn-primary:hover { background: #f1f5f9; }

W5AQ — Device Card + Pairing UI + Next Steps
   ═══════════════════════════════════════════════ */
.w5aq-pair-btn {
  transition: opacity 0.2s;
}
#deviceListContainer > div {
  transition: box-shadow 0.2s;
}
#deviceListContainer > div:hover {
  box-shadow: var(--shadow-md);
}
#nextStepsContainer code {
  user-select: all;
  cursor: text;
}
@media (max-width: 640px) {
  #deviceListContainer > div > div {
    flex-wrap: wrap;
  }
  #deviceListContainer > div > div > div:first-child {
    width: 100%;
  }
  .w5aq-pair-btn,
  [id^="pairingBox_"] button {
    width: 100%;
  }
  [id^="pairingBox_"] code {
    font-size: 18px !important;
    letter-spacing: 4px !important;
  }
  [id^="pairingBox_"] > div > div:first-child {
    flex-direction: column;
  }
  #nextStepsContainer > div > div {
    flex-wrap: wrap;
  }
}

/* ═══════════════════════════════════════════════════════════════
   W5AV — Hero Verfeinerung, Account Upgrade, Shop Banner
   ═══════════════════════════════════════════════════════════════ */

/* ─── W5AV-2: Startseite Hero entschärfen ─── */
.w5ap-r2-overlay {
  background: linear-gradient(135deg, rgba(15,23,42,0.45) 0%, rgba(15,23,42,0.15) 50%, rgba(15,23,42,0.35) 100%);
}
.w5ap-r2-copy {
  max-width: 560px;
  padding: 32px 36px;
}
.w5ap-r2-copy h1 {
  font-size: 38px;
}
.w5ap-r2-mini {
  max-width: 340px;
  padding: 24px 28px;
}
.w5ap-r2-mini-head strong {
  font-size: 13px;
}
.w5ap-r2-score > span {
  font-size: 32px;
}
.w5ap-r2-mini-grid {
  gap: 4px;
}
.w5ap-r2-mini-grid div strong {
  font-size: 12px;
}
.w5ap-r2-mini-grid div small {
  font-size: 10px;
}
.w5ap-r2-mini > p {
  font-size: 11px;
}
@media (max-width: 640px) {
  .w5ap-r2-copy {
    padding: 24px;
  }
  .w5ap-r2-copy h1 {
    font-size: 28px;
  }
  .w5ap-r2-mini {
    max-width: 100%;
  }
}

/* ─── W5AV-3: Account Visual Upgrade ─── */
.account-card {
  border-radius: 20px;
  padding: 28px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.account-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.dashboard-block-card {
  border-radius: 24px;
  padding: 32px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.dashboard-block-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}
#deviceListContainer > div {
  background: #fff;
  border-radius: 20px;
  padding: 6px;
}
#deviceListContainer > div > div {
  padding: 14px 18px;
  border-radius: 16px;
  background: #fafafa;
  transition: box-shadow 0.2s, background 0.2s;
}
#deviceListContainer > div:hover > div {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.account-grid {
  gap: 24px;
}
.account-card h3 {
  font-size: 12px;
  letter-spacing: 0.06em;
}
.account-card-val {
  font-size: 26px;
}
.account-section-title {
  font-size: 20px;
  letter-spacing: -0.02em;
}
#nextStepsContainer > div > div {
  border-radius: 16px;
  transition: box-shadow 0.2s;
}
#nextStepsContainer > div > div:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
[id^="pairingBox_"] > div {
  border-radius: 20px;
}
@media (max-width: 640px) {
  .account-card {
    padding: 22px;
  }
  .dashboard-block-card {
    padding: 24px;
  }
}

/* ─── W5AV-4: Shop Banner Hero ─── */
.w5av-shop-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 70px;
}
.w5av-shop-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.w5av-shop-bg img,
.w5av-shop-bg source {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.w5av-shop-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.20) 50%, rgba(15,23,42,0.40) 100%);
}
.w5av-shop-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.w5av-shop-content h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.w5av-shop-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin: 0 auto 26px;
  max-width: 520px;
}
.w5av-shop-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.w5av-shop-actions .btn-primary {
  background: #fff;
  color: var(--blue);
  border: none;
  min-height: 48px;
  padding: 0 28px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
}
.w5av-shop-actions .btn-primary:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}
.w5av-shop-actions .btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  min-height: 50px;
  padding: 0 32px;
  font-weight: 700;
  border-radius: 12px;
}
.w5av-shop-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.w5av-shop-trust {
  display: flex;
  justify-content: center;
  gap: 20px 32px;
  flex-wrap: wrap;
}
.w5av-shop-trust span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}
.w5av-shop-trust span::before {
  content: "\2713";
  font-weight: 800;
  color: #10b981;
  font-size: 14px;
}
@media (max-width: 640px) {
  .w5av-shop-hero {
    min-height: 360px;
    padding: 50px 0 24px;
  }
  .w5av-shop-content h1 {
    font-size: clamp(26px, 6.5vw, 34px);
  }
  .w5av-shop-content p {
    font-size: 14px;
  }
  .w5av-shop-trust {
    gap: 10px 16px;
  }
  .w5av-shop-trust span {
    font-size: 12px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   W5AW — Full Banner Integration (legal pages + faq)
   ═══════════════════════════════════════════════════════════════ */
.w5aw-banner-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px 0 60px;
}
.w5aw-banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.w5aw-banner-media img,
.w5aw-banner-media source {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.w5aw-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(15,23,42,0.30) 0%, rgba(15,23,42,0.08) 50%, rgba(15,23,42,0.25) 100%);
}
.w5aw-banner-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.w5aw-banner-copy {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 28px 32px;
  border: 1px solid rgba(255,255,255,0.2);
  max-width: 580px;
}
.w5aw-banner-copy .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: rgba(37,99,235,0.08);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.w5aw-banner-copy h1 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 10px;
}
.w5aw-banner-copy p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
.w5aw-banner-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 22px 26px;
  border: 1px solid rgba(255,255,255,0.15);
}
.w5aw-banner-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.w5aw-banner-card span {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
}
@media (max-width: 768px) {
  .w5aw-banner-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .w5aw-banner-hero {
    min-height: 360px;
    padding: 50px 0 24px;
  }
  .w5aw-banner-copy {
    padding: 18px;
  }
  .w5aw-banner-copy h1 {
    font-size: 26px;
  }
  .w5aw-banner-copy p {
    font-size: 13px;
  }
  .w5aw-banner-card {
    padding: 14px 16px;
  }
}

/* W5AZ — Unified Hero Banner Image Safety Net */
/* Ensures ALL hero images use cover crop regardless of per-system rules */
.w5z-hero-media,
.w5ap-hero-bg,
.w5av-shop-bg,
.w5aw-banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.w5z-hero-media img,
.w5z-hero-media source,
.w5ap-hero-bg img,
.w5ap-hero-bg source,
.w5av-shop-bg img,
.w5av-shop-bg source,
.w5aw-banner-media img,
.w5aw-banner-media source,
.w5ae-business-header-banner img,
.w5ae-business-header-banner source,
.w5ag-hero img,
.w5ag-hero source {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* W5D: Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================================
   W5BG — Unified Header-Banner System
   Image visible in hero, text overlays on top, no grey-out, no hidden imgs.
   ========================================================================= */
.w5z-header-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 42vw, 720px);
  display: flex;
  align-items: center;
  padding: 90px 0 60px;
}

.w5z-header-banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.w5z-header-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* defensive: undo any global rule that might hide hero imgs */
  opacity: 1 !important;
  visibility: visible !important;
}

.w5z-header-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15,23,42,.68) 0%, rgba(15,23,42,.30) 55%, rgba(15,23,42,.10) 100%);
}

.w5z-header-banner-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
/* If the consumer also nested a .container inside (legacy markup), neutralise its extra padding */
.w5z-header-banner-content .container { padding: 0; max-width: none; }

@media (max-width: 768px) {
  .w5z-header-banner { min-height: clamp(360px, 70vw, 520px); padding: 80px 0 40px; }
  .w5z-header-banner-overlay {
    background: linear-gradient(180deg, rgba(15,23,42,.55) 0%, rgba(15,23,42,.45) 60%, rgba(15,23,42,.65) 100%);
  }
  .w5z-header-banner-content { padding: 0 18px; max-width: 100%; }
}

/* Hard safety: never let a global rule lazy-load or hide these banners */
.w5z-header-banner-media img[loading="lazy"] { /* defensive class — should never apply, but if it ever did, reset */ }

/* =========================================================================
   W5BH — Support Service-Center
   ========================================================================= */

/* Hero text overlay (used inside .w5z-header-banner-content on support page) */
.support-hero .w5bh-hero-kicker {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.support-hero .w5bh-hero-title {
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 18px rgba(15,23,42,0.45);
}
.support-hero .w5bh-hero-lead {
  margin: 0 0 22px;
  color: rgba(255,255,255,0.94);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.55;
  max-width: 640px;
  text-shadow: 0 1px 12px rgba(15,23,42,0.4);
}
.support-hero .w5bh-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.support-hero .w5bh-hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: rgba(255,255,255,0.92);
  color: #0f172a;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.support-hero .w5bh-hero-chip:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* Service grid */
.w5bh-service-section .section-head-left {
  text-align: left;
  margin: 0 0 28px;
}
.w5bh-service-section .section-head-left .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(37,99,235,0.08);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.w5bh-service-section .section-head-left h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  margin: 0 0 8px;
  letter-spacing: -.015em;
  color: #0f172a;
}
.w5bh-service-section .section-head-left p {
  margin: 0;
  color: #475569;
  font-size: 15px;
  max-width: 720px;
}

.w5bh-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
@media (max-width: 980px) { .w5bh-service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .w5bh-service-grid { grid-template-columns: 1fr; } }

.w5bh-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 4px 14px -8px rgba(15,23,42,0.08);
}
.w5bh-service-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 32px -16px rgba(15,23,42,0.18);
}
.w5bh-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,#2563eb,#06b6d4);
}
.w5bh-service-card.svc-blue::before   { background: linear-gradient(90deg,#2563eb,#06b6d4); }
.w5bh-service-card.svc-green::before  { background: linear-gradient(90deg,#10b981,#047857); }
.w5bh-service-card.svc-violet::before { background: linear-gradient(90deg,#7c3aed,#4338ca); }
.w5bh-service-card.svc-amber::before  { background: linear-gradient(90deg,#f59e0b,#d97706); }
.w5bh-service-card.svc-teal::before   { background: linear-gradient(90deg,#06b6d4,#0891b2); }
.w5bh-service-card.svc-indigo::before { background: linear-gradient(90deg,#6366f1,#4338ca); }
.w5bh-service-card.svc-red::before    { background: linear-gradient(90deg,#ef4444,#b91c1c); }
.w5bh-service-card.svc-slate::before  { background: linear-gradient(90deg,#475569,#1e293b); }

.w5bh-svc-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(180deg,#eff6ff,#dbeafe);
  border-radius: 12px;
  margin-bottom: 4px;
}
.w5bh-service-card.svc-green  .w5bh-svc-icon { background: linear-gradient(180deg,#ecfdf5,#bbf7d0); }
.w5bh-service-card.svc-violet .w5bh-svc-icon { background: linear-gradient(180deg,#f5f3ff,#ddd6fe); }
.w5bh-service-card.svc-amber  .w5bh-svc-icon { background: linear-gradient(180deg,#fffbeb,#fde68a); }
.w5bh-service-card.svc-teal   .w5bh-svc-icon { background: linear-gradient(180deg,#ecfeff,#a5f3fc); }
.w5bh-service-card.svc-indigo .w5bh-svc-icon { background: linear-gradient(180deg,#eef2ff,#c7d2fe); }
.w5bh-service-card.svc-red    .w5bh-svc-icon { background: linear-gradient(180deg,#fef2f2,#fecaca); }
.w5bh-service-card.svc-slate  .w5bh-svc-icon { background: linear-gradient(180deg,#f1f5f9,#cbd5e1); }

.w5bh-service-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  color: #0f172a;
}
.w5bh-service-card p {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}
.w5bh-svc-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1d4ed8;
}
.w5bh-svc-link a { color: #1d4ed8; text-decoration: none; }
.w5bh-svc-link a:hover { text-decoration: underline; }

.w5bh-service-foot {
  margin: 24px 0 0;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}
.w5bh-service-foot a { color: #1d4ed8; text-decoration: none; font-weight: 600; }
.w5bh-service-foot a:hover { text-decoration: underline; }

/* Sub-grid (webmaster, legal docs, account) */
.w5bh-sub-section { padding: 48px 0; }
.w5bh-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .w5bh-sub-grid { grid-template-columns: 1fr; } }
.w5bh-sub-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px 22px;
}
.w5bh-sub-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #0f172a;
}
.w5bh-sub-card p {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}
.w5bh-sub-card a { color: #1d4ed8; text-decoration: none; font-weight: 600; }
.w5bh-sub-card a:hover { text-decoration: underline; }

/* =========================================================================
   W5BI — Premium Header-Overlay Text System
   Used inside .w5z-header-banner-content (W5BG canonical hero layer).
   Replaces all per-page hero copy variants with one consistent visual system.
   ========================================================================= */

.w5z-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
  width: 100%;
  color: #fff;
}

.w5z-hero-kicker {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w5z-hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 4.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-shadow: 0 2px 22px rgba(15,23,42,0.4);
}
.w5z-hero-title span {
  background: linear-gradient(90deg, #60a5fa 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.w5z-hero-subtitle {
  margin: 0;
  color: rgba(255,255,255,0.94);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
  max-width: 640px;
  text-shadow: 0 1px 14px rgba(15,23,42,0.35);
}

.w5z-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.w5z-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  min-height: 46px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .005em;
  border-radius: 14px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.w5z-hero-btn:hover { transform: translateY(-1px); }

.w5z-hero-btn-primary {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 10px 24px -10px rgba(37,99,235,0.6);
}
.w5z-hero-btn-primary:hover {
  background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%);
}

.w5z-hero-btn-secondary {
  background: rgba(255,255,255,0.94);
  color: #0f172a;
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 8px 20px -10px rgba(15,23,42,0.35);
}
.w5z-hero-btn-secondary:hover { background: #fff; border-color: #fff; }

.w5z-hero-btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.w5z-hero-btn-ghost:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.6);
}

.w5z-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.w5z-hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  text-decoration: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
a.w5z-hero-chip:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

/* Defensive: kill any old opaque hero card on top of the banner image */
.w5z-header-banner-content .w5ag-hero-overlay,
.w5z-header-banner-content .w5ag-hero-content,
.w5z-header-banner-content .w5aw-banner-grid,
.w5z-header-banner-content .w5aw-banner-copy,
.w5z-header-banner-content .w5aw-banner-card,
.w5z-header-banner-content .w5ae-banner-content,
.w5z-header-banner-content .w5ap-r2-copy,
.w5z-header-banner-content .w5av-shop-content {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  max-width: none !important;
}

@media (max-width: 768px) {
  .w5z-hero-copy { gap: 14px; }
  .w5z-hero-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .w5z-hero-subtitle { font-size: 14px; }
  .w5z-hero-actions { gap: 8px; }
  .w5z-hero-btn { padding: 11px 18px; font-size: 13.5px; min-height: 44px; }
  .w5z-hero-chips { gap: 6px; }
  .w5z-hero-chip { font-size: 11.5px; padding: 6px 11px; }
}
@media (max-width: 480px) {
  /* On very small screens drop the 4th+ chip to avoid overflow */
  .w5z-hero-chips .w5z-hero-chip:nth-child(n+4) { display: none; }
  .w5z-hero-actions .w5z-hero-btn { flex: 1 1 100%; }
}

/* =========================================================================
   W5BJ — Premium Legal Sidebar + Info Cards
   ========================================================================= */

/* Legal sidebar card */
.w5bj-legal-nav-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 6px 20px -10px rgba(15,23,42,0.10);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.w5bj-legal-nav-head { display: flex; flex-direction: column; gap: 6px; padding: 4px 4px 10px; border-bottom: 1px solid #f1f5f9; }
.w5bj-legal-kicker {
  align-self: flex-start;
  display: inline-flex;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
}
.w5bj-legal-nav-head h2 { margin: 0; font-size: 17px; color: #0f172a; line-height: 1.2; letter-spacing: -0.01em; }
.w5bj-legal-nav-head p  { margin: 0; font-size: 12.5px; color: #64748b; line-height: 1.5; }

.w5bj-legal-nav-list { display: flex; flex-direction: column; gap: 4px; }

.w5bj-legal-nav-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #0f172a;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.w5bj-legal-nav-item:hover,
.w5bj-legal-nav-item:focus-visible {
  background: #f1f5f9;
  border-color: #e2e8f0;
  transform: translateX(2px);
  outline: none;
}
.w5bj-legal-nav-item.active {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.w5bj-legal-nav-item.active .w5bj-legal-nav-label { color: #1d4ed8; }
.w5bj-legal-nav-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}
.w5bj-legal-nav-desc {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.35;
}

/* Legal intro paragraph */
.w5bj-legal-intro {
  margin: 14px 0 20px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-left: 3px solid #2563eb;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
}
.w5bj-legal-intro a { color: #1d4ed8; text-decoration: none; font-weight: 600; }
.w5bj-legal-intro a:hover { text-decoration: underline; }

/* Info card grid (inside article on legal pages) */
.w5bj-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 8px;
}
@media (max-width: 900px) { .w5bj-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .w5bj-info-grid { grid-template-columns: 1fr; } }

.w5bj-info-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 14px -10px rgba(15,23,42,0.08);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.w5bj-info-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 28px -16px rgba(37,99,235,0.18);
}
.w5bj-info-card-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.w5bj-info-card-text {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
}
.w5bj-info-card-text a { color: #1d4ed8; text-decoration: none; font-weight: 600; }
.w5bj-info-card-text a:hover { text-decoration: underline; }

/* Outer wrapper used on support / kontakt pages */
.w5bj-info-outer { padding: 48px 0; }
.w5bj-info-outer .w5bj-info-grid { margin: 0; }

@media (max-width: 600px) {
  .w5bj-legal-nav-card { padding: 16px 14px; }
  .w5bj-legal-nav-head h2 { font-size: 15px; }
  .w5bj-legal-nav-label { font-size: 13.5px; }
}

/* =========================================================================
   W5BK — Xiaomi 12T (≈393px) Mobile Safety + Backend Banner consolidation
   ========================================================================= */

/* Global defensive: no horizontal overflow */
html, body { max-width: 100%; overflow-x: clip; }
*, *::before, *::after { box-sizing: border-box; }

/* Defensive: any img/picture inside a banner stays contained */
.w5z-header-banner picture,
.w5z-header-banner img { max-width: 100%; }

/* Tablet / small */
@media (max-width: 640px) {
  .container { padding-left: 18px !important; padding-right: 18px !important; }
  .w5z-header-banner { min-height: clamp(320px, 70vw, 460px); padding: 72px 0 32px; }
  .w5z-hero-copy { gap: 12px; }
  .w5z-hero-title { font-size: clamp(1.7rem, 7.4vw, 2.4rem); line-height: 1.1; word-wrap: break-word; }
  .w5z-hero-subtitle { font-size: 14px; line-height: 1.5; }
  .w5z-hero-actions .w5z-hero-btn { padding: 10px 16px; font-size: 13px; min-height: 42px; }
  .w5z-hero-chips .w5z-hero-chip { font-size: 11.5px; padding: 5px 10px; }
}

/* Xiaomi 12T ≈393, plus 360–430 cluster */
@media (max-width: 430px) {
  .container { padding-left: 16px !important; padding-right: 16px !important; }
  .w5z-header-banner { min-height: clamp(280px, 76vw, 420px); padding: 64px 0 28px; }
  .w5z-hero-title { font-size: clamp(1.55rem, 8vw, 2.05rem); letter-spacing: -0.01em; }
  .w5z-hero-subtitle { font-size: 13.5px; }
  .w5z-hero-actions { flex-direction: column; align-items: stretch; gap: 8px; width: 100%; }
  .w5z-hero-actions .w5z-hero-btn { width: 100%; min-height: 44px; justify-content: center; }
  .w5z-hero-chips { gap: 5px; }
  .w5z-hero-chips .w5z-hero-chip:nth-child(n+4) { display: none; }

  /* Service / info / module grids -> 1 column */
  .w5bh-service-grid,
  .w5bj-info-grid,
  .module-strip,
  .account-kpi-grid,
  .account-pay-grid,
  .account-devices-grid,
  .account-modules-grid,
  .account-help-grid,
  .features-grid,
  .pricing-grid,
  .footer-grid,
  .legal-layout,
  .why-grid { grid-template-columns: 1fr !important; }

  /* Sidebar legal-nav full width, no left offset */
  .w5bj-legal-nav-card { padding: 14px 12px; }
  .w5bj-legal-nav-head h2 { font-size: 15px; }

  /* Nav actions: don't spill */
  .nav-actions { flex-wrap: wrap; gap: 8px; }
  .nav-actions .btn-primary { padding: 8px 12px; font-size: 12.5px; min-height: 38px; }

  /* Forms (account, login, register, checkout) */
  .account-form input,
  .account-form textarea { font-size: 16px; }  /* avoid iOS/Android zoom on focus */

  /* Prevent any wide table/article overflow */
  article, section, main { max-width: 100%; }
  article img, section img, .legal-document img { max-width: 100%; height: auto; }

  /* Footer link cluster compact */
  .footer-bottom-links { gap: 6px 10px; font-size: 12.5px; }
  .footer-bottom-links a { padding: 2px 0; }
}

/* Ultra-narrow Xiaomi/older portrait ≤393 */
@media (max-width: 393px) {
  .container { padding-left: 14px !important; padding-right: 14px !important; }
  .w5z-hero-title { font-size: clamp(1.45rem, 8.4vw, 1.85rem); }
  .w5z-hero-kicker { font-size: 11px; padding: 5px 11px; }
  .nav-actions .btn-primary { display: none; }   /* shop CTA hides at very narrow widths, hamburger remains */
  .topbar .menu-btn { font-size: 22px; }
  .footer-bottom-links { font-size: 11.5px; gap: 4px 8px; }
}

/* Account-page form fields under narrow widths */
@media (max-width: 430px) {
  .account-status-card { padding: 16px 14px; }
  .status-card-actions .btn { flex: 1 1 100%; min-width: 0; }
  .kpi-card { padding: 16px 14px; }
}

/* Defensive: kill any old opaque hero cards if they appear inside w5z-header-banner-content
   (W5BI already covers this — repeated here for any new backend page) */
.w5z-header-banner-content .w5ag-hero-overlay,
.w5z-header-banner-content .w5ag-hero-content,
.w5z-header-banner-content .w5aw-banner-grid,
.w5z-header-banner-content .w5aw-banner-copy,
.w5z-header-banner-content .w5aw-banner-card,
.w5z-header-banner-content .w5ae-banner-content,
.w5z-header-banner-content .w5ap-r2-copy,
.w5z-header-banner-content .w5av-shop-content,
.w5z-header-banner-content .legal-meta-card {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* =========================================================================
   W5BL — Premium polish for w5z-hero-* overlay system
   (refines W5BI defaults; does not replace earlier rules)
   ========================================================================= */

/* Slightly softer overall vertical rhythm */
.w5z-hero-copy { gap: 16px; }

/* Kicker: finer pill with hairline border */
.w5z-hero-kicker {
  padding: 5px 13px;
  font-size: 11.5px;
  letter-spacing: .1em;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Title — slightly tighter, more refined weight */
.w5z-hero-title {
  font-weight: 800;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.w5z-hero-title span {
  background: linear-gradient(95deg, #93c5fd 0%, #7dd3fc 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtitle — soft white at 92% with text-shadow for hero legibility */
.w5z-hero-subtitle {
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 14px rgba(15,23,42,0.36);
  max-width: 640px;
}

/* Action buttons — finer typography + larger touch target */
.w5z-hero-btn {
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .005em;
  border-radius: 12px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.w5z-hero-btn:hover { transform: translateY(-1px); }
.w5z-hero-btn-primary {
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 12px 26px -12px rgba(37,99,235,0.65);
}
.w5z-hero-btn-primary:hover {
  background: linear-gradient(180deg, #1d4ed8, #1e40af);
  box-shadow: 0 16px 32px -14px rgba(37,99,235,0.75);
}
.w5z-hero-btn-secondary {
  background: rgba(255,255,255,0.94);
  color: #0f172a;
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 8px 20px -10px rgba(15,23,42,0.32);
}
.w5z-hero-btn-secondary:hover {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 12px 24px -12px rgba(15,23,42,0.4);
}
.w5z-hero-btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.36);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.w5z-hero-btn-ghost:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.55);
}

/* Chips — refined translucent pill, link chips get subtle hover */
.w5z-hero-chip {
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  letter-spacing: 0;
}
a.w5z-hero-chip:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

/* Xiaomi 12T / very narrow viewports — never overflow, fine typography */
@media (max-width: 430px) {
  .w5z-hero-copy { gap: 12px; }
  .w5z-hero-title { font-size: clamp(1.55rem, 7.8vw, 2.05rem); }
  .w5z-hero-subtitle { font-size: 13.5px; }
  .w5z-hero-actions { gap: 8px; }
  .w5z-hero-btn { padding: 11px 16px; font-size: 13px; min-height: 44px; }
  .w5z-hero-chips { gap: 6px; }
  .w5z-hero-chip { font-size: 11.5px; padding: 5px 10px; }
}
@media (max-width: 393px) {
  .w5z-hero-copy { gap: 10px; }
  .w5z-hero-kicker { font-size: 10.5px; padding: 4px 10px; }
  .w5z-hero-title { font-size: clamp(1.45rem, 8.4vw, 1.85rem); }
  .w5z-hero-subtitle { font-size: 13px; }
  .w5z-hero-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .w5z-hero-actions .w5z-hero-btn { width: 100%; justify-content: center; }
  .w5z-hero-chips .w5z-hero-chip:nth-child(n+4) { display: none; }
}

/* =========================================================================
   W5BM — Hero Overlay Size + Finesse FINAL Override
   This block MUST stay last in the file. It deliberately reduces the
   visual weight of every w5z-hero-* token introduced by W5BG/W5BI/W5BL.
   ========================================================================= */

/* Container / spacing */
.w5z-hero-copy {
  max-width: 640px;
  gap: 13px;
}
.w5z-header-banner-content {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Kicker — small, fine, hairline */
.w5z-hero-kicker {
  font-size: 10.8px !important;
  letter-spacing: .1em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.30);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Title — significantly reduced max clamp (was up to 4.9rem) */
.w5z-hero-title {
  font-size: clamp(2.05rem, 3.2vw, 3.65rem) !important;
  line-height: 1.06 !important;
  font-weight: 800;
  letter-spacing: -0.024em;
  text-wrap: balance;
  margin: 0;
}

/* Subtitle — finer, lower max */
.w5z-hero-subtitle {
  font-size: clamp(0.96rem, 1.05vw, 1.08rem) !important;
  line-height: 1.6 !important;
  max-width: 580px;
  color: rgba(255,255,255,0.92);
  margin: 0;
}

/* Action group */
.w5z-hero-actions {
  gap: 10px;
  margin-top: 10px;
}

/* Buttons — smaller, calmer */
.w5z-hero-btn {
  padding: 11px 16px !important;
  font-size: 14px !important;
  border-radius: 14px !important;
  min-height: 42px !important;
  font-weight: 700;
}

/* Chips — more refined */
.w5z-hero-chips { gap: 8px; margin-top: 8px; }
.w5z-hero-chip {
  font-size: 12px !important;
  padding: 7px 10px !important;
  border-radius: 999px !important;
  font-weight: 600;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.26);
  color: #fff;
}

/* Tablet */
@media (max-width: 768px) {
  .w5z-hero-copy { max-width: 100%; gap: 11px; }
  .w5z-hero-title { font-size: clamp(1.65rem, 5.6vw, 2.3rem) !important; line-height: 1.1 !important; }
  .w5z-hero-subtitle { font-size: clamp(0.92rem, 2.2vw, 1rem) !important; line-height: 1.55 !important; max-width: 100%; }
  .w5z-hero-btn { padding: 10px 14px !important; font-size: 13.5px !important; min-height: 40px !important; }
  .w5z-hero-chip { font-size: 11.5px !important; padding: 6px 9px !important; }
}

/* Mobile cluster (Xiaomi 12T ≈ 393, plus 360-430 portrait) */
@media (max-width: 430px) {
  .w5z-hero-copy { gap: 10px; }
  .w5z-hero-kicker { font-size: 10.5px !important; padding: 5px 9px; }
  .w5z-hero-title { font-size: clamp(1.4rem, 6.6vw, 1.85rem) !important; line-height: 1.12 !important; letter-spacing: -0.018em; }
  .w5z-hero-subtitle { font-size: 13.5px !important; max-width: 100%; }
  .w5z-hero-actions { gap: 8px; flex-wrap: wrap; }
  .w5z-hero-btn { padding: 10px 14px !important; font-size: 13px !important; min-height: 42px !important; flex: 1 1 100%; justify-content: center; }
  .w5z-hero-chip { font-size: 11px !important; padding: 5px 9px !important; }
  .w5z-hero-chips .w5z-hero-chip:nth-child(n+4) { display: none; }
}

/* Xiaomi 12T ≤393 — tightest premium */
@media (max-width: 393px) {
  .w5z-hero-copy { gap: 9px; }
  .w5z-hero-kicker { font-size: 10px !important; padding: 4px 9px; letter-spacing: .08em; }
  .w5z-hero-title { font-size: clamp(1.35rem, 7vw, 1.75rem) !important; line-height: 1.1 !important; }
  .w5z-hero-subtitle { font-size: 12.8px !important; line-height: 1.55 !important; }
  .w5z-hero-actions .w5z-hero-btn { width: 100%; min-height: 44px !important; padding: 10px 12px !important; font-size: 12.8px !important; }
}

/* Defensive: any old opaque hero card sneaking in becomes transparent */
.w5z-header-banner-content .w5ag-hero-overlay,
.w5z-header-banner-content .w5ag-hero-content,
.w5z-header-banner-content .w5aw-banner-grid,
.w5z-header-banner-content .w5aw-banner-copy,
.w5z-header-banner-content .w5aw-banner-card,
.w5z-header-banner-content .w5ae-banner-content,
.w5z-header-banner-content .w5ap-r2-copy,
.w5z-header-banner-content .w5av-shop-content,
.w5z-header-banner-content .legal-meta-card {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* W5BM END */

/* =========================================================================
   W5BM-R - Pixel 7a Device Card + Pairing Code
   ========================================================================= */
.w5bm-section .account-section-head { margin-bottom: 14px; }
.w5bm-section .account-section-head p { max-width: 760px; }

.w5bm-device-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe5f0;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 42px -28px rgba(15, 23, 42, 0.28);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.w5bm-device-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.w5bm-device-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eff6ff, #dff7ef);
  border: 1px solid #c7dff4;
  border-radius: 14px;
  color: #1d4ed8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.w5bm-device-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.w5bm-device-title strong { font-size: 15.5px; color: #0f172a; line-height: 1.2; }
.w5bm-device-title small { font-size: 12.5px; color: #64748b; }

.w5bm-device-defs {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.w5bm-device-defs > div {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #e5edf6;
  border-radius: 14px;
  padding: 11px 12px;
  box-shadow: 0 8px 20px -18px rgba(15, 23, 42, 0.24);
}
.w5bm-device-defs dt {
  color: #64748b;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.w5bm-device-defs dd {
  margin: 0;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.w5bm-pairing-block {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 2px;
}
.w5bm-pairing-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.w5bm-pairing-row .btn {
  min-height: 40px;
  font-size: 13.5px;
  padding: 10px 16px;
}
.w5bm-pairing-row [hidden],
.w5bm-pairing-display[hidden] {
  display: none !important;
}

.w5bm-pairing-display {
  background: linear-gradient(180deg, #eff6ff, #f0fdf4);
  border: 1px solid #b9d8f5;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.w5bm-pairing-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1d4ed8;
}
.w5bm-pairing-code {
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: clamp(20px, 4vw, 27px);
  font-weight: 850;
  letter-spacing: .12em;
  color: #0f172a;
  user-select: all;
  overflow-wrap: anywhere;
}
.w5bm-pairing-meta { font-size: 12px; color: #475569; }

.w5bm-pairing-hint {
  margin: 0;
  padding: 11px 13px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 13px;
  font-size: 12.5px;
  color: #92400e;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .w5bm-device-card { padding: 16px; border-radius: 18px; }
  .w5bm-device-head { grid-template-columns: 40px minmax(0, 1fr); align-items: start; }
  .w5bm-device-avatar { width: 40px; height: 40px; border-radius: 12px; }
  .w5bm-device-head .status-pill { grid-column: 1 / -1; justify-self: start; }
  .w5bm-device-defs { grid-template-columns: 1fr; gap: 8px; }
  .w5bm-pairing-row .btn { flex: 1 1 100%; justify-content: center; width: 100%; }
  .w5bm-pairing-display { padding: 13px 14px; }
  .w5bm-pairing-code { letter-spacing: .08em; }
}
/* =========================================================================
   W5BO - Shop Conditions + Legal Trust Premium Section
   ========================================================================= */
.w5bo-shop-trust-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(37, 99, 235, 0.08), transparent 30%),
    radial-gradient(circle at 88% 24%, rgba(16, 185, 129, 0.10), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
}

.w5bo-shop-trust-header {
  max-width: 880px;
  margin: 0 auto 26px;
  text-align: center;
}
.w5bo-shop-trust-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf3ff;
  border: 1px solid #cfe2ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.w5bo-shop-trust-header h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.w5bo-shop-trust-header p {
  max-width: 760px;
  margin: 14px auto 0;
  color: #526173;
  font-size: 1rem;
  line-height: 1.7;
}

.w5bo-shop-trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 22px;
  align-items: stretch;
}
.w5bo-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.w5bo-trust-card,
.w5bo-legal-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dce8f2;
  box-shadow: 0 18px 46px -34px rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.w5bo-trust-card {
  border-radius: 22px;
  padding: 20px;
  min-height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.w5bo-trust-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.08rem;
  line-height: 1.2;
}
.w5bo-trust-card p {
  margin: 0;
  color: #526173;
  line-height: 1.62;
  font-size: 0.94rem;
}
.w5bo-trust-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #047857;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.w5bo-legal-panel {
  border-radius: 26px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.w5bo-legal-panel-head h3 {
  margin: 10px 0 8px;
  color: #0f172a;
  font-size: 1.45rem;
  line-height: 1.15;
}
.w5bo-legal-panel-head p,
.w5bo-payment-note {
  margin: 0;
  color: #526173;
  font-size: 0.94rem;
  line-height: 1.6;
}
.w5bo-legal-actions {
  display: grid;
  gap: 10px;
}
.w5bo-legal-action {
  display: grid;
  gap: 3px;
  padding: 13px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e3edf6;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.w5bo-legal-action:hover {
  transform: translateY(-1px);
  border-color: #b8d4f0;
  box-shadow: 0 14px 28px -24px rgba(15, 23, 42, 0.42);
}
.w5bo-legal-action strong {
  color: #0f172a;
  font-size: 0.96rem;
}
.w5bo-legal-action span {
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.45;
}
.w5bo-payment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}
.w5bo-payment-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid #cfe2ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .w5bo-shop-trust-layout { grid-template-columns: 1fr; }
  .w5bo-legal-panel { padding: 20px; }
}
@media (max-width: 640px) {
  .w5bo-shop-trust-section { padding-top: 44px; padding-bottom: 44px; }
  .w5bo-shop-trust-header { text-align: left; margin-bottom: 20px; }
  .w5bo-shop-trust-header h2 { font-size: clamp(1.75rem, 8vw, 2.35rem); }
  .w5bo-trust-grid { grid-template-columns: 1fr; gap: 12px; }
  .w5bo-trust-card { min-height: auto; padding: 17px; border-radius: 18px; }
  .w5bo-legal-panel { border-radius: 20px; padding: 17px; }
  .w5bo-legal-action { width: 100%; }
  .w5bo-payment-pill { flex: 1 1 calc(50% - 8px); justify-content: center; }
}
/* W5BR account portal inline notice */
.w5br-account-notice {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #dbeafe;
  background: linear-gradient(135deg, #f8fbff 0%, #eef7ff 100%);
  color: #24415f;
  box-shadow: 0 18px 44px -34px rgba(15, 23, 42, 0.38);
}
.w5br-account-notice-info {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 48%, #f6fffb 100%);
}
.w5br-account-notice-success {
  border-color: #bbf7d0;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 48%, #f8fbff 100%);
  color: #14532d;
}
.w5br-account-notice-title {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.w5br-account-notice-text {
  margin: 0 0 6px;
  color: #526173;
  font-size: 13px;
  line-height: 1.55;
}
.w5br-account-notice-success .w5br-account-notice-text {
  color: #166534;
}
.w5br-account-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.w5br-account-notice-actions a,
.w5br-account-notice-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #cfe2ff;
  background: #ffffff;
  color: #1d4ed8;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.w5br-account-notice-actions a:hover,
.w5br-account-notice-actions button:hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 28px -24px rgba(37, 99, 235, 0.5);
}
@media (max-width: 480px) {
  .w5br-account-notice { padding: 14px; border-radius: 16px; }
  .w5br-account-notice-actions { flex-direction: column; }
  .w5br-account-notice-actions a,
  .w5br-account-notice-actions button { width: 100%; }
}

/* =========================================================================
   W5BS — Premium Legal Content System
   Used inside <article class="legal-document"> to give cookie / nutzung /
   lizenz / ki-agb (and any future legal page) more density without
   touching the existing W5BJ sidebar or info-grid.
   ========================================================================= */

.w5bs-legal-content {
  margin: 28px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.w5bs-legal-intro {
  margin: 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  border-left: 4px solid #2563eb;
  border-radius: 12px;
  color: #0f172a;
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 500;
}
.w5bs-legal-intro a { color: #1d4ed8; text-decoration: none; font-weight: 700; }
.w5bs-legal-intro a:hover { text-decoration: underline; }

.w5bs-legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .w5bs-legal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .w5bs-legal-grid { grid-template-columns: 1fr; } }

.w5bs-legal-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 6px 16px -10px rgba(15, 23, 42, 0.10);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.w5bs-legal-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #2563eb, #06b6d4);
}
.w5bs-legal-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 14px 28px -14px rgba(37, 99, 235, 0.20);
}

.w5bs-legal-card-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.w5bs-legal-card-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.w5bs-legal-card-text {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
}
.w5bs-legal-card-text a { color: #1d4ed8; text-decoration: none; font-weight: 600; }
.w5bs-legal-card-text a:hover { text-decoration: underline; }

.w5bs-legal-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Premium polish for the existing W5BJ Legal Navigator (sidebar) */
.w5bj-legal-nav-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 24px -14px rgba(15, 23, 42, 0.12);
}
.w5bj-legal-nav-head h2 { letter-spacing: -0.012em; }
.w5bj-legal-nav-item { gap: 3px; }
.w5bj-legal-nav-item.active::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: #2563eb;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: -3px;
}
.w5bj-legal-nav-item.active .w5bj-legal-nav-label { color: #1d4ed8; font-weight: 800; }

/* Mobile / Xiaomi 12T 393 */
@media (max-width: 430px) {
  .w5bs-legal-content { margin: 22px 0 14px; gap: 12px; }
  .w5bs-legal-intro { padding: 14px 14px; font-size: 14px; }
  .w5bs-legal-card { padding: 16px 16px; }
  .w5bs-legal-card-title { font-size: 14.5px; }
  .w5bs-legal-card-text { font-size: 13px; }
}
@media (max-width: 393px) {
  .w5bs-legal-intro { font-size: 13.5px; line-height: 1.55; }
}

/* =========================================================================
   W5BT — Global Premium Icon + Card System
   ========================================================================= */

/* Icon tiles */
.w5bt-icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  color: #1e293b;
  flex: 0 0 48px;
  box-shadow: 0 4px 10px -6px rgba(15,23,42,0.10), inset 0 1px 0 rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.w5bt-icon svg { width: 22px; height: 22px; }
.w5bt-icon-blue   { background: linear-gradient(180deg,#eff6ff,#dbeafe); border-color:#bfdbfe; color:#1d4ed8; }
.w5bt-icon-green  { background: linear-gradient(180deg,#ecfdf5,#bbf7d0); border-color:#a7f3d0; color:#047857; }
.w5bt-icon-cyan   { background: linear-gradient(180deg,#ecfeff,#a5f3fc); border-color:#67e8f9; color:#0e7490; }
.w5bt-icon-violet { background: linear-gradient(180deg,#f5f3ff,#ddd6fe); border-color:#c4b5fd; color:#6d28d9; }
.w5bt-icon-amber  { background: linear-gradient(180deg,#fffbeb,#fde68a); border-color:#fcd34d; color:#b45309; }
.w5bt-icon-red    { background: linear-gradient(180deg,#fef2f2,#fecaca); border-color:#fca5a5; color:#b91c1c; }
.w5bt-icon-slate  { background: linear-gradient(180deg,#f1f5f9,#cbd5e1); border-color:#cbd5e1; color:#334155; }

/* When an existing host (trust-icon / feature-illustration) carries the
   w5bt-icon-host class on index.html, swap to the same tile look. */
.w5bt-icon-host { box-sizing: border-box; }

/* Card grid */
.w5bt-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .w5bt-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .w5bt-card-grid { grid-template-columns: 1fr; } }

.w5bt-card {
  background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 6px 18px -10px rgba(15,23,42,0.10);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.w5bt-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 32px -16px rgba(15,23,42,0.18);
}
.w5bt-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,#2563eb,#06b6d4);
}
.w5bt-card-blue::before   { background: linear-gradient(90deg,#2563eb,#06b6d4); }
.w5bt-card-green::before  { background: linear-gradient(90deg,#10b981,#047857); }
.w5bt-card-cyan::before   { background: linear-gradient(90deg,#06b6d4,#0891b2); }
.w5bt-card-violet::before { background: linear-gradient(90deg,#7c3aed,#4338ca); }
.w5bt-card-amber::before  { background: linear-gradient(90deg,#f59e0b,#d97706); }
.w5bt-card-red::before    { background: linear-gradient(90deg,#ef4444,#b91c1c); }
.w5bt-card-slate::before  { background: linear-gradient(90deg,#475569,#1e293b); }

.w5bt-card-title { margin: 4px 0 2px; font-size: 15.5px; font-weight: 700; color: #0f172a; line-height: 1.25; }
.w5bt-card-text  { margin: 0 0 6px; font-size: 13.5px; color: #475569; line-height: 1.55; flex: 1; }
.w5bt-card-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.w5bt-card-action:hover {
  background: #dbeafe; border-color: #93c5fd; transform: translateY(-1px);
}
.w5bt-card-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
}
.w5bt-card-link:hover { color: #1d4ed8; text-decoration: underline; }

/* Per-color action tinting */
.w5bt-card-green .w5bt-card-action  { background:#ecfdf5; border-color:#a7f3d0; color:#047857; }
.w5bt-card-green .w5bt-card-action:hover { background:#bbf7d0; }
.w5bt-card-cyan  .w5bt-card-action  { background:#ecfeff; border-color:#67e8f9; color:#0e7490; }
.w5bt-card-violet .w5bt-card-action { background:#f5f3ff; border-color:#c4b5fd; color:#6d28d9; }
.w5bt-card-amber .w5bt-card-action  { background:#fffbeb; border-color:#fcd34d; color:#b45309; }
.w5bt-card-red   .w5bt-card-action  { background:#fef2f2; border-color:#fca5a5; color:#b91c1c; }
.w5bt-card-slate .w5bt-card-action  { background:#f1f5f9; border-color:#cbd5e1; color:#334155; }

/* Help strip (kontakt.html) */
.w5bt-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 760px) { .w5bt-help-grid { grid-template-columns: 1fr; } }
.w5bt-help-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 18px;
}
.w5bt-help-title { margin: 6px 0 4px; font-size: 14px; font-weight: 700; color: #0f172a; }
.w5bt-help-text  { margin: 0; font-size: 13px; color: #475569; line-height: 1.55; }

/* FAQ */
.w5bt-faq-list { display: flex; flex-direction: column; gap: 8px; }
.w5bt-faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 4px 14px;
  transition: border-color .15s ease;
}
.w5bt-faq-item[open] { border-color: #bfdbfe; }
.w5bt-faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  position: relative;
  padding-right: 28px;
}
.w5bt-faq-item > summary::-webkit-details-marker { display: none; }
.w5bt-faq-item > summary::after {
  content: '+';
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #64748b;
  font-weight: 600;
}
.w5bt-faq-item[open] > summary::after { content: '–'; color: #1d4ed8; }
.w5bt-faq-item > p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
}
.w5bt-faq-item > p a { color: #1d4ed8; text-decoration: none; font-weight: 600; }
.w5bt-faq-item > p a:hover { text-decoration: underline; }

/* Final CTA (kontakt.html) */
.w5bt-final-cta {
  background: linear-gradient(180deg,#ffffff,#f1f5f9);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 8px 24px -14px rgba(15,23,42,0.12);
}
.w5bt-final-cta h2 { margin: 0 0 8px; font-size: clamp(20px,2.4vw,26px); color: #0f172a; }
.w5bt-final-cta p  { margin: 0 0 20px; color: #475569; font-size: 14.5px; }
.w5bt-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Account struct section */
.w5bt-struct-section { margin-top: 32px; }
.w5bt-struct-section .account-section-head { margin-bottom: 16px; }
.w5bt-struct-section .account-section-head h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 6px; color: #0f172a; }
.w5bt-struct-section .account-section-head p  { margin: 0; color: #475569; font-size: 14px; }

/* Section-head fallback if not present elsewhere */
.section-head-left { text-align: left; margin: 0 0 20px; }
.section-head-left .eyebrow {
  display: inline-block; margin-bottom: 8px;
  padding: 4px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #1d4ed8; background: #eff6ff; border: 1px solid #bfdbfe;
}
.section-head-left h2 { margin: 0 0 6px; font-size: clamp(22px,2.6vw,30px); color: #0f172a; }
.section-head-left p  { margin: 0; color: #475569; font-size: 14.5px; max-width: 720px; }

/* =========================================================================
   W_SITE_2560_1440_DESKTOP_OPTIMIZE — Large viewport optimization
   Improves visual quality on 1920×1080, 2560×1440, and beyond.
   ========================================================================= */

@media (min-width: 1800px) {
  .container {
    width: min(1480px, calc(100% - 48px));
  }
  .w5z-header-banner-content,
  .w5z-hero-copy {
    max-width: 880px;
  }
  .w5z-hero-title {
    font-size: clamp(2.8rem, 4vw, 5.5rem);
  }
  .w5z-hero-subtitle {
    font-size: clamp(1.1rem, 1.2vw, 1.3rem);
    max-width: 740px;
  }
  .hero h1 {
    font-size: clamp(48px, 4.4vw, 72px);
  }
  .hero-content {
    max-width: 720px;
  }
  .hero-lead {
    max-width: 600px;
  }
  .section {
    padding: 100px 0;
  }
  .section-head {
    max-width: 860px;
    margin-bottom: 64px;
  }
  .section-head h2 {
    font-size: clamp(34px, 3.2vw, 48px);
  }
  .features-grid {
    gap: 24px;
  }
  .pricing-grid {
    gap: 20px;
  }
  .trust-grid {
    gap: 28px;
  }
  .why-grid {
    gap: 24px;
  }
  .w5bt-card-grid {
    gap: 20px;
  }
  .w5bt-card {
    padding: 24px 26px;
  }
  .w5bt-card-title {
    font-size: 16px;
  }
  .w5bt-help-grid {
    gap: 18px;
  }
  .feature-card {
    padding: 32px;
  }
  .why-card {
    padding: 36px;
  }
  .pricing-card {
    padding: 32px 28px;
  }
  .pricing-card h3 {
    font-size: 24px;
  }
  .pricing-card .price {
    font-size: 36px;
  }
  .legal-panel {
    padding: 36px;
  }
  .legal-document {
    max-width: 1060px;
    padding: 42px 44px;
  }
  .legal-layout {
    gap: 36px;
  }
  .legal-shell {
    padding: 44px 0 80px;
  }
  .page-hero {
    padding: 96px 0 64px;
  }
  .page-hero-grid {
    gap: 64px;
  }
  .page-hero .hero-content {
    max-width: 760px;
  }
  .hero {
    padding: 100px 0 80px;
  }
  .hero-grid {
    gap: 72px;
  }
  footer {
    padding: 72px 0 40px;
  }
  .footer-grid {
    gap: 52px;
  }
  footer h4 {
    font-size: 15px;
  }
  .btn {
    padding: 13px 26px;
    font-size: 15px;
  }
  .w5z-hero-btn {
    padding: 14px 26px;
    font-size: 14px;
    min-height: 50px;
    border-radius: 14px;
  }
  .w5z-hero-chip {
    font-size: 13px;
    padding: 7px 14px;
  }
  .navlinks {
    gap: 32px;
    font-size: 15.5px;
  }
  .trust-strip {
    padding: 48px 0;
  }
  .section-alt {
    padding: 100px 0;
  }
  .pricing-grid-page .pricing-card {
    min-height: 560px;
  }
  .hs-faq-section {
    padding: 110px 20px;
  }
  .hs-faq-wrap {
    width: min(1280px, 100%);
  }
  .hs-faq-title {
    font-size: clamp(2.8rem, 4.5vw, 5.5rem);
  }
  .hs-faq-meta,
  .hs-faq-intro {
    max-width: 920px;
  }
  .hs-faq-precontent {
    max-width: 1060px;
  }
  .hs-accordion-panel {
    max-width: 1000px;
    font-size: 1.05rem;
  }
  .hs-accordion-trigger span:first-child {
    font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  }
  .support-hero .w5bh-hero-title {
    font-size: clamp(34px, 4.2vw, 56px);
  }
  .support-hero .w5bh-hero-lead {
    max-width: 720px;
    font-size: clamp(16px, 1.4vw, 19px);
  }
  .w5bh-service-grid {
    gap: 20px;
  }
  .insight-panel {
    padding: 32px;
  }
  .check-card {
    padding: 20px;
  }
  .split-layout {
    gap: 40px;
  }
}

@media (min-width: 2200px) {
  .container {
    width: min(1600px, calc(100% - 64px));
  }
  .w5z-header-banner {
    min-height: clamp(520px, 36vw, 820px);
    padding: 110px 0 80px;
  }
  .w5z-header-banner-content,
  .w5z-hero-copy {
    max-width: 960px;
  }
  .w5z-hero-title {
    font-size: clamp(3.2rem, 3.6vw, 6.2rem);
  }
  .w5z-hero-subtitle {
    font-size: clamp(1.2rem, 1.1vw, 1.4rem);
    max-width: 800px;
  }
  .hero h1 {
    font-size: clamp(52px, 3.8vw, 82px);
  }
  .hero-content {
    max-width: 800px;
  }
  .hero-lead {
    max-width: 660px;
  }
  .section {
    padding: 120px 0;
  }
  .section-head {
    max-width: 920px;
    margin-bottom: 72px;
  }
  .section-head h2 {
    font-size: clamp(36px, 2.8vw, 52px);
  }
  .features-grid {
    gap: 28px;
  }
  .pricing-grid {
    gap: 24px;
  }
  .trust-grid {
    gap: 32px;
  }
  .why-grid {
    gap: 28px;
  }
  .w5bt-card-grid {
    gap: 24px;
  }
  .w5bt-help-grid {
    gap: 20px;
  }
  footer {
    padding: 88px 0 48px;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 60px;
  }
  .hero {
    padding: 120px 0 100px;
  }
  .hero-grid {
    gap: 84px;
  }
  .page-hero {
    padding: 110px 0 80px;
  }
  .page-hero-grid {
    gap: 72px;
  }
  .page-hero .hero-content {
    max-width: 820px;
  }
  .btn {
    padding: 14px 28px;
    font-size: 15.5px;
  }
  .navlinks {
    gap: 36px;
    font-size: 16px;
  }
  .trust-strip {
    padding: 56px 0;
  }
  .section-alt {
    padding: 120px 0;
  }
  .legal-shell {
    padding: 52px 0 96px;
  }
  .legal-document {
    max-width: 1120px;
    padding: 48px 52px;
  }
  .legal-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }
  .legal-panel {
    padding: 40px;
  }
  .hs-faq-section {
    padding: 130px 20px;
  }
  .hs-faq-wrap {
    width: min(1360px, 100%);
  }
  .hs-faq-title {
    font-size: clamp(3rem, 4vw, 6rem);
  }
  .hs-accordion-panel {
    max-width: 1080px;
    padding: 0 100px 36px 0;
  }
  .hs-accordion-trigger {
    padding: 34px 0;
  }
  .hs-accordion-trigger span:first-child {
    font-size: clamp(1.2rem, 1.3vw, 1.5rem);
  }
  .hs-faq-meta,
  .hs-faq-intro {
    max-width: 980px;
  }
  .pricing-card {
    padding: 36px 32px;
  }
  .pricing-card h3 {
    font-size: 26px;
  }
  .pricing-card .price {
    font-size: 38px;
  }
  .feature-card {
    padding: 36px;
  }
  .why-card {
    padding: 40px;
  }
  .w5bt-card {
    padding: 26px 28px;
  }
}

/* W_SITE_2560_1440_DESKTOP_OPTIMIZE_R2 - responsive wide-screen refinements */
@media (min-width: 1800px) {
  .container,
  .legal-layout,
  .w5z-header-banner-content.container {
    width: min(1520px, calc(100% - 72px));
  }

  .w5z-header-banner {
    max-width: 1760px;
    margin-left: auto;
    margin-right: auto;
    min-height: clamp(540px, 34vw, 760px);
    border-radius: 0 0 36px 36px;
    overflow: hidden;
  }

  .w5z-header-banner-media,
  .w5z-header-banner-media img {
    width: 100%;
    height: 100%;
  }

  .w5z-header-banner-media img {
    object-fit: cover;
    object-position: center;
  }

  .w5z-header-banner-content {
    min-height: clamp(520px, 32vw, 720px);
    display: flex;
    align-items: center;
  }

  .w5z-hero-copy {
    max-width: 900px;
  }

  .w5z-hero-title {
    max-width: 980px;
    font-size: clamp(3.35rem, 3.2vw, 5.4rem);
    line-height: 1.02;
  }

  .w5z-hero-subtitle {
    max-width: 780px;
    font-size: clamp(1.12rem, 0.95vw, 1.34rem);
    line-height: 1.68;
  }

  .nav {
    min-height: 80px;
  }

  .navlinks {
    gap: clamp(28px, 1.8vw, 42px);
  }

  .nav-actions .btn,
  .nav-actions .btn-primary,
  .btn,
  .w5z-hero-btn {
    min-height: 48px;
  }

  .section,
  .section-alt,
  .legal-shell,
  .w5bo-shop-trust-section {
    padding-top: clamp(92px, 5.2vw, 124px);
    padding-bottom: clamp(92px, 5.2vw, 124px);
  }

  .section-head,
  .section-head-left,
  .account-section-head {
    max-width: 980px;
  }

  .section-head p,
  .section-head-left p,
  .account-section-head p,
  .lead,
  .hero-lead {
    font-size: clamp(1.04rem, 0.82vw, 1.22rem);
    line-height: 1.7;
  }

  .features-grid,
  .pricing-grid,
  .pricing-grid-page,
  .why-grid,
  .w5bt-card-grid,
  .w5bt-help-grid,
  .account-kpi-grid,
  .account-modules-grid,
  .account-help-grid,
  .account-pay-grid,
  .account-devices-grid {
    gap: clamp(24px, 1.55vw, 34px);
  }

  .pricing-grid,
  .pricing-grid-page {
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    align-items: stretch;
  }

  .features-grid,
  .why-grid,
  .w5bt-card-grid,
  .w5bt-help-grid,
  .w5bh-service-grid,
  .w5bo-trust-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(4, minmax(240px, 1fr));
  }

  .pricing-card,
  .feature-card,
  .why-card,
  .w5bt-card,
  .w5bt-help-card,
  .w5bh-service-card,
  .account-card,
  .account-kpi-card,
  .account-module-card,
  .account-help-card,
  .legal-panel {
    padding: clamp(26px, 1.7vw, 38px);
  }

  .pricing-card h3 {
    font-size: clamp(1.45rem, 1.25vw, 1.75rem);
  }

  .pricing-card .price,
  .pricing-price,
  .price {
    font-size: clamp(2.2rem, 1.8vw, 2.7rem);
  }

  .auth-container-single {
    max-width: 760px;
  }

  .legal-document {
    max-width: 1160px;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: clamp(34px, 2.2vw, 54px);
  }

  .hs-faq-section {
    padding-top: clamp(96px, 5vw, 132px);
    padding-bottom: clamp(96px, 5vw, 132px);
  }

  .hs-faq-wrap {
    width: min(1280px, 100%);
  }

  .hs-faq-title {
    font-size: clamp(3.25rem, 3.4vw, 5.6rem);
  }

  .hs-accordion-trigger {
    padding-top: clamp(26px, 1.45vw, 34px);
    padding-bottom: clamp(26px, 1.45vw, 34px);
  }

  .hs-accordion-icon {
    width: 54px;
    height: 54px;
  }

  footer {
    padding-top: clamp(72px, 4.5vw, 104px);
  }

  .footer-grid {
    grid-template-columns: minmax(320px, 1.6fr) repeat(3, minmax(170px, 1fr));
    gap: clamp(42px, 3vw, 72px);
  }
}

@media (min-width: 2200px) {
  .container,
  .legal-layout,
  .w5z-header-banner-content.container {
    width: min(1640px, calc(100% - 96px));
  }

  .w5z-header-banner {
    max-width: 1840px;
    min-height: clamp(620px, 31vw, 820px);
  }

  .w5z-header-banner-content {
    min-height: clamp(600px, 30vw, 800px);
  }

  .w5z-hero-copy {
    max-width: 980px;
  }

  .w5z-hero-title {
    max-width: 1080px;
    font-size: clamp(4rem, 3vw, 6.3rem);
  }

  .w5z-hero-subtitle {
    max-width: 860px;
  }

  .pricing-grid,
  .pricing-grid-page {
    gap: 34px;
  }

  .features-grid,
  .why-grid,
  .w5bt-card-grid,
  .w5bt-help-grid,
  .w5bh-service-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }

  .hs-faq-wrap {
    width: min(1320px, 100%);
  }

  .legal-document {
    max-width: 1220px;
  }
}

/* Mobile / Xiaomi 12T */
@media (max-width: 430px) {
  .w5bt-card { padding: 18px 18px; }
  .w5bt-card-title { font-size: 14.5px; }
  .w5bt-card-text  { font-size: 13px; }
  .w5bt-card-action { width: 100%; justify-content: center; }
  .w5bt-help-card { padding: 14px 14px; }
  .w5bt-final-cta { padding: 24px 18px; }
  .w5bt-cta-actions .btn { flex: 1 1 100%; }
  .w5bt-icon { width: 44px; height: 44px; flex: 0 0 44px; }
}
@media (max-width: 393px) {
  .w5bt-card-grid, .w5bt-help-grid { gap: 12px; }
  .w5bt-icon { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; }
}
