:root {
  --red: #cc0000;
  --red-d: #8b0000;
  --bg: #000000;
  --bg2: #0d0000;
  --bg3: #1a0000;
  --text: #ffffff;
  --t2: rgba(255, 255, 255, 0.78);
  --t3: rgba(255, 255, 255, 0.5);
  --border: rgba(204, 0, 0, 0.22);
  --bh: rgba(204, 0, 0, 0.5);
  --font: 'Inter', sans-serif;
  --fd: 'Rajdhani', sans-serif;
  --green: #00cc66;
  --gold: #ffcc44;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}

html,
body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(204, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(139, 0, 0, 0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-wrap { position: relative; z-index: 1; }

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: 64px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 70, 70, 0.35);
}

.nav-logo .brand-text {
  font-family: var(--fd);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-logo .brand-text span { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--t2);
  font-size: 0.82rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--red);
  color: #fff !important;
  font-weight: 600;
}

.hamburger {
  display: none;
  border: none;
  background: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

section { padding: 92px 5vw; }

.hero {
  min-height: 92vh;
  padding-top: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204, 0, 0, 0.1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.73rem;
  color: var(--t2);
  margin-bottom: 24px;
}

h1 {
  font-family: var(--fd);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

h1 .accent { color: var(--red); display: block; }

.hero-sub {
  color: var(--t2);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.9rem;
  padding: 12px 24px;
  transition: 0.2s;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}

.btn-primary:hover { background: #e60000; }

.btn-outline {
  color: var(--t2);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.is-disabled-link {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.hero-stats {
  margin-top: 50px;
  display: flex;
  gap: 34px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }
.hero-stat-val { font-family: var(--fd); color: var(--red); font-size: 2rem; font-weight: 700; }
.hero-stat-label { font-size: 0.72rem; color: var(--t3); text-transform: uppercase; letter-spacing: 1px; }

.section-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title {
  text-align: center;
  font-family: var(--fd);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--t2);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.quick-grid,
.pricing-grid,
.features-grid {
  display: grid;
  gap: 18px;
  max-width: 1050px;
  margin: 0 auto;
}

.quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pricing-grid,
.features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.quick-card,
.price-card,
.feat-card,
.contact-wrap,
.template-panel {
  background: linear-gradient(145deg, var(--bg3), var(--bg2));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.quick-card h3,
.price-name,
.feat-title {
  font-family: var(--fd);
  margin-bottom: 6px;
}

.quick-card p,
.feat-desc,
.footer-brand p,
.price-period,
.price-features li {
  color: var(--t2);
  line-height: 1.6;
  font-size: 0.84rem;
}

.quick-card a { margin-top: 12px; }

.price-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(204, 0, 0, 0.3);
}

.price-original { color: var(--t3); text-decoration: line-through; font-size: 0.83rem; }
.price-val { display: flex; align-items: flex-start; gap: 4px; font-family: var(--fd); font-size: 2.3rem; margin: 4px 0 6px; }
.price-val .currency { font-size: 1rem; margin-top: 8px; color: var(--t2); }
.price-save { display: inline-block; padding: 2px 8px; border-radius: 4px; background: rgba(0, 204, 102, 0.12); border: 1px solid rgba(0, 204, 102, 0.3); color: var(--green); font-size: 0.68rem; font-weight: 700; }
.price-divider { border: none; border-top: 1px solid var(--border); margin: 14px 0; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.price-features li i { color: var(--green); width: 14px; }
.price-btn {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--red);
  color: var(--red);
  background: transparent;
  padding: 11px;
  font-weight: 600;
  cursor: pointer;
}
.price-btn:hover { background: var(--red); color: #fff; }

.kuet-banner {
  max-width: 900px;
  margin: 20px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 204, 68, 0.28);
  background: linear-gradient(135deg, rgba(255, 204, 68, 0.08), rgba(255, 204, 68, 0.02));
  border-radius: 12px;
  color: var(--t2);
}

body[data-page="pricing"] .price-card {
  position: relative;
  overflow: visible;
}

body[data-page="pricing"] .yearly-best {
  border-color: rgba(255, 208, 72, 0.46);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(255, 208, 72, 0.24) inset;
}

body[data-page="pricing"] .best-offer-seal {
  position: absolute;
  right: -34px;
  top: -20px;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 4;
  display: grid;
  place-items: center;
  animation: bestSealFloat 3.4s ease-in-out infinite;
}

body[data-page="pricing"] .best-offer-seal::before {
  content: "";
  position: absolute;
  inset: 8px;
  clip-path: polygon(50% 0%, 61% 15%, 79% 5%, 83% 24%, 99% 24%, 89% 40%, 100% 52%, 84% 60%, 90% 78%, 72% 78%, 68% 98%, 50% 87%, 32% 98%, 28% 78%, 10% 78%, 16% 60%, 0% 52%, 11% 40%, 1% 24%, 17% 24%, 21% 5%, 39% 15%);
  background: radial-gradient(circle at 30% 30%, #ffe568, #ffb300 62%, #f06d00 100%);
  border: 2px solid rgba(42, 16, 0, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.2), 0 10px 24px rgba(0, 0, 0, 0.42);
}

body[data-page="pricing"] .seal-core {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(35, 80, 255, 0.95), rgba(39, 47, 190, 0.95));
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 2px rgba(8, 15, 66, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-11deg);
}

body[data-page="pricing"] .seal-core span {
  font-family: var(--fd);
  font-size: 1.18rem;
  line-height: 1;
  color: #ffffff;
  letter-spacing: 0.5px;
}

body[data-page="pricing"] .seal-core small {
  margin-top: 1px;
  font-size: 0.49rem;
  font-weight: 700;
  letter-spacing: 0.35px;
  color: #fff6a9;
  text-transform: uppercase;
  line-height: 1.12;
  max-width: 66px;
}

@keyframes bestSealFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-1.5deg); }
}

body[data-page="pricing"] .plan-seals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

body[data-page="pricing"] .yearly-best .plan-seals {
  margin-top: 0;
}

body[data-page="pricing"] .plan-seal {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  min-width: 138px;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  border-radius: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  isolation: isolate;
}

body[data-page="pricing"] .plan-seal::before,
body[data-page="pricing"] .plan-seal::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(8, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 2;
}

body[data-page="pricing"] .plan-seal::before {
  left: -7px;
}

body[data-page="pricing"] .plan-seal::after {
  right: -7px;
}

body[data-page="pricing"] .plan-seal > * {
  position: relative;
  z-index: 1;
}

body[data-page="pricing"] .plan-seal i {
  font-size: 0.72rem;
}

body[data-page="pricing"] .plan-seal::selection {
  background: transparent;
}

body[data-page="pricing"] .seal-kuet {
  background: linear-gradient(145deg, rgba(255, 210, 70, 0.92), rgba(255, 166, 30, 0.9));
  color: #3d1200;
  box-shadow: inset 0 0 0 1px rgba(86, 36, 0, 0.25);
}

body[data-page="pricing"] .seal-coupon {
  background: linear-gradient(145deg, rgba(255, 40, 40, 0.92), rgba(194, 0, 0, 0.92));
  color: #fff4f4;
  box-shadow: inset 0 0 0 1px rgba(255, 180, 180, 0.2);
}

body[data-page="pricing"] .seal-coupon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.38) 48%, transparent 71%);
  transform: translateX(-150%);
  animation: couponShine 3.2s ease-in-out infinite;
  z-index: 0;
}

@keyframes couponShine {
  0%, 62% {
    transform: translateX(-150%);
  }
  100% {
    transform: translateX(150%);
  }
}

body[data-page="pricing"] .plan-flow {
  position: relative;
  margin-top: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(150deg, rgba(18, 0, 0, 0.78), rgba(6, 0, 0, 0.94));
}

body[data-page="pricing"] .econ-strip {
  margin-top: 8px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body[data-page="pricing"] .econ-cell {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 7px 9px;
  background: rgba(0, 0, 0, 0.34);
}

body[data-page="pricing"] .econ-cell span {
  display: block;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.42px;
  color: rgba(255, 255, 255, 0.6);
}

body[data-page="pricing"] .econ-cell strong {
  display: block;
  margin-top: 2px;
  font-family: var(--fd);
  font-size: 0.92rem;
  color: rgba(255, 229, 130, 0.96);
}

body[data-page="pricing"] .price-features.price-econ {
  gap: 10px;
}

body[data-page="pricing"] .price-features.price-econ li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.52;
}

body[data-page="pricing"] .price-features.price-econ li i {
  margin-top: 2px;
}

body[data-page="pricing"] .price-features.price-econ li.pro i {
  color: #45d483;
}

body[data-page="pricing"] .price-features.price-econ li.con i {
  color: #ffb366;
}

body[data-page="pricing"] .pricing-analysis {
  max-width: 1040px;
  margin: 18px auto 0;
}

body[data-page="pricing"] .analysis-title {
  text-align: center;
  font-family: var(--fd);
  font-size: clamp(1.06rem, 2.2vw, 1.45rem);
  margin-bottom: 12px;
  color: #ffd88f;
}

body[data-page="pricing"] .analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="pricing"] .analysis-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(14, 0, 0, 0.9), rgba(2, 0, 0, 0.96));
  padding: 14px;
}

body[data-page="pricing"] .analysis-card h4 {
  font-family: var(--fd);
  color: #ffffff;
  margin-bottom: 5px;
}

body[data-page="pricing"] .analysis-card p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.79rem;
  line-height: 1.58;
}

body[data-page="pricing"] .analysis-card.analysis-best {
  border-color: rgba(255, 210, 88, 0.44);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 88, 0.14);
}

body[data-page="pricing"] .regular-label {
  display: inline-block;
  margin-top: 2px;
  margin-bottom: 2px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.48px;
  color: rgba(255, 255, 255, 0.56);
}

body[data-page="pricing"] .price-val {
  font-size: 1.72rem;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 92, 92, 0.52);
}

body[data-page="pricing"] .price-val .currency {
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="pricing"] .flow-tag {
  display: inline-block;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: #ffd978;
  border: 1px solid rgba(255, 216, 120, 0.4);
  background: rgba(255, 216, 120, 0.12);
  border-radius: 999px;
  padding: 3px 8px;
}

body[data-page="pricing"] .flow-kuet {
  margin-top: 8px;
  font-family: var(--fd);
  font-size: 1.4rem;
  color: rgba(255, 216, 120, 0.76);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 79, 79, 0.86);
}

body[data-page="pricing"] .flow-arrow {
  margin-top: 2px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  gap: 6px;
}

body[data-page="pricing"] .flow-final {
  margin-top: 10px;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 67, 67, 0.55);
  background:
    linear-gradient(90deg, rgba(255, 35, 35, 0.16), rgba(255, 200, 50, 0.12));
}

body[data-page="pricing"] .flow-final-label {
  display: block;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 3px;
}

body[data-page="pricing"] .flow-final-price {
  display: inline-block;
  font-family: var(--fd);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.2px;
  color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 72, 72, 0.38);
}

body[data-page="pricing"] .kuet-promo-board {
  max-width: 1040px;
  margin-top: 24px;
  padding: 0;
  border: none;
  background: transparent;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="pricing"] .promo-ticket {
  position: relative;
  border-radius: 14px;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body[data-page="pricing"] .promo-ticket::before,
body[data-page="pricing"] .promo-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #0a0000;
  transform: translateY(-50%);
}

body[data-page="pricing"] .promo-ticket::before { left: -7px; }
body[data-page="pricing"] .promo-ticket::after { right: -7px; }

body[data-page="pricing"] .promo-kuet {
  background: linear-gradient(140deg, rgba(255, 192, 70, 0.9), rgba(214, 124, 0, 0.94));
  color: #351100;
}

body[data-page="pricing"] .promo-coupon {
  background: linear-gradient(140deg, rgba(224, 0, 0, 0.94), rgba(139, 0, 0, 0.96));
  color: #fff3f3;
}

body[data-page="pricing"] .promo-title {
  font-family: var(--fd);
  font-size: 1.04rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

body[data-page="pricing"] .promo-line {
  font-size: 0.82rem;
  line-height: 1.55;
  max-width: 62ch;
}

.premium-feature-banner {
  position: relative;
  isolation: isolate;
  max-width: 1040px;
  margin: 34px auto 0;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(204, 0, 0, 0.3);
  background: linear-gradient(135deg, rgba(33, 0, 0, 0.92), rgba(10, 0, 0, 0.96));
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
}

.pf-backdrop {
  position: absolute;
  inset: -20% auto auto -10%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.28), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.pf-visual {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.pf-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.28), rgba(204, 0, 0, 0.02) 70%, transparent 78%);
  filter: blur(1px);
}

.pf-logo-frame {
  position: relative;
  width: 144px;
  height: 144px;
  border-radius: 28px;
  border: 1px solid rgba(255, 120, 120, 0.42);
  background: linear-gradient(145deg, rgba(24, 0, 0, 0.98), rgba(0, 0, 0, 0.98));
  display: grid;
  place-items: center;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(204, 0, 0, 0.24) inset;
}

.pf-logo-img {
  width: 82px;
  height: 82px;
  border-radius: 16px;
}

.pf-shine {
  position: absolute;
  width: 200px;
  height: 44px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(-30deg) translateX(-80px);
  animation: pfShine 5s linear infinite;
  pointer-events: none;
}

@keyframes pfShine {
  0% { transform: rotate(-30deg) translateX(-120px); opacity: 0; }
  10% { opacity: 0.6; }
  40% { opacity: 0; }
  100% { transform: rotate(-30deg) translateX(220px); opacity: 0; }
}

.pf-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pf-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 68, 0.42);
  background: rgba(255, 204, 68, 0.12);
  color: #ffd66c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.pf-content h2 {
  font-family: var(--fd);
  font-size: clamp(1.5rem, 3.1vw, 2.35rem);
  line-height: 1.15;
}

.pf-content p {
  color: var(--t2);
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 62ch;
}

.pf-actions {
  margin-top: 2px;
}

.pf-actions .btn-primary {
  box-shadow: 0 10px 22px rgba(204, 0, 0, 0.34);
}

body[data-page="features"] {
  --ff-red-main: #ff0000;
  --ff-red-soft: #ff2a2a;
  --ff-red-dim: rgba(255, 0, 0, 0.34);
  --ff-border: rgba(255, 0, 0, 0.4);
}

body[data-page="features"] .bg-glow {
  background: radial-gradient(ellipse, rgba(255, 0, 0, 0.24) 0%, transparent 72%);
}

body[data-page="features"] .features-stage {
  position: relative;
}

body[data-page="features"] .features-tech-panel {
  max-width: 1080px;
  margin: 0 auto 54px;
  border: 1px solid rgba(255, 0, 0, 0.36);
  border-radius: 18px;
  padding: 2px 28px 28px;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 0, 0, 0.18), transparent 34%),
    radial-gradient(circle at 86% 86%, rgba(255, 56, 56, 0.12), transparent 38%),
    linear-gradient(162deg, rgba(20, 0, 0, 0.96), rgba(0, 0, 0, 0.98));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 0, 0, 0.16) inset;
  position: relative;
  overflow: hidden;
}

body[data-page="features"] .features-tech-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 0, 0, 0), rgba(255, 0, 0, 0.88), rgba(255, 0, 0, 0));
}

body[data-page="features"] .section-label {
  color: var(--ff-red-main);
}

body[data-page="features"] .section-title {
  color: #ffffff;
}

body[data-page="features"] .section-sub {
  color: rgba(255, 255, 255, 0.82);
}

body[data-page="features"] .features-grid {
  gap: 20px;
  max-width: 1080px;
}

body[data-page="features"] .feature-proof {
  max-width: 940px;
  margin: 0 auto 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

body[data-page="features"] .proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 0, 0, 0.36);
  background: rgba(255, 0, 0, 0.12);
  color: rgba(255, 225, 225, 0.92);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 5px 10px;
}

body[data-page="features"] .feat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ff-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 0, 0, 0.14), transparent 42%),
    radial-gradient(circle at 10% 82%, rgba(255, 64, 64, 0.1), transparent 44%),
    linear-gradient(158deg, rgba(24, 0, 0, 0.95), rgba(0, 0, 0, 0.99));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 0, 0, 0.16) inset;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="features"] .feat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 0, 0, 0), rgba(255, 0, 0, 0.9), rgba(255, 0, 0, 0));
}

body[data-page="features"] .feat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 0, 0, 0.05), transparent 34%);
  pointer-events: none;
}

body[data-page="features"] .feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 0, 0, 0.72);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 0, 0, 0.36) inset;
}

body[data-page="features"] .feat-card-priority {
  border-color: rgba(255, 70, 70, 0.72);
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 88, 88, 0.2), transparent 42%),
    radial-gradient(circle at 12% 86%, rgba(255, 30, 30, 0.12), transparent 44%),
    linear-gradient(158deg, rgba(26, 0, 0, 0.96), rgba(0, 0, 0, 0.99));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 70, 70, 0.34) inset;
}

body[data-page="features"] .feat-ribbon {
  position: absolute;
  top: 10px;
  right: -30px;
  transform: rotate(28deg);
  background: linear-gradient(135deg, #ffea66, #ffbe2f);
  color: #3a1800;
  border: 1px solid rgba(82, 30, 0, 0.45);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  border-radius: 999px;
  min-width: 122px;
  text-align: center;
  z-index: 2;
}

body[data-page="features"] .feat-ribbon span {
  display: block;
  font-family: var(--fd);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.55px;
  padding: 4px 12px;
}

body[data-page="features"] .feat-title {
  color: var(--ff-red-soft);
}

body[data-page="features"] .feat-desc {
  color: rgba(255, 255, 255, 0.8);
}

body[data-page="features"] .feat-chips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body[data-page="features"] .feat-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px dashed rgba(255, 120, 120, 0.46);
  background: rgba(255, 0, 0, 0.08);
  color: rgba(255, 206, 206, 0.92);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 4px 9px;
  letter-spacing: 0.24px;
}

/* =========================================
   FEATURES: DYNAMIC CAREER ENGINE HERO
   ========================================= */
body[data-page="features"] .engine-hero-panel {
  max-width: 1080px;
  margin: 0 auto 60px;
  border: 1px solid var(--ff-border);
  border-radius: 18px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(24, 0, 0, 0.94), rgba(0, 0, 0, 0.98));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 0, 0, 0.15) inset;
  position: relative;
  overflow: hidden;
}

body[data-page="features"] .engine-hero-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 0, 0, 0), rgba(255, 0, 0, 0.9), rgba(255, 0, 0, 0));
}

body[data-page="features"] .engine-floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 0, 0, 0.36);
  background: rgba(255, 0, 0, 0.12);
  color: rgba(255, 225, 225, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34px;
  text-transform: uppercase;
  padding: 6px 12px;
  margin-bottom: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
  animation: floatBadge 2.6s ease-in-out infinite alternate;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

body[data-page="features"] .engine-header {
  margin-bottom: 22px;
}

body[data-page="features"] .engine-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px dashed rgba(255, 120, 120, 0.46);
  background: rgba(255, 0, 0, 0.08);
  color: rgba(255, 206, 206, 0.92);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  padding: 4px 9px;
  margin-bottom: 10px;
}

body[data-page="features"] .engine-title {
  font-family: var(--fd);
  font-size: clamp(1.45rem, 3.1vw, 2.25rem);
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 10px;
}

body[data-page="features"] .engine-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.68;
  max-width: 74ch;
}

body[data-page="features"] .engine-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

body[data-page="features"] .engine-mascot-stage {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 4px 0 14px;
  border: 1px solid rgba(255, 120, 120, 0.28);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 0, 0, 0.04);
}

body[data-page="features"] .engine-mascot {
  position: relative;
  width: 62px;
  height: 74px;
  margin: 0 auto;
  animation: mascotFloat 2.7s ease-in-out infinite;
}

body[data-page="features"] .mascot-antenna {
  position: absolute;
  top: 1px;
  left: 50%;
  width: 2px;
  height: 10px;
  transform: translateX(-50%);
  background: rgba(255, 190, 190, 0.95);
}

body[data-page="features"] .mascot-antenna::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #ff6464;
  box-shadow: 0 0 8px rgba(255, 100, 100, 0.72);
}

body[data-page="features"] .mascot-head {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 40px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 12px;
  border: 1px solid rgba(255, 120, 120, 0.55);
  background: linear-gradient(160deg, rgba(34, 0, 0, 0.95), rgba(0, 0, 0, 0.95));
}

body[data-page="features"] .mascot-head .eye {
  position: absolute;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff8383;
  box-shadow: 0 0 8px rgba(255, 140, 140, 0.75);
  animation: mascotBlink 3.1s infinite;
}

body[data-page="features"] .mascot-head .eye-left { left: 10px; }
body[data-page="features"] .mascot-head .eye-right { right: 10px; }

body[data-page="features"] .mascot-head .mouth {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255, 195, 195, 0.9);
}

body[data-page="features"] .mascot-body {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 34px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 11px;
  border: 1px solid rgba(255, 120, 120, 0.46);
  background: linear-gradient(160deg, rgba(28, 0, 0, 0.96), rgba(3, 0, 0, 0.96));
}

body[data-page="features"] .mascot-arm {
  position: absolute;
  bottom: 15px;
  width: 11px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 165, 165, 0.95);
}

body[data-page="features"] .mascot-arm-left {
  left: 2px;
  transform-origin: right center;
  animation: mascotWaveLeft 2.2s ease-in-out infinite;
}

body[data-page="features"] .mascot-arm-right {
  right: 2px;
  transform-origin: left center;
  animation: mascotWaveRight 2.2s ease-in-out infinite;
}

body[data-page="features"] .mascot-bubble {
  border: 1px solid rgba(255, 120, 120, 0.32);
  border-radius: 10px;
  padding: 9px 10px;
  background: linear-gradient(160deg, rgba(22, 0, 0, 0.82), rgba(0, 0, 0, 0.84));
  display: flex;
  flex-direction: column;
  gap: 5px;
}

body[data-page="features"] .mascot-bubble strong {
  color: #ffffff;
  font-size: 0.76rem;
  font-family: var(--fd);
}

body[data-page="features"] .mascot-bubble span {
  color: rgba(255, 230, 230, 0.86);
  font-size: 0.75rem;
  line-height: 1.5;
  transition: opacity 0.2s ease;
}

body[data-page="features"] .engine-ticker {
  margin-bottom: 18px;
  border: 1px solid rgba(255, 120, 120, 0.28);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 0, 0, 0.04);
}

body[data-page="features"] .engine-ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  animation: tickerMove 21s linear infinite;
}

body[data-page="features"] .engine-ticker:hover .engine-ticker-track {
  animation-play-state: paused;
}

body[data-page="features"] .engine-ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px dashed rgba(255, 120, 120, 0.46);
  background: rgba(255, 0, 0, 0.09);
  color: rgba(255, 214, 214, 0.92);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

body[data-page="features"] .engine-ticker-track span i {
  color: var(--ff-red-soft);
}

body[data-page="features"] .engine-stat {
  border: 1px solid rgba(255, 120, 120, 0.28);
  border-radius: 10px;
  padding: 10px 10px 9px;
  background: rgba(255, 0, 0, 0.05);
  text-align: center;
}

body[data-page="features"] .engine-stat-value {
  font-family: var(--fd);
  font-size: 1.35rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
}

body[data-page="features"] .engine-stat-label {
  margin-top: 5px;
  color: rgba(255, 220, 220, 0.86);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

body[data-page="features"] .engine-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

body[data-page="features"] .compare-box {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ff-border);
  border-radius: 12px;
  padding: 13px;
  background: linear-gradient(160deg, rgba(24, 0, 0, 0.9), rgba(0, 0, 0, 0.96));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 0, 0, 0.1) inset;
}

body[data-page="features"] .compare-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 0, 0, 0), rgba(255, 0, 0, 0.88), rgba(255, 0, 0, 0));
}

body[data-page="features"] .compare-box.old-way {
  border-color: rgba(255, 120, 120, 0.28);
}

body[data-page="features"] .compare-box.a3km-way {
  border-color: rgba(255, 70, 70, 0.72);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 70, 70, 0.32) inset;
}

body[data-page="features"] .compare-title {
  font-family: var(--fd);
  font-size: 1.02rem;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body[data-page="features"] .old-way .compare-title i { color: rgba(255, 150, 150, 0.8); }
body[data-page="features"] .a3km-way .compare-title i { color: var(--ff-red-soft); }

body[data-page="features"] .compare-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body[data-page="features"] .compare-box li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.52;
  position: relative;
  padding-left: 14px;
}

body[data-page="features"] .old-way li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 138, 138, 0.86);
}

body[data-page="features"] .a3km-way li {
  color: rgba(255, 228, 228, 0.9);
}

body[data-page="features"] .a3km-way li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ff5858;
}

body[data-page="features"] .engine-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

body[data-page="features"] .engine-pillar {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ff-border);
  border-radius: 12px;
  padding: 13px;
  background: linear-gradient(160deg, rgba(24, 0, 0, 0.9), rgba(0, 0, 0, 0.96));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 0, 0, 0.1) inset;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="features"] .engine-pillar:hover {
  border-color: rgba(255, 0, 0, 0.72);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 0, 0, 0.34) inset;
  transform: translateY(-4px);
}

body[data-page="features"] .engine-pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 0, 0, 0), rgba(255, 0, 0, 0.9), rgba(255, 0, 0, 0));
}

body[data-page="features"] .engine-pillar-premium {
  border-color: rgba(255, 70, 70, 0.72);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 70, 70, 0.32) inset;
}

body[data-page="features"] .pillar-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 120, 120, 0.4);
  background: rgba(255, 0, 0, 0.1);
  color: #ff8e8e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  margin-bottom: 9px;
}

body[data-page="features"] .engine-pillar-premium .pillar-icon {
  border-color: rgba(255, 110, 110, 0.56);
  color: #ffb1b1;
}

body[data-page="features"] .engine-pillar h4 {
  font-family: var(--fd);
  color: var(--ff-red-soft);
  margin-bottom: 7px;
  font-size: 1.03rem;
}

body[data-page="features"] .engine-pillar p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  line-height: 1.58;
}

body[data-page="features"] .engine-faq {
  border: 1px solid var(--ff-border);
  border-radius: 12px;
  padding: 13px;
  background: linear-gradient(160deg, rgba(24, 0, 0, 0.9), rgba(0, 0, 0, 0.96));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 0, 0, 0.1) inset;
}

body[data-page="features"] .engine-story {
  border: 1px solid rgba(255, 120, 120, 0.28);
  border-radius: 12px;
  padding: 13px;
  background: rgba(255, 0, 0, 0.04);
  margin-bottom: 18px;
}

body[data-page="features"] .engine-story-head h3 {
  font-family: var(--fd);
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 5px;
}

body[data-page="features"] .engine-story-head p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

body[data-page="features"] .engine-story-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

body[data-page="features"] .engine-tab {
  appearance: none;
  border: 1px dashed rgba(255, 120, 120, 0.46);
  background: rgba(255, 0, 0, 0.08);
  color: rgba(255, 206, 206, 0.92);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.67rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

body[data-page="features"] .engine-tab:hover,
body[data-page="features"] .engine-tab.is-active {
  border-style: solid;
  border-color: rgba(255, 0, 0, 0.62);
  color: #ffffff;
  background: rgba(255, 0, 0, 0.2);
}

body[data-page="features"] .engine-story-panels {
  margin-top: 10px;
}

body[data-page="features"] .engine-story-panel {
  border: 1px solid rgba(255, 120, 120, 0.28);
  border-radius: 10px;
  padding: 11px;
  background: linear-gradient(160deg, rgba(22, 0, 0, 0.84), rgba(0, 0, 0, 0.86));
}

body[data-page="features"] .engine-story-panel h4 {
  font-family: var(--fd);
  font-size: 0.93rem;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body[data-page="features"] .engine-story-panel h4 i {
  color: var(--ff-red-soft);
}

body[data-page="features"] .engine-story-panel p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.79rem;
  line-height: 1.55;
}

body[data-page="features"] .faq-head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 10px;
}

body[data-page="features"] .faq-head .faq-a {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
}

body[data-page="features"] .faq-accordion {
  display: grid;
  gap: 8px;
}

body[data-page="features"] .faq-item {
  border: 1px solid rgba(255, 120, 120, 0.28);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 0, 0, 0.04);
}

body[data-page="features"] .faq-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  width: 100%;
  padding: 10px 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--fd);
  font-size: 0.84rem;
  text-align: left;
  cursor: pointer;
}

body[data-page="features"] .faq-trigger i {
  color: var(--ff-red-soft);
  transition: transform 0.2s ease;
}

body[data-page="features"] .faq-item.is-open .faq-trigger i {
  transform: rotate(45deg);
}

body[data-page="features"] .faq-panel {
  padding: 0 11px 10px;
}

body[data-page="features"] .faq-panel p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  line-height: 1.56;
}

body[data-page="features"] [data-engine-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

body[data-page="features"] [data-engine-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

body[data-page="features"] .faq-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

body[data-page="features"] .faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 120, 120, 0.4);
  background: rgba(255, 0, 0, 0.1);
  color: #ff8e8e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  margin-top: 1px;
}

body[data-page="features"] .faq-q {
  font-family: var(--fd);
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.44;
  margin-bottom: 7px;
}

body[data-page="features"] .faq-a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  line-height: 1.56;
}

body[data-page="features"] .faq-a strong {
  color: var(--ff-red-soft);
}

body[data-page="features"] .engine-comparison .compare-box,
body[data-page="features"] .engine-pillars-grid .engine-pillar,
body[data-page="features"] .engine-faq {
  opacity: 1;
  transform: translateY(0);
  animation: engineReveal 0.55s ease forwards;
}

body[data-page="features"] .engine-comparison .compare-box:nth-child(1) { animation-delay: 0.04s; }
body[data-page="features"] .engine-comparison .compare-box:nth-child(2) { animation-delay: 0.11s; }
body[data-page="features"] .engine-pillars-grid .engine-pillar:nth-child(1) { animation-delay: 0.16s; }
body[data-page="features"] .engine-pillars-grid .engine-pillar:nth-child(2) { animation-delay: 0.22s; }
body[data-page="features"] .engine-pillars-grid .engine-pillar:nth-child(3) { animation-delay: 0.28s; }
body[data-page="features"] .engine-pillars-grid .engine-pillar:nth-child(4) { animation-delay: 0.34s; }
body[data-page="features"] .engine-faq { animation-delay: 0.4s; }

@keyframes engineReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes mascotBlink {
  0%, 45%, 48%, 100% { transform: scaleY(1); }
  46%, 47% { transform: scaleY(0.2); }
}

@keyframes mascotWaveLeft {
  0%, 100% { transform: rotate(6deg); }
  50% { transform: rotate(-18deg); }
}

@keyframes mascotWaveRight {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(18deg); }
}

@keyframes tickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 760px) {
  body[data-page="features"] .engine-hero-panel { padding: 20px 14px; margin: 0 10px 34px; }
  body[data-page="features"] .engine-shell { grid-template-columns: 1fr; gap: 14px; }
  body[data-page="features"] .engine-main-zone,
  body[data-page="features"] .engine-command-zone { padding: 12px; }
  body[data-page="features"] .engine-header { margin-bottom: 16px; }
  body[data-page="features"] .engine-mascot-stage { grid-template-columns: 1fr; }
  body[data-page="features"] .engine-mascot { margin-bottom: 2px; }
  body[data-page="features"] .engine-journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="features"] .engine-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="features"] .engine-comparison,
  body[data-page="features"] .engine-pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  body[data-page="features"] .faq-card { flex-direction: column; gap: 12px; }
  body[data-page="features"] .engine-title { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="features"] .engine-orb,
  body[data-page="features"] .engine-floating-badge,
  body[data-page="features"] .engine-ticker-track,
  body[data-page="features"] .engine-mascot,
  body[data-page="features"] .mascot-head .eye,
  body[data-page="features"] .mascot-arm-left,
  body[data-page="features"] .mascot-arm-right,
  body[data-page="features"] .engine-comparison .compare-box,
  body[data-page="features"] .engine-pillars-grid .engine-pillar,
  body[data-page="features"] .engine-faq {
    animation: none !important;
  }
}


/* Final readability and red-theme enforcement overrides */
body[data-page="features"] .engine-shell {
  gap: 24px;
  margin-bottom: 26px;
}

body[data-page="features"] .engine-main-zone {
  padding: 24px;
}

body[data-page="features"] .engine-command-zone {
  padding: 18px;
}

body[data-page="features"] .engine-subsection-title {
  margin: 10px 0 11px;
  font-family: var(--fd);
  font-size: 0.87rem;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

body[data-page="features"] .engine-desc,
body[data-page="features"] .journey-panel p,
body[data-page="features"] .engine-story-head p,
body[data-page="features"] .engine-story-panel p,
body[data-page="features"] .faq-panel p,
body[data-page="features"] .faq-a,
body[data-page="features"] .engine-pillar p,
body[data-page="features"] .compare-box li {
  color: rgba(255, 255, 255, 0.84);
}

body[data-page="features"] .engine-desc {
  font-size: 1.02rem;
  line-height: 1.68;
}

body[data-page="features"] .engine-comparison,
body[data-page="features"] .engine-pillars-grid {
  gap: 18px;
  margin-bottom: 24px;
}

body[data-page="features"] .compare-box,
body[data-page="features"] .engine-pillar,
body[data-page="features"] .engine-story,
body[data-page="features"] .engine-faq,
body[data-page="features"] .engine-journey,
body[data-page="features"] .engine-story-panel,
body[data-page="features"] .journey-panel,
body[data-page="features"] .faq-item,
body[data-page="features"] .engine-live-card {
  border-color: rgba(255, 0, 0, 0.28);
}

body[data-page="features"] .compare-box,
body[data-page="features"] .engine-pillar {
  padding: 16px;
}

body[data-page="features"] .compare-title {
  font-size: 1.12rem;
  margin-bottom: 12px;
}

body[data-page="features"] .compare-box li {
  font-size: 0.93rem;
  line-height: 1.62;
  padding-left: 16px;
}

body[data-page="features"] .engine-pillar h4 {
  color: #ffffff;
  font-size: 1.14rem;
  line-height: 1.32;
  margin-bottom: 9px;
}

body[data-page="features"] .engine-pillar p {
  font-size: 0.92rem;
  line-height: 1.65;
}

body[data-page="features"] .engine-story {
  padding: 16px;
  margin-bottom: 24px;
}

body[data-page="features"] .engine-story-head h3 {
  font-size: 1.15rem;
  margin-bottom: 7px;
}

body[data-page="features"] .engine-story-head p {
  font-size: 0.91rem;
  line-height: 1.62;
}

body[data-page="features"] .engine-tab,
body[data-page="features"] .journey-step,
body[data-page="features"] .engine-ticker-track span {
  border-color: rgba(255, 0, 0, 0.46);
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="features"] .engine-tab {
  font-size: 0.76rem;
  padding: 7px 12px;
}

body[data-page="features"] .journey-step {
  font-size: 0.73rem;
  padding: 8px 10px;
}

body[data-page="features"] .journey-panel {
  padding: 14px;
}

body[data-page="features"] .journey-panel h4 {
  font-size: 1.05rem;
  margin-bottom: 7px;
}

body[data-page="features"] .journey-panel p {
  font-size: 0.9rem;
  line-height: 1.62;
}

body[data-page="features"] .engine-story-panel {
  padding: 15px;
}

body[data-page="features"] .engine-story-panel h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

body[data-page="features"] .engine-story-panel p {
  font-size: 0.91rem;
  line-height: 1.64;
}

body[data-page="features"] .engine-live-card {
  padding: 11px 11px;
  font-size: 0.83rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="features"] .engine-live-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 0, 0.58);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
}

body[data-page="features"] .engine-ticker {
  margin-bottom: 26px;
}

body[data-page="features"] .engine-ticker-track span {
  font-size: 0.78rem;
}

body[data-page="features"] .engine-faq {
  padding: 16px;
}

body[data-page="features"] .faq-q {
  font-size: 1.14rem;
  margin-bottom: 8px;
}

body[data-page="features"] .faq-a {
  font-size: 0.9rem;
  line-height: 1.64;
}

body[data-page="features"] .faq-trigger {
  font-size: 0.94rem;
}

body[data-page="features"] .faq-panel p {
  font-size: 0.89rem;
  line-height: 1.64;
}

body[data-page="features"] .engine-live-card,
body[data-page="features"] .journey-step,
body[data-page="features"] .engine-tab,
body[data-page="features"] .engine-ticker-track span {
  background: rgba(255, 0, 0, 0.08);
}

@media (max-width: 760px) {
  body[data-page="features"] .engine-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body[data-page="features"] .engine-main-zone,
  body[data-page="features"] .engine-command-zone {
    padding: 12px;
  }

  body[data-page="features"] .engine-journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Premium expansion overrides for the interactive engine section */
body[data-page="features"] .engine-hero-panel {
  max-width: 1220px;
  margin: 0 auto 74px;
  padding: 34px;
  border-radius: 24px;
  border-color: rgba(255, 114, 114, 0.24);
  background:
    radial-gradient(circle at 10% 14%, rgba(255, 92, 92, 0.13), transparent 44%),
    radial-gradient(circle at 88% 16%, rgba(255, 136, 136, 0.1), transparent 42%),
    linear-gradient(155deg, rgba(16, 2, 4, 0.97), rgba(5, 0, 0, 0.99));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 82, 82, 0.15) inset;
}

body[data-page="features"] .engine-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.56;
  pointer-events: none;
}

body[data-page="features"] .engine-orb-a {
  width: 260px;
  height: 260px;
  top: -80px;
  left: -70px;
  background: radial-gradient(circle, rgba(255, 92, 92, 0.25), transparent 68%);
  animation: orbDriftA 11s ease-in-out infinite;
}

body[data-page="features"] .engine-orb-b {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 138, 138, 0.18), transparent 70%);
  animation: orbDriftB 13s ease-in-out infinite;
}

body[data-page="features"] .engine-orb-c {
  width: 190px;
  height: 190px;
  bottom: -50px;
  left: 34%;
  background: radial-gradient(circle, rgba(255, 66, 66, 0.22), transparent 67%);
  animation: orbDriftC 14s ease-in-out infinite;
}

body[data-page="features"] .engine-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.24fr 0.92fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}

body[data-page="features"] .engine-main-zone,
body[data-page="features"] .engine-command-zone {
  border: 1px solid rgba(255, 125, 125, 0.24);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(23, 4, 7, 0.82), rgba(2, 0, 0, 0.84));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 82, 82, 0.1) inset;
}

body[data-page="features"] .engine-main-zone {
  padding: 18px;
}

body[data-page="features"] .engine-command-zone {
  padding: 14px;
}

body[data-page="features"] .engine-title {
  font-size: clamp(2rem, 3.55vw, 3.05rem);
  line-height: 1.08;
  max-width: 20ch;
}

body[data-page="features"] .engine-desc {
  font-size: 0.97rem;
  max-width: 66ch;
  color: rgba(255, 237, 237, 0.86);
}

body[data-page="features"] .engine-stats {
  margin: 0 0 18px;
}

body[data-page="features"] .engine-stat {
  padding: 14px 10px 11px;
  background: linear-gradient(160deg, rgba(39, 8, 10, 0.58), rgba(7, 1, 1, 0.55));
}

body[data-page="features"] .engine-stat-value {
  font-size: 1.6rem;
}

body[data-page="features"] .engine-journey {
  border: 1px solid rgba(255, 120, 120, 0.28);
  border-radius: 13px;
  padding: 12px;
  background: rgba(255, 0, 0, 0.04);
}

body[data-page="features"] .engine-journey-head h3 {
  font-family: var(--fd);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 5px;
}

body[data-page="features"] .engine-journey-head p {
  color: rgba(255, 220, 220, 0.8);
  font-size: 0.8rem;
  line-height: 1.52;
}

body[data-page="features"] .engine-journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

body[data-page="features"] .journey-step {
  appearance: none;
  border: 1px dashed rgba(255, 120, 120, 0.46);
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.08);
  color: rgba(255, 206, 206, 0.92);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22px;
  padding: 6px 8px;
  cursor: pointer;
  transition: 0.22s ease;
}

body[data-page="features"] .journey-step:hover,
body[data-page="features"] .journey-step.is-active {
  border-style: solid;
  border-color: rgba(255, 78, 78, 0.72);
  color: #fff;
  background: rgba(255, 0, 0, 0.2);
  box-shadow: 0 7px 16px rgba(255, 0, 0, 0.2);
}

body[data-page="features"] .engine-journey-panels {
  margin-top: 10px;
}

body[data-page="features"] .journey-panel {
  border: 1px solid rgba(255, 120, 120, 0.28);
  border-radius: 10px;
  padding: 11px;
  background: linear-gradient(160deg, rgba(24, 3, 6, 0.85), rgba(1, 0, 0, 0.9));
}

body[data-page="features"] .journey-panel h4 {
  font-family: var(--fd);
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body[data-page="features"] .journey-panel h4 i {
  color: var(--ff-red-soft);
}

body[data-page="features"] .journey-panel p {
  color: rgba(255, 232, 232, 0.82);
  font-size: 0.79rem;
  line-height: 1.56;
}

body[data-page="features"] .engine-mascot-stage {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
}

body[data-page="features"] .engine-duo {
  position: relative;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

body[data-page="features"] .engine-mascot {
  width: 74px;
  height: 88px;
}

body[data-page="features"] .engine-mascot-mini {
  width: 50px;
  height: 60px;
  animation-duration: 2.3s;
  animation-direction: alternate-reverse;
}

body[data-page="features"] .engine-mascot-mini .mascot-head {
  width: 30px;
  height: 24px;
  border-radius: 9px;
}

body[data-page="features"] .engine-mascot-mini .mascot-head .eye {
  top: 8px;
  width: 5px;
  height: 5px;
}

body[data-page="features"] .engine-mascot-mini .mascot-head .eye-left { left: 8px; }
body[data-page="features"] .engine-mascot-mini .mascot-head .eye-right { right: 8px; }

body[data-page="features"] .engine-mascot-mini .mascot-body {
  width: 26px;
  height: 22px;
}

body[data-page="features"] .engine-live-cards {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

body[data-page="features"] .engine-live-card {
  border: 1px solid rgba(255, 120, 120, 0.28);
  border-radius: 9px;
  padding: 8px 9px;
  background: rgba(255, 0, 0, 0.06);
  color: rgba(255, 223, 223, 0.92);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

body[data-page="features"] .engine-live-card i {
  color: var(--ff-red-soft);
}

body[data-page="features"] .engine-ticker {
  margin-bottom: 20px;
}

/* Studio parity overrides: match Markdown Workspace card atmosphere */
body[data-page="features"] .engine-hero-panel {
  border-color: rgba(204, 0, 0, 0.16);
  background:
    radial-gradient(circle at 12% 14%, rgba(204, 0, 0, 0.14), transparent 40%),
    radial-gradient(circle at 84% 18%, rgba(139, 0, 0, 0.11), transparent 38%),
    linear-gradient(180deg, rgba(10, 1, 1, 0.94), rgba(4, 0, 0, 0.9));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(204, 0, 0, 0.08) inset;
}

body[data-page="features"] .engine-hero-panel::after {
  content: "";
  position: absolute;
  inset: -18px -20px -12px;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(255, 102, 102, 0.14), rgba(128, 0, 0, 0.08) 38%, rgba(8, 0, 0, 0) 74%),
    linear-gradient(180deg, rgba(126, 0, 0, 0.12) 0%, rgba(26, 0, 0, 0.05) 48%, rgba(0, 0, 0, 0) 100%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

body[data-page="features"] .engine-hero-panel > * {
  position: relative;
  z-index: 1;
}

body[data-page="features"] .engine-shell {
  position: relative;
  z-index: 1;
}

body[data-page="features"] .engine-main-zone,
body[data-page="features"] .engine-command-zone,
body[data-page="features"] .engine-journey,
body[data-page="features"] .journey-panel,
body[data-page="features"] .engine-mascot-stage,
body[data-page="features"] .engine-live-card,
body[data-page="features"] .compare-box,
body[data-page="features"] .engine-pillar,
body[data-page="features"] .engine-story,
body[data-page="features"] .engine-faq {
  border-color: rgba(204, 0, 0, 0.28);
  background:
    radial-gradient(circle at 90% 12%, rgba(204, 0, 0, 0.12), transparent 44%),
    linear-gradient(160deg, rgba(18, 4, 4, 0.94), rgba(12, 2, 2, 0.97));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(204, 0, 0, 0.1) inset;
}

body[data-page="features"] .engine-live-card:hover {
  border-color: rgba(204, 0, 0, 0.64);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(204, 0, 0, 0.18) inset;
}

@keyframes orbDriftA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, 8px); }
}

@keyframes orbDriftB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, 10px); }
}

@keyframes orbDriftC {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -10px); }
}

body[data-page="features"] .premium-feature-banner {
  border-color: rgba(255, 0, 0, 0.44);
  background: linear-gradient(135deg, rgba(24, 0, 0, 0.95), rgba(0, 0, 0, 0.98));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 0, 0, 0.2) inset;
}

body[data-page="features"] .pf-backdrop {
  background: radial-gradient(circle, rgba(255, 0, 0, 0.34), transparent 70%);
}

body[data-page="features"] .pf-logo-frame {
  border-color: rgba(255, 0, 0, 0.62);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 0, 0, 0.34) inset;
}

body[data-page="features"] .pf-badge {
  border-color: rgba(255, 0, 0, 0.56);
  background: rgba(255, 0, 0, 0.18);
  color: #ffd4d4;
}

body[data-page="features"] .pf-content h2 {
  color: #ffffff;
}

body[data-page="features"] .pf-content p {
  color: rgba(255, 255, 255, 0.8);
}

body[data-page="features"] .pf-actions .btn-primary {
  background: var(--ff-red-main);
  border-color: var(--ff-red-main);
}

body[data-page="features"] .pf-actions .btn-primary:hover {
  background: #d40000;
}

/* Final deep black-red icon + form edge + mascot tone unification */
body[data-page="features"] {
  --ff-red-main: #8f0000;
  --ff-red-soft: #b11212;
  --ff-red-deep-icon: #7a0000;
  --ff-red-edge: rgba(122, 0, 0, 0.62);
  --ff-red-edge-soft: rgba(122, 0, 0, 0.38);
}

body[data-page="features"] .features-tech-panel .proof-chip i,
body[data-page="features"] .engine-hero-panel i,
body[data-page="features"] .engine-ticker-track span i,
body[data-page="features"] .engine-live-card i,
body[data-page="features"] .journey-panel h4 i,
body[data-page="features"] .engine-story-panel h4 i,
body[data-page="features"] .faq-trigger i,
body[data-page="features"] .compare-title i,
body[data-page="features"] .pillar-icon,
body[data-page="features"] .faq-icon {
  color: var(--ff-red-deep-icon);
}

body[data-page="features"] .pillar-icon,
body[data-page="features"] .faq-icon {
  border-color: rgba(122, 0, 0, 0.52);
  background: linear-gradient(160deg, rgba(24, 3, 3, 0.96), rgba(8, 0, 0, 0.96));
  box-shadow: inset 0 0 0 1px rgba(122, 0, 0, 0.26);
}

body[data-page="features"] .faq-item,
body[data-page="features"] .journey-panel,
body[data-page="features"] .engine-story-panel,
body[data-page="features"] .engine-live-card {
  border-left: 3px solid var(--ff-red-edge);
}

body[data-page="features"] .engine-story,
body[data-page="features"] .engine-faq,
body[data-page="features"] .engine-journey,
body[data-page="features"] .engine-mascot-stage {
  border-color: var(--ff-red-edge-soft);
}

body[data-page="features"] .mascot-antenna {
  background: rgba(122, 0, 0, 0.9);
}

body[data-page="features"] .mascot-antenna::after {
  background: #8f0000;
  box-shadow: 0 0 8px rgba(122, 0, 0, 0.66);
}

body[data-page="features"] .mascot-head {
  border-color: rgba(122, 0, 0, 0.7);
  background: linear-gradient(160deg, rgba(22, 3, 3, 0.98), rgba(4, 0, 0, 0.98));
}

body[data-page="features"] .mascot-head .eye {
  background: #9b1c1c;
  box-shadow: 0 0 8px rgba(122, 0, 0, 0.72);
}

body[data-page="features"] .mascot-head .mouth,
body[data-page="features"] .mascot-arm {
  background: rgba(122, 0, 0, 0.94);
}

body[data-page="features"] .mascot-body {
  border-color: rgba(122, 0, 0, 0.6);
  background: linear-gradient(160deg, rgba(20, 2, 2, 0.98), rgba(4, 0, 0, 0.98));
}

body[data-page="features"] .mascot-bubble {
  border-color: rgba(122, 0, 0, 0.46);
  background: linear-gradient(160deg, rgba(18, 3, 3, 0.9), rgba(5, 0, 0, 0.9));
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
  max-width: 980px;
  margin: 0 auto;
}

.clients-grid.single-client {
  grid-template-columns: minmax(260px, 320px);
  justify-content: center;
}

.scan-section {
  position: relative;
}

.scan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1050px;
  margin: 0 auto;
}

.scan-card {
  background: linear-gradient(145deg, rgba(33, 0, 0, 0.92), rgba(11, 0, 0, 0.92));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.scan-card-top h3 {
  font-family: var(--fd);
  margin: 8px 0 6px;
  font-size: 1.3rem;
}

.scan-card-top p {
  color: var(--t2);
  font-size: 0.86rem;
  line-height: 1.65;
}

.scan-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  border: 1px solid rgba(204, 0, 0, 0.45);
  background: rgba(204, 0, 0, 0.12);
  color: #ffb5b5;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 6px 12px;
}

.qr-shell {
  position: relative;
  display: block;
  width: min(100%, 320px);
  margin: 2px auto 4px;
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(145deg, #ffffff, #f2f2f2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-shell:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.38);
}

.qr-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.qr-logo-wrap {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid rgba(204, 0, 0, 0.3);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.qr-logo-wrap img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}

.scan-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid #1f1f1f;
  opacity: 0.68;
}

.scan-corner-tl { top: 9px; left: 9px; border-right: 0; border-bottom: 0; }
.scan-corner-tr { top: 9px; right: 9px; border-left: 0; border-bottom: 0; }
.scan-corner-bl { bottom: 9px; left: 9px; border-right: 0; border-top: 0; }
.scan-corner-br { bottom: 9px; right: 9px; border-left: 0; border-top: 0; }

.scan-link {
  display: block;
  color: #ff9090;
  text-decoration: none;
  font-size: 0.77rem;
  line-height: 1.45;
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(204, 0, 0, 0.24);
  background: rgba(204, 0, 0, 0.08);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.scan-link:hover {
  color: #ffc9c9;
  border-color: rgba(204, 0, 0, 0.42);
}

body[data-page="home"] {
  --home-red: #ff1a1a;
  --home-red-soft: #ff6767;
  --home-red-dark: #b00000;
  --home-glow-sm: rgba(255, 42, 42, 0.12);
  --home-glow-md: rgba(255, 42, 42, 0.22);
  --home-border: rgba(255, 76, 76, 0.42);
  --home-border-strong: rgba(255, 118, 118, 0.66);
  --home-bg-card: rgba(44, 0, 0, 0.52);
  --home-bg-card-h: rgba(60, 0, 0, 0.64);
  --home-txt-white: #f5f5f5;
  --home-txt-bright: #e7e7e7;
  --home-txt-mid: #cdbcbc;
  --home-txt-dim: #8d8d8d;
}

body[data-page="home"] .bg-glow {
  background: radial-gradient(ellipse, rgba(255, 0, 0, 0.24) 0%, transparent 72%);
}

body[data-page="home"] .bg-grid {
  background-image:
    linear-gradient(rgba(204, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 0, 0, 0.06) 1px, transparent 1px);
}

body[data-page="home"] .home-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - 74px);
  justify-content: center;
  padding-top: 106px;
  padding-bottom: 92px;
}

body[data-page="home"] .home-hero::before {
  content: "";
  position: absolute;
  inset: 94px 9vw auto;
  height: min(54vh, 440px);
  border-radius: 999px;
  background: radial-gradient(ellipse at 50% 12%, rgba(255, 62, 62, 0.3) 0%, rgba(88, 0, 0, 0.54) 44%, rgba(10, 0, 0, 0) 76%);
  border: none;
  filter: blur(6px);
  opacity: 0.9;
  z-index: -1;
}

body[data-page="home"] .hero-badge {
  border-color: rgba(255, 76, 76, 0.32);
  background: rgba(30, 0, 0, 0.68);
  color: var(--home-txt-bright);
}

body[data-page="home"] h1 {
  max-width: 880px;
  margin-inline: auto;
  color: var(--home-txt-white);
  text-shadow: 0 12px 22px rgba(0, 0, 0, 0.52);
}

body[data-page="home"] h1 .accent {
  color: var(--home-red);
}

body[data-page="home"] .hero-sub {
  max-width: 700px;
  color: var(--home-txt-mid);
}

body[data-page="home"] .hero-btns {
  margin-top: 18px;
}

body[data-page="home"] .hero-btns a {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 800;
  letter-spacing: 0.24px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

body[data-page="home"] .hero-cta-chips {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

body[data-page="home"] .hero-cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  font-weight: 800;
  border: 1px solid rgba(255, 120, 120, 0.46);
  color: #ffe7e7;
  background: linear-gradient(170deg, rgba(86, 0, 0, 0.74), rgba(26, 0, 0, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 176, 176, 0.15), 0 8px 16px rgba(0, 0, 0, 0.28);
}

body[data-page="home"] .hero-cta-chip i {
  font-size: 0.7rem;
}

body[data-page="home"] .hero-cta-chip-offer {
  border-color: rgba(255, 176, 84, 0.5);
  color: #ffd9a3;
  background: linear-gradient(170deg, rgba(96, 28, 0, 0.78), rgba(34, 0, 0, 0.82));
}

body[data-page="home"] .hero-cta-chip-kuet {
  border-color: rgba(255, 124, 124, 0.5);
}

body[data-page="home"] .hero-btns a::before {
  content: "";
  position: absolute;
  top: -34%;
  left: -48%;
  width: 34%;
  height: 180%;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.03));
  transform: rotate(14deg) translateX(-180%);
  pointer-events: none;
  transition: transform 0.52s ease;
}

body[data-page="home"] .hero-btns a:hover {
  transform: translateY(-2px);
}

body[data-page="home"] .hero-btns a:hover::before {
  transform: rotate(14deg) translateX(290%);
}

body[data-page="home"] .hero-btns a:active {
  transform: translateY(0) scale(0.985);
}

body[data-page="home"] .hero-btns a:focus-visible {
  outline: 2px solid rgba(255, 196, 196, 0.9);
  outline-offset: 2px;
}

body[data-page="home"] .hero-btns .btn-primary {
  border: 1px solid rgba(255, 136, 136, 0.58);
  background: linear-gradient(180deg, #f50c0c 0%, #c10000 56%, #8f0000 100%);
  box-shadow: inset 0 2px 0 rgba(255, 210, 210, 0.32), 0 10px 22px rgba(96, 0, 0, 0.38), 0 0 24px rgba(225, 6, 6, 0.2);
}

body[data-page="home"] .hero-btns .btn-primary:hover {
  border-color: rgba(255, 178, 178, 0.72);
  background: linear-gradient(180deg, #ff2424 0%, #d10000 56%, #980000 100%);
  box-shadow: inset 0 2px 0 rgba(255, 224, 224, 0.4), 0 12px 24px rgba(100, 0, 0, 0.46), 0 0 28px rgba(255, 26, 26, 0.3);
}

body[data-page="home"] .hero-btns .hero-cta-secondary {
  border-color: rgba(255, 108, 108, 0.46);
  background: linear-gradient(170deg, rgba(122, 0, 0, 0.74), rgba(72, 0, 0, 0.82));
  color: #f9eeee;
  box-shadow: inset 0 1px 0 rgba(255, 176, 176, 0.14), 0 8px 18px rgba(0, 0, 0, 0.34);
}

body[data-page="home"] .hero-btns .hero-cta-secondary:hover {
  border-color: rgba(255, 150, 150, 0.68);
  background: linear-gradient(170deg, rgba(146, 0, 0, 0.84), rgba(82, 0, 0, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 196, 196, 0.2), 0 10px 22px rgba(0, 0, 0, 0.42);
  color: #ffffff;
}

body[data-page="home"] .hero-btns .hero-cta-tertiary {
  border-color: rgba(255, 144, 92, 0.42);
  background: linear-gradient(170deg, rgba(70, 15, 0, 0.72), rgba(34, 0, 0, 0.82));
  color: #ffe0cc;
  box-shadow: inset 0 1px 0 rgba(255, 196, 148, 0.14), 0 8px 18px rgba(0, 0, 0, 0.34);
}

body[data-page="home"] .hero-btns .hero-cta-tertiary:hover {
  border-color: rgba(255, 179, 124, 0.72);
  background: linear-gradient(170deg, rgba(96, 28, 0, 0.84), rgba(44, 0, 0, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 224, 196, 0.2), 0 10px 22px rgba(0, 0, 0, 0.42);
  color: #ffffff;
}

body[data-page="home"] .hero-stats {
  margin-top: 48px;
  gap: 16px;
}

body[data-page="home"] .home-quick-teaser {
  position: relative;
  margin: 0 auto 28px;
  padding: 22px 20px 16px;
  max-width: 760px;
  border-radius: 24px;
  isolation: isolate;
  display: block;
}

body[data-page="home"] .home-quick-teaser::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(220px, 76%);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(172, 0, 0, 0), rgba(172, 0, 0, 0.92), rgba(172, 0, 0, 0));
}

body[data-page="home"] .home-quick-teaser::after {
  content: "";
  position: absolute;
  inset: -26px -22px -12px;
  border-radius: 34px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 110, 110, 0.28), rgba(180, 0, 0, 0.14) 34%, rgba(20, 0, 0, 0) 72%),
    linear-gradient(180deg, rgba(128, 0, 0, 0.24) 0%, rgba(48, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0) 100%);
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.36);
}

body[data-page="home"] .home-quick {
  padding-top: 18px;
}

@media (min-width: 1024px) and (min-height: 700px) {
  body[data-page="home"] .home-hero {
    min-height: calc(100dvh - 72px);
    padding-top: 132px;
    padding-bottom: 110px;
  }

  body[data-page="home"] .home-quick {
    padding-top: 18px;
  }
}

@media (min-width: 1200px) and (max-height: 820px) {
  body[data-page="home"] .home-hero {
    min-height: calc(100dvh - 68px);
    padding-top: 124px;
    padding-bottom: 122px;
  }

  body[data-page="home"] .home-quick {
    padding-top: 18px;
  }
}

@media (max-width: 1023px) {
  body[data-page="home"] .home-hero {
    min-height: auto;
    padding-bottom: 18px;
  }

  body[data-page="home"] .home-quick-teaser {
    margin: 0 auto 22px;
  }

  body[data-page="home"] .home-quick {
    padding-top: 16px;
  }
}

/* Quick access teaser stays visible above quick cards */
body[data-page="home"] .home-quick-teaser {
  display: block !important;
}

@media (min-width: 1024px) {
  body[data-page="home"] .home-hero {
    min-height: calc(100dvh - 68px) !important;
    display: flex;
    justify-content: center !important;
    padding-top: 96px !important;
    padding-bottom: 96px !important;
  }

  body[data-page="home"] .home-quick {
    padding-top: 18px !important;
  }
}

body[data-page="home"] .home-quick-teaser .section-label {
  margin-bottom: 12px;
  font-size: 0.82rem;
  letter-spacing: 4px;
  font-weight: 900;
  color: rgba(255, 208, 120, 0.96) !important;
  text-shadow: 0 0 14px rgba(255, 208, 120, 0.46), 0 0 2px rgba(255, 246, 220, 0.28) !important;
}

body[data-page="home"] .home-quick-teaser .section-title {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  margin-bottom: 10px;
  color: var(--home-txt-white);
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.42), 0 0 20px rgba(255, 82, 82, 0.2);
}

body[data-page="home"] .home-quick-teaser .section-sub {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--home-txt-mid);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

body[data-page="home"] .hero-stat {
  position: relative;
  overflow: hidden;
  display: block;
  min-width: 162px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--home-border);
  background: linear-gradient(160deg, rgba(202, 0, 0, 0.34), rgba(150, 0, 0, 0.58));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 88, 88, 0.16) inset;
  backdrop-filter: blur(8px) saturate(135%);
  -webkit-backdrop-filter: blur(8px) saturate(135%);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="home"] .hero-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(225, 6, 6, 0), rgba(255, 126, 126, 0.92), rgba(225, 6, 6, 0));
  pointer-events: none;
}

body[data-page="home"] .hero-stat::after {
  content: "";
  position: absolute;
  top: -22%;
  left: -36%;
  width: 72%;
  height: 168%;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.06) 10%, rgba(255, 255, 255, 0.3) 43%, rgba(255, 255, 255, 0.03) 86%);
  transform: rotate(16deg) translateX(-140%);
  opacity: 0.74;
  pointer-events: none;
  animation: homeCardGloss 7.6s ease-in-out infinite;
}

body[data-page="home"] .hero-stat > * {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .hero-stat:hover {
  transform: translateY(-3px);
  border-color: var(--home-border-strong);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 98, 98, 0.3) inset;
}

body[data-page="home"] .hero-stat-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

body[data-page="home"] .hero-stat-link:focus-visible {
  outline: 2px solid rgba(255, 92, 92, 0.78);
  outline-offset: 2px;
}

body[data-page="home"] .hero-stat-val {
  color: var(--home-red-soft);
}

body[data-page="home"] .hero-stat-label {
  color: var(--home-txt-dim);
}

body[data-page="home"] .home-quick .section-label,
body[data-page="home"] .home-scan .section-label {
  color: rgba(184, 0, 0, 0.8);
  text-shadow: 0 0 14px rgba(184, 0, 0, 0.4);
}

body[data-page="home"] .home-quick .section-sub,
body[data-page="home"] .home-scan .section-sub {
  color: var(--home-txt-mid);
}

body[data-page="home"] .home-scan .home-scan-teaser {
  position: relative;
  margin: 0 auto 28px;
  padding: 22px 20px 16px;
  max-width: 760px;
  border-radius: 24px;
  isolation: isolate;
}

body[data-page="home"] .home-scan .home-scan-teaser::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(220px, 76%);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(172, 0, 0, 0), rgba(172, 0, 0, 0.92), rgba(172, 0, 0, 0));
}

body[data-page="home"] .home-scan .home-scan-teaser::after {
  content: "";
  position: absolute;
  inset: -26px -22px -12px;
  border-radius: 34px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 110, 110, 0.28), rgba(180, 0, 0, 0.14) 34%, rgba(20, 0, 0, 0) 72%),
    linear-gradient(180deg, rgba(128, 0, 0, 0.24) 0%, rgba(48, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0) 100%);
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.36);
}

body[data-page="home"] .home-scan .home-scan-teaser .section-label {
  margin-bottom: 12px;
  font-size: 0.82rem;
  letter-spacing: 4px;
  font-weight: 900;
  color: rgba(255, 208, 120, 0.96);
  text-shadow: 0 0 14px rgba(255, 208, 120, 0.46), 0 0 2px rgba(255, 246, 220, 0.28);
}

body[data-page="home"] .home-scan .home-scan-teaser .section-title {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  margin-bottom: 10px;
  color: var(--home-txt-white);
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.42), 0 0 20px rgba(255, 82, 82, 0.2);
}

body[data-page="home"] .home-scan .home-scan-teaser .section-sub {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--home-txt-mid);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

body[data-page="home"] .home-quick .quick-grid {
  gap: 20px;
  margin-top: 0;
}

body[data-page="home"] .home-quick .quick-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--home-border);
  background: linear-gradient(160deg, rgba(202, 0, 0, 0.34), rgba(150, 0, 0, 0.58));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 88, 88, 0.16) inset;
  backdrop-filter: blur(8px) saturate(135%);
  -webkit-backdrop-filter: blur(8px) saturate(135%);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="home"] .home-quick .quick-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(225, 6, 6, 0), rgba(225, 6, 6, 0.72), rgba(225, 6, 6, 0));
}

body[data-page="home"] .home-quick .quick-card::after {
  content: "";
  position: absolute;
  top: -36%;
  left: -44%;
  width: 76%;
  height: 190%;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.04) 14%, rgba(255, 255, 255, 0.2) 44%, rgba(255, 255, 255, 0.03) 82%);
  transform: rotate(14deg) translateX(-138%);
  opacity: 0.66;
  pointer-events: none;
  animation: homeCardGloss 8.6s ease-in-out infinite;
}

body[data-page="home"] .home-quick .quick-card:hover {
  transform: translateY(-4px);
  border-color: var(--home-border-strong);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 98, 98, 0.3) inset;
}

@keyframes homeCardGloss {
  0%,
  72% {
    transform: rotate(14deg) translateX(-138%);
  }
  92% {
    transform: rotate(14deg) translateX(172%);
  }
  100% {
    transform: rotate(14deg) translateX(172%);
  }
}

body[data-page="home"] .home-quick .quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(225, 6, 6, 0.32);
  background: var(--home-glow-sm);
  color: #ff4f4f;
  font-size: 1rem;
}

body[data-page="home"] .home-quick .quick-card h3 {
  color: var(--home-txt-white);
}

body[data-page="home"] .home-quick .quick-card p {
  color: var(--home-txt-mid);
}

body[data-page="home"] .home-quick .quick-card .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 14px;
  padding: 10px 17px;
  border: 2px solid rgba(255, 106, 106, 0.56);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.24px;
  background: linear-gradient(180deg, #dc0000 0%, #960000 100%);
  box-shadow: inset 0 2px 0 rgba(255, 196, 196, 0.34), 0 9px 18px rgba(0, 0, 0, 0.42), 0 0 22px rgba(255, 26, 26, 0.34);
}

body[data-page="home"] .home-quick .quick-card .btn-outline::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

body[data-page="home"] .home-quick .quick-card .btn-outline:hover {
  border-color: rgba(255, 160, 160, 0.76);
  background: linear-gradient(180deg, #ff0707 0%, #aa0000 100%);
  box-shadow: inset 0 2px 0 rgba(255, 218, 218, 0.42), 0 11px 24px rgba(0, 0, 0, 0.5), 0 0 28px rgba(255, 36, 36, 0.4);
}

body[data-page="home"] .home-scan .scan-card {
  position: relative;
  overflow: hidden;
  border-color: var(--home-border);
  background: linear-gradient(160deg, rgba(202, 0, 0, 0.34), rgba(150, 0, 0, 0.58));
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 88, 88, 0.16) inset;
  backdrop-filter: blur(8px) saturate(135%);
  -webkit-backdrop-filter: blur(8px) saturate(135%);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="home"] .home-scan .scan-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(225, 6, 6, 0), rgba(255, 126, 126, 0.92), rgba(225, 6, 6, 0));
  pointer-events: none;
}

body[data-page="home"] .home-scan .scan-card::after {
  content: "";
  position: absolute;
  top: -24%;
  left: -36%;
  width: 72%;
  height: 172%;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.06) 10%, rgba(255, 255, 255, 0.3) 43%, rgba(255, 255, 255, 0.03) 86%);
  transform: rotate(16deg) translateX(-140%);
  opacity: 0.72;
  pointer-events: none;
  animation: homeCardGloss 8.2s ease-in-out infinite;
}

body[data-page="home"] .home-scan .scan-card > * {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .home-scan .scan-card:hover {
  transform: translateY(-3px);
  border-color: var(--home-border-strong);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 98, 98, 0.3) inset;
}

body[data-page="home"] .home-scan .scan-badge {
  border-color: var(--home-border-strong);
  background: var(--home-glow-sm);
  color: var(--home-txt-bright);
}

body[data-page="home"] .home-scan .scan-card-top p {
  color: var(--home-txt-mid);
}

body[data-page="home"] .home-scan .qr-shell {
  background: linear-gradient(145deg, #ffffff, #f7f7f7);
  border-color: rgba(225, 6, 6, 0.18);
}

body[data-page="home"] .home-scan .qr-logo-wrap {
  width: 58px;
  height: 58px;
  border-color: rgba(225, 6, 6, 0.3);
}

body[data-page="home"] .home-scan .qr-logo-wrap img {
  width: 34px;
  height: 34px;
}

body[data-page="home"] .home-scan .scan-link {
  color: #ef7272;
  border-color: var(--home-border);
  background: var(--home-glow-sm);
}

body[data-page="home"] .home-scan .scan-link:hover {
  color: #ffffff;
  border-color: var(--home-border-strong);
}

body[data-page="portfolios"] {
  --pf-red-main: #ff0000;
  --pf-red-soft: #ff1f1f;
  --pf-red-muted: #ff4d4d;
  --pf-glow: rgba(255, 0, 0, 0.36);
  --pf-border: rgba(255, 0, 0, 0.44);
  --pf-panel: rgba(7, 0, 0, 0.9);
}

body[data-page="portfolios"] .bg-glow {
  background: radial-gradient(ellipse, var(--pf-glow) 0%, transparent 70%);
}

body[data-page="portfolios"] .portfolios-stage {
  position: relative;
  border-radius: 20px;
}

body[data-page="portfolios"] .section-label {
  color: var(--pf-red-main);
}

body[data-page="portfolios"] .section-title {
  color: #ffffff;
}

body[data-page="portfolios"] .section-sub {
  color: rgba(255, 255, 255, 0.78);
}

body[data-page="portfolios"] .hero-stats {
  gap: 16px;
}

body[data-page="portfolios"] .hero-stat {
  min-width: 230px;
  border-radius: 16px;
  border: 1px solid var(--pf-border);
  background: linear-gradient(150deg, rgba(26, 0, 0, 0.96), rgba(0, 0, 0, 0.98));
  padding: 16px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(255, 0, 0, 0.28) inset;
}

body[data-page="portfolios"] .hero-stat-val {
  color: var(--pf-red-main);
  font-size: 2.2rem;
}

body[data-page="portfolios"] .hero-stat-label {
  color: rgba(255, 88, 88, 0.82);
}

body[data-page="portfolios"] .clients-grid {
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 24px;
  max-width: 1020px;
}

body[data-page="portfolios"] .clients-grid.single-client {
  grid-template-columns: minmax(270px, 340px);
}

body[data-page="portfolios"] .client-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--pf-border);
  background: linear-gradient(170deg, rgba(22, 0, 0, 0.94), rgba(0, 0, 0, 0.98));
  padding: 20px 18px 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="portfolios"] .client-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 0, 0, 0.78);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 0, 0, 0.36) inset;
}

body[data-page="portfolios"] .client-avatar {
  width: 148px;
  height: 148px;
  border: 2px solid rgba(255, 0, 0, 0.9);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.44), 0 0 0 5px rgba(140, 0, 0, 0.36);
}

body[data-page="portfolios"] .avatar-fallback {
  color: #ffffff;
  background: linear-gradient(145deg, rgba(122, 0, 0, 0.86), rgba(18, 0, 0, 0.96));
}

body[data-page="portfolios"] .client-details-shell {
  margin-top: 14px;
  width: min(100%, 260px);
  border-color: rgba(255, 0, 0, 0.52);
  background: linear-gradient(180deg, rgba(30, 0, 0, 0.9), rgba(5, 0, 0, 0.96));
  padding: 14px 12px 12px;
}

body[data-page="portfolios"] .client-info .name {
  color: #ffffff;
}

body[data-page="portfolios"] .client-info .role {
  color: var(--pf-red-muted);
  font-size: 0.76rem;
}

body[data-page="portfolios"] .no-clients-msg {
  border: 1px dashed rgba(255, 0, 0, 0.42);
  border-radius: 14px;
  background: var(--pf-panel);
  color: rgba(255, 84, 84, 0.88);
}

.client-card {
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.client-avatar {
  width: 158px;
  height: 158px;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(255, 90, 90, 0.58);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4), 0 0 0 5px rgba(90, 0, 0, 0.2);
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  transform: scale(1.15);
}

.avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 1.8rem;
  background: #120000;
}

.client-details-shell {
  margin-top: -8px;
  width: min(100%, 230px);
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(35, 0, 0, 0.78), rgba(14, 0, 0, 0.64));
  padding: 16px 11px 11px;
}

.client-info .name { font-family: var(--fd); font-size: 1.03rem; }
.client-info .role { color: #e3c9c9; font-size: 0.74rem; }
.no-clients-msg { text-align: center; color: var(--t3); padding: 28px; grid-column: 1 / -1; }

.contact-wrap { max-width: 680px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
label { font-size: 0.72rem; color: var(--t2); text-transform: uppercase; letter-spacing: 0.5px; }
input, select, textarea {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.85rem;
}
select {
  background-color: #1a0000;
  color: #ffffff;
  color-scheme: dark;
}
select option {
  background: #1a0000;
  color: #ffffff;
}
textarea { min-height: 100px; resize: vertical; }
.submit-btn {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
}
.success-msg {
  display: none;
  margin-top: 12px;
  text-align: center;
  border-radius: 8px;
  padding: 12px;
  background: rgba(0, 204, 102, 0.1);
  border: 1px solid rgba(0, 204, 102, 0.3);
  color: var(--green);
}

body[data-page="template-preview"] {
  --preview-shell-width: 1100px;
  --tp-red-main: #ff0000;
  --tp-red-soft: #ff2424;
  --tp-border: rgba(255, 0, 0, 0.4);
  background: #000000;
  color: #ffffff;
}

body[data-page="template-preview"] .bg-grid {
  background-image:
    linear-gradient(rgba(204, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 0, 0, 0.06) 1px, transparent 1px);
}

body[data-page="template-preview"] nav {
  background: rgba(0, 0, 0, 0.86);
  border-bottom: 1px solid var(--border);
}

body[data-page="template-preview"] .nav-links a {
  color: var(--t2);
}

body[data-page="template-preview"] .nav-links a:hover,
body[data-page="template-preview"] .nav-links a.active {
  color: var(--red);
}

body[data-page="template-preview"] footer {
  border-top: 1px solid var(--border);
  background: var(--bg2);
}

body[data-page="template-preview"] .footer-col h4,
body[data-page="template-preview"] .footer-bottom {
  color: var(--t3);
}

body[data-page="template-preview"] .footer-col a {
  color: var(--t2);
}

body[data-page="template-preview"] .footer-col a:hover {
  color: var(--red);
}

body[data-page="template-preview"] .bg-glow {
  background: radial-gradient(ellipse, rgba(255, 0, 0, 0.24) 0%, transparent 72%);
}

body[data-page="template-preview"] .template-preview-hero {
  position: relative;
  isolation: isolate;
  padding-top: 126px;
  padding-bottom: 40px;
  min-height: auto;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

body[data-page="pricing"] .pricing-hero-section {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

body[data-page="pricing"] .pricing-head-teaser,
body[data-page="portfolios"] .portfolios-head-teaser {
  position: relative;
  margin: 0 auto 28px;
  padding: 22px 20px 16px;
  max-width: 760px;
  border-radius: 24px;
  isolation: isolate;
  text-align: center;
}

body[data-page="pricing"] .pricing-head-teaser::before,
body[data-page="portfolios"] .portfolios-head-teaser::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(220px, 76%);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(172, 0, 0, 0), rgba(172, 0, 0, 0.92), rgba(172, 0, 0, 0));
}

body[data-page="pricing"] .pricing-head-teaser::after,
body[data-page="portfolios"] .portfolios-head-teaser::after {
  content: "";
  position: absolute;
  inset: -26px -22px -12px;
  border-radius: 34px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 110, 110, 0.28), rgba(180, 0, 0, 0.14) 34%, rgba(20, 0, 0, 0) 72%),
    linear-gradient(180deg, rgba(128, 0, 0, 0.24) 0%, rgba(48, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0) 100%);
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.36);
}

body[data-page="pricing"] .pricing-head-teaser .section-label,
body[data-page="portfolios"] .portfolios-head-teaser .section-label {
  margin-bottom: 12px;
  font-size: 0.82rem;
  letter-spacing: 4px;
  font-weight: 900;
  color: rgba(255, 208, 120, 0.96);
  text-shadow: 0 0 14px rgba(255, 208, 120, 0.46), 0 0 2px rgba(255, 246, 220, 0.28);
}

body[data-page="pricing"] .pricing-head-teaser .section-title,
body[data-page="portfolios"] .portfolios-head-teaser .section-title {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.42), 0 0 20px rgba(255, 82, 82, 0.2);
}

body[data-page="pricing"] .pricing-head-teaser .section-sub,
body[data-page="portfolios"] .portfolios-head-teaser .section-sub {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(225, 214, 214, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

body[data-page="template-preview"] .template-preview-hero::before,
body[data-page="pricing"] .pricing-hero-section::before {
  content: "";
  position: absolute;
  inset: 94px 9vw auto;
  height: min(54vh, 440px);
  border-radius: 999px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 12%, rgba(255, 62, 62, 0.3) 0%, rgba(88, 0, 0, 0.54) 44%, rgba(10, 0, 0, 0) 76%);
  filter: blur(6px);
  opacity: 0.9;
}

body[data-page="template-preview"] .preview-shell {
  width: min(var(--preview-shell-width), 100%);
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid var(--tp-border);
  background:
    linear-gradient(160deg, rgba(24, 0, 0, 0.94), rgba(0, 0, 0, 0.98));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 0, 0, 0.15) inset;
  overflow: hidden;
}

body[data-page="template-preview"] .preview-shell-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 0, 0, 0.28);
  background: linear-gradient(180deg, rgba(34, 0, 0, 0.86), rgba(10, 0, 0, 0.86));
}

body[data-page="template-preview"] .preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 0, 0, 0.38);
}

body[data-page="template-preview"] .preview-dot:nth-child(1) { background: #ff1a1a; }
body[data-page="template-preview"] .preview-dot:nth-child(2) { background: #d10000; }
body[data-page="template-preview"] .preview-dot:nth-child(3) { background: #8b0000; }

body[data-page="template-preview"] .preview-shell-title {
  margin-left: 8px;
  font-size: 0.74rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ff2a2a;
  font-weight: 700;
}

body[data-page="template-preview"] .preview-shell-body {
  padding: clamp(20px, 3.4vw, 36px);
  text-align: left;
}

body[data-page="template-preview"] .preview-badge {
  border-color: rgba(255, 66, 66, 0.5);
  background: linear-gradient(125deg, rgba(204, 0, 0, 0.28), rgba(52, 0, 0, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 86, 86, 0.22), 0 12px 26px rgba(0, 0, 0, 0.45);
}

body[data-page="template-preview"] .preview-title {
  margin-top: 14px;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
  max-width: 920px;
}

body[data-page="template-preview"] .preview-title .accent {
  display: inline-block;
  background: linear-gradient(120deg, #ff0000, #cf0000 42%, #8b0000 74%, #ff0000);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 22px rgba(255, 41, 41, 0.3);
  animation: template-preview-shine 8s linear infinite;
}

@keyframes template-preview-shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

body[data-page="template-preview"] .preview-sub {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  margin-inline: auto;
}

body[data-page="template-preview"] .preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(760px, 100%);
  margin-top: 20px;
}

body[data-page="template-preview"] .preview-kpi {
  border: 1px solid var(--tp-border);
  background: linear-gradient(160deg, rgba(22, 0, 0, 0.94), rgba(0, 0, 0, 0.98));
  border-radius: 13px;
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body[data-page="template-preview"] .preview-kpi-value {
  font-family: var(--fd);
  color: #ffffff;
  font-size: 1.08rem;
  letter-spacing: 0.2px;
}

body[data-page="template-preview"] .preview-kpi-label {
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.64rem;
  color: var(--tp-red-soft);
}

body[data-page="template-preview"] .template-preview-cards > .section-label,
body[data-page="template-preview"] .template-preview-cards > .section-title,
body[data-page="template-preview"] .template-preview-cards > .section-sub {
  max-width: var(--preview-shell-width);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

body[data-page="template-preview"] .template-preview-cards > .section-sub {
  margin-bottom: 20px;
}

body[data-page="template-preview"] .template-entry-teaser {
  position: relative;
  margin: 0 auto 28px;
  padding: 22px 20px 16px;
  max-width: 760px;
  border-radius: 24px;
  isolation: isolate;
  text-align: center;
}

body[data-page="template-preview"] .template-entry-teaser::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(220px, 76%);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(172, 0, 0, 0.92), transparent);
  box-shadow: 0 0 14px rgba(255, 26, 26, 0.45);
}

body[data-page="template-preview"] .template-entry-teaser::after {
  content: "";
  position: absolute;
  inset: -26px -22px -12px;
  border-radius: 34px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 110, 110, 0.28), rgba(180, 0, 0, 0.14) 34%, rgba(20, 0, 0, 0) 72%),
    linear-gradient(180deg, rgba(128, 0, 0, 0.24) 0%, rgba(48, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0) 100%);
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.36);
}

body[data-page="template-preview"] .template-entry-teaser .section-label {
  margin-bottom: 12px;
  font-size: 0.82rem;
  letter-spacing: 4px;
  font-weight: 900;
  color: rgba(255, 208, 120, 0.96);
  text-shadow: 0 0 14px rgba(255, 208, 120, 0.46), 0 0 2px rgba(255, 246, 220, 0.28);
}

body[data-page="template-preview"] .template-entry-teaser .section-title {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.42), 0 0 20px rgba(255, 82, 82, 0.2);
  text-align: center;
}

body[data-page="template-preview"] .template-entry-teaser .section-sub {
  max-width: 620px;
  margin-bottom: 0;
  margin-inline: auto;
  color: var(--home-txt-mid);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  text-align: center;
}

body[data-page="template-preview"] .preview-device-status {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--tp-border);
  border-radius: 12px;
  padding: 11px 14px;
  background: linear-gradient(160deg, rgba(20, 0, 0, 0.94), rgba(0, 0, 0, 0.98));
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  box-shadow: inset 0 1px 0 rgba(255, 72, 72, 0.14), 0 14px 28px rgba(0, 0, 0, 0.48);
  max-width: min(760px, 100%);
  text-wrap: balance;
}

body[data-page="template-preview"] .preview-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff0000;
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.2), 0 0 14px rgba(255, 0, 0, 0.62);
  animation: template-status-dot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes template-status-dot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.16); }
}

body[data-page="template-preview"] .template-preview-cards {
  padding-top: 34px;
}

body[data-page="template-preview"] .preview-grid {
  max-width: var(--preview-shell-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(250px, 1.12fr) minmax(250px, 1fr) minmax(250px, 1fr);
  gap: 16px;
}

body[data-page="template-preview"] .preview-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
  min-height: 280px;
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid var(--tp-border);
  background:
    linear-gradient(160deg, rgba(24, 0, 0, 0.94), rgba(0, 0, 0, 0.98));
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 0, 0, 0.15) inset;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body[data-page="template-preview"] .preview-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.25s ease;
  background: linear-gradient(90deg, rgba(255, 0, 0, 0), rgba(255, 0, 0, 0.9), rgba(255, 0, 0, 0));
}

body[data-page="template-preview"] .preview-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 0, 0, 0.72);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 0, 0, 0.34) inset;
}

body[data-page="template-preview"] .preview-card > * {
  position: relative;
  z-index: 1;
}

body[data-page="template-preview"] .preview-card-guide {
  border-color: rgba(255, 164, 60, 0.55);
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 176, 72, 0.24), rgba(255, 176, 72, 0) 44%),
    linear-gradient(160deg, rgba(52, 10, 0, 0.94), rgba(18, 0, 0, 0.98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 164, 60, 0.2) inset;
}

body[data-page="template-preview"] .preview-focus-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  font-weight: 800;
  color: #ffd9a8;
  border: 1px solid rgba(255, 181, 92, 0.52);
  background: linear-gradient(130deg, rgba(112, 46, 0, 0.72), rgba(72, 12, 0, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 214, 150, 0.22), 0 8px 16px rgba(0, 0, 0, 0.35);
}

body[data-page="template-preview"] .preview-card-guide .preview-access-tag {
  border-color: rgba(255, 170, 76, 0.58);
  background: rgba(255, 170, 76, 0.17);
}

body[data-page="template-preview"] .preview-card-guide .preview-card-icon {
  color: #ffbe63;
  border-color: rgba(255, 176, 72, 0.62);
  background: linear-gradient(140deg, rgba(255, 162, 48, 0.3), rgba(48, 10, 0, 0.62));
}

body[data-page="template-preview"] .preview-card-guide h3 {
  color: #ffd0a1;
}

body[data-page="template-preview"] .preview-card-guide .preview-card-btn {
  border-color: rgba(255, 176, 72, 0.52);
}

body[data-page="template-preview"] .preview-card-guide:hover {
  border-color: rgba(255, 184, 82, 0.86);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 188, 88, 0.34) inset;
}

body[data-page="template-preview"] .preview-card-guide:hover .preview-card-btn {
  border-color: rgba(255, 184, 82, 0.78);
  background: linear-gradient(130deg, rgba(196, 96, 0, 0.82), rgba(120, 30, 0, 0.76));
}

body[data-page="template-preview"] .preview-access-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 0, 0, 0.5);
  color: #ffffff;
  background: rgba(255, 0, 0, 0.16);
  margin-bottom: 16px;
}

body[data-page="template-preview"] .preview-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.3rem;
  color: #ff1a1a;
  border: 1px solid rgba(255, 0, 0, 0.64);
  background: linear-gradient(140deg, rgba(255, 0, 0, 0.28), rgba(30, 0, 0, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body[data-page="template-preview"] .preview-card:hover .preview-card-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 0 1px rgba(255, 58, 58, 0.5), 0 0 18px rgba(255, 15, 15, 0.48), inset 0 1px 0 rgba(255, 90, 90, 0.25);
}

body[data-page="template-preview"] .preview-card h3 {
  font-family: var(--fd);
  margin-bottom: 8px;
  font-size: 1.28rem;
  letter-spacing: 0.2px;
  color: var(--tp-red-soft);
}

body[data-page="template-preview"] .preview-card p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
  font-size: 0.84rem;
  margin-bottom: 18px;
}

body[data-page="template-preview"] .preview-card-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 14px;
  padding: 10px 16px;
  border: 2px solid rgba(255, 106, 106, 0.54);
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.36px;
  text-transform: uppercase;
  font-weight: 800;
  background: linear-gradient(180deg, #d70000 0%, #920000 100%);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 0 rgba(255, 196, 196, 0.32), 0 9px 18px rgba(0, 0, 0, 0.42), 0 0 20px rgba(255, 22, 22, 0.3);
}

body[data-page="template-preview"] .preview-card-btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex-shrink: 0;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

body[data-page="template-preview"] .preview-card-btn::before {
  content: "";
  position: absolute;
  inset: -2px auto -2px -34%;
  width: 26%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 225, 225, 0.5), transparent);
  transition: transform 0.38s ease;
}

body[data-page="template-preview"] .preview-card:hover .preview-card-btn {
  color: #fff;
  border-color: rgba(255, 160, 160, 0.78);
  background: linear-gradient(180deg, #ff0707 0%, #aa0000 100%);
  box-shadow: inset 0 2px 0 rgba(255, 218, 218, 0.42), 0 11px 24px rgba(0, 0, 0, 0.5), 0 0 26px rgba(255, 36, 36, 0.4);
}

body[data-page="template-preview"] .preview-card:hover .preview-card-btn::before {
  transform: skewX(-20deg) translateX(520%);
}

body[data-page="template-preview"] .preview-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(150deg, rgba(16, 0, 0, 0.74), rgba(25, 0, 0, 0.88));
  backdrop-filter: blur(10px) saturate(0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2;
}

body[data-page="template-preview"] .preview-lock-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-align: center;
  border: 1px solid rgba(255, 40, 40, 0.78);
  border-radius: 12px;
  background: rgba(20, 0, 0, 0.9);
  color: #ff2a2a;
  padding: 10px 14px;
  font-size: 0.68rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.72), 0 0 22px rgba(255, 25, 25, 0.3);
}

body[data-page="template-preview"] .preview-card.is-locked .preview-lock-overlay {
  opacity: 1;
}

body[data-page="template-preview"] .preview-card.is-locked {
  filter: saturate(0.78);
}

body[data-page="template-preview"] .preview-card.is-disabled-link {
  opacity: 1;
  pointer-events: none;
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 40px 5vw 26px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-brand .logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(255, 70, 70, 0.35);
}

.footer-brand .logo .brand-text {
  font-family: var(--fd);
  font-size: 1.4rem;
}

.footer-brand .logo .brand-text span { color: var(--red); }
.footer-col h4 { color: var(--t3); text-transform: uppercase; font-size: 0.75rem; margin-bottom: 10px; }
.footer-col a { display: block; color: var(--t2); text-decoration: none; font-size: 0.82rem; margin-bottom: 6px; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  color: var(--t3);
  font-size: 0.73rem;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 980px) {
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid, .features-grid { grid-template-columns: 1fr; }
  body[data-page="template-preview"] .template-preview-hero::before,
  body[data-page="pricing"] .pricing-hero-section::before {
    inset: 82px -6vw auto;
    height: 46vh;
    filter: blur(8px);
    opacity: 0.86;
  }
  body[data-page="pricing"] .plan-seal { min-width: 132px; }
  body[data-page="pricing"] .analysis-grid { grid-template-columns: 1fr; }
  body[data-page="pricing"] .yearly-best .plan-seals { margin-top: 0; }
  body[data-page="pricing"] .kuet-promo-board { grid-template-columns: 1fr; }
  body[data-page="template-preview"] .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="template-preview"] .preview-card-guide { min-height: 0; }
  body[data-page="template-preview"] .preview-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body[data-page="features"] .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="portfolios"] .hero-stat { min-width: 190px; }
  body[data-page="portfolios"] .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premium-feature-banner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    padding: 22px;
  }
  .pf-content { align-items: center; }
  .pf-content p { max-width: 66ch; }
  .scan-grid { grid-template-columns: 1fr; max-width: 560px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .bg-glow {
    left: 0;
    right: 0;
    transform: none;
    width: auto;
    max-width: none;
    height: 460px;
    top: -14%;
  }

  nav {
    height: 58px;
    padding: 0 4vw;
  }
  .hamburger { display: block; }
  nav .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 4vw;
    right: 4vw;
    z-index: 950;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 88, 88, 0.3);
    background: linear-gradient(170deg, rgba(28, 0, 0, 0.96), rgba(8, 0, 0, 0.96));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.46);
  }
  nav .nav-links.is-open {
    display: flex;
  }
  nav .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(204, 0, 0, 0.2);
    background: rgba(204, 0, 0, 0.08);
    font-size: 0.84rem;
    text-align: left;
  }
  nav .nav-links a.nav-cta {
    text-align: center;
  }
  body[data-page="home"] .home-hero::before {
    inset: 114px 6vw auto;
    height: min(50vh, 390px);
  }
  body[data-page="home"] .home-quick .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="home"] .hero-stat { min-width: 148px; }
  body[data-page="home"] .home-hero {
    min-height: auto;
    padding-top: 122px;
    padding-bottom: 12px;
  }
  body[data-page="home"] .home-quick {
    padding-top: 8px;
  }
  body[data-page="home"] .home-hero::before {
    inset: 106px -6vw auto;
    border-radius: 999px;
    height: 48vh;
    filter: blur(8px);
    opacity: 0.88;
  }
  body[data-page="home"] .hero-sub { font-size: 0.9rem; }
  body[data-page="home"] .hero-btns a {
    width: 100%;
    justify-content: center;
    padding: 11px 14px;
    font-size: 0.84rem;
  }
  body[data-page="home"] .hero-cta-chips {
    margin-top: 8px;
    gap: 8px;
  }
  body[data-page="home"] .hero-cta-chip {
    font-size: 0.61rem;
    letter-spacing: 0.58px;
    padding: 5px 9px;
  }
  body[data-page="home"] .hero-stats { gap: 10px; }
  body[data-page="home"] .home-quick-teaser {
    margin: 0 auto 22px;
    padding: 18px 14px 14px;
  }
  body[data-page="home"] .home-quick-teaser::after {
    inset: -20px -12px -9px;
    border-radius: 24px;
  }
  body[data-page="home"] .home-quick-teaser .section-label {
    font-size: 0.8rem;
    letter-spacing: 3.1px;
    font-weight: 900;
    color: rgba(255, 208, 120, 0.96) !important;
    text-shadow: 0 0 12px rgba(255, 208, 120, 0.42) !important;
    margin-bottom: 10px;
  }
  body[data-page="home"] .home-scan .home-scan-teaser {
    margin: 0 auto 22px;
    padding: 18px 14px 14px;
  }
  body[data-page="home"] .home-scan .home-scan-teaser::after {
    inset: -20px -12px -9px;
    border-radius: 24px;
  }
  body[data-page="home"] .home-scan .home-scan-teaser .section-label {
    font-size: 0.8rem;
    letter-spacing: 3.1px;
    font-weight: 900;
    color: rgba(255, 208, 120, 0.96);
    text-shadow: 0 0 12px rgba(255, 208, 120, 0.42);
    margin-bottom: 10px;
  }
  body[data-page="pricing"] .pricing-head-teaser,
  body[data-page="portfolios"] .portfolios-head-teaser {
    margin-bottom: 22px;
    padding: 18px 14px 14px;
  }
  body[data-page="pricing"] .pricing-head-teaser::after,
  body[data-page="portfolios"] .portfolios-head-teaser::after {
    inset: -20px -12px -9px;
    border-radius: 24px;
  }
  body[data-page="pricing"] .pricing-head-teaser .section-label,
  body[data-page="portfolios"] .portfolios-head-teaser .section-label {
    font-size: 0.8rem;
    letter-spacing: 3.1px;
    color: rgba(255, 208, 120, 0.96);
    text-shadow: 0 0 12px rgba(255, 208, 120, 0.42);
    margin-bottom: 10px;
  }
  body[data-page="pricing"] .plan-seals { gap: 8px; margin-bottom: 12px; }
  body[data-page="pricing"] .best-offer-seal {
    width: 92px;
    height: 92px;
    right: -20px;
    top: -14px;
  }
  body[data-page="pricing"] .seal-core {
    width: 66px;
    height: 66px;
  }
  body[data-page="pricing"] .seal-core span { font-size: 0.9rem; }
  body[data-page="pricing"] .seal-core small { font-size: 0.4rem; max-width: 52px; }
  body[data-page="pricing"] .yearly-best .plan-seals { margin-top: 0; }
  body[data-page="pricing"] .plan-seal {
    min-width: 0;
    flex: 1 1 calc(50% - 4px);
    min-height: 30px;
    font-size: 0.62rem;
    padding: 5px 8px;
  }
  body[data-page="pricing"] .econ-strip {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  body[data-page="home"] .hero-stat {
    width: calc(50% - 5px);
    min-width: 0;
    padding: 11px 8px;
  }
  body[data-page="home"] .hero-stat-val { font-size: 1.6rem; }
  body[data-page="home"] .home-quick .quick-grid { grid-template-columns: 1fr; }
  body[data-page="home"] .home-quick .quick-card { padding: 18px; }
  body[data-page="home"] .home-scan .scan-card { padding: 18px; }
  body[data-page="pricing"] .plan-flow { padding: 10px; }
  body[data-page="pricing"] .flow-kuet { font-size: 1.24rem; }
  body[data-page="pricing"] .flow-final-price { font-size: 1.7rem; }
  body[data-page="home"] .home-scan .qr-logo-wrap {
    width: 52px;
    height: 52px;
  }
  body[data-page="home"] .home-scan .qr-logo-wrap img {
    width: 30px;
    height: 30px;
  }
  body[data-page="features"] .features-grid { grid-template-columns: 1fr; }
  body[data-page="features"] .why-best-grid { grid-template-columns: 1fr; }
  body[data-page="features"] .model-convince-grid { grid-template-columns: 1fr; }
  body[data-page="features"] .feature-proof { margin-bottom: 16px; }
  body[data-page="features"] .proof-chip { font-size: 0.62rem; }
  body[data-page="features"] .feat-ribbon {
    right: -20px;
    top: 8px;
    min-width: 104px;
  }
  body[data-page="features"] .feat-ribbon span {
    font-size: 0.56rem;
    padding: 3px 9px;
  }
  body[data-page="features"] .model-cta-row {
    flex-direction: column;
  }
  body[data-page="features"] .model-cta-row .btn-primary,
  body[data-page="features"] .model-cta-row .btn-outline {
    justify-content: center;
    width: 100%;
  }
  body[data-page="features"] .feat-card { border-radius: 16px; }
  body[data-page="portfolios"] .portfolios-stage { border-radius: 14px; }
  body[data-page="portfolios"] .hero-stat { width: 100%; min-width: 0; }
  body[data-page="portfolios"] .hero-stat-val { font-size: 2rem; }
  body[data-page="portfolios"] .clients-grid { grid-template-columns: 1fr; }
  body[data-page="portfolios"] .client-card { padding: 16px 14px 14px; }
  body[data-page="portfolios"] .client-avatar { width: 136px; height: 136px; }
  .hero { min-height: auto; padding-top: 96px; }
  h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero-stat-val { font-size: 1.8rem; }
  section { padding: 72px 6vw; }
  .form-row { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .client-avatar { width: 136px; height: 136px; }
  .premium-feature-banner { border-radius: 18px; padding: 18px; }
  .pf-logo-frame { width: 124px; height: 124px; border-radius: 24px; }
  .pf-logo-img { width: 70px; height: 70px; border-radius: 14px; }
  .pf-content h2 { font-size: clamp(1.28rem, 6vw, 1.8rem); }
  .pf-content p { font-size: 0.84rem; }
  .scan-card { padding: 18px; }
  .scan-card-top h3 { font-size: 1.15rem; }
  .scan-link { font-size: 0.72rem; }
  .footer-inner { gap: 24px 18px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  body[data-page="template-preview"] .preview-grid {
    grid-template-columns: 1fr;
  }
  body[data-page="template-preview"] .template-preview-hero {
    padding-top: 112px;
    padding-bottom: 28px;
  }
  body[data-page="template-preview"] .template-entry-teaser {
    margin-bottom: 20px;
    padding: 18px 14px 14px;
  }
  body[data-page="template-preview"] .template-entry-teaser::after {
    inset: -20px -12px -9px;
    border-radius: 24px;
  }
  body[data-page="template-preview"] .template-entry-teaser .section-label {
    font-size: 0.8rem;
    letter-spacing: 3.1px;
    color: rgba(255, 208, 120, 0.96);
    text-shadow: 0 0 12px rgba(255, 208, 120, 0.42);
    margin-bottom: 10px;
  }
  body[data-page="template-preview"] .preview-shell {
    border-radius: 16px;
  }
  body[data-page="template-preview"] .preview-shell-body {
    padding: 18px 14px;
  }
  body[data-page="template-preview"] .preview-title {
    margin-top: 12px;
    margin-bottom: 10px;
  }
  body[data-page="template-preview"] .preview-kpis {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }
  body[data-page="template-preview"] .preview-card {
    min-height: 0;
  }
  body[data-page="template-preview"] .preview-device-status {
    display: flex;
    font-size: 0.74rem;
    line-height: 1.5;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body[data-page="home"] .hero-stats {
    gap: 8px;
  }

  body[data-page="home"] .hero-stat {
    width: 100%;
    min-width: 0;
  }
}

/* Final polish: mascot + journey/icon visibility */
body[data-page="features"] .mascot-antenna {
  background: rgba(255, 210, 210, 0.98);
}

body[data-page="features"] .mascot-antenna::after {
  background: #ff4d4d;
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.78);
}

body[data-page="features"] .mascot-head {
  border-color: rgba(255, 120, 120, 0.75);
  background: linear-gradient(160deg, rgba(36, 4, 8, 0.95), rgba(8, 0, 0, 0.96));
}

body[data-page="features"] .mascot-head .eye {
  background: #ff6a6a;
  box-shadow: 0 0 11px rgba(255, 106, 106, 0.86);
}

body[data-page="features"] .mascot-head .mouth {
  background: rgba(255, 220, 220, 0.95);
}

body[data-page="features"] .mascot-bubble strong {
  color: #fff4f4;
  text-shadow: 0 0 8px rgba(255, 78, 78, 0.35);
}

body[data-page="features"] .mascot-bubble span {
  color: rgba(255, 238, 238, 0.96);
}

body[data-page="features"] .mascot-body {
  border-color: rgba(255, 120, 120, 0.62);
  background: linear-gradient(160deg, rgba(33, 4, 7, 0.96), rgba(7, 0, 0, 0.96));
}

body[data-page="features"] .mascot-arm {
  background: rgba(255, 180, 180, 0.98);
}

body[data-page="features"] .journey-panel h4 i,
body[data-page="features"] .engine-live-card i,
body[data-page="features"] .compare-title i,
body[data-page="features"] .pillar-icon i,
body[data-page="features"] .engine-story-panel h4 i,
body[data-page="features"] .engine-ticker-track span i,
body[data-page="features"] .faq-icon i {
  color: #ff7474;
  text-shadow: 0 0 11px rgba(255, 102, 102, 0.52);
}

body[data-page="features"] .engine-live-card {
  color: rgba(255, 244, 244, 0.98);
}

body[data-page="features"] .engine-live-card i {
  font-size: 0.88rem;
}

body[data-page="features"] .journey-step {
  border-color: rgba(255, 112, 112, 0.58);
  color: rgba(255, 230, 230, 0.96);
}

body[data-page="features"] .journey-step.is-active,
body[data-page="features"] .journey-step:hover {
  border-color: rgba(255, 82, 82, 0.84);
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.3), rgba(139, 0, 0, 0.24));
  color: #ffffff;
}

/* Hard contrast lock for robot + command icons */
body[data-page="features"] .engine-command-zone .mascot-bubble strong {
  color: #fff6f6 !important;
  font-size: 0.92rem;
}

body[data-page="features"] .engine-command-zone .mascot-bubble span {
  color: rgba(255, 242, 242, 0.98) !important;
  font-size: 0.84rem;
  line-height: 1.58;
}

body[data-page="features"] .engine-command-zone .engine-live-card {
  color: rgba(255, 246, 246, 0.99) !important;
  border-color: rgba(255, 96, 96, 0.42) !important;
  font-size: 0.88rem;
  cursor: pointer;
}

body[data-page="features"] .engine-command-zone .engine-live-card i,
body[data-page="features"] .engine-command-zone .mascot-head .eye,
body[data-page="features"] .engine-command-zone .mascot-antenna::after {
  color: #ff7a7a !important;
  background-color: #ff7a7a !important;
  opacity: 1 !important;
  text-shadow: 0 0 12px rgba(255, 122, 122, 0.62) !important;
}

body[data-page="features"] .engine-command-zone .engine-live-card.is-active {
  border-color: rgba(255, 122, 122, 0.86) !important;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 122, 122, 0.32) inset !important;
  transform: translateY(-1px);
}

body[data-page="features"] .engine-command-zone .engine-live-card:focus-visible {
  outline: 2px solid rgba(255, 150, 150, 0.88);
  outline-offset: 2px;
}

body[data-page="features"] .engine-command-feed {
  margin-top: 12px;
  border: 1px solid rgba(255, 96, 96, 0.38);
  border-radius: 12px;
  padding: 11px;
  background:
    radial-gradient(circle at 86% 18%, rgba(204, 0, 0, 0.16), transparent 48%),
    linear-gradient(160deg, rgba(20, 4, 4, 0.94), rgba(10, 1, 1, 0.96));
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(204, 0, 0, 0.12) inset;
}

body[data-page="features"] .command-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body[data-page="features"] .command-feed-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 240, 240, 0.96);
  font-family: var(--fd);
  font-size: 0.92rem;
  letter-spacing: 0.24px;
}

body[data-page="features"] .command-feed-title i {
  color: #ff7474;
}

body[data-page="features"] .command-demo-toggle {
  appearance: none;
  border: 1px solid rgba(255, 108, 108, 0.54);
  border-radius: 999px;
  background: rgba(204, 0, 0, 0.14);
  color: rgba(255, 244, 244, 0.98);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

body[data-page="features"] .command-demo-toggle:hover {
  border-color: rgba(255, 126, 126, 0.84);
  background: rgba(204, 0, 0, 0.22);
  transform: translateY(-1px);
}

body[data-page="features"] .command-demo-toggle.is-running {
  border-color: rgba(255, 146, 146, 0.9);
  background: rgba(204, 0, 0, 0.3);
  box-shadow: 0 0 0 1px rgba(255, 120, 120, 0.28) inset;
}

body[data-page="features"] .command-demo-toggle:focus-visible {
  outline: 2px solid rgba(255, 160, 160, 0.86);
  outline-offset: 2px;
}

body[data-page="features"] .command-feed-sub {
  margin: 10px 0 9px;
  color: rgba(255, 236, 236, 0.9);
  font-size: 0.84rem;
  line-height: 1.6;
}

body[data-page="features"] .command-feed-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body[data-page="features"] .command-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px dashed rgba(255, 120, 120, 0.5);
  background: rgba(204, 0, 0, 0.1);
  color: rgba(255, 228, 228, 0.96);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16px;
  padding: 5px 10px;
}

body[data-page="features"] .command-chip.is-strong {
  border-style: solid;
  border-color: rgba(255, 132, 132, 0.74);
  background: rgba(204, 0, 0, 0.22);
  color: #fff6f6;
}

@media (max-width: 760px) {
  body[data-page="features"] .engine-command-zone .engine-live-card {
    font-size: 0.94rem;
  }

  body[data-page="features"] .engine-command-zone .mascot-bubble strong {
    font-size: 0.96rem;
  }

  body[data-page="features"] .engine-command-zone .mascot-bubble span,
  body[data-page="features"] .command-feed-sub {
    font-size: 0.92rem;
  }

  body[data-page="features"] .command-feed-title {
    font-size: 0.98rem;
  }

  body[data-page="features"] .command-demo-toggle {
    font-size: 0.86rem;
    padding: 8px 13px;
  }

  body[data-page="features"] .command-chip {
    font-size: 0.8rem;
    padding: 6px 11px;
  }
}

/* Final deep noir-red lock: icons, panel sides, mascot tones */
body[data-page="features"] {
  --engine-deep-red: #8f1717;
  --engine-deep-red-soft: #b73a3a;
  --engine-deep-red-line: rgba(143, 23, 23, 0.58);
  --engine-deep-red-side: rgba(173, 38, 38, 0.76);
}

body[data-page="features"] .engine-floating-badge i,
body[data-page="features"] .journey-panel h4 i,
body[data-page="features"] .engine-live-card i,
body[data-page="features"] .compare-title i,
body[data-page="features"] .pillar-icon i,
body[data-page="features"] .engine-story-panel h4 i,
body[data-page="features"] .engine-ticker-track span i,
body[data-page="features"] .faq-icon i,
body[data-page="features"] .faq-trigger i,
body[data-page="features"] .command-feed-title i,
body[data-page="features"] .command-demo-toggle i {
  color: var(--engine-deep-red-soft) !important;
  text-shadow: 0 0 8px rgba(183, 58, 58, 0.35) !important;
}

body[data-page="features"] .old-way .compare-title i {
  color: #8a3939 !important;
}

body[data-page="features"] .a3km-way .compare-title i {
  color: #c14d4d !important;
}

body[data-page="features"] .engine-main-zone,
body[data-page="features"] .engine-command-zone,
body[data-page="features"] .engine-journey,
body[data-page="features"] .journey-panel,
body[data-page="features"] .engine-live-card,
body[data-page="features"] .engine-command-feed,
body[data-page="features"] .compare-box,
body[data-page="features"] .engine-pillar,
body[data-page="features"] .engine-story,
body[data-page="features"] .engine-story-panel,
body[data-page="features"] .engine-faq,
body[data-page="features"] .faq-item {
  border-color: var(--engine-deep-red-line) !important;
  border-left: 2px solid var(--engine-deep-red-side) !important;
}

body[data-page="features"] .engine-command-zone .engine-live-card.is-active {
  border-left-color: #d15a5a !important;
}

body[data-page="features"] .mascot-antenna {
  background: rgba(214, 167, 167, 0.95) !important;
}

body[data-page="features"] .mascot-antenna::after {
  background: #991f1f !important;
  box-shadow: 0 0 8px rgba(153, 31, 31, 0.55) !important;
}

body[data-page="features"] .mascot-head {
  border-color: rgba(143, 23, 23, 0.78) !important;
  background: linear-gradient(160deg, rgba(30, 5, 8, 0.96), rgba(8, 1, 1, 0.97)) !important;
}

body[data-page="features"] .mascot-head .eye {
  background: #ab2a2a !important;
  box-shadow: 0 0 8px rgba(171, 42, 42, 0.5) !important;
}

body[data-page="features"] .mascot-head .mouth {
  background: rgba(222, 182, 182, 0.9) !important;
}

body[data-page="features"] .mascot-body {
  border-color: rgba(143, 23, 23, 0.72) !important;
  background: linear-gradient(160deg, rgba(28, 5, 7, 0.97), rgba(6, 1, 1, 0.97)) !important;
}

body[data-page="features"] .mascot-arm {
  background: rgba(174, 96, 96, 0.96) !important;
}

/* Final user-request lock: no pink, bold filled glossy logos, mascots same tone */
body[data-page="features"] {
  --engine-noir-red: #7a0707;
  --engine-noir-red-strong: #980d0d;
  --engine-noir-red-gloss: #d01f1f;
  --engine-noir-red-line: rgba(122, 7, 7, 0.66);
  --engine-noir-red-side: rgba(152, 13, 13, 0.86);
}

body[data-page="features"] .engine-main-zone,
body[data-page="features"] .engine-command-zone,
body[data-page="features"] .engine-journey,
body[data-page="features"] .journey-panel,
body[data-page="features"] .engine-live-card,
body[data-page="features"] .engine-command-feed,
body[data-page="features"] .compare-box,
body[data-page="features"] .engine-pillar,
body[data-page="features"] .engine-story,
body[data-page="features"] .engine-story-panel,
body[data-page="features"] .engine-faq,
body[data-page="features"] .faq-item {
  border-color: var(--engine-noir-red-line) !important;
  border-left: 2px solid var(--engine-noir-red-side) !important;
}

body[data-page="features"] .engine-live-card i,
body[data-page="features"] .journey-panel h4 i,
body[data-page="features"] .compare-title i,
body[data-page="features"] .engine-story-panel h4 i,
body[data-page="features"] .engine-ticker-track span i,
body[data-page="features"] .faq-trigger i,
body[data-page="features"] .command-feed-title i,
body[data-page="features"] .command-demo-toggle i,
body[data-page="features"] .features-tech-panel .proof-chip i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 9px;
  background: linear-gradient(165deg, rgba(39, 2, 2, 0.98), rgba(10, 0, 0, 0.98)) !important;
  border: 1px solid rgba(152, 13, 13, 0.9) !important;
  color: var(--engine-noir-red-gloss) !important;
  font-size: 0.82rem;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(208, 31, 31, 0.45) !important;
  box-shadow: inset 0 1px 0 rgba(255, 192, 192, 0.2), 0 0 10px rgba(122, 7, 7, 0.45) !important;
}

body[data-page="features"] .pillar-icon,
body[data-page="features"] .faq-icon {
  border-color: rgba(152, 13, 13, 0.82) !important;
  background: linear-gradient(165deg, rgba(32, 2, 2, 0.98), rgba(8, 0, 0, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 190, 190, 0.16), 0 0 10px rgba(122, 7, 7, 0.36) !important;
}

body[data-page="features"] .pillar-icon i,
body[data-page="features"] .faq-icon i {
  color: var(--engine-noir-red-gloss) !important;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(208, 31, 31, 0.45) !important;
}

body[data-page="features"] .mascot-antenna {
  background: rgba(122, 7, 7, 0.98) !important;
}

body[data-page="features"] .mascot-antenna::after {
  background: var(--engine-noir-red-strong) !important;
  box-shadow: 0 0 9px rgba(152, 13, 13, 0.6) !important;
}

body[data-page="features"] .mascot-head {
  border-color: rgba(152, 13, 13, 0.86) !important;
  background: linear-gradient(160deg, rgba(30, 4, 4, 0.98), rgba(7, 0, 0, 0.98)) !important;
}

body[data-page="features"] .mascot-head .eye {
  background: var(--engine-noir-red-gloss) !important;
  box-shadow: 0 0 10px rgba(208, 31, 31, 0.5) !important;
}

body[data-page="features"] .mascot-body {
  border-color: rgba(152, 13, 13, 0.8) !important;
  background: linear-gradient(160deg, rgba(27, 3, 3, 0.98), rgba(5, 0, 0, 0.98)) !important;
}

body[data-page="features"] .mascot-arm,
body[data-page="features"] .mascot-head .mouth {
  background: rgba(163, 22, 22, 0.94) !important;
}

body[data-page="features"] .engine-command-zone .engine-live-card.is-active {
  border-left-color: rgba(208, 31, 31, 0.95) !important;
}

body[data-page="features"] .engine-mascot,
body[data-page="features"] .engine-mascot-mini {
  filter: drop-shadow(0 0 10px rgba(122, 7, 7, 0.42));
}

body[data-page="features"] .mascot-head {
  border-width: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 194, 194, 0.18), 0 0 12px rgba(122, 7, 7, 0.4) !important;
}

body[data-page="features"] .mascot-body {
  border-width: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 184, 184, 0.14), 0 0 10px rgba(122, 7, 7, 0.34) !important;
}

body[data-page="features"] .mascot-arm,
body[data-page="features"] .mascot-head .mouth {
  background: rgba(208, 31, 31, 0.96) !important;
  box-shadow: 0 0 8px rgba(122, 7, 7, 0.3);
}

/* Border color refresh (requested) */
body[data-page="features"] {
  --engine-border-main: rgba(255, 56, 40, 0.78);
  --engine-border-soft: rgba(255, 48, 34, 0.9);
  --engine-border-strong: rgba(255, 92, 70, 0.98);
}

body[data-page="features"] .engine-hero-panel,
body[data-page="features"] .engine-main-zone,
body[data-page="features"] .engine-command-zone,
body[data-page="features"] .engine-journey,
body[data-page="features"] .engine-command-feed,
body[data-page="features"] .engine-story,
body[data-page="features"] .engine-faq,
body[data-page="features"] .compare-box,
body[data-page="features"] .engine-pillar,
body[data-page="features"] .faq-item,
body[data-page="features"] .engine-story-panel,
body[data-page="features"] .journey-panel {
  border-color: var(--engine-border-main) !important;
}

body[data-page="features"] .engine-live-card,
body[data-page="features"] .command-chip,
body[data-page="features"] .command-demo-toggle,
body[data-page="features"] .journey-step,
body[data-page="features"] .engine-tab,
body[data-page="features"] .engine-stat {
  border-color: var(--engine-border-main) !important;
}

body[data-page="features"] .engine-live-card,
body[data-page="features"] .faq-item,
body[data-page="features"] .journey-panel,
body[data-page="features"] .engine-story-panel,
body[data-page="features"] .engine-command-feed {
  border-left-color: var(--engine-border-soft) !important;
}

body[data-page="features"] .engine-live-card.is-active,
body[data-page="features"] .command-demo-toggle.is-running,
body[data-page="features"] .journey-step.is-active,
body[data-page="features"] .engine-tab.is-active {
  border-color: var(--engine-border-strong) !important;
}

/* FAQ readability upgrade: paper-depth layout with border series */
body[data-page="features"] .engine-faq {
  position: relative;
  isolation: isolate;
  border-width: 2px !important;
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 70, 50, 0.08), transparent 42%),
    linear-gradient(165deg, rgba(19, 2, 2, 0.98), rgba(8, 0, 0, 0.98));
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 60, 40, 0.2) inset;
}

body[data-page="features"] .engine-faq::before {
  content: "";
  position: absolute;
  inset: 8px -8px -8px 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 70, 50, 0.32);
  background: linear-gradient(170deg, rgba(20, 3, 3, 0.8), rgba(7, 0, 0, 0.88));
  transform: rotate(-0.45deg);
  z-index: -1;
  opacity: 0.92;
}

body[data-page="features"] .faq-head {
  margin-bottom: 12px;
}

body[data-page="features"] .faq-q {
  font-size: 1.06rem;
  letter-spacing: 0.2px;
}

body[data-page="features"] .faq-accordion {
  gap: 10px;
}

body[data-page="features"] .faq-item {
  position: relative;
  border-width: 1px !important;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(170deg, rgba(23, 2, 2, 0.94), rgba(11, 0, 0, 0.95));
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(255, 50, 35, 0.08) inset;
}

body[data-page="features"] .faq-item:nth-child(1) {
  border-left: 4px solid rgba(255, 88, 64, 0.92) !important;
}

body[data-page="features"] .faq-item:nth-child(2) {
  border-left: 3px solid rgba(255, 74, 54, 0.84) !important;
}

body[data-page="features"] .faq-item:nth-child(3) {
  border-left: 2px solid rgba(255, 62, 46, 0.76) !important;
}

body[data-page="features"] .faq-item.is-open {
  border-color: rgba(255, 96, 72, 0.95) !important;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 76, 56, 0.2) inset;
}

body[data-page="features"] .faq-trigger {
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(255, 42, 24, 0.08), rgba(255, 42, 24, 0));
}

body[data-page="features"] .faq-trigger span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body[data-page="features"] .faq-trigger span::before {
  content: "Q";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: rgba(255, 247, 245, 0.96);
  border: 1px solid rgba(255, 86, 62, 0.72);
  background: linear-gradient(160deg, rgba(128, 14, 14, 0.96), rgba(64, 6, 6, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 175, 163, 0.26);
}

body[data-page="features"] .faq-panel {
  padding: 0 14px 12px;
  border-top: 1px dashed rgba(255, 74, 54, 0.44);
  background: linear-gradient(180deg, rgba(255, 46, 28, 0.05), rgba(255, 46, 28, 0));
}

body[data-page="features"] .faq-panel p {
  margin-top: 10px;
  border-left: 2px solid rgba(255, 78, 58, 0.6);
  border-radius: 10px;
  padding: 10px 12px 10px 16px;
  background: linear-gradient(160deg, rgba(26, 2, 2, 0.9), rgba(11, 0, 0, 0.9));
  position: relative;
}

body[data-page="features"] .faq-panel p::before {
  content: "A";
  position: absolute;
  left: -11px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: rgba(255, 247, 245, 0.96);
  border: 1px solid rgba(255, 96, 72, 0.82);
  background: linear-gradient(160deg, rgba(146, 20, 20, 0.96), rgba(72, 8, 8, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 175, 163, 0.24);
}

body[data-page="features"] .faq-panel p strong {
  color: rgba(255, 218, 210, 0.98);
}

@media (max-width: 760px) {
  body[data-page="features"] .engine-faq::before {
    inset: 6px -4px -6px 4px;
  }

  body[data-page="features"] .faq-trigger {
    padding: 11px 12px;
  }

  body[data-page="features"] .faq-panel {
    padding: 0 12px 11px;
  }
}

/* Mascot duo activity: interaction loop + physics bubbles */
body[data-page="features"] .engine-duo {
  position: relative;
  overflow: visible;
  min-height: 104px;
}

body[data-page="features"] .engine-duo .engine-mascot,
body[data-page="features"] .engine-duo .engine-mascot-mini {
  animation: none !important;
  transform-origin: center 88%;
  will-change: transform, filter;
  z-index: 2;
  transition: filter 0.2s ease;
}

body[data-page="features"] .engine-mascot-mini .mini-arm {
  width: 8px;
  height: 2px;
  bottom: 11px;
  border-radius: 999px;
}

body[data-page="features"] .engine-mascot-mini .mascot-arm-left.mini-arm {
  left: 0;
}

body[data-page="features"] .engine-mascot-mini .mascot-arm-right.mini-arm {
  right: 0;
}

body[data-page="features"] .engine-duo.is-interacting .engine-mascot,
body[data-page="features"] .engine-duo.is-interacting .engine-mascot-mini {
  filter: drop-shadow(0 0 12px rgba(208, 31, 31, 0.55));
}

body[data-page="features"] .engine-duo.is-interacting .mascot-arm-left {
  animation-duration: 1.3s;
}

body[data-page="features"] .engine-duo.is-interacting .mascot-arm-right {
  animation-duration: 1.3s;
}

body[data-page="features"] .engine-duo.is-interacting .mascot-head .eye {
  box-shadow: 0 0 12px rgba(255, 66, 66, 0.62) !important;
}

body[data-page="features"] .engine-duo.is-duel .mascot-arm-left,
body[data-page="features"] .engine-duo.is-duel .mascot-arm-right {
  animation-duration: 0.8s;
}

body[data-page="features"] .engine-duo.is-chasing .mascot-arm-left,
body[data-page="features"] .engine-duo.is-chasing .mascot-arm-right {
  animation-duration: 0.7s;
}

body[data-page="features"] .engine-duo.is-ball-play .mascot-head .eye {
  box-shadow: 0 0 13px rgba(255, 88, 88, 0.68) !important;
}

body[data-page="features"] .mascot-activity-layer {
  position: absolute;
  inset: -12px -10px -6px;
  pointer-events: none;
  z-index: 1;
}

body[data-page="features"] .mascot-activity-bubble {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  border: 1px solid rgba(255, 110, 90, 0.72);
  background: radial-gradient(circle at 30% 30%, rgba(255, 240, 236, 0.52), rgba(208, 31, 31, 0.16) 52%, rgba(208, 31, 31, 0.04));
  box-shadow: 0 0 8px rgba(208, 31, 31, 0.3), inset 0 0 6px rgba(255, 212, 204, 0.24);
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

body[data-page="features"] .mascot-activity-bubble::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 30%;
  height: 30%;
  border-radius: 999px;
  background: rgba(255, 242, 238, 0.7);
}

body[data-page="features"] .mascot-play-ball {
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  opacity: 0;
  border: 1px solid rgba(255, 214, 204, 0.84);
  background:
    radial-gradient(circle at 32% 32%, rgba(255, 235, 228, 0.92), rgba(255, 96, 74, 0.68) 42%, rgba(159, 22, 18, 0.98) 100%);
  box-shadow: 0 0 10px rgba(208, 31, 31, 0.62), inset 0 0 6px rgba(255, 236, 232, 0.35);
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="features"] .mascot-activity-layer {
    display: none !important;
  }

  body[data-page="features"] .engine-duo .engine-mascot,
  body[data-page="features"] .engine-duo .engine-mascot-mini {
    transform: none !important;
  }
}

/* Final border management: 3D hierarchy + polished glass micro-buttons */
body[data-page="features"] {
  --bm-line-major: rgba(255, 0, 0, 0.66);
  --bm-line-medium: rgba(255, 0, 0, 0.54);
  --bm-line-light: rgba(255, 0, 0, 0.42);
  --bm-glass-bg: linear-gradient(165deg, rgba(34, 6, 6, 0.78), rgba(16, 2, 2, 0.82));
  --bm-glass-hi: rgba(255, 214, 214, 0.22);
  --bm-depth-major: 0 18px 34px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 0, 0, 0.24) inset;
  --bm-depth-medium: 0 12px 22px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 0, 0, 0.16) inset;
  --bm-depth-light: 0 7px 14px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(255, 0, 0, 0.12) inset;
}

body[data-page="features"] .engine-hero-panel {
  border-width: 1px !important;
  border-color: rgba(255, 0, 0, 0.28) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(255, 0, 0, 0.14) inset !important;
}

body[data-page="features"] .features-tech-panel {
  border-width: 1px !important;
  border-color: rgba(255, 0, 0, 0.28) !important;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 0, 0, 0.2), transparent 38%),
    radial-gradient(circle at 86% 86%, rgba(255, 46, 46, 0.14), transparent 42%),
    linear-gradient(162deg, rgba(20, 0, 0, 0.92), rgba(0, 0, 0, 0.9));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(255, 0, 0, 0.14) inset !important;
}

body[data-page="features"] .features-tech-panel::before {
  height: 2px;
  opacity: 0.65;
}

body[data-page="features"] .engine-main-zone,
body[data-page="features"] .engine-command-zone,
body[data-page="features"] .engine-faq,
body[data-page="features"] .engine-story,
body[data-page="features"] .engine-journey,
body[data-page="features"] .engine-command-feed {
  border-width: 1.5px !important;
  border-color: var(--bm-line-medium) !important;
  box-shadow: var(--bm-depth-medium) !important;
}

body[data-page="features"] .compare-box,
body[data-page="features"] .engine-pillar,
body[data-page="features"] .journey-panel,
body[data-page="features"] .engine-story-panel,
body[data-page="features"] .faq-item,
body[data-page="features"] .engine-live-card,
body[data-page="features"] .engine-stat {
  border-width: 1px !important;
  border-color: var(--bm-line-light) !important;
  box-shadow: var(--bm-depth-light) !important;
}

body[data-page="features"] .engine-live-card,
body[data-page="features"] .command-chip,
body[data-page="features"] .command-demo-toggle,
body[data-page="features"] .journey-step,
body[data-page="features"] .engine-tab,
body[data-page="features"] .engine-ticker-track span,
body[data-page="features"] .proof-chip,
body[data-page="features"] .feat-chip {
  background: var(--bm-glass-bg) !important;
  border: 1px solid var(--bm-line-light) !important;
  box-shadow: inset 0 1px 0 var(--bm-glass-hi), 0 5px 12px rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: blur(6px);
}

body[data-page="features"] .engine-live-card:hover,
body[data-page="features"] .command-demo-toggle:hover,
body[data-page="features"] .journey-step:hover,
body[data-page="features"] .engine-tab:hover,
body[data-page="features"] .engine-live-card.is-active,
body[data-page="features"] .journey-step.is-active,
body[data-page="features"] .engine-tab.is-active {
  border-color: rgba(255, 0, 0, 0.92) !important;
  box-shadow: inset 0 1px 0 rgba(255, 232, 232, 0.24), 0 10px 18px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 0, 0, 0.22) !important;
}

body[data-page="features"] .faq-item.is-open {
  border-color: rgba(255, 0, 0, 0.95) !important;
  box-shadow: 0 11px 19px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 0, 0, 0.2) inset !important;
}

/* Density relief plan: same content, calmer hierarchy and spacing */
body[data-page="features"] .engine-shell {
  gap: 30px !important;
  margin-bottom: 30px !important;
}

body[data-page="features"] .engine-main-zone,
body[data-page="features"] .engine-command-zone {
  padding: 22px 20px 20px !important;
}

body[data-page="features"] .engine-stats {
  gap: 12px !important;
  margin: 0 0 22px !important;
}

body[data-page="features"] .engine-stat {
  border-width: 1px !important;
  padding: 14px 12px 12px !important;
}

body[data-page="features"] .engine-journey {
  margin-top: 8px;
  padding: 14px 14px 12px !important;
}

body[data-page="features"] .engine-journey-head p {
  max-width: 58ch;
  line-height: 1.62;
}

body[data-page="features"] .engine-journey-steps {
  margin-top: 12px !important;
  gap: 8px !important;
}

body[data-page="features"] .journey-step {
  min-height: 34px;
  padding: 7px 12px !important;
}

body[data-page="features"] .engine-journey-panels {
  margin-top: 12px !important;
}

body[data-page="features"] .journey-panel {
  padding: 14px 14px 12px !important;
}

body[data-page="features"] .engine-mascot-stage {
  margin-bottom: 16px !important;
}

body[data-page="features"] .engine-live-cards {
  gap: 10px !important;
  margin-top: 14px !important;
}

body[data-page="features"] .engine-live-card {
  padding: 12px 12px !important;
}

body[data-page="features"] .engine-command-feed {
  margin-top: 16px !important;
  padding: 14px 14px 13px !important;
}

body[data-page="features"] .command-feed-sub {
  margin: 11px 0 10px !important;
  line-height: 1.65 !important;
}

body[data-page="features"] .command-feed-chips {
  gap: 8px !important;
}

body[data-page="features"] .command-chip,
body[data-page="features"] .journey-step,
body[data-page="features"] .engine-tab,
body[data-page="features"] .engine-live-card,
body[data-page="features"] .command-demo-toggle {
  border-color: rgba(255, 0, 0, 0.4) !important;
}

body[data-page="features"] .command-chip {
  padding: 6px 11px !important;
}

body[data-page="features"] .engine-live-card,
body[data-page="features"] .command-chip {
  box-shadow: inset 0 1px 0 rgba(255, 226, 219, 0.14), 0 4px 10px rgba(0, 0, 0, 0.18) !important;
}

@media (max-width: 760px) {
  body[data-page="features"] .engine-shell {
    gap: 16px !important;
    margin-bottom: 20px !important;
  }

  body[data-page="features"] .engine-main-zone,
  body[data-page="features"] .engine-command-zone {
    padding: 14px 12px 13px !important;
  }

  body[data-page="features"] .engine-journey,
  body[data-page="features"] .journey-panel,
  body[data-page="features"] .engine-command-feed {
    padding: 12px 11px 11px !important;
  }
}

/* Phase-2 declutter: lower micro-border noise, keep only structural depth */
body[data-page="features"] .engine-stat,
body[data-page="features"] .journey-panel,
body[data-page="features"] .engine-story-panel,
body[data-page="features"] .command-chip {
  border-color: rgba(255, 0, 0, 0.22) !important;
}

body[data-page="features"] .engine-live-cards {
  gap: 6px !important;
}

body[data-page="features"] .engine-live-card {
  border: 0 !important;
  border-left: 2px solid rgba(255, 0, 0, 0.56) !important;
  border-radius: 10px !important;
  background: linear-gradient(170deg, rgba(28, 4, 4, 0.7), rgba(12, 1, 1, 0.74)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 220, 212, 0.12), 0 3px 8px rgba(0, 0, 0, 0.16) !important;
}

body[data-page="features"] .engine-live-card.is-active,
body[data-page="features"] .engine-live-card:hover {
  border-left-color: rgba(255, 28, 28, 0.95) !important;
  box-shadow: inset 0 1px 0 rgba(255, 232, 224, 0.18), 0 7px 14px rgba(0, 0, 0, 0.24) !important;
}

body[data-page="features"] .engine-journey-steps {
  gap: 6px !important;
}

body[data-page="features"] .journey-step,
body[data-page="features"] .engine-tab,
body[data-page="features"] .command-chip {
  border-width: 1px !important;
  background: linear-gradient(170deg, rgba(30, 4, 4, 0.62), rgba(12, 1, 1, 0.66)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 224, 216, 0.13), 0 2px 6px rgba(0, 0, 0, 0.14) !important;
}

body[data-page="features"] .journey-step.is-active,
body[data-page="features"] .engine-tab.is-active,
body[data-page="features"] .command-chip.is-strong {
  border-color: rgba(255, 0, 0, 0.92) !important;
  background: linear-gradient(170deg, rgba(54, 8, 8, 0.76), rgba(18, 2, 2, 0.8)) !important;
}

body[data-page="features"] .engine-command-feed {
  background: linear-gradient(170deg, rgba(24, 3, 3, 0.86), rgba(10, 1, 1, 0.9)) !important;
}

/* Final atmosphere blend: remove hard rectangle feel on main feature slabs */
body[data-page="features"] .features-stage {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

body[data-page="features"] .features-stage::before {
  content: "";
  position: absolute;
  inset: 24px 5% auto;
  height: 540px;
  border-radius: 42px;
  background:
    radial-gradient(68% 62% at 50% 18%, rgba(255, 24, 24, 0.26), rgba(168, 0, 0, 0.16) 45%, rgba(12, 0, 0, 0) 82%),
    radial-gradient(42% 46% at 16% 22%, rgba(255, 34, 34, 0.12), rgba(12, 0, 0, 0) 78%),
    radial-gradient(42% 46% at 84% 24%, rgba(255, 28, 28, 0.12), rgba(12, 0, 0, 0) 78%);
  filter: blur(18px);
  opacity: 0.76;
  z-index: -3;
  pointer-events: none;
}

body[data-page="features"] .features-stage::after {
  content: "";
  position: absolute;
  inset: 68px 11% auto;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.16) 0%, rgba(146, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0) 78%);
  filter: blur(18px);
  opacity: 0.72;
  z-index: -2;
  pointer-events: none;
}

body[data-page="features"] .engine-hero-panel,
body[data-page="features"] .features-tech-panel {
  border: 1px solid rgba(255, 0, 0, 0.16) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(122% 94% at 8% 9%, rgba(255, 70, 70, 0.16), transparent 48%),
    radial-gradient(104% 86% at 93% 11%, rgba(212, 0, 0, 0.14), transparent 46%),
    linear-gradient(170deg, rgba(14, 1, 1, 0.82), rgba(4, 0, 0, 0.8)) !important;
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 0, 0, 0.1) inset, 0 0 28px rgba(176, 0, 0, 0.14) !important;
  overflow: visible !important;
}

body[data-page="features"] .engine-main-zone,
body[data-page="features"] .engine-command-zone {
  border-color: rgba(255, 0, 0, 0.2) !important;
  background:
    linear-gradient(165deg, rgba(20, 2, 2, 0.52), rgba(8, 1, 1, 0.5)),
    radial-gradient(circle at 50% 0%, rgba(255, 54, 54, 0.06), rgba(0, 0, 0, 0) 58%) !important;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 0, 0, 0.08) inset !important;
}

body[data-page="features"] .engine-hero-panel::before,
body[data-page="features"] .features-tech-panel::before {
  height: 1px !important;
  opacity: 0.45 !important;
}

body[data-page="features"] .engine-hero-panel::after {
  inset: -26px -24px -16px !important;
  border-radius: 40px !important;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(255, 66, 66, 0.24), rgba(132, 0, 0, 0.14) 42%, rgba(6, 0, 0, 0) 76%),
    linear-gradient(180deg, rgba(176, 0, 0, 0.16) 0%, rgba(30, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0) 100%) !important;
  opacity: 0.92 !important;
  z-index: -1 !important;
}

@media (max-width: 760px) {
  body[data-page="features"] .engine-hero-panel,
  body[data-page="features"] .features-tech-panel {
    border-radius: 26px !important;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 0, 0, 0.12) inset, 0 0 22px rgba(168, 0, 0, 0.18) !important;
  }

  body[data-page="features"] .engine-hero-panel::after {
    inset: -16px -12px -10px !important;
    border-radius: 30px !important;
  }

  body[data-page="features"] .features-stage::before {
    inset: 12px 2% auto;
    height: 420px;
  }

  body[data-page="features"] .features-stage::after {
    inset: 48px 6% auto;
    height: 320px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  nav {
    padding: 0 3.5vw;
  }

  .nav-logo img {
    width: 28px;
    height: 28px;
  }

  .nav-logo .brand-text {
    font-size: 1.06rem;
    letter-spacing: 0.6px;
  }

  section {
    padding: 66px 5vw;
  }

  .btn-primary,
  .btn-outline {
    min-height: 42px;
  }

  .section-sub {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  body[data-page="pricing"] .plan-seal {
    flex: 1 1 100% !important;
  }

  body[data-page="pricing"] .price-val {
    font-size: 2rem;
  }

  body[data-page="portfolios"] .client-details-shell {
    width: min(100%, 240px);
  }

  body[data-page="contact"] .contact-wrap {
    padding: 18px;
  }

  .footer-bottom {
    font-size: 0.68rem;
    line-height: 1.55;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: clamp(1.7rem, 9vw, 2.25rem);
  }

  .hero-badge {
    font-size: 0.64rem;
    padding: 5px 10px;
  }

  .hero-sub {
    font-size: 0.84rem;
  }

  body[data-page="home"] .hero-cta-chip {
    font-size: 0.56rem;
    letter-spacing: 0.45px;
  }

  body[data-page="features"] .engine-title {
    font-size: 1.22rem;
  }

  body[data-page="features"] .engine-live-card {
    font-size: 0.78rem;
  }

  body[data-page="pricing"] .best-offer-seal {
    display: none;
  }
}

@media (max-width: 480px) {
  body[data-page="features"] .features-stage {
    padding-top: 102px !important;
  }

  body[data-page="features"] .engine-stats {
    grid-template-columns: 1fr !important;
  }

  body[data-page="features"] .engine-journey-steps {
    grid-template-columns: 1fr !important;
  }

  body[data-page="features"] .journey-step,
  body[data-page="features"] .engine-tab {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  body[data-page="features"] .engine-command-feed .command-feed-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
}

/* Final mobile lock: force features hero to single-column on phones */
@media (max-width: 760px) {
  body[data-page="features"] .features-stage {
    padding-left: 2.8vw !important;
    padding-right: 2.8vw !important;
  }

  body[data-page="features"] .engine-hero-panel,
  body[data-page="features"] .features-tech-panel {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body[data-page="features"] .engine-shell {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body[data-page="features"] .engine-main-zone,
  body[data-page="features"] .engine-command-zone {
    min-width: 0;
    width: 100%;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body[data-page="features"] .engine-title {
    max-width: none;
  }
}

@media (max-width: 480px) {
  body[data-page="features"] .features-stage {
    padding-left: 2.2vw !important;
    padding-right: 2.2vw !important;
  }

  body[data-page="features"] .engine-hero-panel,
  body[data-page="features"] .features-tech-panel {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
