:root {
  --bg: #050912;
  --panel: rgba(12, 18, 32, 0.78);
  --panel-strong: #0b1220;
  --line: rgba(139, 154, 189, 0.18);
  --text: #f7f8ff;
  --muted: #9ca8c1;
  --soft: #d8def2;
  --violet: #7a5cff;
  --blue: #2f5bff;
  --cyan: #30d5ff;
  --green: #3ddc97;
  --warning: #f6b64a;
  --danger: #ff6274;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(87, 61, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 24%, rgba(32, 84, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #040712 0%, #050912 54%, #03050b 100%);
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #050912;
  border-radius: 8px;
  background: white;
  font-weight: 800;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(122, 92, 255, 0.95);
  outline-offset: 4px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.ambient {
  pointer-events: none;
  position: fixed;
  inset: auto;
  z-index: 0;
  opacity: 0.7;
}

.ambient-a {
  right: -18rem;
  top: 10rem;
  width: 44rem;
  height: 18rem;
  background: repeating-radial-gradient(ellipse at center, rgba(106, 78, 255, 0.28) 0 1px, transparent 2px 12px);
  transform: rotate(-18deg);
  filter: blur(0.2px);
}

.ambient-b {
  left: 22%;
  bottom: -10rem;
  width: 40rem;
  height: 18rem;
  background: repeating-radial-gradient(ellipse at center, rgba(48, 213, 255, 0.18) 0 1px, transparent 2px 11px);
  transform: rotate(-12deg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  width: min(1180px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  backdrop-filter: blur(18px);
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  content: "";
  border-bottom: 1px solid rgba(139, 154, 189, 0.16);
  background:
    linear-gradient(90deg, rgba(47, 91, 255, 0.2), transparent 26%, transparent 74%, rgba(122, 92, 255, 0.16)),
    rgba(5, 9, 18, 0.78);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: white;
  border-radius: 10px;
  background: linear-gradient(135deg, #8e6cff, #4937ff 50%, #1c49ff);
  box-shadow: 0 0 26px rgba(103, 80, 255, 0.55);
}

.brand-pro {
  color: var(--violet);
}

.top-nav {
  display: flex;
  gap: 2.2rem;
  color: var(--soft);
  font-size: 0.92rem;
}

.top-nav a {
  position: relative;
  padding: 0.8rem 0;
}

.top-nav a.active::after,
.top-nav a:hover::after {
  position: absolute;
  right: 0;
  bottom: 0.3rem;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--violet), var(--blue));
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
}

.language-switch {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  color: rgba(216, 222, 242, 0.72);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
}

.language-switch button {
  padding: 0.35rem 0.1rem;
  color: rgba(216, 222, 242, 0.66);
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.language-switch button.active {
  color: white;
}

.language-switch button:hover {
  color: var(--cyan);
}

.primary-btn,
.ghost-btn,
.icon-btn,
.icon-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary-btn {
  padding: 0 1.25rem;
  color: white;
  background: linear-gradient(135deg, #6b5cff, #284dff);
  box-shadow: 0 16px 36px rgba(52, 67, 255, 0.3);
}

.ghost-btn {
  padding: 0 1rem;
  color: var(--soft);
  border-color: rgba(133, 147, 181, 0.28);
  background: rgba(8, 13, 25, 0.56);
}

.icon-cta {
  width: 46px;
  min-width: 46px;
  padding: 0;
  color: white;
  background: linear-gradient(135deg, #6b5cff, #284dff);
  box-shadow: 0 16px 36px rgba(52, 67, 255, 0.3);
}

.cta-fixed {
  min-width: 168px;
}

.primary-btn:hover,
.ghost-btn:hover,
.icon-btn:hover,
.icon-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(132, 111, 255, 0.68);
}

.page {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.noscript-content {
  padding: 6rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
  min-height: auto;
  padding: 2.25rem 0 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.85rem;
  color: var(--soft);
  border: 1px solid rgba(186, 195, 220, 0.42);
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(3.1rem, 4.55vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.45rem, 3.65vw, 4rem);
  line-height: 1.03;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.accent {
  color: var(--violet);
}

.lead {
  max-width: 540px;
  color: var(--soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-scope-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 620px;
  margin-top: 1.35rem;
}

.hero-scope-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  color: #dbe5ff;
  border: 1px solid rgba(122, 138, 255, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(102, 92, 255, 0.18), rgba(15, 186, 255, 0.08));
  font-size: 0.82rem;
  font-weight: 800;
}

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

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-image {
  display: block;
  width: min(100%, 640px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.48));
  transform: translateX(0);
}

.hero-visual-badges {
  position: absolute;
  right: clamp(0.7rem, 3vw, 1.5rem);
  bottom: clamp(2rem, 7vw, 4.4rem);
  display: grid;
  gap: 0.65rem;
  width: min(230px, 48%);
}

.hero-visual-badges span {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: white;
  border: 1px solid rgba(137, 153, 255, 0.36);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(9, 16, 34, 0.86), rgba(49, 69, 255, 0.44));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
  font-size: 0.82rem;
  font-weight: 900;
}

.client-strip,
.cta-panel,
.glass-card,
.service-row,
.contact-panel,
.call-panel,
.footer,
.dash-card,
.dash-shell {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(15, 22, 39, 0.78), rgba(7, 12, 24, 0.84));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.client-strip {
  display: grid;
  grid-template-columns: 1.6fr repeat(5, auto);
  align-items: center;
  gap: 2rem;
  min-height: 84px;
  margin-top: -3rem;
  padding: 1.2rem 1.5rem;
  border-radius: 14px;
  color: var(--soft);
}

.strip-label {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.client-name {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.tech-carousel-section {
  padding: 2.5rem 0 0.5rem;
}

.tech-carousel-shell {
  overflow: hidden;
  border: 1px solid rgba(112, 126, 174, 0.32);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 10%, rgba(103, 82, 255, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(12, 19, 36, 0.92), rgba(6, 10, 22, 0.9));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
}

.tech-carousel-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 1.5rem;
  align-items: end;
  padding: 1.4rem 1.5rem 1.15rem;
  border-bottom: 1px solid rgba(142, 154, 196, 0.18);
}

.tech-carousel-head h3 {
  max-width: 650px;
  margin: 0.85rem 0 0;
  font-size: clamp(1.35rem, 2.3vw, 2.15rem);
  line-height: 1.12;
}

.tech-carousel-head p {
  margin: 0;
  color: var(--soft);
  line-height: 1.65;
}

.tech-carousel-window {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 0 1.25rem;
}

.tech-carousel-window::before,
.tech-carousel-window::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 84px;
  content: "";
  pointer-events: none;
}

.tech-carousel-window::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7, 11, 24, 0.98), transparent);
}

.tech-carousel-window::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 11, 24, 0.98), transparent);
}

.tech-carousel-track {
  display: flex;
  gap: 0.9rem;
  width: max-content;
  padding: 0 1.25rem;
  animation: tech-marquee 34s linear infinite;
}

.tech-carousel-shell:hover .tech-carousel-track {
  animation-play-state: paused;
}

.tech-logo-card {
  flex: 0 0 150px;
  min-height: 104px;
  display: grid;
  place-items: center;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(143, 156, 202, 0.24);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.tech-logo-card img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.tech-logo-card span {
  color: #edf2ff;
  font-size: 0.86rem;
  font-weight: 900;
}

@keyframes tech-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 3.5rem 0 2rem;
}

.glass-card {
  min-height: 250px;
  padding: 2rem;
  border-radius: 14px;
}

.card-icon,
.row-icon,
.step-icon,
.contact-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.35rem;
  color: white;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(126, 92, 255, 0.95), rgba(42, 71, 255, 0.84));
}

.ui-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-icon .ui-icon {
  width: 22px;
  height: 22px;
}

.glass-card p,
.service-row p,
.footer p,
.muted {
  color: var(--muted);
  line-height: 1.7;
}

.arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: 1.4rem;
  border: 1px solid rgba(145, 156, 197, 0.32);
  border-radius: 50%;
  color: var(--violet);
}

.cta-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  margin: 1.5rem auto 4rem;
  padding: 1.65rem 1.8rem;
  border-radius: 14px;
}

.cta-panel h3,
.cta-panel p {
  margin-bottom: 0;
}

.cta-panel .primary-btn {
  min-width: 220px;
  white-space: nowrap;
}

.services-hero,
.contact-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem 0 2rem;
}

.breadcrumb {
  margin-bottom: 3rem;
  color: var(--muted);
}

.isometric {
  position: relative;
  min-height: 360px;
}

.iso-base {
  position: absolute;
  inset: 90px 40px auto auto;
  width: 430px;
  height: 210px;
  border: 1px solid rgba(111, 95, 255, 0.4);
  border-radius: 28px;
  background: linear-gradient(145deg, #132044, #070d1d);
  box-shadow: 0 32px 80px rgba(52, 65, 255, 0.22);
  transform: rotateX(58deg) rotateZ(-26deg);
}

.iso-tile,
.bubble {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(145, 128, 255, 0.36);
  background: linear-gradient(145deg, #1a2a58, #10152d);
  box-shadow: 0 18px 54px rgba(51, 60, 255, 0.28);
}

.iso-tile {
  width: 118px;
  height: 92px;
  border-radius: 18px;
  font-size: 2.2rem;
}

.tile-a {
  right: 280px;
  top: 62px;
}

.tile-b {
  right: 142px;
  top: 48px;
}

.tile-c {
  right: 210px;
  top: 185px;
}

.service-list {
  display: grid;
  gap: 1.45rem;
  padding-bottom: 2rem;
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  align-items: center;
  gap: 1.7rem;
  min-height: 188px;
  padding: 1.6rem;
  border-radius: 16px;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  color: var(--soft);
  list-style: none;
}

.check-list li::before {
  content: "✓";
  margin-right: 0.7rem;
  color: var(--violet);
}

.approach {
  padding: 1.5rem 0 4rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 1.4rem 0 1.8rem;
}

.step {
  text-align: center;
}

.step-icon {
  margin: 0 auto 0.8rem;
  border-radius: 50%;
}

.mini-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 15, 29, 0.78);
}

.contact-hero {
  min-height: 360px;
}

.chat-visual {
  position: relative;
  min-height: 330px;
}

.bubble {
  right: 130px;
  top: 38px;
  width: 190px;
  height: 150px;
  border-radius: 36px 36px 36px 12px;
  background: linear-gradient(145deg, #9d7cff, #244bff);
  font-size: 2.8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 1.5rem;
  padding: 1.6rem;
  border-radius: 16px;
}

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

.field {
  width: 100%;
  min-height: 54px;
  padding: 0 1rem;
  color: var(--text);
  border: 1px solid rgba(133, 147, 181, 0.2);
  border-radius: 8px;
  outline: none;
  background: rgba(6, 11, 22, 0.58);
}

select.field {
  padding-right: 2.85rem;
  background-position: right 1rem center;
}

.field.light {
  color: #111827;
  background: #ffffff;
  border-color: rgba(20, 32, 52, 0.16);
}

textarea.field {
  min-height: 132px;
  padding-top: 1rem;
  resize: vertical;
}

.form-message {
  min-height: 24px;
  color: var(--violet);
  font-weight: 700;
}

.form-message.success {
  color: #3ddc97;
}

.form-message.error {
  color: #ff6274;
}

.form-message.info {
  color: var(--soft);
}

.primary-btn:disabled,
.ghost-btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-methods {
  display: grid;
  gap: 1.4rem;
  align-content: start;
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.method {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 50%;
}

.call-panel {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  margin: 1.5rem auto 3rem;
  padding: 1.4rem;
  border-radius: 14px;
}

.software-offer-strip {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(48, 213, 255, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(47, 91, 255, 0.18), rgba(122, 92, 255, 0.1)),
    rgba(2, 8, 18, 0.72);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.software-offer-strip strong {
  color: #ffffff;
  font-size: 1.15rem;
}

.software-offer-strip span {
  color: var(--soft);
  line-height: 1.55;
  font-weight: 650;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2.2rem 0;
  border-width: 1px 0 0;
  background: transparent;
  box-shadow: none;
}

.footer-links {
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
}

.admin-footer-link {
  margin-top: 0.35rem;
  color: #6f7890;
  font-size: 0.86rem;
}

.legal-hero {
  margin-top: 2rem;
  padding: clamp(2rem, 5vw, 4rem) 0 1.4rem;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 860px;
  margin: 0.35rem 0 0.8rem;
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.96;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 650;
}

.legal-hero small {
  display: inline-flex;
  margin-top: 1rem;
  color: #526071;
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding-top: 2rem;
}

.legal-index,
.legal-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.legal-index {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.legal-index strong {
  color: var(--ink);
}

.legal-index a,
.legal-index button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.75rem;
  border: 1px solid #d8defd;
  border-radius: 8px;
  color: #263fc8;
  background: #ffffff;
  text-decoration: none;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.legal-content {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.legal-content section {
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  border-top: 1px solid var(--line);
}

.legal-content section:first-child {
  border-top: 0;
}

.legal-content h2 {
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.legal-content p {
  margin: 0;
  color: #405069;
  line-height: 1.72;
  font-weight: 620;
}

.legal-content a {
  color: #263fc8;
  font-weight: 850;
}

.cookie-banner {
  position: fixed;
  z-index: 80;
  right: clamp(0.8rem, 2vw, 1.5rem);
  bottom: clamp(0.8rem, 2vw, 1.5rem);
  left: clamp(0.8rem, 2vw, 1.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  max-width: 980px;
  margin-left: auto;
  padding: 1rem;
  border: 1px solid #b9c8ff;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
}

.cookie-banner strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.cookie-banner p {
  margin: 0;
  color: #526071;
  line-height: 1.45;
  font-size: 0.92rem;
  font-weight: 650;
}

.cookie-banner a {
  display: inline-flex;
  margin-top: 0.45rem;
  color: #263fc8;
  font-weight: 900;
  text-decoration: none;
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.cookie-actions .primary-btn,
.cookie-actions .ghost-btn {
  min-height: 42px;
  white-space: nowrap;
}

.dashboard-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% 8%, rgba(44, 87, 255, 0.16), transparent 28%),
    #f4f7fb;
  color: #111827;
}

.login-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem;
  background:
    radial-gradient(circle at 20% 12%, rgba(122, 92, 255, 0.28), transparent 34%),
    radial-gradient(circle at 90% 20%, rgba(47, 91, 255, 0.18), transparent 30%),
    #050912;
}

.login-card {
  width: min(460px, 100%);
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(15, 22, 39, 0.92), rgba(7, 12, 24, 0.96));
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 2rem 0 0.6rem;
  font-size: 2.3rem;
}

.login-help {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.login-help a {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0.6rem;
  color: var(--soft);
  border: 1px solid rgba(133, 147, 181, 0.26);
  border-radius: 8px;
  background: rgba(8, 13, 25, 0.56);
  text-align: center;
  font-weight: 800;
}

.admin-loading-card {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.loading-mark {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(216, 222, 242, 0.2);
  border-top-color: var(--cyan);
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.password-field {
  position: relative;
  display: block;
}

.password-field .field {
  padding-right: 6.4rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  min-height: 38px;
  padding: 0 0.8rem;
  border: 1px solid rgba(67, 56, 202, 0.2);
  border-radius: 7px;
  color: #4338ca;
  background: #eef2ff;
  cursor: pointer;
  font-weight: 800;
  transform: translateY(-50%);
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.4rem;
  color: white;
  background: #080d19;
}

.dash-nav {
  display: grid;
  gap: 0.55rem;
  margin-top: 2rem;
}

.dash-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 8px;
  color: #bac5df;
}

.dash-nav a.active,
.dash-nav a:hover {
  color: white;
  background: rgba(112, 92, 255, 0.2);
}

.db-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-weight: 800;
}

.db-status.ok {
  color: #057a4f;
  background: #dff8ec;
}

.db-status.warn {
  color: #946200;
  background: #fff0cb;
}

.dashboard-main {
  min-width: 0;
  padding: clamp(1.4rem, 2vw, 2rem);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.dash-top h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.04;
  color: #101827;
}

.dash-top p,
.dash-card p,
.table,
.meta {
  color: #637083;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.dash-grid.arrivo-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dash-card {
  min-height: 106px;
  padding: 1.15rem;
  border-color: rgba(20, 32, 52, 0.1);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 40px rgba(31, 42, 68, 0.08);
  font-weight: 750;
}

.dash-card strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 2rem;
  color: #101827;
}

.dash-shell {
  border-color: rgba(20, 32, 52, 0.1);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 40px rgba(31, 42, 68, 0.08);
  overflow: hidden;
}

.dash-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(20, 32, 52, 0.1);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  table-layout: fixed;
}

.table th,
.table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(20, 32, 52, 0.08);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: #1f2937;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.table tr.selected-row {
  background: #f6f8ff;
}

.status,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status.live,
.status.active,
.status.ok {
  color: #057a4f;
  background: #dff8ec;
}

.status.review,
.status.pending,
.status.medium {
  color: #946200;
  background: #fff0cb;
}

.status.issue,
.status.high,
.status.paused {
  color: #b91c1c;
  background: #ffe1e6;
}

.pill {
  color: #4338ca;
  background: #eef2ff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: start;
  gap: 1rem;
}

.split.arrivo-split {
  grid-template-columns: minmax(680px, 1.35fr) minmax(360px, 0.65fr);
  align-items: start;
}

.split > * {
  min-width: 0;
}

.detail-list {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(20, 32, 52, 0.08);
}

.app-link {
  color: #354bff;
  font-weight: 800;
}

.empty-state {
  padding: 1.25rem;
  color: #637083;
  font-weight: 800;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.split .row-actions {
  flex-direction: column;
  align-items: flex-start;
}

.mini-btn,
.icon-btn {
  border: 1px solid rgba(67, 56, 202, 0.22);
  border-radius: 7px;
  color: #4338ca;
  background: #eef2ff;
  cursor: pointer;
  font-weight: 800;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 0.65rem;
  text-decoration: none;
}

.mini-btn.danger {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.22);
  background: #ffe1e6;
}

.inline-select {
  min-height: 34px;
  width: 100%;
  max-width: 150px;
  padding: 0 0.65rem;
  border: 1px solid rgba(67, 56, 202, 0.22);
  border-radius: 7px;
  color: #1f2937;
  background: #fff;
  font: inherit;
  font-weight: 800;
}

.arrivo-table th:nth-child(1),
.arrivo-table td:nth-child(1) {
  width: 28%;
}

.arrivo-table th:nth-child(2),
.arrivo-table td:nth-child(2) {
  width: 15%;
}

.arrivo-detail-block {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.arrivo-detail-block h4 {
  margin: 0.3rem 0 0;
  color: #101827;
  font-size: 0.95rem;
}

.arrivo-actions {
  padding: 0 1rem 1rem;
}

.arrivo-links {
  margin-top: 1rem;
}

.app-detail-section {
  margin-top: 1rem;
}

.app-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.legal-links a {
  color: #354bff;
}

.arrivo-page {
  min-height: 100vh;
  color: #061027;
  background:
    linear-gradient(135deg, rgba(221, 241, 255, 0.94), rgba(246, 251, 255, 0.94) 44%, rgba(210, 234, 255, 0.9)),
    #f4faff;
  overflow: hidden;
}

.arrivo-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 40px, 1180px);
  min-height: 82px;
  margin: 0 auto;
  backdrop-filter: blur(18px);
}

.arrivo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #050a22;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.arrivo-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.arrivo-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #4b5d79;
  font-weight: 850;
}

.arrivo-nav-actions a {
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
}

.arrivo-nav-actions a:hover {
  background: rgba(255, 255, 255, 0.72);
}

.arrivo-nav-cta {
  color: white !important;
  background: #006cff;
  box-shadow: 0 12px 30px rgba(0, 108, 255, 0.28);
}

.arrivo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: 2rem;
  width: min(100% - 40px, 1180px);
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.arrivo-hero-copy {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
}

.arrivo-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border: 1px solid rgba(0, 108, 255, 0.16);
  border-radius: 999px;
  color: #006cff;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 900;
}

.arrivo-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #030821;
  font-size: clamp(4.6rem, 11vw, 10.5rem);
  line-height: 0.86;
}

.arrivo-hero p,
.arrivo-intro p,
.arrivo-feature p,
.arrivo-final p {
  max-width: 720px;
  margin: 0;
  color: #566987;
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.62;
  font-weight: 650;
}

.arrivo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.app-store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(255px, 100%);
  aspect-ratio: 3840 / 1284;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 18px 42px rgba(3, 7, 17, 0.22);
  line-height: 0;
}

.app-store-badge picture,
.app-store-badge img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
}

.app-store-badge img {
  height: auto;
  border-radius: inherit;
}

.app-store-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  padding: 0.62rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
  background: #000;
  color: #fff;
  line-height: 1;
}

.app-store-fallback small,
.app-store-fallback strong {
  display: block;
}

.app-store-fallback small {
  margin-bottom: 0.2rem;
  font-size: clamp(0.7rem, 0.95vw, 0.88rem);
  font-weight: 600;
  white-space: nowrap;
}

.app-store-fallback strong {
  font-size: clamp(1.22rem, 1.75vw, 1.62rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.app-store-mark {
  flex: 0 0 auto;
  font-size: clamp(2rem, 2.55vw, 2.45rem);
  line-height: 1;
}

.arrivo-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 1.15rem;
  border: 1px solid rgba(0, 108, 255, 0.18);
  border-radius: 999px;
  color: #006cff;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.arrivo-secondary.light {
  color: white;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.arrivo-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.arrivo-proof span {
  padding: 0.58rem 0.75rem;
  border: 1px solid rgba(8, 20, 44, 0.08);
  border-radius: 999px;
  color: #33445f;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 850;
}

.arrivo-hero-visual,
.arrivo-feature figure {
  margin: 0;
}

.arrivo-hero-visual {
  justify-self: center;
  width: min(420px, 100%);
  transform: rotate(1.5deg);
}

.arrivo-hero-visual img,
.arrivo-feature img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  filter: drop-shadow(0 30px 58px rgba(6, 16, 39, 0.2));
}

.arrivo-intro {
  display: grid;
  gap: 1.1rem;
  width: min(100% - 40px, 980px);
  margin: 0 auto;
  padding: 6rem 0;
  text-align: center;
  justify-items: center;
}

.arrivo-intro h2,
.arrivo-feature h2,
.arrivo-final h2 {
  margin: 0;
  color: #030821;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.94;
}

.arrivo-feature-list {
  display: grid;
  gap: 3rem;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 2rem 0 6rem;
}

.arrivo-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.58fr);
  align-items: center;
  gap: 2rem;
  min-height: 760px;
  padding: 3rem;
  border: 1px solid rgba(0, 108, 255, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 244, 255, 0.76)),
    white;
  box-shadow: 0 24px 70px rgba(31, 57, 95, 0.12);
}

.arrivo-feature.is-reversed {
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 0.78fr);
}

.arrivo-feature.is-reversed .arrivo-feature-copy {
  order: 2;
}

.arrivo-feature figure {
  justify-self: center;
  width: min(360px, 100%);
}

.arrivo-feature-copy {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.arrivo-step {
  color: #006cff;
  font-size: 1.45rem;
  font-weight: 950;
}

.arrivo-final {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: min(100% - 40px, 1040px);
  margin: 0 auto 5rem;
  padding: 4rem 2rem;
  border-radius: 32px;
  color: white;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 213, 255, 0.28), transparent 42%),
    linear-gradient(135deg, #020723, #001861 56%, #0037c9);
  text-align: center;
  box-shadow: 0 32px 90px rgba(0, 24, 97, 0.24);
}

.arrivo-final img {
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.arrivo-final h2 {
  max-width: 820px;
  color: white;
}

.arrivo-final p {
  color: #d9e9ff;
}

.app-landing {
  min-height: 100vh;
  color: #101827;
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 44%, #ffffff 100%);
}

.app-landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 40px, 1160px);
  margin: 0 auto;
  padding: 1rem 0;
}

.app-landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 2rem;
  align-items: center;
  width: min(100% - 40px, 1160px);
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 4rem 0 3rem;
}

.app-landing-hero h1 {
  max-width: 720px;
  margin: 1rem 0;
  color: #07111f;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.88;
}

.app-landing-hero .lead {
  max-width: 700px;
  color: #506078;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.app-landing-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.app-landing-proof span {
  padding: 0.58rem 0.75rem;
  border: 1px solid rgba(47, 91, 255, 0.16);
  border-radius: 8px;
  color: #23314d;
  background: white;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(31, 42, 68, 0.07);
}

.app-phone-stage {
  display: grid;
  place-items: center;
  min-height: 560px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(48, 213, 255, 0.14), transparent 36%),
    linear-gradient(315deg, rgba(61, 220, 151, 0.18), transparent 38%),
    #08111f;
  box-shadow: 0 30px 90px rgba(20, 32, 52, 0.24);
}

.app-phone {
  width: min(320px, 82vw);
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 34px;
  background: #050912;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.phone-bar {
  width: 92px;
  height: 5px;
  margin: 0.25rem auto 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.phone-screen {
  min-height: 520px;
  padding: 1.2rem;
  border-radius: 26px;
  background:
    linear-gradient(180deg, #f8fbff, #eaf1ff);
  overflow: hidden;
}

.phone-kicker {
  color: #2f5bff;
  font-weight: 900;
}

.phone-screen h2 {
  margin: 0.5rem 0 1rem;
  color: #07111f;
  font-size: 2rem;
}

.route-card {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  padding: 0.95rem;
  border: 1px solid rgba(20, 32, 52, 0.08);
  border-radius: 8px;
  background: white;
  color: #637083;
  box-shadow: 0 12px 26px rgba(31, 42, 68, 0.1);
}

.route-card strong {
  color: #101827;
}

.route-card.active {
  color: #dff8ec;
  background: #0d7f58;
}

.route-card.active strong {
  color: white;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 7rem;
}

.phone-tabs span {
  height: 48px;
  border-radius: 8px;
  background: rgba(47, 91, 255, 0.13);
}

.app-landing-section {
  width: min(100% - 40px, 1160px);
  margin: 0 auto;
  padding: 4.5rem 0;
}

.app-landing-section h2 {
  margin: 0;
  color: #07111f;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.app-landing-section p {
  max-width: 760px;
  color: #5e6f87;
  font-size: 1.08rem;
  line-height: 1.65;
}

.app-landing-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 2rem;
  align-items: end;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.app-landing-grid,
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.app-landing-grid article,
.workflow-grid article {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 190px;
  padding: 1.1rem;
  border: 1px solid rgba(20, 32, 52, 0.1);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 40px rgba(31, 42, 68, 0.08);
}

.app-landing-grid article strong,
.workflow-grid article strong {
  color: #101827;
  font-size: 1.12rem;
}

.app-landing-grid article span,
.workflow-grid article p {
  margin: 0;
  color: #637083;
  line-height: 1.55;
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-grid article > span {
  color: #2f5bff;
  font-size: 2.4rem;
  font-weight: 900;
}

.app-landing-store {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.app-landing-store picture,
.app-landing-store img {
  display: block;
  width: 100%;
}

.app-landing-store img {
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(31, 42, 68, 0.16);
}

.app-landing-panel {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(20, 32, 52, 0.1);
  border-radius: 8px;
  background: white;
}

.app-landing-panel div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(20, 32, 52, 0.08);
}

.app-landing-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.app-landing-panel span {
  color: #637083;
  font-weight: 800;
}

.app-landing-panel strong {
  color: #101827;
  text-align: right;
}

.app-landing-final {
  display: grid;
  justify-items: start;
  margin-bottom: 3rem;
  padding: 3rem;
  border-radius: 8px;
  background: #07111f;
  color: white;
}

.app-landing-final h2 {
  color: white;
}

.app-landing-final p {
  color: #bac5df;
}

.academy-hero,
.product-hero,
.product-chapters,
.academy-band {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.academy-hero,
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: calc(100vh - 84px);
  padding: 4rem 0;
}

.academy-hero-copy,
.product-copy {
  display: grid;
  justify-items: start;
  gap: 1.1rem;
}

.academy-hero h1,
.product-hero h1 {
  margin: 0;
  max-width: 760px;
  color: #f8fbff;
  font-size: clamp(4rem, 8.4vw, 8.8rem);
  line-height: 0.88;
}

.academy-hero .lead,
.product-hero .lead {
  max-width: 680px;
  color: #c7d3e9;
}

.academy-visual,
.product-cover {
  margin: 0;
}

.academy-visual img,
.product-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(132, 245, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.academy-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.academy-proof span {
  min-height: 34px;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(132, 245, 255, 0.16);
  border-radius: 999px;
  color: #dfe8fb;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 850;
}

.academy-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 4rem;
  padding: 1.4rem;
  border: 1px solid rgba(132, 245, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.academy-band h2 {
  margin: 0.65rem 0 0.35rem;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.academy-band p {
  max-width: 720px;
  margin: 0;
  color: #b9c7dd;
}

.product-page {
  min-height: 100vh;
  color: #f8fbff;
  background:
    radial-gradient(circle at 82% 8%, rgba(0, 213, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #060914 0%, #101827 58%, #f4f7fb 58%, #f4f7fb 100%);
}

.product-chapters {
  padding: 3rem 0 5rem;
  color: #111827;
}

.product-chapters .section-heading h2 {
  color: #101827;
}

.chapter-list {
  display: grid;
  gap: 0.85rem;
}

.chapter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 132px;
  padding: 1.1rem;
  border: 1px solid rgba(20, 32, 52, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(31, 42, 68, 0.08);
}

.chapter-card.is-locked {
  background: linear-gradient(135deg, #fff, #f7f2f2);
}

.chapter-number {
  color: #334bd9;
  font-size: 0.82rem;
  font-weight: 950;
}

.chapter-card h3 {
  margin: 0.25rem 0;
  color: #101827;
  font-size: 1.35rem;
}

.chapter-card p {
  max-width: 760px;
  margin: 0;
  color: #637083;
}

.chapter-actions {
  display: grid;
  justify-items: end;
  gap: 0.55rem;
}

.reader-page {
  min-height: 100vh;
  padding: 1.1rem;
  color: #111827;
  background: #f4f7fb;
}

.reader-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 1040px);
  margin: 0 auto 1rem;
  padding: 0.8rem 0;
}

.reader-shell {
  width: min(100%, 880px);
  margin: 0 auto 4rem;
  padding: clamp(1.2rem, 3vw, 3rem);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(31, 42, 68, 0.1);
}

.reader-shell h1 {
  margin: 0.8rem 0 1.6rem;
  color: #101827;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 0.98;
}

.article-body {
  color: #263244;
  font-size: 1.05rem;
  line-height: 1.78;
}

.article-body h2 {
  margin: 2rem 0 0.55rem;
  color: #101827;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.article-body ul {
  padding-left: 1.15rem;
}

.article-note {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 8px;
  color: #6c4200;
  background: #fff0cb;
  font-weight: 800;
}

.locked-reader {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 12%, rgba(122, 92, 255, 0.18), transparent 34%),
    #050912;
}

.customer-auth .login-card {
  width: min(540px, 100%);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #d9e3f7;
  font-weight: 800;
}

.check-row input {
  width: 18px;
  height: 18px;
}

.customer-dashboard {
  background: #f4f7fb;
}

.customer-product-list {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.customer-product-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(20, 32, 52, 0.08);
  border-radius: 8px;
  background: #fff;
}

.customer-product-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.customer-product-card h3 {
  margin: 0.65rem 0 0.35rem;
  color: #101827;
  font-size: 1.5rem;
}

.customer-product-card p {
  margin: 0 0 0.9rem;
  color: #637083;
}

.promo-page {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  color: #f8fbff;
  background: #03060d;
}

.promo-nav,
.promo-hero,
.promo-preview,
.promo-system,
.promo-final,
.promo-footer {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.promo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding-top: 0.35rem;
}

.promo-brand {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #c7d3e9;
  font-weight: 850;
}

.promo-nav-actions a {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
}

.promo-nav-deadline {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.75rem;
  border: 1px solid rgba(255, 207, 107, 0.28);
  border-radius: 999px;
  color: #ffe6ad;
  background: rgba(255, 191, 72, 0.1);
  font-size: 0.78rem;
  font-weight: 950;
  white-space: nowrap;
}

.promo-nav-cta,
.promo-primary {
  color: #03101f !important;
  background: #70f2ff;
  box-shadow: 0 18px 42px rgba(112, 242, 255, 0.22);
}

.promo-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(720px, calc(100svh - 90px));
  padding: clamp(2rem, 7vw, 5rem);
  overflow: hidden;
  border: 1px solid rgba(112, 242, 255, 0.16);
  border-radius: 8px;
  background: #050912;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.promo-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  max-width: 680px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
}

.promo-kicker {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 0.75rem;
  border: 1px solid rgba(112, 242, 255, 0.18);
  border-radius: 999px;
  color: #70f2ff;
  background: rgba(4, 12, 24, 0.48);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.promo-hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.65rem, 6.2vw, 5.9rem);
  line-height: 0.92;
  color: #ffffff;
}

.promo-hero p,
.promo-preview p,
.promo-system p,
.promo-final p {
  max-width: 720px;
  margin: 0;
  color: #c6d3e8;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.58;
  font-weight: 650;
}

.promo-actions,
.promo-proof,
.customer-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.promo-primary,
.promo-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.05rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 950;
}

.promo-secondary {
  color: #eaf2ff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.promo-countdown {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 56px;
  padding: 0 0.95rem;
  border: 1px solid rgba(255, 207, 107, 0.28);
  border-radius: 8px;
  color: #ffe6ad;
  background: rgba(255, 191, 72, 0.1);
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.promo-countdown strong {
  color: #ffffff;
  font-size: 1.55rem;
}

.promo-countdown.is-expired {
  color: #ffd0d0;
  border-color: rgba(255, 99, 99, 0.28);
  background: rgba(255, 99, 99, 0.12);
}

.promo-proof span {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #dfe8fb;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 850;
}

.promo-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
}

.promo-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(1.08) contrast(1.05);
}

.promo-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 13, 0.92) 0%, rgba(2, 6, 13, 0.68) 42%, rgba(2, 6, 13, 0.12) 100%),
    linear-gradient(0deg, rgba(2, 6, 13, 0.82) 0%, transparent 44%);
}

.promo-preview,
.promo-system,
.promo-final {
  padding: clamp(2.4rem, 6vw, 4.5rem) 0;
  color: #101827;
}

.promo-preview {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: #eef3f8;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 2rem;
  align-items: start;
}

.promo-system,
.promo-final,
.promo-footer {
  color: #101827;
}

.promo-system {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: #ffffff;
}

.promo-preview h2,
.promo-system h2,
.promo-final h2 {
  margin: 0.65rem 0 0.75rem;
  color: #101827;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1;
}

.promo-preview p,
.promo-system p,
.promo-final p {
  color: #536177;
}

.promo-preview-grid,
.promo-stack {
  display: grid;
  gap: 0.85rem;
}

.promo-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.promo-preview-grid article,
.promo-stack div,
.promo-system-panel,
.promo-final {
  border: 1px solid rgba(20, 32, 52, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(31, 42, 68, 0.08);
}

.promo-preview-grid article {
  min-height: 190px;
  padding: 1rem;
}

.promo-preview-grid strong,
.promo-stack span {
  color: #334bd9;
  font-size: 1.25rem;
  font-weight: 950;
}

.promo-preview-grid h3 {
  margin: 1rem 0 0.55rem;
  color: #101827;
}

.promo-system {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.64fr);
  gap: 1rem;
  align-items: stretch;
}

.promo-system-panel {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 0.9rem;
  padding: clamp(1.3rem, 4vw, 3rem);
}

.promo-stack div {
  display: grid;
  gap: 0.45rem;
  padding: 1.1rem;
}

.promo-stack strong {
  color: #101827;
  font-size: 1.25rem;
}

.promo-stack em {
  color: #637083;
  font-style: normal;
  font-weight: 720;
}

.promo-final {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  padding: clamp(2rem, 5vw, 3rem) 1.2rem;
  text-align: center;
}

.promo-auth-brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #f8fbff;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-product-brand {
  color: #fff;
  line-height: 1.2;
}

.promo-final .promo-countdown {
  background: #101827;
}

.promo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 2rem;
  color: #536177;
  font-weight: 850;
}

.promo-footer a {
  color: #334bd9;
}

.customer-dashboard {
  background:
    radial-gradient(circle at 78% 0%, rgba(53, 75, 255, 0.12), transparent 30%),
    #eef3f8;
}

.customer-top h1 {
  margin-top: 0.4rem;
}

.customer-dashboard-hero,
.customer-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(112, 242, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #07111f, #101827 62%, #1b265e);
  box-shadow: 0 24px 70px rgba(31, 42, 68, 0.18);
}

.customer-dashboard-hero h2,
.customer-product-hero h1 {
  margin: 0.7rem 0 0.65rem;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.94;
}

.customer-dashboard-hero p,
.customer-product-hero p {
  max-width: 680px;
  margin: 0 0 1rem;
  color: #c7d3e9;
  font-size: 1.08rem;
  line-height: 1.58;
}

.customer-dashboard-hero img,
.customer-product-hero img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
}

.ghost-btn.dark {
  color: #dfe8fb;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.customer-marketing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.customer-marketing-grid article,
.customer-offer-panel,
.dashboard-product-section,
.customer-locked-panel {
  border: 1px solid rgba(20, 32, 52, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(31, 42, 68, 0.08);
}

.customer-marketing-grid article {
  min-height: 138px;
  padding: 1rem;
}

.customer-marketing-grid strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #101827;
  font-size: 1.08rem;
}

.customer-marketing-grid span {
  color: #637083;
  font-weight: 720;
}

.customer-offer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.25rem;
}

.customer-offer-panel h2 {
  margin: 0.65rem 0 0.45rem;
  color: #101827;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.customer-offer-panel p {
  max-width: 760px;
  margin: 0;
  color: #637083;
}

.dashboard-product-section .chapter-list {
  padding: 1rem;
}

.chapter-list.in-dashboard .chapter-card {
  box-shadow: none;
  background: #f9fbff;
}

.dashboard-reader .reader-shell.in-dashboard {
  width: min(100%, 940px);
  margin: 0;
}

.reader-nav.in-dashboard {
  width: min(100%, 940px);
  margin: 0 0 1rem;
}

.customer-locked-panel {
  display: grid;
  justify-items: start;
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.customer-locked-panel h1 {
  margin: 0;
  color: #101827;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.96;
}

.customer-locked-panel p {
  max-width: 720px;
  margin: 0;
  color: #637083;
  font-size: 1.08rem;
}

.customer-account-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.account-card,
.customer-library-feature,
.catalog-product-card,
.customer-product-showcase {
  border: 1px solid rgba(20, 32, 52, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(31, 42, 68, 0.08);
}

.account-card {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-height: 210px;
  padding: 1rem;
}

.account-card h2 {
  margin: 0;
  color: #101827;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.06;
}

.account-card p {
  margin: 0;
  color: #637083;
  font-weight: 720;
  overflow-wrap: anywhere;
}

.account-actions,
.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.danger-link {
  min-height: 42px;
  padding: 0 0.75rem;
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 8px;
  color: #b91c1c;
  background: #fff5f5;
  font-weight: 900;
}

.subscription-card {
  background:
    linear-gradient(135deg, rgba(16, 24, 39, 0.96), rgba(27, 38, 94, 0.94)),
    #101827;
  color: #fff;
}

.subscription-card h2,
.subscription-card p {
  color: #fff;
}

.subscription-card p {
  color: #c7d3e9;
}

.lifetime-upgrade {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem;
  border: 1px solid rgba(112, 242, 255, 0.18);
  border-radius: 8px;
  background: rgba(112, 242, 255, 0.08);
}

.lifetime-upgrade strong {
  color: #70f2ff;
  font-size: 1.45rem;
  line-height: 1;
}

.lifetime-upgrade span {
  color: #dfe8fb;
  font-weight: 760;
}

.customer-library-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.72fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  color: #fff;
  background:
    radial-gradient(circle at 86% 10%, rgba(112, 242, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #07111f, #101827 58%, #24316d);
}

.customer-library-feature h2 {
  max-width: 760px;
  margin: 0.7rem 0 0.65rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.customer-library-feature p {
  max-width: 720px;
  margin: 0 0 1rem;
  color: #c7d3e9;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 700;
}

.library-feature-art {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 260px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
}

.library-feature-art img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.library-feature-art span {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  color: #03101f;
  background: #70f2ff;
  font-size: 0.78rem;
  font-weight: 950;
}

.customer-product-catalog {
  display: grid;
  gap: 1rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.catalog-product-card {
  overflow: hidden;
}

.catalog-product-visual {
  position: relative;
  display: block;
  min-height: 230px;
  overflow: hidden;
  background: #101827;
}

.catalog-product-visual img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.catalog-product-card:hover .catalog-product-visual img {
  transform: scale(1.035);
}

.catalog-product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5, 9, 18, 0.82), transparent 58%),
    linear-gradient(90deg, rgba(5, 9, 18, 0.34), transparent 68%);
}

.visual-hook,
.visual-status {
  position: absolute;
  z-index: 2;
  left: 0.85rem;
  right: 0.85rem;
}

.visual-hook {
  bottom: 0.85rem;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 950;
  line-height: 0.98;
}

.visual-status {
  top: 0.85rem;
  right: auto;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 0.6rem;
  border-radius: 999px;
  color: #03101f;
  background: #70f2ff;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.visual-status.pending {
  color: #5f3b00;
  background: #ffe8ae;
}

.catalog-product-body {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.catalog-product-body h3 {
  margin: 0;
  color: #101827;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.05;
}

.catalog-product-body p {
  margin: 0;
  color: #637083;
  line-height: 1.5;
  font-weight: 720;
}

.catalog-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.catalog-product-meta span {
  padding: 0.42rem 0.55rem;
  border-radius: 999px;
  color: #46546a;
  background: #eef3f8;
  font-size: 0.78rem;
  font-weight: 900;
}

.coming-visual {
  background:
    linear-gradient(135deg, rgba(5, 9, 18, 0.35), rgba(5, 9, 18, 0.78)),
    linear-gradient(135deg, #14b8a6, #334bd9);
}

.coming-visual.theme-b {
  background:
    linear-gradient(135deg, rgba(5, 9, 18, 0.28), rgba(5, 9, 18, 0.8)),
    linear-gradient(135deg, #ef476f, #255f85);
}

.coming-visual.theme-c {
  background:
    linear-gradient(135deg, rgba(5, 9, 18, 0.26), rgba(5, 9, 18, 0.78)),
    linear-gradient(135deg, #2dd4bf, #111827);
}

.coming-visual::before {
  content: "";
  position: absolute;
  inset: 18% 8% auto auto;
  width: 52%;
  height: 46%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent 0 18%, rgba(255, 255, 255, 0.16) 19% 20%, transparent 21% 38%, rgba(255, 255, 255, 0.14) 39% 40%, transparent 41% 58%, rgba(255, 255, 255, 0.12) 59% 60%, transparent 61%),
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.12) 19% 20%, transparent 21% 38%, rgba(255, 255, 255, 0.1) 39% 40%, transparent 41%);
  opacity: 0.85;
}

.customer-product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-showcase-cover {
  position: relative;
  min-height: clamp(340px, 44vw, 520px);
  overflow: hidden;
  background-image:
    linear-gradient(0deg, rgba(5, 9, 18, 0.9), rgba(5, 9, 18, 0.1) 54%, rgba(5, 9, 18, 0.22)),
    var(--cover-image);
  background-size: cover;
  background-position: center;
}

.showcase-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  color: #03101f;
  background: #70f2ff;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.showcase-hook {
  position: absolute;
  left: clamp(1rem, 4vw, 2rem);
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  z-index: 2;
  display: grid;
  gap: 0.45rem;
  max-width: 720px;
  color: #fff;
}

.showcase-hook span {
  color: #70f2ff;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-hook strong {
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 0.95;
}

.product-showcase-copy {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  padding: clamp(1rem, 3.5vw, 2rem);
}

.product-showcase-copy h1 {
  margin: 0;
  color: #101827;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 0.96;
}

.product-showcase-copy p {
  max-width: 760px;
  margin: 0;
  color: #536177;
  font-size: 1rem;
  line-height: 1.58;
  font-weight: 720;
}

.product-progress-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  width: 100%;
}

.product-progress-strip div {
  padding: 0.85rem;
  border: 1px solid rgba(20, 32, 52, 0.08);
  border-radius: 8px;
  background: #f7faff;
}

.product-progress-strip strong,
.product-progress-strip span {
  display: block;
}

.product-progress-strip strong {
  color: #334bd9;
  font-size: 1.45rem;
  line-height: 1;
}

.product-progress-strip span {
  margin-top: 0.25rem;
  color: #637083;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-offer {
  background:
    linear-gradient(135deg, #ffffff, #f6f9ff);
}

.icon-btn {
  width: 40px;
  height: 40px;
  color: #111827;
  background: white;
  font-size: 1.5rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(5, 9, 18, 0.62);
}

.modal-panel {
  width: min(920px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 1.25rem;
  border: 1px solid rgba(20, 32, 52, 0.16);
  border-radius: 10px;
  background: #f8fafc;
  color: #101827;
  box-shadow: 0 30px 80px rgba(5, 9, 18, 0.28);
}

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

.modal-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.8rem;
}

.modal-head p {
  margin: 0;
  color: #637083;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid label {
  display: grid;
  gap: 0.45rem;
  font-weight: 800;
}

.form-grid label.wide {
  grid-column: 1 / -1;
}

.form-grid textarea {
  min-height: 110px;
  resize: vertical;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.admin-panel {
  padding: 1rem;
}

.admin-form {
  display: grid;
  gap: 1rem;
}

.admin-form label {
  display: grid;
  gap: 0.45rem;
  color: inherit;
  font-weight: 800;
}

.mini-action {
  margin-top: 0.55rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(67, 56, 202, 0.25);
  border-radius: 7px;
  color: #4338ca;
  background: #eef2ff;
  cursor: pointer;
  font-weight: 800;
}

.mini-action.danger {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.22);
  background: #ffe1e6;
}

.compact-list {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.compact-app {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem;
  border: 1px solid rgba(20, 32, 52, 0.08);
  border-radius: 8px;
  background: #fbfcff;
}

.hidden {
  display: none !important;
}

.mp-page {
  min-height: 100vh;
  color: #f5fbff;
  background:
    radial-gradient(circle at 16% 12%, rgba(41, 220, 255, 0.16), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(119, 91, 255, 0.14), transparent 28%),
    radial-gradient(circle at 56% 88%, rgba(62, 220, 143, 0.12), transparent 34%),
    #06101d;
  overflow: hidden;
}

.mp-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 40px, 1180px);
  min-height: 78px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
}

.mp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.28rem;
  font-weight: 900;
}

.mp-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(124, 247, 255, 0.22);
}

.mp-nav-actions,
.mp-actions,
.mp-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mp-nav-actions {
  justify-content: flex-end;
  color: rgba(245, 251, 255, 0.72);
  font-weight: 800;
}

.mp-nav-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.8rem;
  border-radius: 8px;
}

.mp-nav-actions a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mp-nav-cta,
.mp-primary {
  color: #04101b !important;
  background: linear-gradient(90deg, #7cf7ff, #9b7bff 54%, #4adf7b);
  box-shadow: 0 16px 48px rgba(75, 224, 224, 0.2);
}

.mp-hero,
.mp-section {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.mp-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  align-items: center;
  gap: 2.2rem;
  min-height: calc(100vh - 78px);
  padding: 4rem 0 5rem;
}

.mp-hero-copy {
  display: grid;
  justify-items: start;
  gap: 1.1rem;
}

.mp-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.8rem;
  border: 1px solid rgba(124, 247, 255, 0.22);
  border-radius: 8px;
  color: #91f8ff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 900;
}

.mp-hero h1,
.mp-section h2,
.mp-final h2 {
  margin: 0;
  color: #ffffff;
  letter-spacing: 0;
  line-height: 0.96;
}

.mp-hero h1 {
  max-width: 760px;
  font-size: clamp(4rem, 9vw, 8.7rem);
}

.mp-hero p,
.mp-section p,
.mp-final p,
.mp-list,
.mp-steps span,
.mp-feature-grid span,
.mp-plan-grid p {
  color: rgba(234, 244, 255, 0.72);
  line-height: 1.65;
}

.mp-hero p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.1rem, 1.55vw, 1.32rem);
  font-weight: 650;
}

.mp-primary,
.mp-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1rem;
  border-radius: 8px;
  font-weight: 900;
}

.mp-secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #dfefff;
  background: rgba(255, 255, 255, 0.07);
}

.mp-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.5rem;
}

.mp-metrics div,
.mp-feature-grid article,
.mp-plan-grid article,
.mp-weather-board,
.mp-steps div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

.mp-metrics div {
  display: grid;
  gap: 0.3rem;
  min-height: 92px;
  padding: 0.9rem;
}

.mp-metrics strong {
  color: #ffffff;
  font-size: 1.45rem;
}

.mp-metrics span {
  color: rgba(234, 244, 255, 0.68);
  font-weight: 750;
}

.mp-hero-visual {
  display: grid;
  place-items: center;
  min-height: 540px;
}

.mp-hero-visual img,
.mp-dashboard-section img,
.mp-workflow img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.34));
}

.mp-strip {
  justify-content: center;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.mp-strip span {
  padding: 0.68rem 0.82rem;
  border: 1px solid rgba(124, 247, 255, 0.16);
  border-radius: 8px;
  color: rgba(245, 251, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 850;
}

.mp-section {
  padding: 5rem 0;
}

.mp-dashboard-section,
.mp-live-panel,
.mp-workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.78fr);
  gap: 2rem;
  align-items: center;
}

.mp-dashboard-section h2,
.mp-section-head h2,
.mp-live-copy h2,
.mp-workflow h2,
.mp-pricing h2,
.mp-final h2 {
  max-width: 850px;
  font-size: clamp(2.6rem, 5.5vw, 5.6rem);
}

.mp-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding-left: 1.1rem;
  font-weight: 720;
}

.mp-section-head {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  text-align: center;
}

.mp-card-band {
  width: 100%;
  padding: 5rem max(20px, calc((100% - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.mp-feature-grid,
.mp-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mp-feature-grid article,
.mp-plan-grid article {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 190px;
  padding: 1.1rem;
}

.mp-feature-grid strong,
.mp-plan-grid strong,
.mp-steps strong {
  color: #ffffff;
  font-size: 1.15rem;
}

.mp-live-panel {
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 0.7fr);
}

.mp-weather-board {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(124, 247, 255, 0.12), rgba(155, 123, 255, 0.1)),
    rgba(255, 255, 255, 0.07);
}

.mp-board-top,
.mp-mini-grid,
.mp-current {
  display: grid;
}

.mp-board-top {
  grid-template-columns: 1fr auto;
  align-items: center;
  color: rgba(234, 244, 255, 0.75);
  font-weight: 850;
}

.mp-board-top strong {
  padding: 0.42rem 0.58rem;
  border-radius: 8px;
  color: #04101b;
  background: #4adf7b;
}

.mp-current {
  gap: 0.35rem;
  padding: 1.3rem;
  border-radius: 8px;
  background: rgba(2, 8, 18, 0.42);
}

.mp-current span,
.mp-mini-grid span {
  color: rgba(234, 244, 255, 0.62);
  font-weight: 850;
}

.mp-current strong {
  color: #ffffff;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
}

.mp-current em {
  color: #91f8ff;
  font-style: normal;
  font-weight: 800;
}

.mp-mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.mp-mini-grid div {
  display: grid;
  gap: 0.35rem;
  min-height: 86px;
  padding: 0.85rem;
  border-radius: 8px;
  background: rgba(2, 8, 18, 0.32);
}

.mp-mini-grid strong {
  color: #ffffff;
}

.mp-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 0.55rem;
  min-height: 130px;
  padding: 0.9rem;
  border-radius: 8px;
  background: rgba(2, 8, 18, 0.32);
}

.mp-chart span {
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #7cf7ff, rgba(74, 223, 123, 0.18));
}

.mp-chart span:nth-child(1) { height: 42%; }
.mp-chart span:nth-child(2) { height: 58%; }
.mp-chart span:nth-child(3) { height: 35%; }
.mp-chart span:nth-child(4) { height: 74%; }
.mp-chart span:nth-child(5) { height: 62%; }
.mp-chart span:nth-child(6) { height: 48%; }

.mp-workflow {
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 0.88fr);
}

.mp-steps {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.mp-steps div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 0.85rem;
  align-items: start;
  min-height: 92px;
  padding: 1rem;
}

.mp-steps b {
  grid-row: span 2;
  color: #7cf7ff;
  font-size: 1.6rem;
}

.mp-plan-grid article span {
  color: #91f8ff;
  font-weight: 950;
}

.mp-plan-grid .is-highlight {
  border-color: rgba(124, 247, 255, 0.34);
  background: linear-gradient(135deg, rgba(124, 247, 255, 0.12), rgba(74, 223, 123, 0.1));
}

.mp-final {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: min(100% - 40px, 1040px);
  margin: 0 auto 5rem;
  padding: 3.2rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(124, 247, 255, 0.14), rgba(155, 123, 255, 0.12), rgba(74, 223, 123, 0.12)),
    rgba(255, 255, 255, 0.06);
  text-align: center;
}

.mp-final img {
  border-radius: 18px;
}

.mp-final p {
  max-width: 720px;
  margin: 0;
}

@media (max-width: 980px) {
  .site-header,
  .page {
    width: min(100% - 28px, 760px);
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 1rem 0;
  }

  .top-nav,
  .header-actions,
  .language-switch {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .services-hero,
  .contact-hero,
  .contact-grid,
  .contact-panel,
  .mp-hero,
  .mp-dashboard-section,
  .mp-live-panel,
  .mp-workflow,
  .arrivo-hero,
  .arrivo-feature,
  .arrivo-feature.is-reversed,
  .app-landing-hero,
  .app-landing-intro,
  .app-landing-store,
  .academy-hero,
  .product-hero,
  .promo-hero,
  .promo-preview,
  .promo-system,
  .customer-dashboard-hero,
  .customer-product-hero,
  .split,
  .split.arrivo-split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-product-image {
    width: min(100%, 620px);
    transform: translateX(0);
  }

  .hero-visual-badges {
    right: 1rem;
    bottom: 2.2rem;
    width: min(240px, 66%);
  }

  .client-strip,
  .tech-carousel-head,
  .card-grid,
  .steps,
  .mini-features,
  .mp-metrics,
  .mp-feature-grid,
  .mp-plan-grid,
  .mp-mini-grid,
  .dash-grid,
  .dash-grid.arrivo-kpis,
  .app-detail-grid,
  .app-landing-grid,
  .workflow-grid,
  .promo-preview-grid,
  .customer-marketing-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .tech-carousel-head {
    align-items: start;
  }

  .app-landing-hero {
    min-height: auto;
  }

  .academy-hero,
  .product-hero {
    min-height: auto;
    padding: 2rem 0 3rem;
  }

  .app-phone-stage {
    min-height: 480px;
  }

  .arrivo-hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .arrivo-hero-visual,
  .arrivo-feature figure {
    width: min(360px, 86vw);
  }

  .arrivo-feature,
  .arrivo-feature.is-reversed {
    min-height: auto;
    padding: 1.4rem;
  }

  .arrivo-feature.is-reversed .arrivo-feature-copy {
    order: 0;
  }

  .service-row {
    grid-template-columns: auto 1fr;
  }

  .contact-methods {
    padding-left: 0;
    border-left: 0;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .chapter-card,
  .customer-product-card {
    grid-template-columns: 1fr;
  }

  .chapter-actions {
    justify-items: start;
  }

  .promo-hero {
    min-height: min(660px, calc(100svh - 92px));
    padding: 2rem;
  }

  .customer-offer-panel {
    display: grid;
    align-items: start;
  }

  .dashboard-sidebar {
    position: relative;
    height: auto;
  }

  .dash-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 22px, 560px);
  }

  .hero-actions,
  .hero-scope-row,
  .call-panel,
  .cta-panel,
  .dash-top {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .hero-scope-row span {
    justify-content: center;
  }

  .hero-visual {
    flex-direction: column;
  }

  .hero-visual-badges {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -2rem;
  }

  .tech-carousel-section {
    padding-top: 1.5rem;
  }

  .tech-carousel-head {
    padding: 1.1rem;
  }

  .tech-carousel-window::before,
  .tech-carousel-window::after {
    width: 44px;
  }

  .tech-logo-card {
    flex-basis: 124px;
    min-height: 94px;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .arrivo-nav {
    width: min(100% - 24px, 560px);
  }

  .mp-nav {
    width: min(100% - 24px, 560px);
  }

  .mp-brand {
    font-size: 1rem;
  }

  .mp-brand img {
    width: 38px;
    height: 38px;
  }

  .mp-nav-actions a:not(.mp-nav-cta) {
    display: none;
  }

  .mp-hero,
  .mp-section,
  .mp-strip,
  .mp-final {
    width: min(100% - 24px, 560px);
  }

  .mp-hero {
    min-height: auto;
    padding: 2rem 0 3rem;
  }

  .mp-hero h1 {
    font-size: clamp(3.4rem, 18vw, 5.6rem);
  }

  .mp-hero-visual {
    min-height: 280px;
  }

  .mp-section {
    padding: 3rem 0;
  }

  .mp-card-band {
    padding: 3rem 12px;
  }

  .mp-dashboard-section h2,
  .mp-section-head h2,
  .mp-live-copy h2,
  .mp-workflow h2,
  .mp-pricing h2,
  .mp-final h2 {
    font-size: clamp(2.25rem, 12vw, 3.6rem);
  }

  .mp-primary,
  .mp-secondary,
  .mp-actions {
    width: 100%;
  }

  .mp-primary,
  .mp-secondary {
    justify-content: center;
  }

  .mp-strip {
    justify-content: flex-start;
    padding-bottom: 2rem;
  }

  .arrivo-brand {
    gap: 0.55rem;
    font-size: 1rem;
    letter-spacing: 0.14em;
  }

  .arrivo-nav-actions a:not(.arrivo-nav-cta) {
    display: none;
  }

  .arrivo-hero,
  .arrivo-intro,
  .arrivo-feature-list,
  .arrivo-final {
    width: min(100% - 24px, 560px);
  }

  .arrivo-hero h1 {
    font-size: clamp(4rem, 21vw, 6rem);
  }

  .arrivo-intro h2,
  .arrivo-feature h2,
  .arrivo-final h2 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .arrivo-actions,
  .app-store-badge,
  .arrivo-secondary {
    width: 100%;
  }

  .app-store-badge,
  .arrivo-secondary {
    justify-content: center;
  }

  .arrivo-feature-list {
    gap: 1.4rem;
    padding-bottom: 3rem;
  }

  .arrivo-final {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }

  .hero-product-image {
    width: 100%;
    margin-left: 0;
  }

  .hero-visual {
    min-height: 350px;
  }

  .table {
    display: block;
    overflow-x: auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .app-landing-nav,
  .app-landing-section,
  .app-landing-hero,
  .academy-hero,
  .product-hero,
  .product-chapters,
  .academy-band,
  .promo-nav,
  .promo-hero,
  .promo-final,
  .promo-footer {
    width: min(100% - 24px, 560px);
  }

  .promo-nav {
    gap: 0.55rem;
  }

  .promo-brand {
    max-width: 128px;
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .promo-nav-actions {
    gap: 0.35rem;
  }

  .promo-nav-cta {
    min-height: 34px;
    padding: 0 0.55rem !important;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .promo-preview,
  .promo-system {
    width: 100%;
    padding-inline: 12px;
  }

  .app-landing-hero h1,
  .academy-hero h1,
  .product-hero h1 {
    font-size: clamp(3.3rem, 19vw, 5.6rem);
  }

  .academy-band {
    display: grid;
    padding: 1rem;
  }

  .promo-nav-deadline {
    min-height: 30px;
    padding: 0 0.55rem;
    font-size: 0.7rem;
  }

  .promo-hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.55rem);
    line-height: 0.96;
  }

  .promo-actions,
  .promo-primary,
  .promo-secondary,
  .promo-countdown,
  .customer-cta-row {
    width: 100%;
  }

  .promo-countdown {
    grid-template-columns: 1fr auto;
  }

  .promo-hero {
    min-height: min(640px, calc(100svh - 88px));
    padding: 1.1rem;
  }

  .promo-copy {
    align-self: end;
    gap: 0.7rem;
  }

  .promo-hero p {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .promo-kicker {
    max-width: 100%;
    min-height: 30px;
    font-size: 0.68rem;
    white-space: normal;
  }

  .promo-primary,
  .promo-secondary {
    min-height: 48px;
    padding: 0 0.85rem;
    text-align: center;
  }

  .promo-countdown {
    min-height: 50px;
    padding: 0 0.75rem;
  }

  .promo-countdown strong {
    font-size: 1.25rem;
  }

  .promo-proof {
    gap: 0.45rem;
  }

  .promo-proof span {
    padding: 0.45rem 0.6rem;
    font-size: 0.78rem;
  }

  .promo-visual img {
    object-position: 63% center;
  }

  .promo-visual::after {
    background:
      linear-gradient(180deg, rgba(2, 6, 13, 0.18) 0%, rgba(2, 6, 13, 0.42) 36%, rgba(2, 6, 13, 0.94) 100%),
      linear-gradient(90deg, rgba(2, 6, 13, 0.72) 0%, rgba(2, 6, 13, 0.22) 100%);
  }

  .promo-preview,
  .promo-system,
  .promo-final {
    padding: 2rem 0;
  }

  .promo-preview h2,
  .promo-system h2,
  .promo-final h2 {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
    line-height: 1.05;
  }

  .promo-preview-grid article {
    min-height: auto;
  }

  .promo-footer {
    display: grid;
  }

  .app-landing-final {
    padding: 1.25rem;
  }

  .app-phone {
    width: min(300px, 88vw);
  }
}

@media (max-width: 980px) {
  .customer-account-panel,
  .customer-library-feature,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .customer-account-panel {
    gap: 0.8rem;
  }

  .library-feature-art {
    min-height: 220px;
  }

  .library-feature-art img {
    min-height: 220px;
  }
}

@media (max-width: 620px) {
  .customer-dashboard .dashboard-main {
    padding: 0.85rem;
  }

  .customer-account-panel,
  .customer-library-feature,
  .customer-product-showcase,
  .customer-product-catalog {
    margin-bottom: 0.85rem;
  }

  .account-card,
  .customer-library-feature,
  .catalog-product-body,
  .product-showcase-copy,
  .customer-offer-panel {
    padding: 0.9rem;
  }

  .customer-library-feature h2 {
    font-size: clamp(1.7rem, 9vw, 2.45rem);
    line-height: 1.02;
  }

  .catalog-product-visual,
  .catalog-product-visual img {
    min-height: 210px;
  }

  .visual-hook {
    font-size: clamp(1.35rem, 8vw, 1.9rem);
  }

  .product-showcase-cover {
    min-height: 310px;
    background-position: 58% center;
  }

  .showcase-hook strong {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }

  .product-showcase-copy h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .product-progress-strip {
    grid-template-columns: 1fr;
  }

  .offer-actions,
  .account-actions {
    width: 100%;
  }

  .danger-link {
    width: 100%;
  }
}

/* Customer area professional refresh */
.customer-dashboard.dashboard-layout {
  grid-template-columns: 292px minmax(0, 1fr);
  background: #f6f7f9;
  color: #111827;
}

.customer-dashboard .dashboard-sidebar {
  padding: 0;
  color: #111827;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  box-shadow: 1px 0 0 rgba(17, 24, 39, 0.02);
}

.sidebar-inner {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100vh;
  padding: 1rem;
}

.sidebar-brand-card {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
}

.sidebar-brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #ffffff;
  background: #111827;
  font-size: 0.78rem;
  font-weight: 950;
}

.sidebar-brand-card strong,
.sidebar-brand-card em {
  display: block;
}

.sidebar-brand-card strong {
  color: #111827;
  font-size: 0.98rem;
  line-height: 1.1;
}

.sidebar-brand-card em {
  margin-top: 0.15rem;
  color: #667085;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 760;
}

.customer-dashboard .customer-side-nav {
  gap: 0.25rem;
  margin-top: 0;
}

.customer-dashboard .dash-nav a {
  min-height: 40px;
  padding: 0 0.72rem;
  border-radius: 7px;
  color: #526071;
  font-size: 0.92rem;
  font-weight: 760;
}

.customer-dashboard .customer-side-nav a {
  justify-content: flex-start;
  border: 1px solid transparent;
}

.customer-dashboard .dash-nav a.active,
.customer-dashboard .dash-nav a:hover {
  color: #111827;
  background: #f1f3f6;
}

.customer-dashboard .customer-side-nav a.active {
  border-color: #e2e6eb;
  background: #f5f7f8;
}

.sidebar-nav-label {
  display: block;
  margin: 0.1rem 0 0.25rem;
  color: #98a2b3;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c7ced8;
}

.customer-side-nav a.active .nav-dot {
  background: #2f7d5c;
}

.sidebar-access-card,
.sidebar-product-mini,
.sidebar-coming,
.sidebar-help {
  display: grid;
  gap: 0.65rem;
  padding: 0.8rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
}

.sidebar-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.sidebar-card-head span,
.sidebar-access-card p,
.sidebar-help span,
.sidebar-coming em,
.sidebar-product-mini em {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 720;
}

.sidebar-card-head strong {
  color: #255e46;
  font-size: 0.82rem;
}

.sidebar-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f3;
}

.sidebar-progress span {
  display: block;
  height: 100%;
  min-width: 8px;
  border-radius: inherit;
  background: #2f7d5c;
}

.sidebar-access-card p {
  margin: 0;
  line-height: 1.35;
}

.sidebar-upgrade-btn {
  min-height: 36px;
  border: 1px solid #111827;
  border-radius: 7px;
  color: #ffffff;
  background: #111827;
  cursor: pointer;
  font-weight: 850;
}

.sidebar-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 850;
}

.sidebar-status.active {
  color: #255e46;
  background: #e7f6ef;
}

.sidebar-product-mini a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.sidebar-product-mini img {
  width: 64px;
  height: 48px;
  border-radius: 7px;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.98);
}

.sidebar-product-mini strong,
.sidebar-product-mini em,
.sidebar-coming strong,
.sidebar-coming em {
  display: block;
}

.sidebar-product-mini strong,
.sidebar-coming strong,
.sidebar-help strong {
  color: #111827;
  font-size: 0.88rem;
  line-height: 1.18;
}

.sidebar-coming div {
  padding: 0.55rem 0;
  border-top: 1px solid #eef0f3;
}

.sidebar-coming div:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.sidebar-coming em,
.sidebar-product-mini em {
  margin-top: 0.2rem;
  font-style: normal;
}

.sidebar-help {
  margin-top: auto;
  background: #f8fafc;
}

.sidebar-admin-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 0.8rem;
  width: 100%;
  border: 1px solid rgba(112, 242, 255, 0.32);
  border-radius: 8px;
  color: #07111f;
  background: linear-gradient(135deg, #70f2ff, #b4c3ff);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.admin-create-form {
  padding: 1rem;
}

.product-customer-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-customers-split {
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
}

.product-customers-table th:nth-child(1),
.product-customers-table td:nth-child(1) {
  width: 24%;
}

.product-customers-table th:nth-child(6),
.product-customers-table td:nth-child(6) {
  width: 150px;
}

.revenue-table {
  font-size: 0.86rem;
}

.customer-dashboard .dashboard-main {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(1rem, 2.4vw, 2rem);
}

.customer-dashboard .primary-btn {
  min-height: 42px;
  padding: 0 1rem;
  color: #ffffff;
  background: #111827;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.12);
}

.customer-dashboard .ghost-btn,
.customer-dashboard .mini-btn {
  color: #111827;
  border-color: #d7dce3;
  background: #ffffff;
  box-shadow: none;
}

.customer-dashboard .ghost-btn:hover,
.customer-dashboard .mini-btn:hover,
.customer-dashboard .primary-btn:hover {
  border-color: #111827;
  transform: translateY(-1px);
}

.customer-top {
  align-items: end;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.customer-top h1 {
  margin: 0.35rem 0 0.25rem;
  color: #111827;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.customer-top p {
  max-width: 620px;
  margin: 0;
  color: #667085;
  font-size: 0.98rem;
  font-weight: 650;
}

.customer-dashboard .pill,
.customer-dashboard .status {
  min-height: 26px;
  padding: 0 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
}

.customer-dashboard .pill {
  color: #255e46;
  background: #e7f6ef;
}

.customer-dashboard .status.active {
  color: #255e46;
  background: #e7f6ef;
}

.customer-dashboard .status.pending {
  color: #7a4b12;
  background: #fff3d8;
}

.customer-dashboard .status.issue {
  color: #a73737;
  background: #fee7e7;
}

.customer-account-panel {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 0.85rem;
}

.account-card,
.customer-library-feature,
.catalog-product-card,
.customer-product-showcase,
.customer-offer-panel,
.dashboard-product-section,
.customer-locked-panel {
  border-color: #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.account-card {
  min-height: 160px;
  gap: 0.7rem;
  padding: 1rem;
}

.account-card h2 {
  color: #111827;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.account-card p {
  color: #667085;
  font-size: 0.93rem;
  font-weight: 650;
}

.subscription-card {
  position: relative;
  overflow: hidden;
  color: #111827;
  background: #ffffff;
}

.subscription-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: #2f7d5c;
}

.subscription-card h2,
.subscription-card p {
  color: #111827;
}

.subscription-card p {
  color: #667085;
}

.lifetime-upgrade {
  gap: 0.25rem;
  padding: 0.75rem;
  border-color: #d8eadf;
  background: #f3faf6;
}

.lifetime-upgrade strong {
  color: #255e46;
  font-size: 1.18rem;
}

.lifetime-upgrade span {
  color: #526071;
  font-size: 0.9rem;
}

.danger-link {
  color: #a73737;
  border-color: #f0caca;
  background: #fff7f7;
}

.customer-library-feature {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  color: #111827;
  background: #ffffff;
}

.customer-library-feature h2 {
  max-width: 680px;
  margin: 0.55rem 0 0.5rem;
  color: #111827;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.06;
}

.customer-library-feature p {
  max-width: 660px;
  color: #667085;
  font-size: 0.98rem;
  font-weight: 650;
}

.library-feature-art {
  min-height: 220px;
  border: 1px solid #e5e7eb;
  box-shadow: none;
}

.library-feature-art img {
  min-height: 220px;
  filter: saturate(0.94) contrast(0.98);
}

.library-feature-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.35), transparent 55%);
}

.library-feature-art span {
  z-index: 2;
  color: #111827;
  background: #ffffff;
}

.customer-product-catalog {
  gap: 0.75rem;
}

.customer-product-catalog .dash-section-head {
  padding: 0.1rem 0;
}

.catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.catalog-product-card {
  display: grid;
  overflow: hidden;
}

.catalog-product-visual {
  min-height: 178px;
  background: #eef1f4;
}

.catalog-product-visual img {
  min-height: 178px;
  filter: saturate(0.92) contrast(0.98);
}

.catalog-product-card:hover .catalog-product-visual img {
  transform: none;
}

.catalog-product-visual::after {
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.58), transparent 62%);
}

.visual-hook {
  bottom: 0.8rem;
  max-width: 82%;
  color: #ffffff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.05;
}

.visual-status {
  min-height: 26px;
  color: #255e46;
  background: #ffffff;
  font-size: 0.68rem;
  text-transform: none;
}

.visual-status.pending {
  color: #7a4b12;
  background: #fff7df;
}

.catalog-product-body {
  gap: 0.65rem;
  padding: 0.9rem;
}

.catalog-product-body h3 {
  color: #111827;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.catalog-product-body p {
  color: #667085;
  font-size: 0.92rem;
  font-weight: 620;
}

.catalog-product-meta span {
  color: #526071;
  background: #f1f3f6;
  font-size: 0.72rem;
}

.catalog-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.catalog-actions .mini-btn {
  justify-content: center;
}

.coming-visual,
.coming-visual.theme-b,
.coming-visual.theme-c {
  background:
    linear-gradient(0deg, rgba(17, 24, 39, 0.52), rgba(17, 24, 39, 0.1)),
    linear-gradient(135deg, #e9efe9, #dfe8ef);
}

.coming-visual::before {
  inset: 22% 10% auto auto;
  width: 48%;
  height: 42%;
  border-color: rgba(17, 24, 39, 0.16);
  background:
    linear-gradient(180deg, transparent 0 22%, rgba(17, 24, 39, 0.1) 23% 24%, transparent 25% 48%, rgba(17, 24, 39, 0.08) 49% 50%, transparent 51%),
    linear-gradient(90deg, transparent 0 24%, rgba(17, 24, 39, 0.08) 25% 26%, transparent 27% 54%, rgba(17, 24, 39, 0.06) 55% 56%, transparent 57%);
}

.customer-product-showcase {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  align-items: stretch;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.product-showcase-cover {
  min-height: 360px;
  background-image:
    linear-gradient(0deg, rgba(17, 24, 39, 0.48), transparent 58%),
    var(--cover-image);
  background-position: center;
  filter: saturate(0.92) contrast(0.98);
}

.showcase-badge {
  color: #111827;
  background: #ffffff;
  font-size: 0.7rem;
  text-transform: none;
}

.showcase-hook {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  gap: 0.25rem;
  max-width: 340px;
  padding: 0.8rem;
  border-radius: 8px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.showcase-hook span {
  color: #2f7d5c;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.showcase-hook strong {
  color: #111827;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.08;
}

.product-showcase-copy {
  align-content: center;
  gap: 0.8rem;
  padding: clamp(1rem, 3vw, 2rem);
}

.product-showcase-copy h1 {
  color: #111827;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.product-showcase-copy p {
  color: #667085;
  font-size: 0.98rem;
  font-weight: 650;
}

.product-progress-strip {
  gap: 0.5rem;
}

.product-progress-strip div {
  padding: 0.75rem;
  border-color: #e5e7eb;
  background: #f8fafc;
}

.product-progress-strip strong {
  color: #255e46;
  font-size: 1.22rem;
}

.product-progress-strip span {
  color: #667085;
  font-size: 0.68rem;
}

.product-offer {
  align-items: end;
  padding: 1rem;
  background: #ffffff;
}

.customer-offer-panel h2 {
  margin: 0.45rem 0 0.4rem;
  color: #111827;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.08;
}

.customer-offer-panel p {
  color: #667085;
  font-size: 0.95rem;
  font-weight: 620;
}

.dashboard-product-section .dash-section-head {
  padding: 1rem 1rem 0;
}

.dashboard-product-section .chapter-list {
  padding: 0.85rem;
}

.chapter-list.in-dashboard {
  gap: 0.65rem;
}

.chapter-list.in-dashboard .chapter-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-color: #e5e7eb;
  background: #ffffff;
}

.chapter-list.in-dashboard .chapter-card.is-locked {
  background: #fafafa;
}

.chapter-list.in-dashboard .chapter-card h3 {
  font-size: 1.04rem;
}

.chapter-list.in-dashboard .chapter-card p {
  color: #667085;
  font-size: 0.9rem;
}

.chapter-list.in-dashboard .chapter-number {
  color: #255e46;
}

.customer-locked-panel h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.04;
}

@media (max-width: 980px) {
  .customer-dashboard.dashboard-layout {
    grid-template-columns: 1fr;
  }

  .customer-dashboard .dashboard-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .sidebar-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
    padding: 0.8rem;
  }

  .sidebar-brand-card,
  .customer-side-nav {
    grid-column: 1 / -1;
  }

  .customer-dashboard .customer-side-nav {
    display: flex;
    flex-wrap: wrap;
  }

  .customer-account-panel,
  .customer-library-feature,
  .customer-product-showcase,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-showcase-cover {
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  .customer-dashboard .dashboard-main {
    padding: 0.8rem;
  }

  .sidebar-inner {
    grid-template-columns: 1fr;
  }

  .sidebar-brand-card,
  .customer-side-nav {
    grid-column: auto;
  }

  .sidebar-coming,
  .sidebar-help {
    display: none;
  }

  .customer-top {
    align-items: stretch;
  }

  .customer-top h1 {
    font-size: clamp(1.7rem, 9vw, 2.3rem);
  }

  .account-card,
  .customer-library-feature,
  .catalog-product-body,
  .product-showcase-copy,
  .customer-offer-panel {
    padding: 0.85rem;
  }

  .customer-library-feature h2,
  .product-showcase-copy h1 {
    font-size: clamp(1.65rem, 9vw, 2.35rem);
  }

  .catalog-product-visual,
  .catalog-product-visual img {
    min-height: 176px;
  }

  .product-showcase-cover {
    min-height: 260px;
  }

  .showcase-hook {
    max-width: calc(100% - 2rem);
    padding: 0.7rem;
  }

  .product-progress-strip,
  .chapter-list.in-dashboard .chapter-card {
    grid-template-columns: 1fr;
  }

  .chapter-actions {
    justify-items: start;
  }

  .customer-dashboard .primary-btn,
  .customer-dashboard .ghost-btn,
  .danger-link {
    width: 100%;
  }
}

/* Customer profile top menu */
.customer-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  margin: calc(clamp(1rem, 2.4vw, 2rem) * -1) calc(clamp(1rem, 2.4vw, 2rem) * -1) 1.25rem;
  padding: 0 clamp(1rem, 2.4vw, 2rem);
  border-bottom: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.topbar-section {
  color: #667085;
  font-size: 0.86rem;
  font-weight: 800;
}

.profile-menu {
  position: relative;
}

.profile-menu summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.25rem 0.35rem 0.25rem 0.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  list-style: none;
}

.profile-menu summary::-webkit-details-marker {
  display: none;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: #111827;
  font-size: 0.78rem;
  font-weight: 900;
}

.profile-summary {
  display: grid;
  padding-right: 0.35rem;
}

.profile-summary strong {
  color: #111827;
  font-size: 0.86rem;
  line-height: 1.1;
}

.profile-summary em {
  color: #667085;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 720;
}

.profile-menu-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  display: grid;
  gap: 0.2rem;
  width: min(270px, calc(100vw - 2rem));
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
}

.profile-menu-head {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem;
  border-bottom: 1px solid #eef0f3;
}

.profile-menu-head strong {
  color: #111827;
}

.profile-menu-head span {
  color: #667085;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.profile-menu-panel a,
.profile-menu-panel button {
  min-height: 38px;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 7px;
  color: #374151;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
}

.profile-menu-panel a:hover,
.profile-menu-panel button:hover {
  color: #111827;
  background: #f3f4f6;
}

.profile-page {
  display: grid;
  gap: 1rem;
}

.profile-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.profile-page-head h1 {
  margin: 0.4rem 0 0.25rem;
  color: #111827;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.05;
}

.profile-page-head p {
  max-width: 680px;
  margin: 0;
  color: #667085;
  font-weight: 650;
}

.profile-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.profile-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.profile-panel-head h2 {
  margin: 0 0 0.25rem;
  color: #111827;
  font-size: 1.18rem;
}

.profile-panel-head p {
  margin: 0;
  color: #667085;
  font-size: 0.92rem;
  font-weight: 640;
}

.profile-form {
  display: grid;
  gap: 0.8rem;
}

.profile-form label {
  display: grid;
  gap: 0.35rem;
  color: #374151;
  font-size: 0.86rem;
  font-weight: 800;
}

.subscription-profile-panel {
  grid-column: 1 / -1;
}

.subscription-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.subscription-status-grid div,
.subscription-upgrade-box {
  padding: 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
}

.subscription-status-grid span,
.subscription-upgrade-box span {
  display: block;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 760;
}

.subscription-status-grid strong,
.subscription-upgrade-box strong {
  display: block;
  margin-top: 0.25rem;
  color: #111827;
  font-size: 1rem;
}

.subscription-upgrade-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #f3faf6;
  border-color: #d8eadf;
}

.subscription-upgrade-box strong {
  color: #255e46;
  font-size: 1.22rem;
}

.danger-profile-panel {
  border-color: #f1d3d3;
  background: #fffafa;
}

.checkout-page {
  display: grid;
  gap: 1rem;
}

.checkout-page-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #dfe6fb;
}

.checkout-page-head h1 {
  margin: 0.45rem 0 0;
  color: #111827;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.checkout-page-head p {
  max-width: 680px;
  margin: 0.5rem 0 0;
  color: #65746f;
  font-weight: 700;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
  gap: 1rem;
  align-items: start;
}

.checkout-form-panel,
.checkout-summary-panel {
  border: 1px solid #dfe6fb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(47, 91, 255, 0.055);
}

.checkout-form-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.checkout-form-grid label,
.checkout-confirm {
  display: grid;
  gap: 0.45rem;
  color: #111827;
  font-weight: 850;
}

.checkout-form-grid label.wide {
  grid-column: 1 / -1;
}

.checkout-confirm {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  padding: 0.85rem;
  border: 1px solid #dfe6fb;
  border-radius: 8px;
  color: #526071;
  background: #f8faff;
  font-weight: 750;
}

.checkout-confirm input {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: #2f5bff;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.checkout-summary-panel {
  overflow: hidden;
  position: sticky;
  top: 1rem;
}

.checkout-summary-visual {
  position: relative;
  min-height: 190px;
  background:
    linear-gradient(135deg, #eef2ff 0%, #f5f7ff 44%, #eafaff 100%);
}

.checkout-summary-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.checkout-lifetime-mark {
  position: absolute;
  inset: 1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47, 91, 255, 0.18);
  border-radius: 8px;
  color: #263fc8;
  background:
    radial-gradient(circle at 72% 22%, rgba(48, 213, 255, 0.24), transparent 34%),
    #ffffff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 950;
}

.checkout-summary-body {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.checkout-summary-body h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.checkout-summary-body p {
  margin: 0;
  color: #65746f;
  font-weight: 650;
  line-height: 1.45;
}

.checkout-summary-list {
  display: grid;
  gap: 0.45rem;
}

.checkout-summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: 8px;
  color: #526071;
  background: #f8faff;
  font-weight: 800;
}

.checkout-summary-list strong {
  color: #111827;
  text-align: right;
}

.checkout-lifetime-inline {
  justify-content: center;
}

@media (max-width: 980px) {
  .customer-topbar {
    position: relative;
    margin: -0.8rem -0.8rem 1rem;
  }

  .profile-layout,
  .subscription-status-grid,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary-panel {
    position: static;
  }

  .subscription-profile-panel {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .customer-topbar {
    align-items: stretch;
    min-height: auto;
    padding: 0.65rem 0.8rem;
  }

  .profile-summary {
    display: none;
  }

  .profile-page-head {
    display: grid;
  }

  .subscription-upgrade-box {
    display: grid;
  }

  .checkout-page-head,
  .checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Customer color refinement */
.customer-dashboard.dashboard-layout {
  background:
    linear-gradient(180deg, #f4f8f7 0%, #f7f6f1 46%, #f5f7fb 100%);
}

.customer-dashboard .dashboard-sidebar {
  background: #fbfaf5;
  border-right-color: #dfe7e1;
}

.sidebar-brand-card {
  border-color: #d7e5dc;
  background:
    linear-gradient(135deg, #f4fbf7 0%, #f8f3e7 100%);
}

.sidebar-brand-mark,
.profile-avatar {
  background: linear-gradient(135deg, #164c47, #2f7d5c);
}

.sidebar-brand-card strong,
.sidebar-product-mini strong,
.sidebar-coming strong,
.sidebar-help strong,
.customer-top h1,
.product-showcase-copy h1,
.profile-page-head h1 {
  color: #172a2a;
}

.customer-dashboard .customer-side-nav a.active {
  color: #143f3a;
  border-color: #cfe1d6;
  background: #edf7f1;
}

.customer-dashboard .dash-nav a:hover {
  color: #143f3a;
  background: #f1f7f2;
}

.customer-side-nav a.active .nav-dot,
.sidebar-progress span {
  background: #2f7d5c;
}

.sidebar-access-card,
.sidebar-product-mini,
.sidebar-coming,
.sidebar-help,
.account-card,
.customer-library-feature,
.catalog-product-card,
.customer-product-showcase,
.customer-offer-panel,
.dashboard-product-section,
.customer-locked-panel,
.profile-panel {
  border-color: #dfe7e1;
  background: #fffefa;
  box-shadow: 0 10px 28px rgba(31, 49, 45, 0.055);
}

.sidebar-access-card {
  background: linear-gradient(180deg, #ffffff 0%, #f1faf5 100%);
}

.sidebar-product-mini {
  background: #f8fafb;
}

.sidebar-coming {
  background: #fff8ea;
  border-color: #eadfca;
}

.sidebar-help {
  background: #f3f6fb;
  border-color: #dce5f2;
}

.sidebar-upgrade-btn,
.customer-dashboard .primary-btn {
  color: #ffffff;
  border-color: #164c47;
  background: linear-gradient(135deg, #164c47, #2f7d5c);
  box-shadow: 0 10px 22px rgba(47, 125, 92, 0.16);
}

.customer-dashboard .ghost-btn,
.customer-dashboard .mini-btn {
  color: #164c47;
  border-color: #cddbd2;
  background: #fafffb;
}

.customer-dashboard .ghost-btn:hover,
.customer-dashboard .mini-btn:hover,
.customer-dashboard .primary-btn:hover {
  border-color: #2f7d5c;
}

.customer-topbar {
  border-bottom-color: #dfe7e1;
  background: rgba(255, 254, 250, 0.94);
}

.topbar-section,
.profile-summary em,
.profile-menu-head span,
.customer-top p,
.product-showcase-copy p,
.catalog-product-body p,
.profile-page-head p,
.profile-panel-head p {
  color: #65746f;
}

.profile-menu summary,
.profile-menu-panel {
  border-color: #dfe7e1;
  background: #fffefa;
}

.profile-menu-panel a:hover,
.profile-menu-panel button:hover {
  color: #143f3a;
  background: #edf7f1;
}

.customer-dashboard .pill {
  color: #215946;
  background: #e5f4eb;
}

.customer-dashboard .status.active,
.sidebar-status.active {
  color: #215946;
  background: #e5f4eb;
}

.customer-dashboard .status.pending,
.visual-status.pending {
  color: #7b520f;
  background: #fff0c7;
}

.visual-status {
  color: #215946;
  background: #f5fff8;
}

.customer-library-feature {
  background:
    linear-gradient(135deg, #fffefa 0%, #edf8f2 58%, #f4f7fc 100%);
}

.customer-library-feature h2 {
  color: #172a2a;
}

.library-feature-art {
  border-color: #cfe1d6;
}

.library-feature-art span {
  color: #143f3a;
  background: #e9f7ef;
}

.catalog-product-meta span,
.subscription-status-grid div,
.subscription-upgrade-box,
.product-progress-strip div {
  color: #52665f;
  border-color: #dfe7e1;
  background: #f5faf7;
}

.product-progress-strip strong,
.chapter-list.in-dashboard .chapter-number,
.subscription-upgrade-box strong,
.lifetime-upgrade strong {
  color: #2f7d5c;
}

.coming-visual,
.coming-visual.theme-b,
.coming-visual.theme-c {
  background:
    linear-gradient(0deg, rgba(23, 42, 42, 0.54), rgba(23, 42, 42, 0.08)),
    linear-gradient(135deg, #e3f4ed 0%, #f7dfb8 48%, #dfe9f7 100%);
}

.product-showcase-cover {
  background-image:
    linear-gradient(0deg, rgba(23, 42, 42, 0.48), transparent 58%),
    var(--cover-image);
}

.showcase-hook {
  color: #172a2a;
  background: rgba(255, 254, 250, 0.94);
  box-shadow: 0 14px 30px rgba(47, 76, 68, 0.14);
}

.showcase-hook span {
  color: #2f7d5c;
}

.showcase-badge {
  color: #143f3a;
  background: #e9f7ef;
}

.product-offer {
  background: linear-gradient(135deg, #fffefa 0%, #f2faf5 100%);
}

.subscription-card::before {
  background: linear-gradient(180deg, #2f7d5c, #d39a2d);
}

.lifetime-upgrade {
  border-color: #d8eadf;
  background: #f1faf5;
}

.subscription-upgrade-box {
  background: linear-gradient(135deg, #f1faf5, #fff6df);
  border-color: #d8eadf;
}

.danger-link {
  color: #9f3d3d;
  border-color: #efcaca;
  background: #fff7f2;
}

.danger-profile-panel {
  border-color: #efd4c8;
  background: #fff9f5;
}

/* Kyber palette correction */
.customer-dashboard.dashboard-layout {
  background:
    linear-gradient(180deg, #f8faff 0%, #ffffff 44%, #f5f8ff 100%);
}

.customer-dashboard .dashboard-sidebar {
  background: #ffffff;
  border-right-color: #dfe6fb;
}

.sidebar-brand-card {
  border-color: #dfe6fb;
  background:
    linear-gradient(135deg, #ffffff 0%, #f3f6ff 58%, #eefbff 100%);
}

.sidebar-brand-mark,
.profile-avatar {
  background: linear-gradient(135deg, #2f5bff, #7a5cff);
}

.sidebar-brand-card strong,
.sidebar-product-mini strong,
.sidebar-coming strong,
.sidebar-help strong,
.customer-top h1,
.product-showcase-copy h1,
.profile-page-head h1,
.showcase-hook strong {
  color: #111827;
}

.customer-dashboard .customer-side-nav a.active {
  color: #263fc8;
  border-color: #d8defd;
  background: #f0f3ff;
}

.customer-dashboard .dash-nav a:hover {
  color: #263fc8;
  background: #f5f7ff;
}

.customer-side-nav a.active .nav-dot,
.sidebar-progress span {
  background: linear-gradient(90deg, #2f5bff, #30d5ff);
}

.sidebar-access-card,
.sidebar-product-mini,
.sidebar-coming,
.sidebar-help,
.account-card,
.customer-library-feature,
.catalog-product-card,
.customer-product-showcase,
.customer-offer-panel,
.dashboard-product-section,
.customer-locked-panel,
.profile-panel {
  border-color: #dfe6fb;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(47, 91, 255, 0.055);
}

.sidebar-access-card {
  background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
}

.sidebar-product-mini {
  background: #f8faff;
}

.sidebar-coming {
  background: #fbfcff;
  border-color: #e1e7fb;
}

.sidebar-help {
  background: #f4fbff;
  border-color: #d8f2fb;
}

.sidebar-upgrade-btn,
.customer-dashboard .primary-btn {
  color: #ffffff;
  border-color: #2f5bff;
  background: linear-gradient(135deg, #2f5bff, #6b5cff);
  box-shadow: 0 10px 22px rgba(47, 91, 255, 0.17);
}

.customer-dashboard .ghost-btn,
.customer-dashboard .mini-btn {
  color: #263fc8;
  border-color: #d8defd;
  background: #ffffff;
}

.customer-dashboard .mini-btn.primary-mini {
  color: #ffffff;
  border-color: #2f5bff;
  background: linear-gradient(135deg, #2f5bff, #6b5cff);
}

.customer-dashboard .ghost-btn:hover,
.customer-dashboard .mini-btn:hover,
.customer-dashboard .primary-btn:hover {
  border-color: #2f5bff;
}

.customer-topbar {
  border-bottom-color: #dfe6fb;
  background: rgba(255, 255, 255, 0.94);
}

.profile-menu summary,
.profile-menu-panel {
  border-color: #dfe6fb;
  background: #ffffff;
}

.profile-menu-panel a:hover,
.profile-menu-panel button:hover {
  color: #263fc8;
  background: #f0f3ff;
}

.customer-dashboard .pill,
.customer-dashboard .status.active,
.sidebar-status.active {
  color: #263fc8;
  background: #eef2ff;
}

.customer-dashboard .status.pending,
.visual-status.pending {
  color: #7a4d00;
  background: #fff3d6;
}

.visual-status {
  color: #263fc8;
  background: #f3f7ff;
}

.customer-library-feature {
  background:
    linear-gradient(135deg, #ffffff 0%, #f4f7ff 62%, #eefbff 100%);
}

.library-feature-art {
  border-color: #d8defd;
}

.library-feature-art span,
.showcase-badge {
  color: #263fc8;
  background: #eef2ff;
}

.catalog-product-meta span,
.subscription-status-grid div,
.subscription-upgrade-box,
.product-progress-strip div {
  color: #526071;
  border-color: #dfe6fb;
  background: #f8faff;
}

.product-progress-strip strong,
.chapter-list.in-dashboard .chapter-number,
.subscription-upgrade-box strong,
.lifetime-upgrade strong,
.showcase-hook span {
  color: #2f5bff;
}

.coming-visual,
.coming-visual.theme-b,
.coming-visual.theme-c {
  background:
    linear-gradient(0deg, rgba(17, 24, 39, 0.52), rgba(17, 24, 39, 0.08)),
    linear-gradient(135deg, #eef2ff 0%, #f5f7ff 44%, #eafaff 100%);
}

.product-showcase-cover {
  background-image:
    linear-gradient(0deg, rgba(17, 24, 39, 0.48), transparent 58%),
    var(--cover-image);
}

.showcase-hook {
  color: #111827;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(47, 91, 255, 0.14);
}

.product-offer {
  background: linear-gradient(135deg, #ffffff 0%, #f4f7ff 100%);
}

.subscription-card::before {
  background: linear-gradient(180deg, #2f5bff, #30d5ff);
}

.lifetime-upgrade,
.subscription-upgrade-box {
  border-color: #d8defd;
  background: linear-gradient(135deg, #f4f7ff, #effcff);
}

html {
  scrollbar-width: none;
}

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

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

.article-figure {
  margin: 1.4rem 0;
  overflow: hidden;
  border: 1px solid rgba(47, 91, 255, 0.14);
  border-radius: 8px;
  background: #f8faff;
  box-shadow: 0 14px 34px rgba(47, 91, 255, 0.08);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-figure figcaption {
  padding: 0.8rem 0.9rem;
  color: #526071;
  background: #ffffff;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 650;
}

/* Kyber dashboard depth and full-width header */
.customer-dashboard.dashboard-layout {
  background:
    linear-gradient(135deg, rgba(122, 92, 255, 0.12) 0%, rgba(48, 213, 255, 0.08) 35%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, #eef3ff 0%, #f7faff 42%, #eefbff 100%);
}

.customer-dashboard .dashboard-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.customer-dashboard .dashboard-main > :not(.customer-topbar) {
  width: min(100% - 2rem, 1180px);
  margin-left: auto;
  margin-right: auto;
}

.customer-topbar {
  width: 100%;
  min-height: 70px;
  margin: 0 0 1.25rem;
  padding: 0 clamp(1rem, 2.4vw, 2rem);
  border-bottom-color: rgba(47, 91, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 246, 255, 0.96) 48%, rgba(235, 251, 255, 0.94) 100%);
}

.customer-dashboard .dashboard-sidebar {
  background:
    linear-gradient(180deg, #101827 0%, #18224b 48%, #102c45 100%);
  border-right-color: rgba(48, 213, 255, 0.16);
}

.sidebar-brand-card {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(47, 91, 255, 0.32), rgba(122, 92, 255, 0.22)),
    rgba(255, 255, 255, 0.06);
}

.sidebar-brand-card strong,
.sidebar-product-mini strong,
.sidebar-coming strong,
.sidebar-help strong {
  color: #ffffff;
}

.sidebar-brand-card em,
.sidebar-card-head span,
.sidebar-access-card p,
.sidebar-help span,
.sidebar-coming em,
.sidebar-product-mini em,
.sidebar-nav-label {
  color: #b8c7ee;
}

.customer-dashboard .dash-nav a {
  color: #dce6ff;
}

.customer-dashboard .customer-side-nav a.active {
  color: #ffffff;
  border-color: rgba(48, 213, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.customer-dashboard .dash-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-access-card,
.sidebar-product-mini,
.sidebar-coming,
.sidebar-help {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.sidebar-access-card {
  background:
    linear-gradient(135deg, rgba(47, 91, 255, 0.18), rgba(48, 213, 255, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.sidebar-product-mini,
.sidebar-coming {
  background: rgba(255, 255, 255, 0.055);
}

.sidebar-help {
  background: rgba(48, 213, 255, 0.08);
}

.sidebar-card-head strong {
  color: #70f2ff;
}

.sidebar-progress {
  background: rgba(255, 255, 255, 0.14);
}

.sidebar-upgrade-btn {
  color: #07111f;
  border-color: #70f2ff;
  background: linear-gradient(135deg, #70f2ff, #b4c3ff);
  box-shadow: 0 12px 26px rgba(48, 213, 255, 0.16);
}

.sidebar-status.active {
  color: #07111f;
  background: #70f2ff;
}

.sidebar-product-mini img {
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.sidebar-coming div {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.customer-library-feature {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(239, 244, 255, 0.98) 54%, rgba(224, 250, 255, 0.92) 100%);
}

.catalog-product-card,
.customer-product-showcase,
.dashboard-product-section,
.profile-panel,
.customer-offer-panel {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(47, 91, 255, 0.08);
}

.subscription-profile-panel,
.product-offer {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(242, 246, 255, 0.96));
}

@media (max-width: 980px) {
  .customer-topbar {
    margin: 0 0 1rem;
  }

  .customer-dashboard .dashboard-main > :not(.customer-topbar) {
    width: min(100% - 1.6rem, 1180px);
  }
}

@media (max-width: 620px) {
  .customer-topbar {
    margin: 0 0 0.9rem;
  }

  .customer-dashboard .dashboard-main > :not(.customer-topbar) {
    width: min(100% - 1rem, 560px);
  }
}

/* Product library polish */
.catalog-product-card {
  align-content: start;
}

.catalog-product-visual,
.catalog-product-visual img,
.coming-visual {
  min-height: 236px;
  height: 236px;
}

.catalog-product-visual {
  isolation: isolate;
}

.catalog-product-visual img {
  display: block;
}

.catalog-continue-btn {
  min-height: 44px;
  color: #ffffff;
  border-color: #2f5bff;
  background: linear-gradient(135deg, #2f5bff, #263fc8);
  box-shadow: 0 12px 24px rgba(47, 91, 255, 0.22);
}

.catalog-continue-btn:hover {
  color: #ffffff;
  border-color: #263fc8;
  transform: translateY(-1px);
}

.coming-visual,
.coming-visual.theme-b,
.coming-visual.theme-c {
  background:
    linear-gradient(0deg, rgba(12, 18, 33, 0.68), rgba(12, 18, 33, 0.08) 58%),
    radial-gradient(circle at 82% 18%, rgba(48, 213, 255, 0.38), transparent 28%),
    linear-gradient(135deg, #10203d 0%, #2946a3 48%, #eaf8ff 100%);
}

.coming-visual.theme-b {
  background:
    linear-gradient(0deg, rgba(12, 18, 33, 0.68), rgba(12, 18, 33, 0.08) 58%),
    radial-gradient(circle at 82% 18%, rgba(122, 92, 255, 0.38), transparent 28%),
    linear-gradient(135deg, #121a33 0%, #3e2f8f 48%, #f3f6ff 100%);
}

.coming-visual.theme-c {
  background:
    linear-gradient(0deg, rgba(12, 18, 33, 0.7), rgba(12, 18, 33, 0.08) 58%),
    radial-gradient(circle at 82% 18%, rgba(112, 242, 255, 0.34), transparent 28%),
    linear-gradient(135deg, #101827 0%, #163d59 50%, #edf8ff 100%);
}

.coming-visual::before {
  display: none;
}

.coming-art {
  position: absolute;
  inset: 26px 34px 54px 34px;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 19%, rgba(255, 255, 255, 0.11) 20%, transparent 21% 39%, rgba(255, 255, 255, 0.1) 40%, transparent 41% 59%, rgba(255, 255, 255, 0.1) 60%, transparent 61% 79%, rgba(255, 255, 255, 0.09) 80%, transparent 81%),
    linear-gradient(0deg, transparent 0 24%, rgba(255, 255, 255, 0.1) 25%, transparent 26% 49%, rgba(255, 255, 255, 0.1) 50%, transparent 51% 74%, rgba(255, 255, 255, 0.1) 75%, transparent 76%);
  box-shadow: inset 0 -46px 58px rgba(3, 8, 18, 0.28);
}

.coming-art span {
  position: absolute;
  bottom: 20px;
  width: 9px;
  border-radius: 999px 999px 2px 2px;
  background: #70f2ff;
  box-shadow: 0 0 18px rgba(112, 242, 255, 0.38);
}

.coming-art span:nth-child(1) {
  left: 15%;
  height: 42%;
}

.coming-art span:nth-child(2) {
  left: 34%;
  height: 63%;
  background: #8fa2ff;
}

.coming-art span:nth-child(3) {
  left: 55%;
  height: 36%;
}

.coming-art span:nth-child(4) {
  left: 76%;
  height: 72%;
  background: #ffffff;
}

.coming-art::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 8%;
  top: 54%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #70f2ff, #8fa2ff, #ffffff);
  transform: rotate(-11deg);
  transform-origin: left center;
  box-shadow: 0 0 18px rgba(112, 242, 255, 0.36);
}

@media (max-width: 620px) {
  .catalog-product-visual,
  .catalog-product-visual img,
  .coming-visual {
    min-height: 218px;
    height: 218px;
  }
}

/* Super admin dashboard refresh */
.admin-dashboard.dashboard-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  background:
    radial-gradient(circle at 72% 0%, rgba(47, 91, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #f6f8ff 0%, #f3f6fb 52%, #f7f9fc 100%);
}

.admin-dashboard .dashboard-main {
  min-width: 0;
  overflow-x: hidden;
  padding: clamp(1.35rem, 2.2vw, 2.35rem);
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.1rem;
  color: #eaf0ff;
  background:
    linear-gradient(180deg, #07101f 0%, #111a38 48%, #08111f 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  color: #ffffff;
  text-decoration: none;
}

.admin-sidebar-brand strong,
.admin-sidebar-brand em {
  display: block;
}

.admin-sidebar-brand strong {
  font-size: 1.15rem;
  letter-spacing: 0;
}

.admin-sidebar-brand em {
  margin-top: 0.15rem;
  color: #9fb0da;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-side-panel {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.admin-side-panel.compact {
  gap: 0.35rem;
}

.admin-side-kpi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.admin-side-kpi span,
.admin-mini-row span {
  color: #aebbe0;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-side-kpi strong,
.admin-mini-row strong {
  color: #ffffff;
  font-size: 1rem;
}

.admin-side-kpi.accent {
  background: linear-gradient(135deg, rgba(47, 91, 255, 0.42), rgba(48, 213, 255, 0.16));
}

.admin-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.48rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-mini-row:last-child {
  border-bottom: 0;
}

.admin-nav {
  gap: 0.35rem;
  margin-top: 0;
}

.admin-nav a {
  min-height: 42px;
  color: #d7e2ff;
  border: 1px solid transparent;
}

.admin-nav a.active {
  color: #ffffff;
  border-color: rgba(112, 242, 255, 0.25);
  background: linear-gradient(135deg, rgba(47, 91, 255, 0.46), rgba(122, 92, 255, 0.24));
}

.admin-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.admin-sidebar-footer {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
  padding: 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.admin-sidebar-footer span {
  color: #ffffff;
  font-weight: 900;
}

.admin-sidebar-footer button,
.admin-sidebar-footer a {
  min-height: 34px;
  padding: 0 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  color: #dbe5ff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font: inherit;
  font-weight: 850;
}

.admin-hero,
.admin-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(47, 91, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 246, 255, 0.92)),
    radial-gradient(circle at 86% 10%, rgba(48, 213, 255, 0.22), transparent 28%);
  box-shadow: 0 18px 48px rgba(47, 91, 255, 0.09);
}

.admin-page-head.compact-head {
  align-items: center;
}

.page-eyebrow,
.back-link {
  display: inline-flex;
  margin-bottom: 0.4rem;
  color: #2f5bff;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none;
}

.admin-hero h1,
.admin-page-head h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 0.96;
}

.admin-hero p,
.admin-page-head p {
  max-width: 720px;
  margin: 0.45rem 0 0;
  color: #5f6b7c;
  font-weight: 650;
}

.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.overview-kpis {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-kpi-card {
  position: relative;
  min-height: 118px;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(20, 32, 52, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(31, 42, 68, 0.08);
}

.admin-kpi-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: rgba(47, 91, 255, 0.13);
}

.admin-kpi-card span,
.admin-kpi-card em {
  display: block;
  color: #667085;
  font-style: normal;
  font-weight: 800;
}

.admin-kpi-card span {
  font-size: 0.82rem;
}

.admin-kpi-card strong {
  display: block;
  margin: 0.42rem 0 0.2rem;
  color: #101827;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1;
}

.admin-kpi-card em {
  font-size: 0.78rem;
}

.admin-kpi-card.tone-cyan::after { background: rgba(48, 213, 255, 0.2); }
.admin-kpi-card.tone-green::after { background: rgba(16, 185, 129, 0.16); }
.admin-kpi-card.tone-violet::after { background: rgba(122, 92, 255, 0.18); }
.admin-kpi-card.tone-dark::after { background: rgba(17, 24, 39, 0.13); }

.admin-overview-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.admin-action-list,
.admin-compact-list {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
}

.admin-action-list a,
.admin-compact-list a {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
  border: 1px solid rgba(20, 32, 52, 0.08);
  border-radius: 8px;
  color: #111827;
  background: #f8faff;
  text-decoration: none;
}

.admin-action-list a:hover,
.admin-compact-list a:hover {
  border-color: rgba(47, 91, 255, 0.28);
  background: #f1f5ff;
}

.admin-action-list strong,
.admin-compact-list strong {
  color: #111827;
}

.admin-action-list span,
.admin-compact-list span {
  color: #667085;
  font-size: 0.84rem;
  font-weight: 720;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}

.admin-tabs a {
  min-height: 38px;
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(47, 91, 255, 0.18);
  border-radius: 8px;
  color: #263fc8;
  background: #ffffff;
  text-decoration: none;
  font-weight: 900;
}

.admin-tabs a.active {
  color: #ffffff;
  border-color: #2f5bff;
  background: linear-gradient(135deg, #2f5bff, #263fc8);
}

.admin-list-shell .table th,
.admin-list-shell .table td {
  padding: 1.05rem 1rem;
}

.primary-mini {
  color: #ffffff;
  border-color: #2f5bff;
  background: #2f5bff;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.5fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.admin-profile-list {
  display: grid;
  gap: 0.1rem;
  padding: 0.8rem;
}

.admin-profile-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: #f8faff;
}

.admin-profile-list span {
  color: #667085;
  font-weight: 800;
}

.settings-form {
  margin-top: 1rem;
}

.settings-workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  width: 100%;
  max-width: 1280px;
}

.settings-head {
  overflow: hidden;
}

.settings-nav-panel,
.settings-section,
.settings-summary-panel {
  border-color: rgba(47, 91, 255, 0.16);
  min-width: 0;
}

.settings-nav-panel {
  position: sticky;
  top: 1rem;
}

.settings-summary-panel {
  position: static;
  padding: 1.15rem;
}

.settings-nav-panel {
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem;
}

.settings-nav-panel button {
  display: grid;
  gap: 0.15rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #0f172a;
  text-align: left;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.settings-nav-panel button.active {
  border-color: rgba(47, 91, 255, 0.22);
  color: #263fc8;
  background: linear-gradient(135deg, rgba(47, 91, 255, 0.11), rgba(112, 242, 255, 0.08));
}

.settings-nav-panel button.is-muted {
  color: #7a8495;
}

.settings-nav-panel strong {
  font-size: 0.96rem;
}

.settings-nav-panel small {
  color: #667085;
  font-weight: 750;
}

.settings-content {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.settings-section {
  padding: 0;
  overflow: hidden;
  scroll-margin-top: 1.2rem;
  min-width: 0;
}

.settings-section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: linear-gradient(135deg, rgba(47, 91, 255, 0.06), rgba(255, 255, 255, 0));
}

.settings-section-head h3 {
  margin: 0.2rem 0 0;
  color: #0f172a;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.settings-section-head p {
  max-width: 620px;
  margin: 0.25rem 0 0;
  color: #5b6678;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
}

.settings-method-list {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
}

.settings-payment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: 1.15rem;
  align-items: end;
  padding: 1.15rem;
  border: 1px solid rgba(22, 33, 62, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.96)),
    linear-gradient(135deg, rgba(47, 91, 255, 0.08), rgba(112, 242, 255, 0.08));
}

.settings-payment-card.enabled {
  border-color: rgba(47, 91, 255, 0.34);
  box-shadow: 0 14px 34px rgba(47, 91, 255, 0.1);
}

.settings-toggle-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
  margin: 0;
  min-width: 0;
}

.settings-toggle-row input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: #2f5bff;
}

.settings-toggle-row strong,
.settings-toggle-row em,
.settings-toggle-row small {
  display: block;
}

.settings-toggle-row strong {
  color: #0f172a;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.settings-toggle-row em {
  margin-top: 0.25rem;
  color: #516070;
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.settings-toggle-row small {
  max-width: 100%;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  color: #263fc8;
  background: rgba(47, 91, 255, 0.09);
  font-weight: 950;
}

.settings-field-grid,
.settings-provider-grid {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.settings-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-field-grid.compact {
  padding: 0;
}

.settings-provider-grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.settings-provider-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.15rem;
  border: 1px solid rgba(22, 33, 62, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.settings-form label {
  display: grid;
  gap: 0.45rem;
}

.settings-form label > span {
  color: #0f172a;
  font-weight: 850;
}

.settings-form .field {
  min-height: 56px;
  padding-left: 1.05rem;
  padding-right: 1.05rem;
  min-width: 0;
}

.settings-form select.field {
  padding-right: 3.2rem;
  background-position: right 1.15rem center;
}

.settings-provider-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.settings-provider-card strong {
  color: #0f172a;
  font-size: 1.05rem;
}

.settings-provider-card header span {
  padding: 0.28rem 0.52rem;
  border-radius: 999px;
  color: #263fc8;
  background: rgba(47, 91, 255, 0.09);
  font-weight: 900;
  font-size: 0.75rem;
}

.settings-summary-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  padding-top: 0.25rem;
}

.settings-summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem;
  border-radius: 8px;
  background: #f8faff;
}

.settings-summary-list span {
  color: #667085;
  font-weight: 800;
}

.settings-summary-list strong {
  color: #0f172a;
  text-align: right;
  overflow-wrap: anywhere;
}

.settings-note {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.1rem;
  padding: 1rem;
  border: 1px solid rgba(112, 242, 255, 0.26);
  border-radius: 8px;
  color: #415066;
  background: rgba(112, 242, 255, 0.08);
  font-size: 0.9rem;
  line-height: 1.45;
}

.settings-note strong {
  color: #0f172a;
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.settings-actions .primary-btn {
  min-width: 220px;
}

.single-column {
  grid-template-columns: 1fr;
}

@media (max-width: 1180px) {
  .admin-dashboard.dashboard-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .settings-nav-panel,
  .settings-summary-panel {
    position: static;
  }

  .overview-kpis,
  .admin-kpi-grid,
  .admin-overview-grid,
  .admin-detail-grid,
  .settings-workspace {
    grid-template-columns: 1fr;
  }

  .settings-nav-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .settings-payment-card,
  .settings-provider-grid,
  .settings-summary-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .admin-hero,
  .admin-page-head {
    display: grid;
    align-items: start;
  }

  .overview-kpis,
  .admin-kpi-grid,
  .admin-overview-grid,
  .admin-detail-grid,
  .settings-workspace,
  .settings-payment-card,
  .settings-field-grid,
  .settings-provider-grid,
  .settings-nav-panel {
    grid-template-columns: 1fr;
  }

  .settings-section-head {
    display: grid;
  }
}

/* Commercial chapter list */
.chapter-list.in-dashboard .chapter-card {
  grid-template-columns: 168px minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 0.75rem;
}

.chapter-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 112px;
  border-radius: 8px;
  background: #101827;
}

.chapter-thumb img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 0.18s ease;
}

.chapter-card:hover .chapter-thumb img {
  transform: scale(1.025);
}

.chapter-thumb::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(8, 13, 25, 0.66), transparent 60%),
    linear-gradient(90deg, rgba(47, 91, 255, 0.16), transparent 58%);
}

.chapter-thumb-badge,
.chapter-lock-icon {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 950;
}

.chapter-thumb-badge {
  left: 0.55rem;
  bottom: 0.55rem;
  min-width: 34px;
  height: 26px;
  color: #07111f;
  background: #70f2ff;
  font-size: 0.78rem;
}

.chapter-lock-icon {
  top: 0.55rem;
  right: 0.55rem;
  width: 32px;
  height: 32px;
  color: #111827;
  background: rgba(255, 255, 255, 0.9);
}

.chapter-list.in-dashboard .chapter-card.is-locked .chapter-thumb img {
  filter: grayscale(0.18) saturate(0.8) contrast(0.95);
}

.chapter-list.in-dashboard .chapter-number {
  color: #2f5bff;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.flat-lock {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
  color: currentColor;
}

.flat-lock::before {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 9px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
  transform: translateX(-50%);
}

.chapter-lock-icon .flat-lock {
  width: 14px;
  height: 11px;
}

.inline-lock.flat-lock {
  width: 12px;
  height: 10px;
  color: currentColor;
}

@media (max-width: 760px) {
  .chapter-list.in-dashboard .chapter-card {
    grid-template-columns: 1fr;
  }

  .chapter-thumb img {
    height: 170px;
  }
}

/* Full-width settings accordion */
.settings-form {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.settings-accordion {
  display: grid;
  gap: 0.85rem;
  width: 100%;
}

.settings-accordion-panel,
.settings-save-bar {
  min-width: 0;
  border-color: rgba(47, 91, 255, 0.16);
}

.settings-accordion-panel {
  overflow: hidden;
  padding: 0;
}

.settings-accordion-trigger {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 1.25rem 1.35rem;
  border: 0;
  border-bottom: 1px solid transparent;
  color: #0f172a;
  text-align: left;
  background: linear-gradient(135deg, rgba(47, 91, 255, 0.06), rgba(255, 255, 255, 0));
  cursor: pointer;
  font: inherit;
}

.settings-accordion-trigger::after {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(47, 91, 255, 0.18);
  border-radius: 999px;
  color: #263fc8;
  background: #ffffff;
  content: "+";
  font-weight: 950;
}

.settings-accordion-panel.is-open .settings-accordion-trigger {
  border-bottom-color: rgba(17, 24, 39, 0.08);
}

.settings-accordion-panel.is-open .settings-accordion-trigger::after {
  content: "-";
}

.settings-accordion-trigger h3 {
  margin: 0.2rem 0 0;
  color: #0f172a;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.settings-accordion-trigger p {
  max-width: 780px;
  margin: 0.25rem 0 0;
  color: #5b6678;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
}

.settings-accordion-body {
  display: none;
}

.settings-accordion-panel.is-open .settings-accordion-body {
  display: block;
}

.settings-save-bar {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
}

.settings-save-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.settings-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1.25rem;
}

.settings-placeholder-grid div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid rgba(22, 33, 62, 0.1);
  border-radius: 8px;
  color: #667085;
  background: #f8faff;
  font-weight: 750;
}

.settings-placeholder-grid strong {
  color: #0f172a;
}

@media (max-width: 1180px) {
  .settings-payment-card,
  .settings-provider-grid,
  .settings-summary-list,
  .settings-placeholder-grid,
  .settings-save-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .settings-accordion-trigger {
    display: grid;
  }
}

/* Settings contrast pass */
.settings-head {
  border: 1px solid rgba(47, 91, 255, 0.18);
  background:
    linear-gradient(135deg, #ffffff 0%, #eef3ff 100%);
}

.settings-accordion {
  gap: 0.95rem;
}

.settings-accordion-panel {
  border: 1px solid #cfd8f8;
  background: #f8faff;
  box-shadow: none;
}

.settings-accordion-panel:not(.is-open) {
  background: #eef3ff;
}

.settings-accordion-trigger {
  min-height: 104px;
  padding: 1.35rem 1.45rem;
  background: #eef3ff;
}

.settings-accordion-panel.is-open .settings-accordion-trigger {
  color: #ffffff;
  background:
    linear-gradient(135deg, #172554 0%, #263fc8 58%, #2f5bff 100%);
}

.settings-accordion-panel.is-open .settings-accordion-trigger .page-eyebrow,
.settings-accordion-panel.is-open .settings-accordion-trigger h3,
.settings-accordion-panel.is-open .settings-accordion-trigger p {
  color: #ffffff;
}

.settings-accordion-panel.is-open .settings-accordion-trigger p {
  color: #dbe7ff;
}

.settings-accordion-panel.is-open .settings-accordion-trigger .pill {
  color: #172554;
  background: #ffffff;
}

.settings-accordion-trigger::after {
  border-color: #b7c4f6;
  color: #172554;
  background: #ffffff;
}

.settings-accordion-body {
  background: #ffffff;
}

.settings-method-list,
.settings-field-grid,
.settings-provider-grid,
.settings-placeholder-grid {
  padding: 1.35rem;
  background: #ffffff;
}

.settings-payment-card,
.settings-provider-card,
.settings-placeholder-grid div {
  border-color: #cfd8f8;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(47, 91, 255, 0.06);
}

.settings-payment-card.enabled {
  border-color: #2f5bff;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
  box-shadow: 0 14px 30px rgba(47, 91, 255, 0.14);
}

.settings-toggle-row strong,
.settings-provider-card strong,
.settings-form label > span {
  color: #020617;
  font-weight: 950;
}

.settings-toggle-row em {
  color: #475569;
  font-weight: 780;
}

.settings-toggle-row small,
.settings-provider-card header span {
  color: #172554;
  background: #dfe7ff;
}

.settings-save-bar {
  border: 1px solid #cfd8f8;
  background: #ffffff;
}

.settings-summary-list div {
  border: 1px solid #dbe3fb;
  background: #f4f7ff;
}

.settings-note {
  border-color: #b8edfb;
  background: #effcff;
}

/* Settings vertical rhythm */
.settings-method-list,
.settings-provider-grid,
.settings-field-grid,
.settings-summary-list,
.settings-save-actions {
  grid-template-columns: 1fr;
}

.settings-payment-card {
  grid-template-columns: 1fr;
  align-items: start;
}

.settings-provider-card {
  gap: 1rem;
}

.settings-provider-card .settings-field-grid.compact {
  grid-template-columns: 1fr;
}

.settings-summary-list div {
  min-height: 54px;
}

.settings-vertical-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  padding: 1.35rem;
  background: #ffffff;
}

.tracking-toggle-row {
  padding: 0.9rem;
  border: 1px solid #cfd8f8;
  border-radius: 8px;
  background: #f4f7ff;
}

.meta-tracking-card {
  border-color: #b9c8ff;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
}

.settings-event-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.settings-event-stack span {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.8rem;
  border: 1px solid #d8defd;
  border-radius: 8px;
  color: #172554;
  background: #ffffff;
  font-weight: 900;
}

.settings-muted-note {
  margin: 0;
  padding: 0.85rem;
  border: 1px solid #b8edfb;
  border-radius: 8px;
  color: #31506c;
  background: #effcff;
  font-weight: 780;
}

.product-edit-page,
.product-pricing-editor {
  display: grid;
  gap: 0;
  margin-top: 1rem;
  padding: 0;
  overflow: hidden;
  border-color: #b9c8ff;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
}

.product-edit-page .dash-section-head,
.product-pricing-editor .dash-section-head {
  padding: 1.35rem 1.55rem;
  border-bottom: 1px solid #d8defd;
}

.product-price-selector,
.product-price-grid,
.product-price-summary {
  display: grid;
  gap: 0.8rem;
}

.product-price-grid,
.product-price-summary,
.product-edit-page .settings-actions,
.product-pricing-editor .settings-actions {
  padding-inline: 1.55rem;
}

.product-price-grid {
  padding-top: 1.25rem;
}

.product-price-summary {
  padding-top: 1rem;
}

.product-edit-page .settings-actions,
.product-pricing-editor .settings-actions {
  padding-top: 1.25rem;
  padding-bottom: 1.55rem;
}

.product-price-selector label,
.product-price-grid label {
  display: grid;
  gap: 0.45rem;
  color: #020617;
  font-weight: 900;
}

.product-price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-price-grid label:nth-child(3),
.product-price-grid label:nth-child(4),
.product-price-grid label:nth-child(5) {
  grid-column: span 1;
}

.product-price-grid .field {
  min-height: 56px;
  padding: 0 1rem;
  border-radius: 8px;
}

.product-price-grid select.field {
  padding-right: 2.75rem;
}

.product-price-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-price-summary div {
  display: grid;
  gap: 0.25rem;
  min-height: 64px;
  padding: 0.85rem;
  border: 1px solid #d8defd;
  border-radius: 8px;
  background: #ffffff;
}

.product-price-summary span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 850;
}

.product-price-summary strong {
  color: #172554;
  font-size: 1rem;
  font-weight: 950;
}

@media (max-width: 900px) {
  .product-price-grid,
  .product-price-summary {
    grid-template-columns: 1fr;
  }

  .product-edit-page .dash-section-head,
  .product-pricing-editor .dash-section-head,
  .product-price-grid,
  .product-price-summary,
  .product-edit-page .settings-actions,
  .product-pricing-editor .settings-actions {
    padding-inline: 1rem;
  }
}

/* Product card sales polish */
.customer-product-catalog .catalog-product-card {
  overflow: hidden;
  border: 1px solid #c9d5fb;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(47, 91, 255, 0.12);
}

.customer-product-catalog .catalog-product-visual {
  min-height: 260px;
  background: #06111f;
}

.customer-product-catalog .catalog-product-visual img {
  min-height: 260px;
  filter: saturate(1.02) contrast(1.04);
}

.customer-product-catalog .catalog-product-visual::after {
  background:
    linear-gradient(0deg, rgba(4, 10, 24, 0.84) 0%, rgba(4, 10, 24, 0.22) 58%, rgba(4, 10, 24, 0.06) 100%),
    linear-gradient(90deg, rgba(47, 91, 255, 0.28), transparent 62%);
}

.customer-product-catalog .visual-hook {
  bottom: 1rem;
  left: 1rem;
  max-width: 78%;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.customer-product-catalog .visual-status {
  top: 0.85rem;
  left: 0.85rem;
  right: auto;
  color: #172554;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.visual-price {
  position: absolute;
  z-index: 2;
  right: 0.9rem;
  bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.8rem;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #2f5bff, #6b5cff);
  box-shadow: 0 12px 24px rgba(47, 91, 255, 0.34);
  font-weight: 950;
}

.customer-product-catalog .catalog-product-body {
  gap: 0.85rem;
  padding: 1.05rem;
}

.customer-product-catalog .catalog-product-body h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.catalog-offer-line {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid #d8defd;
  border-radius: 8px;
  background: linear-gradient(135deg, #f4f7ff, #effcff);
}

.catalog-offer-line strong {
  color: #172554;
  font-size: 1.25rem;
}

.catalog-offer-line span {
  color: #526071;
  text-align: right;
  font-weight: 800;
}

.catalog-actions {
  gap: 0.6rem;
}

.catalog-buy-btn {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 0 1rem;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #172554 0%, #2f5bff 62%, #6b5cff 100%);
  box-shadow: 0 14px 28px rgba(47, 91, 255, 0.24);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.catalog-buy-btn:hover {
  transform: translateY(-1px);
}

.catalog-buy-btn strong {
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  color: #172554;
  background: #ffffff;
}

.catalog-preview-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  color: #263fc8;
  border: 1px solid #d8defd;
  border-radius: 8px;
  background: #ffffff;
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 760px) {
  .software-offer-strip {
    grid-template-columns: 1fr;
  }

  .software-offer-strip .ghost-btn {
    width: 100%;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-index {
    position: static;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 1.6rem);
    overflow: auto;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions .primary-btn,
  .cookie-actions .ghost-btn {
    width: 100%;
  }
}

/* Legal pages visual integration */
.legal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: end;
  margin-top: 0;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 0;
}

.legal-hero::before {
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -2rem;
  width: min(520px, 52vw);
  height: min(320px, 36vw);
  content: "";
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 40%, rgba(48, 213, 255, 0.18), transparent 32%),
    repeating-radial-gradient(ellipse at center, rgba(122, 92, 255, 0.36) 0 1px, transparent 2px 12px);
  opacity: 0.8;
  transform: rotate(-16deg);
}

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

.legal-hero h1 {
  max-width: 920px;
  color: #ffffff;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.legal-hero p {
  max-width: 760px;
  color: #c7d2e5;
  line-height: 1.65;
}

.legal-hero small {
  color: #91f8ff;
}

.legal-hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(124, 247, 255, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(47, 91, 255, 0.16), rgba(122, 92, 255, 0.08)),
    rgba(6, 12, 26, 0.86);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.legal-hero-panel span {
  color: #91f8ff;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.legal-hero-panel strong {
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.legal-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.legal-status-grid div {
  display: grid;
  gap: 0.2rem;
  min-height: 78px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.legal-status-grid b {
  color: #ffffff;
  font-size: 1.25rem;
}

.legal-status-grid em {
  color: #aebbd2;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 850;
}

.legal-layout {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  padding-top: 0;
}

.legal-index,
.legal-content {
  border-color: rgba(139, 154, 189, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(15, 22, 39, 0.9), rgba(7, 12, 24, 0.92));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.legal-index {
  top: 96px;
  gap: 0.7rem;
  padding: 1rem;
}

.legal-index strong {
  color: #ffffff;
  font-size: 1rem;
}

.legal-index a,
.legal-index button {
  min-height: 44px;
  border-color: rgba(139, 154, 189, 0.2);
  color: #dfe7ff;
  background: rgba(255, 255, 255, 0.06);
}

.legal-index a:hover,
.legal-index button:hover {
  border-color: rgba(48, 213, 255, 0.34);
  color: #ffffff;
  background: rgba(47, 91, 255, 0.18);
}

.legal-content {
  counter-reset: legal-section;
}

.legal-content section {
  position: relative;
  display: grid;
  gap: 0.55rem;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.15rem, 3vw, 2.2rem) clamp(1.35rem, 3vw, 2rem) clamp(4.1rem, 6vw, 5rem);
  border-top-color: rgba(139, 154, 189, 0.16);
}

.legal-content section::before {
  position: absolute;
  top: clamp(1.25rem, 3vw, 2rem);
  left: clamp(1rem, 2vw, 1.4rem);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(48, 213, 255, 0.28);
  border-radius: 10px;
  color: #91f8ff;
  background: rgba(48, 213, 255, 0.08);
  content: counter(legal-section, decimal-leading-zero);
  counter-increment: legal-section;
  font-size: 0.78rem;
  font-weight: 950;
}

.legal-content h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.legal-content p {
  color: #c7d2e5;
  line-height: 1.78;
  font-weight: 650;
}

.legal-content strong {
  color: #ffffff;
}

.legal-content a {
  color: #91f8ff;
}

@media (max-width: 900px) {
  .legal-hero,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-hero-panel {
    max-width: none;
  }

  .legal-index {
    position: static;
  }
}

@media (max-width: 560px) {
  .legal-content section {
    padding: 1.15rem;
  }

  .legal-content section::before {
    position: static;
    margin-bottom: 0.25rem;
  }

  .legal-status-grid {
    grid-template-columns: 1fr;
  }
}
