/* ── AEREVVA — Global Styles ── */

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

:root {
  --black:       #0A0A0A;
  --off-white:   #F2F0ED;
  --warm-gray:   #E8E4DE;
  --white:       #FFFFFF;
  --body-text:   #1A1A1A;
  --muted:       #6B6560;
  --rule:        #C8C2BA;

  --amber:       #D97706;
  --amber-bg:    #FEF3C7;
  --green:       #16A34A;
  --green-bg:    #DCFCE7;
  --blue:        #2563EB;
  --blue-bg:     #DBEAFE;
  --purple:      #7C3AED;
  --purple-bg:   #EDE9FE;
  --red:         #B91C1C;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 7rem;

  --radius:    2px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

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

/* ── UTILITY ── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.section-label--light { color: var(--rule); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--black);
  margin-bottom: var(--space-md);
}
.section-title--light { color: var(--white); }

.section-body {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-primary:hover { background: #222; border-color: #222; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-white:hover { background: var(--off-white); }
.btn-large { padding: 1rem 2.5rem; font-size: 0.9rem; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--white) !important;
  color: var(--black) !important;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--off-white) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: var(--space-sm) var(--space-lg) var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.nav-mobile a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-mobile.open { display: flex; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}
.hero-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  position: relative;
  z-index: 2;
}
.hero-stamp {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--rule);
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: var(--space-lg);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: var(--space-md);
  max-width: 800px;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  max-width: 520px;
}
.hero-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}
.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* TICKER */
.hero-ticker {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 0.9rem 0;
  margin-top: auto;
}
.ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ticker-dot { opacity: 0.3; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── PROBLEM ── */
.problem {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: var(--space-xl);
  overflow: hidden;
}
.stat-card {
  background: var(--white);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
}
.stat-card--dark {
  background: var(--black);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 1;
  color: var(--black);
  margin-bottom: var(--space-sm);
}
.stat-card--dark .stat-number { color: var(--white); }
.stat-pct {
  font-size: 0.45em;
  vertical-align: super;
}
.stat-label {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}
.stat-card--dark .stat-label { color: rgba(255,255,255,0.5); }
.stat-rule {
  width: 32px;
  height: 2px;
  background: var(--rule);
  margin-top: var(--space-md);
}
.stat-rule--light { background: rgba(255,255,255,0.15); }

.problem-insight {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  max-width: 680px;
  margin: 0 auto;
}
.insight-bar {
  width: 3px;
  min-height: 60px;
  background: var(--black);
  flex-shrink: 0;
  margin-top: 4px;
}
.problem-insight p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--black);
}

/* ── HOW IT WORKS ── */
.how {
  padding: var(--space-2xl) 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.newspaper-bg {
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(255,255,255,0.02) 28px,
      rgba(255,255,255,0.02) 29px
    );
  pointer-events: none;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-xl);
  overflow: hidden;
}
.step-card {
  background: var(--black);
  padding: var(--space-xl) var(--space-lg);
  transition: background var(--transition);
}
.step-card:hover { background: #111; }
.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(255,255,255,0.08);
  margin-bottom: var(--space-sm);
}
.step-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}
.step-body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
}

.compliance-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-lg);
}
.compliance-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.compliance-icon {
  color: var(--white);
  font-size: 0.9rem;
}

/* ── LEAD QUEUE ── */
.queue-preview {
  padding: var(--space-2xl) 0;
  background: var(--white);
}
.queue-table {
  border: 1px solid var(--rule);
  overflow: hidden;
  margin-bottom: var(--space-md);
}
.queue-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr 1.2fr 1.3fr;
  background: var(--black);
  padding: 0.75rem var(--space-md);
  gap: var(--space-sm);
}
.queue-header span {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.queue-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr 1.2fr 1.3fr;
  padding: 0.9rem var(--space-md);
  gap: var(--space-sm);
  align-items: center;
  border-bottom: 1px solid var(--warm-gray);
  transition: background var(--transition);
  opacity: 0;
  transform: translateY(8px);
}
.queue-row:last-child { border-bottom: none; }
.queue-row:nth-child(odd) { background: var(--off-white); }
.queue-row:hover { background: var(--warm-gray); }
.queue-row.visible { opacity: 1; transform: translateY(0); transition: opacity 0.4s ease, transform 0.4s ease; }

.q-name { font-size: 0.9rem; font-weight: 500; color: var(--black); }
.q-city { font-size: 0.85rem; color: var(--muted); }
.q-proc { font-size: 0.85rem; color: var(--body-text); }
.q-es {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-bg);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  margin-left: 4px;
  vertical-align: middle;
}
.q-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.q-badge--amber  { background: var(--amber-bg);  color: var(--amber); }
.q-badge--green  { background: var(--green-bg);  color: var(--green); }
.q-badge--blue   { background: var(--blue-bg);   color: var(--blue); }
.q-badge--purple { background: var(--purple-bg); color: var(--purple); }

.q-status { font-size: 0.8rem; font-weight: 500; }
.q-status--wait   { color: var(--muted); }
.q-status--booked { color: var(--green); }
.q-status--follow { color: var(--red); }

.queue-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ── PRICING ── */
.pricing {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: var(--space-md);
  overflow: hidden;
}
.pricing-card {
  background: var(--white);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card--featured {
  background: var(--black);
}
.pricing-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
  width: fit-content;
}
.pricing-tier {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-xs);
}
.pricing-card--featured .pricing-tier { color: rgba(255,255,255,0.4); }
.pricing-setup {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.pricing-card--featured .pricing-setup { color: rgba(255,255,255,0.35); }
.pricing-monthly {
  margin-bottom: var(--space-md);
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--black);
  line-height: 1;
}
.pricing-card--featured .pricing-amount { color: var(--white); }
.pricing-per {
  font-size: 0.9rem;
  color: var(--muted);
  margin-left: 2px;
}
.pricing-card--featured .pricing-per { color: rgba(255,255,255,0.35); }
.pricing-rule {
  width: 100%;
  height: 1px;
  background: var(--rule);
  margin-bottom: var(--space-md);
}
.pricing-rule--light { background: rgba(255,255,255,0.1); }
.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: var(--space-lg);
}
.pricing-features li {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--warm-gray);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.pricing-card--featured .pricing-features li {
  color: rgba(255,255,255,0.5);
  border-bottom-color: rgba(255,255,255,0.06);
}
.pricing-features li::before {
  content: '—';
  color: var(--rule);
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 2px;
}
.pricing-card--featured .pricing-features li::before {
  color: rgba(255,255,255,0.2);
}
.pricing-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.03em;
}

/* ── DEMO CTA ── */
.demo-cta {
  padding: var(--space-2xl) 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.demo-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.demo-inner { position: relative; z-index: 2; }
.demo-stamp {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: var(--space-lg);
}
.demo-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}
.demo-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin: 0 auto var(--space-xl);
  line-height: 1.75;
}
.demo-body strong { color: var(--white); font-weight: 600; }
.demo-actions { margin-bottom: var(--space-md); }
.demo-fine {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.03em;
}

/* ── FOOTER ── */
.footer {
  padding: var(--space-xl) 0;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}
.footer-logo { color: var(--white); }
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-sep { color: rgba(255,255,255,0.15); font-size: 0.7rem; }
.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.05em;
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .stat-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .queue-header,
  .queue-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .queue-header span:nth-child(4),
  .queue-header span:nth-child(5),
  .queue-row .q-badge,
  .queue-row .q-status { display: none; }
}

@media (max-width: 600px) {
  :root {
    --space-lg: 1.25rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
  }
  .hero-headline { font-size: clamp(2.8rem, 12vw, 4rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .compliance-bar { gap: var(--space-sm); }
  .queue-header,
  .queue-row {
    grid-template-columns: 1fr 1fr;
  }
  .queue-header span:nth-child(3),
  .queue-row .q-proc { display: none; }
  .problem-insight { flex-direction: column; gap: var(--space-sm); }
  .insight-bar { width: 40px; height: 3px; min-height: unset; }
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.testi-card {
  background: var(--white);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.testi-card--dark {
  background: var(--black);
}
.testi-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--body-text);
  flex: 1;
}
.testi-card--dark .testi-quote {
  color: rgba(255,255,255,0.75);
}
.testi-author {
  border-top: 1px solid var(--warm-gray);
  padding-top: var(--space-sm);
}
.testi-card--dark .testi-author {
  border-top-color: rgba(255,255,255,0.08);
}
.testi-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.03em;
}
.testi-card--dark .testi-name { color: var(--white); }
.testi-role {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}
.testi-card--dark .testi-role { color: rgba(255,255,255,0.3); }

@media (max-width: 700px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ── BACKEND PROCESS ── */
.backend {
  background: var(--black);
  padding: var(--space-2xl) 0;
}
.backend .section-label { color: var(--rule); }
.backend .section-title { color: var(--white); }
.backend .section-body  { color: rgba(255,255,255,0.45); }

.backend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.backend-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: var(--transition);
}
.backend-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}

.backend-service {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.backend-arrow {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.2);
}

.backend-detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.backend-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
  width: fit-content;
}
.backend-tag--amber  { background: var(--amber-bg);  color: var(--amber); }
.backend-tag--green  { background: var(--green-bg);  color: var(--green); }
.backend-tag--blue   { background: var(--blue-bg);   color: var(--blue); }
.backend-tag--purple { background: var(--purple-bg); color: var(--purple); }

.backend-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.backend-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-xl);
}

.backend-footer-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.backend-footer-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  margin-top: 2px;
}

.backend-footer-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.backend-footer-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .backend-grid { grid-template-columns: repeat(2, 1fr); }
  .backend-footer { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .backend-grid { grid-template-columns: 1fr; }
}
