:root {
  --bg: #f8f6ff;
  --bg-2: #f1edff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-2: rgba(245, 240, 255, 0.88);
  --surface-3: #ffffff;
  --line: rgba(95, 74, 186, 0.12);
  --line-strong: rgba(95, 74, 186, 0.2);
  --text: #161126;
  --muted: #665f79;
  --muted-2: #8f88a3;
  --primary: #7b61ff;
  --primary-2: #a48aff;
  --primary-3: #ede7ff;
  --blue: #9dcbff;
  --blue-strong: #61a7ff;
  --gold: #ffc233;
  --mint: #b6f4e4;
  --rose: #ffd7e9;
  --dark: #171321;
  --shadow: 0 30px 70px rgba(91, 70, 173, 0.12);
  --shadow-soft: 0 16px 40px rgba(91, 70, 173, 0.08);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(143, 115, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(124, 196, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #f6f2ff 0%, #fbf9ff 34%, #f4f0ff 100%);
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  overflow: clip;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section-sm {
  padding: 18px 0 12px;
}

.section-light {
  position: relative;
}

.section-light::before {
  content: "";
  position: absolute;
  inset: 24px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(246, 241, 255, 0.85));
  border-top: 1px solid rgba(123, 97, 255, 0.08);
  border-bottom: 1px solid rgba(123, 97, 255, 0.08);
  pointer-events: none;
}

.section-light>.container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6f5dc7;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(111, 93, 199, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #5fd1ff);
  box-shadow: 0 0 0 6px rgba(123, 97, 255, 0.08);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h4 {
  font-size: 18px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #7b61ff 0%, #5fa8ff 100%);
  box-shadow: 0 16px 36px rgba(103, 92, 233, 0.3);
}

.btn-dark {
  color: #fff;
  background: var(--dark);
  box-shadow: 0 14px 30px rgba(23, 19, 33, 0.18);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 14, 32, 0.08);
  box-shadow: var(--shadow-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(248, 246, 255, 0.72);
  border-bottom: 1px solid rgba(95, 74, 186, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 94px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(123, 97, 255, 0.2);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.brand-copy span {
  font-size: 13px;
  color: var(--muted);
}

.brand-footer .brand-copy strong {
  font-size: 20px;
}

.nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}


.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}

.nav a:hover {
  color: var(--text);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(23, 19, 33, 0.08);
  background: rgba(255, 255, 255, 0.8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-soft);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  padding-top: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 38px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-copy p {
  max-width: 640px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 6px;
}

.point-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px 18px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(95, 74, 186, 0.1);
  box-shadow: var(--shadow-soft);
}

.point-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.point-card p {
  font-size: 14px;
  line-height: 1.6;
}

.point-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.18), rgba(95, 168, 255, 0.12));
  color: #5d49c8;
  font-weight: 800;
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 170px 96px 230px;
  gap: 18px;
}

.card-soft {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(104, 87, 190, 0.12);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-art-large {
  grid-row: span 2;
  min-height: 284px;
  background: linear-gradient(135deg, rgba(134, 123, 255, 0.34), rgba(157, 203, 255, 0.22));
}

.hero-art-top {
  background: linear-gradient(135deg, rgba(163, 206, 255, 0.9), rgba(205, 231, 255, 0.8));
}

.hero-art-bottom {
  grid-column: 2;
  background: linear-gradient(135deg, rgba(125, 99, 255, 0.9), rgba(176, 157, 255, 0.65));
}

.card-gradient-blue {
  background: linear-gradient(135deg, rgba(170, 215, 255, 0.96), rgba(235, 244, 255, 0.84));
}

.card-gradient-purple {
  background: linear-gradient(135deg, rgba(174, 153, 255, 0.96), rgba(215, 203, 255, 0.85));
}

.hero-cta {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-gold {
  background: linear-gradient(135deg, rgba(255, 198, 62, 0.98), rgba(255, 223, 132, 0.92));
  box-shadow: 0 24px 40px rgba(255, 194, 51, 0.22);
}

.hero-cta span {
  color: rgba(36, 28, 0, 0.72);
  font-size: 13px;
}

.hero-cta strong {
  font-size: 20px;
}

.pill-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.hero-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 140px;
  padding: 18px 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.86);
}

.hero-badge strong {
  display: block;
  font-size: 15px;
  margin: 10px 0 4px;
}

.hero-badge small {
  display: block;
  color: var(--muted);
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.2), rgba(95, 168, 255, 0.12));
}

.shape-megaphone {
  position: absolute;
  width: 208px;
  height: 208px;
  left: 46px;
  top: 38px;
  border-radius: 34% 46% 36% 42%;
  background: radial-gradient(circle at 30% 32%, rgba(255, 255, 255, 0.85), transparent 28%), linear-gradient(135deg, #8d7bff 0%, #7d67ff 32%, #6353f3 100%);
  box-shadow: 28px 18px 38px rgba(109, 92, 228, 0.26);
  transform: rotate(-12deg);
}

.shape-megaphone::before {
  content: "";
  position: absolute;
  width: 98px;
  height: 98px;
  right: 12px;
  top: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.92), transparent 20%), rgba(72, 55, 200, 0.22);
}

.shape-megaphone::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 78px;
  left: 54px;
  bottom: -18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(125, 103, 255, 1), rgba(90, 71, 233, 1));
  transform: rotate(-18deg);
  box-shadow: 0 14px 26px rgba(90, 71, 233, 0.28);
}

.curve-lines {
  position: absolute;
  inset: 0;
}

.curve-lines::before,
.curve-lines::after {
  content: "";
  position: absolute;
  right: -30px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 20px solid rgba(255, 255, 255, 0.22);
  border-left-color: transparent;
  border-top-color: transparent;
}

.curve-lines::before {
  bottom: -152px;
}

.curve-lines::after {
  bottom: -116px;
  right: 28px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 14px;
  padding: 0 0 14px;
}

.proof-users,
.proof-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 18px 20px;
  border-radius: 26px;
  border: 1px solid rgba(95, 74, 186, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.proof-users strong,
.proof-stat strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.proof-users p,
.proof-stat p {
  font-size: 14px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.88);
  background: linear-gradient(135deg, #7b61ff, #5fa8ff);
  margin-right: -8px;
}

.avatar-stack span:nth-child(2) {
  background: linear-gradient(135deg, #ffc14b, #ffd978);
}

.avatar-stack span:nth-child(3) {
  background: linear-gradient(135deg, #8be3d0, #5fa8ff);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  padding-bottom: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(95, 74, 186, 0.1);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  margin-bottom: 18px;
}

.feature-icon.lilac {
  background: rgba(123, 97, 255, 0.12);
}

.feature-icon.blue {
  background: rgba(95, 168, 255, 0.16);
}

.feature-icon.gold {
  background: rgba(255, 194, 51, 0.16);
}

.feature-icon.mint {
  background: rgba(140, 243, 216, 0.18);
}

.feature-icon.rose {
  background: rgba(255, 176, 210, 0.18);
}

.feature-icon.dark {
  background: rgba(23, 19, 33, 0.1);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.architecture-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
}

.section-copy {
  display: grid;
  gap: 22px;
}

.info-list {
  display: grid;
  gap: 16px;
}

.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(95, 74, 186, 0.1);
}

.info-row strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.16), rgba(95, 168, 255, 0.12));
  color: #5f48ca;
  font-size: 13px;
}

.info-row h4 {
  margin-bottom: 6px;
}

.info-row p {
  font-size: 14px;
}

.dashboard-card {
  padding: 28px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 240, 255, 0.96));
  border: 1px solid rgba(95, 74, 186, 0.12);
  box-shadow: var(--shadow);
}

.dash-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.mini-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7160ca;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(140, 243, 216, 0.4);
  color: #166c5d;
  font-weight: 700;
  font-size: 13px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stat-box {
  padding: 18px;
  border-radius: 22px;
  min-height: 110px;
}

.stat-box small {
  display: block;
  color: rgba(22, 17, 38, 0.64);
  margin-bottom: 12px;
}

.stat-box strong {
  font-size: 30px;
  letter-spacing: -0.04em;
}

.lilac-bg {
  background: linear-gradient(180deg, rgba(234, 228, 255, 0.92), rgba(245, 242, 255, 0.92));
}

.blue-bg {
  background: linear-gradient(180deg, rgba(226, 241, 255, 0.92), rgba(242, 248, 255, 0.92));
}

.gold-bg {
  background: linear-gradient(180deg, rgba(255, 244, 210, 0.92), rgba(255, 249, 233, 0.92));
}

.dark-bg {
  background: linear-gradient(180deg, rgba(228, 226, 236, 0.92), rgba(248, 247, 250, 0.92));
}

.dashboard-panels {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.panel-card {
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(95, 74, 186, 0.1);
}

.panel-card-tall {
  grid-row: span 2;
}

.panel-card h4 {
  margin-bottom: 10px;
}

.timeline-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.timeline-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

.timeline-list span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b61ff, #5fa8ff);
  box-shadow: 0 0 0 5px rgba(123, 97, 255, 0.1);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  padding: 28px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(95, 74, 186, 0.1);
  box-shadow: var(--shadow-soft);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.18), rgba(95, 168, 255, 0.12));
  color: #5f48ca;
  font-weight: 800;
  margin-bottom: 18px;
}

.step-card h3 {
  margin-bottom: 12px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: start;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  padding: 24px;
  min-height: 220px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(95, 74, 186, 0.1);
  box-shadow: var(--shadow-soft);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(247, 243, 255, 0.98), rgba(235, 245, 255, 0.96));
  border-color: rgba(123, 97, 255, 0.16);
}

.price-tag {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.1);
  color: #6551d6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.price-card h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.price-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: center;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mini-metrics div {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(95, 74, 186, 0.1);
}

.mini-metrics strong {
  display: block;
  margin-bottom: 8px;
}

.mini-metrics span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.testimonial-card {
  padding: 34px 30px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 240, 255, 0.96));
  border: 1px solid rgba(95, 74, 186, 0.1);
  box-shadow: var(--shadow);
}

.quote-mark {
  display: inline-block;
  font-size: 72px;
  line-height: 0.8;
  color: rgba(123, 97, 255, 0.36);
  margin-bottom: 8px;
}

.testimonial-card p {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 24px;
}

.testimonial-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.testimonial-foot span {
  color: var(--muted);
  font-size: 14px;
}

.rating {
  letter-spacing: 0.18em;
  color: #ffb11c;
}

.cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(244, 239, 255, 0.98), rgba(231, 244, 255, 0.98));
  border: 1px solid rgba(95, 74, 186, 0.12);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  font-size: clamp(28px, 3vw, 44px);
  margin: 14px 0 10px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 22px 0 48px;
  border-top: 1px solid rgba(95, 74, 186, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer-note {
  margin-top: 16px;
  max-width: 420px;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 32px;
}

.footer-links strong {
  display: block;
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  color: var(--muted);
  margin-top: 8px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copyright-bar {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(95, 74, 186, 0.10);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.faq-page {
  background:
    linear-gradient(135deg, rgba(247, 250, 255, 0.98), rgba(246, 241, 255, 0.98));
  color: var(--text);
}

.faq-pro-page .site-header + .page-shell,
.faq-pro-page .page-shell {
  min-height: 100vh;
}

.faq-pro-hero {
  padding: 88px 0 34px;
}

.faq-pro-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.faq-pro-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.faq-pro-copy h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.96;
  letter-spacing: 0;
}

.faq-pro-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.72;
}

.faq-search {
  display: grid;
  gap: 9px;
  max-width: 620px;
  margin-top: 8px;
  color: var(--text);
  font-weight: 800;
}

.faq-search span {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.faq-search input {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(95, 74, 186, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(43, 35, 92, 0.08);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.faq-search input:focus {
  border-color: rgba(104, 91, 255, 0.48);
  box-shadow: 0 0 0 4px rgba(104, 91, 255, 0.12), 0 18px 40px rgba(43, 35, 92, 0.08);
}

.faq-trust-panel {
  padding: 18px;
  border: 1px solid rgba(95, 74, 186, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(95, 168, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 247, 255, 0.88));
  box-shadow: 0 26px 62px rgba(43, 35, 92, 0.10);
}

.faq-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-trust-card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(95, 74, 186, 0.10);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.70);
}

.faq-trust-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.28;
}

.faq-trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.faq-pro-section {
  padding-top: 22px;
  padding-bottom: 62px;
}

.faq-pro-shell {
  display: grid;
  gap: 22px;
}

.faq-category-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px;
  border: 1px solid rgba(95, 74, 186, 0.10);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 44px rgba(43, 35, 92, 0.06);
}

.faq-category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(95, 74, 186, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.faq-category-nav a:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: translateY(-1px);
}

.faq-category-list {
  display: grid;
  gap: 22px;
}

.faq-category-section {
  display: grid;
  gap: 14px;
  scroll-margin-top: 104px;
}

.faq-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
}

.faq-category-heading span {
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 900;
  letter-spacing: 0;
}

.faq-category-heading h2 {
  display: none;
}

.faq-category-heading strong {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: rgba(104, 91, 255, 0.12);
  color: var(--primary);
  font-size: 13px;
}

.faq-accordion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.faq-accordion-card {
  border: 1px solid rgba(95, 74, 186, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.92));
  box-shadow: 0 18px 42px rgba(43, 35, 92, 0.07);
  overflow: hidden;
}

.faq-accordion-card summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.38;
}

.faq-accordion-card summary::-webkit-details-marker {
  display: none;
}

.faq-accordion-card summary::after {
  content: "↓";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(104, 91, 255, 0.12);
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
}

.faq-accordion-card[open] summary::after {
  content: "↑";
}

.faq-accordion-card p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
}

.faq-empty {
  padding: 22px;
  border: 1px dashed rgba(95, 74, 186, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.faq-pro-cta {
  align-items: center;
}

.faq-pro-cta p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.6;
}

.faq-hero-section {
  padding: 96px 0 48px;
}

.faq-hero-grid {
  display: block;
}

.faq-hero-copy h1 {
  max-width: 860px;
  margin: 16px 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.94;
  letter-spacing: 0;
}

.faq-hero-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

.faq-content-section {
  padding-top: 24px;
}

.faq-shell {
  display: grid;
  gap: 24px;
}

.faq-lead {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 28px;
  border: 1px solid rgba(95, 74, 186, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 54px rgba(43, 35, 92, 0.08);
}

.faq-lead p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.faq-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.faq-guide-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(95, 74, 186, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.86));
  box-shadow: 0 20px 50px rgba(43, 35, 92, 0.07);
}

.faq-guide-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-guide-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.faq-guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 26px;
  border: 1px solid rgba(95, 74, 186, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 247, 255, 0.9));
  box-shadow: 0 22px 54px rgba(43, 35, 92, 0.08);
  animation-delay: var(--faq-delay, 0ms);
}

.faq-item > span {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.faq-item h2 {
  margin: 2px 0 10px;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.2;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.faq-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(95, 74, 186, 0.14);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(42, 9, 72, 0.96), rgba(79, 94, 255, 0.9));
  color: #fff;
  box-shadow: 0 26px 64px rgba(42, 9, 72, 0.18);
}

.faq-cta strong {
  max-width: 760px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.faq-cta .btn {
  flex: 0 0 auto;
  background: #fff;
  color: #171326;
  box-shadow: none;
}

.legal-document-page {
  background:
    linear-gradient(135deg, rgba(247, 250, 255, 0.98), rgba(246, 241, 255, 0.98));
  color: var(--text);
}

.legal-hero-section {
  padding: 96px 0 34px;
}

.legal-hero h1 {
  max-width: 920px;
  margin: 16px 0;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 0.96;
  letter-spacing: 0;
}

.legal-hero p {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

.legal-updated {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid rgba(95, 74, 186, 0.12);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.legal-document-section {
  padding-top: 20px;
}

.legal-shell {
  display: grid;
  gap: 18px;
}

.legal-card {
  display: grid;
  gap: 14px;
}

.legal-section {
  padding: 28px;
  border: 1px solid rgba(95, 74, 186, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 247, 255, 0.9));
  box-shadow: 0 22px 54px rgba(43, 35, 92, 0.08);
}

.legal-section h2 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.22;
}

.legal-section p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a,
.legal-card a {
  color: var(--primary);
  font-weight: 800;
}

.legal-placeholder {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(209, 137, 0, 0.22);
  background: rgba(255, 186, 73, 0.14);
  color: #9a5d00 !important;
  font-weight: 900;
}

.compliance-info-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(95, 74, 186, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.compliance-info-card h2 {
  margin: 8px 0 12px;
}

.compliance-info-card p {
  max-width: 860px;
  color: var(--muted);
  line-height: 1.74;
}

.compliance-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.compliance-info-grid span {
  min-height: 66px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(95, 74, 186, 0.10);
  background: rgba(250, 251, 255, 0.88);
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.compliance-info-grid strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.legal-section ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-notice {
  padding: 22px;
  border: 1px solid rgba(95, 74, 186, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  box-shadow: 0 18px 44px rgba(43, 35, 92, 0.06);
}

.legal-notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.legal-back-link {
  display: inline-flex;
  justify-self: start;
  padding: 12px 18px;
  border: 1px solid rgba(95, 74, 186, 0.14);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  text-decoration: none;
}

.legal-back-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(79, 94, 255, 0.12);
}

body.dark-theme.faq-page,
body.dark-theme .faq-page,
body.dark-theme.legal-document-page,
body.dark-theme .legal-document-page {
  background: linear-gradient(135deg, #100d1c, #17132a 48%, #111827);
}

body.dark-theme .faq-lead,
body.dark-theme .faq-guide-card,
body.dark-theme .faq-item,
body.dark-theme .legal-section,
body.dark-theme .legal-notice,
body.dark-theme .legal-updated,
body.dark-theme .legal-back-link {
  border-color: rgba(181, 191, 255, 0.18);
  background: linear-gradient(135deg, rgba(28, 24, 46, 0.96), rgba(19, 28, 48, 0.92));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

body.dark-theme .faq-hero-copy p,
body.dark-theme .legal-hero p,
body.dark-theme .faq-lead p,
body.dark-theme .faq-guide-card p,
body.dark-theme .faq-item p,
body.dark-theme .legal-section p,
body.dark-theme .legal-section ul,
body.dark-theme .legal-notice p {
  color: #c9c7dc;
}

body.dark-theme .faq-guide-card span,
body.dark-theme .legal-updated,
body.dark-theme .legal-back-link {
  color: #9da9ff;
}

body.dark-theme .legal-notice strong {
  color: #f8f8ff;
}

body.dark-theme .legal-placeholder {
  border-color: rgba(255, 202, 97, 0.28);
  background: rgba(255, 202, 97, 0.14);
  color: #ffd782 !important;
}

body.dark-theme .compliance-info-card,
body.dark-theme .compliance-info-grid span {
  border-color: rgba(181, 191, 255, 0.18);
  background: linear-gradient(135deg, rgba(28, 24, 46, 0.96), rgba(19, 28, 48, 0.92));
}

body.dark-theme .compliance-info-card p,
body.dark-theme .compliance-info-grid span {
  color: #c9c7dc;
}

body.dark-theme .compliance-info-grid strong {
  color: #f8f8ff;
}

body.dark-theme .faq-cta {
  border-color: rgba(181, 191, 255, 0.22);
  background: linear-gradient(135deg, rgba(53, 26, 90, 0.98), rgba(40, 85, 174, 0.95));
}

body.dark-theme .faq-pro-page,
body.dark-theme.faq-pro-page {
  background: linear-gradient(135deg, #100d1c, #17132a 48%, #111827);
}

body.dark-theme .faq-pro-copy p,
body.dark-theme .faq-trust-card p,
body.dark-theme .faq-accordion-card p,
body.dark-theme .faq-search span,
body.dark-theme .faq-empty {
  color: #c9c7dc;
}

body.dark-theme .faq-search input,
body.dark-theme .faq-trust-panel,
body.dark-theme .faq-trust-card,
body.dark-theme .faq-category-nav,
body.dark-theme .faq-category-nav a,
body.dark-theme .faq-accordion-card,
body.dark-theme .faq-empty {
  border-color: rgba(181, 191, 255, 0.18);
  background: linear-gradient(135deg, rgba(28, 24, 46, 0.96), rgba(19, 28, 48, 0.92));
  color: #f8f8ff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

body.dark-theme .faq-accordion-card summary,
body.dark-theme .faq-trust-card strong,
body.dark-theme .faq-category-heading span,
body.dark-theme .faq-category-nav a {
  color: #f8f8ff;
}

body.dark-theme .faq-category-heading strong,
body.dark-theme .faq-accordion-card summary::after {
  background: rgba(157, 169, 255, 0.16);
  color: #b9c3ff;
}

@media (max-width: 860px) {
  .faq-pro-hero {
    padding: 72px 0 28px;
  }

  .faq-pro-hero-grid,
  .faq-trust-grid,
  .faq-accordion-list {
    grid-template-columns: 1fr;
  }

  .faq-trust-card {
    min-height: auto;
  }

  .faq-hero-section {
    padding: 72px 0 34px;
  }

  .legal-hero-section {
    padding: 72px 0 26px;
  }

  .faq-lead,
  .faq-guide-grid {
    grid-template-columns: 1fr;
  }

  .faq-item {
    grid-template-columns: 1fr;
  }

  .faq-item > span {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .faq-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .faq-cta .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .faq-pro-copy h1 {
    font-size: 38px;
  }

  .faq-pro-hero {
    padding-top: 58px;
  }

  .faq-trust-panel,
  .faq-category-nav,
  .faq-accordion-card summary,
  .faq-accordion-card p {
    border-radius: 18px;
  }

  .faq-accordion-card summary {
    padding: 18px;
    font-size: 15px;
  }

  .faq-accordion-card p {
    padding: 0 18px 18px;
  }

  .faq-category-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .faq-hero-copy h1 {
    font-size: 38px;
  }

  .legal-hero h1 {
    font-size: 38px;
  }

  .faq-lead,
  .faq-guide-card,
  .faq-item,
  .faq-cta,
  .legal-section,
  .legal-notice {
    padding: 20px;
    border-radius: 20px;
  }

  .compliance-info-grid {
    grid-template-columns: 1fr;
  }
}

.simple-page-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.simple-page-body.has-standard-header {
  display: block;
  align-items: stretch;
}

.simple-page-body.has-standard-header .simple-page {
  padding: 80px 0;
}

.simple-page {
  display: grid;
  gap: 24px;
  padding: 40px 0;
}

.simple-card {
  padding: 40px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(95, 74, 186, 0.1);
  box-shadow: var(--shadow);
  max-width: 720px;
}

.simple-card h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin: 18px 0 12px;
}

.auth-simple-layout {
  max-width: 760px;
}

.form-placeholder {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.form-placeholder div {
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245, 241, 255, 0.98), rgba(236, 246, 255, 0.94));
  border: 1px solid rgba(95, 74, 186, 0.1);
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

/* =========================
   AUTH PAGES
========================= */

.auth-body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%) -20px 0/40px 40px,
    linear-gradient(225deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%) -20px 0/40px 40px,
    linear-gradient(315deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%) 0 0/40px 40px,
    linear-gradient(45deg, rgba(0, 0, 0, 0.03) 25%, #f4f4f4 25%) 0 0/40px 40px;
  min-height: 100vh;
  color: #161616;
}

.auth-body.has-standard-header .auth-shell {
  margin: 28px auto;
}

.auth-body.has-standard-header .auth-frame {
  min-height: calc(100vh - 150px);
}

.auth-body.has-standard-header .auth-topbar {
  display: none;
}

.auth-shell {
  width: min(1400px, calc(100% - 36px));
  margin: 14px auto;
}

.auth-frame {
  min-height: calc(100vh - 28px);
  background: #f3f3f3;
  border: 6px solid #111;
  border-radius: 42px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.22fr 0.92fr;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.auth-frame--dark .auth-visual {
  background:
    radial-gradient(circle at top left, rgba(171, 198, 255, 0.30), transparent 28%),
    radial-gradient(circle at top right, rgba(173, 142, 255, 0.22), transparent 30%),
    radial-gradient(circle at bottom left, rgba(125, 188, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #221a46 0%, #2c215a 42%, #1e3f72 100%);
  position: relative;
  overflow: hidden;
}

.auth-topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 34px 0;
}

.auth-brand {
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.auth-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.auth-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.auth-nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.auth-visual {
  min-height: 880px;
}

.auth-art {
  position: absolute;
  inset: 0;
}

.tube {
  position: absolute;
  display: block;
  border: 10px solid rgba(235, 240, 255, 0.92);
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.72),
    inset 0 0 24px rgba(255, 255, 255, 0.12),
    0 0 30px rgba(145, 173, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(133, 126, 255, 0.12), rgba(90, 166, 255, 0.08));
  opacity: 0.96;
  will-change: transform;
}

.auth-art--login .tube-1,
.auth-art--register .tube-1 {
  width: 240px;
  height: 460px;
  top: -80px;
  left: 145px;
  animation: floatTube1 8s ease-in-out infinite;
}

.auth-art--login .tube-2,
.auth-art--register .tube-2 {
  width: 210px;
  height: 420px;
  top: 115px;
  right: 70px;
  animation: floatTube2 9s ease-in-out infinite;
}

.auth-art--login .tube-3,
.auth-art--register .tube-3 {
  width: 260px;
  height: 520px;
  left: -35px;
  bottom: 105px;
  animation: floatTube3 10s ease-in-out infinite;
}

.auth-art--login .tube-4,
.auth-art--register .tube-4 {
  width: 240px;
  height: 480px;
  right: 150px;
  bottom: -70px;
  animation: floatTube4 11s ease-in-out infinite;
}

.auth-welcome {
  position: absolute;
  left: 42px;
  bottom: 34px;
  z-index: 4;
}

.auth-welcome h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(46px, 5vw, 74px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-shadow: 0 12px 30px rgba(31, 26, 78, 0.28);
}

.auth-panel {
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 34px;
}

.auth-card {
  width: min(100%, 430px);
}

.auth-card h2 {
  margin: 0 0 42px;
  font-size: clamp(42px, 3.2vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #161616;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-top: 2px;
}

.auth-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  position: relative;
  display: flex;
  align-items: center;
  background: #dfdfdf;
  border-radius: 18px;
  min-height: 50px;
  padding: 0 16px;
}

.field input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #333;
  font-size: 14px;
  font-family: inherit;
}

.field input::placeholder {
  color: #9a9a9a;
}

.field-icon {
  font-size: 14px;
  margin-right: 10px;
  opacity: 0.75;
}

.field-icon--right {
  margin-right: 0;
  margin-left: 10px;
  cursor: pointer;
}

.auth-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.auth-row--between {
  justify-content: space-between;
}

.remember-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #7d7d7d;
}

.remember-wrap input {
  width: 12px;
  height: 12px;
}

.auth-link-small {
  font-size: 13px;
  color: #9a9a9a;
  text-decoration: none;
}

.auth-terms {
  background: rgba(123, 97, 255, 0.05);
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: #a19ab5;
  padding: 8px 12px;
  border-radius: 14px;
}

.auth-terms a {
  color: #6d76ff;
  font-weight: 700;
  text-decoration: underline;
}

.auth-btn {
  min-height: 52px;
  border-radius: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.auth-btn:hover {
  transform: translateY(-1px);
}

.auth-btn--dark {
  background: linear-gradient(135deg, #7b61ff 0%, #5fa8ff 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(113, 104, 255, 0.28);
}

.auth-btn--light {
  background: linear-gradient(180deg, rgba(237, 232, 255, 0.95), rgba(226, 239, 255, 0.92));
  color: #4d42a8;
  border: 1px solid rgba(123, 97, 255, 0.16);
}

.auth-btn--google {
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.94));
  color: #171321;
  border: 1px solid rgba(23, 19, 33, 0.10);
  box-shadow: 0 14px 30px rgba(23, 19, 33, 0.08);
}

.auth-btn--google:hover {
  border-color: rgba(95, 168, 255, 0.34);
  box-shadow: 0 16px 34px rgba(95, 168, 255, 0.14);
}

.auth-btn--google.is-loading {
  opacity: 0.78;
  cursor: wait;
}

.google-auth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(23, 19, 33, 0.10);
}

.google-auth-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.google-auth-label {
  line-height: 1.2;
}

.auth-divider {
  position: relative;
  text-align: center;
  color: #a9a9a9;
  font-size: 14px;
  margin: 2px 0;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid #d2d2d2;
}

.auth-divider span {
  position: relative;
  background: #f3f3f3;
  padding: 0 12px;
}

.password-reset-panel {
  display: none;
  margin-top: 18px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(240, 247, 255, 0.90));
  box-shadow: 0 18px 42px rgba(91, 70, 173, 0.10);
}

.password-reset-panel.is-visible {
  display: block;
  animation: passwordResetIn 0.22s ease;
}

.password-reset-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.password-reset-head span {
  color: #5f48ca;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.password-reset-head button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  background: rgba(123, 97, 255, 0.10);
  color: #1f1a3d;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.password-reset-form {
  display: none;
  gap: 12px;
}

.password-reset-form.is-active {
  display: grid;
}

.password-reset-form p {
  margin: 0;
  color: #5f5974;
  font-size: 13px;
  line-height: 1.55;
}

@keyframes passwordResetIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-body.has-standard-header {
  background:
    radial-gradient(circle at 12% 8%, rgba(123, 97, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(95, 168, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #fbfaff 0%, #eef6ff 100%);
}

.auth-body.has-standard-header .auth-shell {
  width: min(1120px, calc(100% - 34px));
  margin: 16px auto 28px;
}

.auth-body.has-standard-header .auth-frame {
  min-height: min(720px, calc(100vh - 128px));
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.82fr);
  border: 1px solid rgba(123, 97, 255, 0.16);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(46, 36, 103, 0.14);
}

.auth-body.has-standard-header .auth-visual {
  min-height: min(720px, calc(100vh - 128px));
}

.auth-body.has-standard-header .tube {
  border-width: 7px;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.72),
    inset 0 0 18px rgba(255, 255, 255, 0.12),
    0 0 24px rgba(145, 173, 255, 0.16);
}

.auth-body.has-standard-header .auth-art--login .tube-1,
.auth-body.has-standard-header .auth-art--register .tube-1 {
  width: 160px;
  height: 320px;
  top: -58px;
  left: 115px;
}

.auth-body.has-standard-header .auth-art--login .tube-2,
.auth-body.has-standard-header .auth-art--register .tube-2 {
  width: 150px;
  height: 300px;
  top: 96px;
  right: 70px;
}

.auth-body.has-standard-header .auth-art--login .tube-3,
.auth-body.has-standard-header .auth-art--register .tube-3 {
  width: 180px;
  height: 360px;
  left: -24px;
  bottom: 68px;
}

.auth-body.has-standard-header .auth-art--login .tube-4,
.auth-body.has-standard-header .auth-art--register .tube-4 {
  width: 170px;
  height: 340px;
  right: 150px;
  bottom: -52px;
}

.auth-body.has-standard-header .auth-floating-brand {
  left: 32px;
  right: 32px;
  max-width: calc(100% - 64px);
  overflow: hidden;
  opacity: 0.16;
}

.auth-body.has-standard-header .auth-floating-brand span {
  width: 100%;
  font-size: clamp(48px, 6vw, 84px);
  letter-spacing: 0;
  white-space: nowrap;
}

.auth-body.has-standard-header .auth-panel {
  padding: 30px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.92));
}

.auth-body.has-standard-header .auth-card {
  width: min(100%, 390px);
}

.auth-body.has-standard-header .auth-card h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 2.6vw, 46px);
}

.auth-body.has-standard-header .auth-form {
  gap: 12px;
}

.auth-body.has-standard-header .field {
  min-height: 48px;
  border-radius: 16px;
  background: rgba(232, 234, 244, 0.82);
}

.auth-body.has-standard-header .auth-btn {
  min-height: 48px;
  border-radius: 16px;
}

.auth-body.has-standard-header .auth-terms {
  padding: 8px 10px;
  font-size: 12px;
}

.auth-body.has-standard-header .auth-welcome h1 {
  font-size: clamp(38px, 4vw, 56px);
}

@media (max-width: 980px) {
  .auth-body.has-standard-header .auth-frame {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .auth-body.has-standard-header .auth-visual {
    min-height: 280px;
  }

  .auth-body.has-standard-header .auth-art--login .tube-1,
  .auth-body.has-standard-header .auth-art--register .tube-1 {
    width: 120px;
    height: 240px;
    top: -54px;
    left: 54px;
  }

  .auth-body.has-standard-header .auth-art--login .tube-2,
  .auth-body.has-standard-header .auth-art--register .tube-2 {
    width: 118px;
    height: 238px;
    top: 52px;
    right: 34px;
  }

  .auth-body.has-standard-header .auth-art--login .tube-3,
  .auth-body.has-standard-header .auth-art--register .tube-3 {
    width: 140px;
    height: 280px;
    left: -36px;
    bottom: 28px;
  }

  .auth-body.has-standard-header .auth-art--login .tube-4,
  .auth-body.has-standard-header .auth-art--register .tube-4 {
    width: 134px;
    height: 268px;
    right: 118px;
    bottom: -92px;
  }

  .auth-body.has-standard-header .auth-floating-brand {
    left: 24px;
    right: 24px;
    top: 48%;
    max-width: calc(100% - 48px);
  }

  .auth-body.has-standard-header .auth-floating-brand span {
    font-size: clamp(40px, 12vw, 76px);
  }
}

@keyframes floatTube1 {
  0% {
    transform: translate3d(0, 0, 0) rotate(17deg);
  }

  25% {
    transform: translate3d(8px, -10px, 0) rotate(19deg);
  }

  50% {
    transform: translate3d(-6px, 8px, 0) rotate(15deg);
  }

  75% {
    transform: translate3d(10px, 4px, 0) rotate(18deg);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(17deg);
  }
}

@keyframes floatTube2 {
  0% {
    transform: translate3d(0, 0, 0) rotate(30deg);
  }

  25% {
    transform: translate3d(-10px, 6px, 0) rotate(27deg);
  }

  50% {
    transform: translate3d(6px, -12px, 0) rotate(32deg);
  }

  75% {
    transform: translate3d(-8px, -4px, 0) rotate(29deg);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(30deg);
  }
}

@keyframes floatTube3 {
  0% {
    transform: translate3d(0, 0, 0) rotate(34deg);
  }

  25% {
    transform: translate3d(12px, -8px, 0) rotate(37deg);
  }

  50% {
    transform: translate3d(-7px, 10px, 0) rotate(32deg);
  }

  75% {
    transform: translate3d(6px, 4px, 0) rotate(35deg);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(34deg);
  }
}

@keyframes floatTube4 {
  0% {
    transform: translate3d(0, 0, 0) rotate(38deg);
  }

  25% {
    transform: translate3d(-8px, -12px, 0) rotate(35deg);
  }

  50% {
    transform: translate3d(10px, 8px, 0) rotate(40deg);
  }

  75% {
    transform: translate3d(-4px, 6px, 0) rotate(37deg);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(38deg);
  }
}

@media (max-width: 760px) {

  .auth-art--login .tube-1,
  .auth-art--register .tube-1,
  .auth-art--login .tube-2,
  .auth-art--register .tube-2,
  .auth-art--login .tube-3,
  .auth-art--register .tube-3,
  .auth-art--login .tube-4,
  .auth-art--register .tube-4 {
    animation-duration: 12s;
  }
}

@media (max-width: 1120px) {

  .hero-grid,
  .architecture-grid,
  .pricing-layout,
  .insight-layout,
  .section-head,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy p,
  .section-head p,
  .footer-note {
    max-width: unset;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-copyright-bar {
    text-align: left;
  }
}

@media (max-width: 1100px) {
  .auth-frame {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 520px;
  }

  .auth-panel {
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .auth-card {
    width: min(100%, 520px);
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav,
  .header-actions {
    position: absolute;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(95, 74, 186, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s ease;
  }

  .nav {
    top: calc(100% + 12px);
    display: grid;
    gap: 14px;
  }

  .header-actions {
    top: calc(100% + 232px);
    display: grid;
    gap: 12px;
  }

  .site-header.menu-open .nav,
  .site-header.menu-open .header-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero-grid,
  .feature-grid,
  .step-grid,
  .pricing-grid,
  .proof-grid,
  .dashboard-stats,
  .dashboard-panels,
  .mini-metrics,
  .hero-points,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    grid-template-rows: 220px 94px 120px 210px;
  }

  .hero-art-large {
    grid-row: span 1;
    min-height: 220px;
  }

  .hero-art-bottom {
    grid-column: auto;
  }

  .hero-badge {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .hero-badge strong,
  .hero-badge small {
    margin: 0;
  }

  .shape-megaphone {
    width: 160px;
    height: 160px;
    left: 24px;
    top: 22px;
  }

  .curve-lines::before,
  .curve-lines::after {
    width: 210px;
    height: 210px;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .auth-shell {
    width: min(100% - 16px, 100%);
    margin: 8px auto;
  }

  .auth-frame {
    border-width: 4px;
    border-radius: 28px;
    min-height: auto;
  }

  .auth-topbar {
    padding: 24px 18px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .auth-nav {
    gap: 14px;
    flex-wrap: wrap;
  }

  .auth-visual {
    min-height: 420px;
  }

  .auth-welcome {
    left: 22px;
    bottom: 24px;
  }

  .auth-grid-2 {
    grid-template-columns: 1fr;
  }

  .auth-card h2 {
    margin-bottom: 28px;
  }
}

@media (max-width: 640px) {
  body {
    background-size: auto;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .site-header {
    backdrop-filter: blur(14px);
  }

  .header-inner {
    min-height: 80px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .point-card,
  .feature-card,
  .dashboard-card,
  .step-card,
  .price-card,
  .testimonial-card,
  .cta-card,
  .simple-card {
    padding: 22px;
    border-radius: 24px;
  }

  .dash-top {
    flex-direction: column;
    align-items: flex-start;
  }
}





/* =========================
   HEADER EXTRA CONTROLS
========================= */

.header-left {
  display: flex;
  align-items: center;
  min-width: 0;
}

.lang-switcher--flags {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(123, 97, 255, 0.10);
  box-shadow: var(--shadow-soft);
}

.lang-btn--flag {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.lang-btn--flag:hover {
  transform: translateY(-1px);
  background: rgba(123, 97, 255, 0.08);
}

.lang-btn--flag.is-active {
  background: linear-gradient(135deg, #7b61ff 0%, #5fa8ff 100%);
  box-shadow: 0 10px 24px rgba(113, 104, 255, 0.22);
}

.flag-img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.lang-btn--flag {
  overflow: hidden;
}

.lang-btn--flag:hover .flag-img {
  transform: scale(1.06);
}

.flag-img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.theme-toggle {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(123, 97, 255, 0.12);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
}

.theme-icon {
  position: absolute;
  font-size: 18px;
  transition: 0.25s ease;
}

.theme-icon--moon {
  opacity: 0;
  transform: scale(0.7) rotate(-20deg);
}

body.dark-theme .theme-icon--sun {
  opacity: 0;
  transform: scale(0.7) rotate(20deg);
}

body.dark-theme .theme-icon--moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

body.dark-theme {
  color: #f3f0ff;
  background:
    radial-gradient(circle at top left, rgba(91, 71, 191, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(67, 126, 198, 0.22), transparent 24%),
    linear-gradient(180deg, #181427 0%, #1b1730 34%, #151123 100%);
}

body.dark-theme .site-header {
  background: rgba(24, 20, 39, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-theme .nav a,
body.dark-theme .brand-copy span,
body.dark-theme p,
body.dark-theme .footer-links a,
body.dark-theme .footer-note,
body.dark-theme .footer-copyright-bar {
  color: rgba(240, 236, 255, 0.72);
}

body.dark-theme .nav a:hover,
body.dark-theme .brand-copy strong,
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme .proof-users strong,
body.dark-theme .proof-stat strong,
body.dark-theme .mini-metrics strong,
body.dark-theme .testimonial-card p {
  color: #ffffff;
}

body.dark-theme .point-card,
body.dark-theme .feature-card,
body.dark-theme .dashboard-card,
body.dark-theme .step-card,
body.dark-theme .price-card,
body.dark-theme .testimonial-card,
body.dark-theme .cta-card,
body.dark-theme .proof-users,
body.dark-theme .proof-stat,
body.dark-theme .mini-metrics div,
body.dark-theme .panel-card,
body.dark-theme .info-row,
body.dark-theme .simple-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body.dark-theme .section-light::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.03));
  border-top-color: rgba(255, 255, 255, 0.04);
  border-bottom-color: rgba(255, 255, 255, 0.04);
}

body.dark-theme .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body.dark-theme .theme-toggle,
body.dark-theme .lang-switcher--flags {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body.dark-theme .site-footer {
  border-top-color: rgba(255, 255, 255, 0.06);
}

body.dark-theme .footer-copyright-bar {
  border-top-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 960px) {
  .header-actions {
    display: grid;
    gap: 12px;
    align-items: stretch;
  }

  .lang-switcher--flags {
    justify-content: center;
  }

  .theme-toggle {
    width: 52px;
    height: 52px;
    justify-self: start;
  }
}






/* auth header controls */
.auth-topbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px 34px 0;
}

.auth-topbar--no-brand {
  grid-template-columns: 1fr auto;
}

.auth-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.auth-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 34px;
}

.auth-nav a {
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.auth-nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.auth-art {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.auth-floating-brand {
  position: absolute;
  left: 70px;
  top: 46%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  opacity: 0.14;
}

.auth-floating-brand span {
  display: block;
  font-size: clamp(62px, 7vw, 118px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #ffffff;
  text-shadow: 0 12px 40px rgba(255, 255, 255, 0.12);
  animation: floatBrand 10s ease-in-out infinite;
}

@keyframes floatBrand {
  0% {
    transform: translate3d(0, 0, 0);
  }

  25% {
    transform: translate3d(10px, -8px, 0);
  }

  50% {
    transform: translate3d(-8px, 10px, 0);
  }

  75% {
    transform: translate3d(12px, 4px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1100px) {
  .auth-floating-brand {
    left: 44px;
    top: 48%;
  }

  .auth-floating-brand span {
    font-size: clamp(48px, 8vw, 84px);
  }
}

@media (max-width: 980px) {
  .auth-topbar {
    gap: 16px;
  }

  .auth-topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {

  .auth-topbar,
  .auth-topbar--no-brand {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .auth-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }

  .auth-nav a {
    font-size: 14px;
  }

  .auth-topbar-actions {
    justify-self: start;
  }

  .auth-floating-brand {
    left: 28px;
    top: 44%;
    opacity: 0.1;
  }

  .auth-floating-brand span {
    font-size: clamp(38px, 10vw, 64px);
  }
}

@media (max-width: 760px) {
  .auth-nav a {
    font-size: 13px;
  }

  .auth-floating-brand {
    display: none;
  }
}




/* clickable module cards */
.feature-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.feature-card-link:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 97, 255, 0.22);
  box-shadow: 0 24px 50px rgba(106, 92, 229, 0.16);
  background: linear-gradient(180deg, rgba(248, 245, 255, 0.98), rgba(237, 245, 255, 0.95));
}

.feature-card-link:hover h3 {
  color: #5b49cc;
}

.feature-card-link:hover .feature-icon.lilac {
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.20), rgba(180, 150, 255, 0.16));
}

.feature-card-link:hover .feature-icon.blue {
  background: linear-gradient(135deg, rgba(95, 168, 255, 0.22), rgba(172, 220, 255, 0.18));
}

.feature-card-link:hover .feature-icon.mint {
  background: linear-gradient(135deg, rgba(140, 243, 216, 0.26), rgba(95, 168, 255, 0.16));
}

.feature-card-link:hover .feature-icon.rose {
  background: linear-gradient(135deg, rgba(255, 176, 210, 0.24), rgba(255, 214, 228, 0.18));
}

.feature-card-link:hover .feature-icon.dark {
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.18), rgba(95, 168, 255, 0.16));
}

.feature-link-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: #6b57d8;
}

.feature-link-text::after {
  content: "→";
  transition: transform 0.2s ease;
}

.feature-card-link:hover .feature-link-text::after {
  transform: translateX(4px);
}

#modules .feature-card {
  position: relative;
  overflow: hidden;
  min-height: 265px;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
}

#modules .feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.10), rgba(95, 168, 255, 0.08) 48%, rgba(140, 243, 216, 0.10));
  opacity: 0;
  transition: opacity 0.25s ease;
}

#modules .feature-card > * {
  position: relative;
  z-index: 1;
}

#modules .feature-card:hover::before {
  opacity: 1;
}

#modules .feature-icon {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 14px 28px rgba(91, 70, 173, 0.08);
}

#modules .feature-card p {
  line-height: 1.65;
}

#modules .feature-link-text {
  margin-top: auto;
  padding-top: 20px;
}

.home-flow-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(123, 97, 255, 0.13), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(95, 168, 255, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 250, 255, 0.96));
}

.home-flow-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
}

.home-flow-copy {
  display: grid;
  gap: 22px;
}

.home-flow-copy h2 {
  max-width: 720px;
  font-size: clamp(36px, 4.1vw, 62px);
  line-height: 0.96;
  letter-spacing: 0;
}

.home-flow-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.78;
}

.home-flow-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-flow-board {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.2vw, 26px);
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(123, 97, 255, 0.14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(24, 178, 139, 0.10), transparent 30%),
    rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(95, 74, 186, 0.14);
  box-shadow: 0 30px 80px rgba(43, 35, 92, 0.12);
  backdrop-filter: blur(18px);
}

.home-workflow-board::before {
  content: "";
  position: absolute;
  left: clamp(39px, 5vw, 47px);
  top: 56px;
  bottom: 132px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(123, 97, 255, 0.38), rgba(24, 178, 139, 0.18));
  pointer-events: none;
}

.home-flow-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 116px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(95, 74, 186, 0.10);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(43, 35, 92, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-flow-row.is-active {
  background: linear-gradient(135deg, rgba(238, 255, 250, 0.94), rgba(241, 246, 255, 0.92));
  border-color: rgba(20, 126, 111, 0.18);
  box-shadow: 0 18px 44px rgba(20, 126, 111, 0.10);
}

.home-flow-row:hover,
.home-flow-row:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(123, 97, 255, 0.26);
  box-shadow: 0 24px 54px rgba(43, 35, 92, 0.12);
  outline: none;
}

.home-flow-row:focus-visible {
  box-shadow: 0 0 0 4px rgba(123, 97, 255, 0.16), 0 24px 54px rgba(43, 35, 92, 0.12);
}

.home-flow-row .home-workflow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, #171321, #5d49d3);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 16px 28px rgba(43, 35, 92, 0.18);
}

.home-workflow-step b {
  display: inline-flex;
  width: max-content;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.10);
  color: #5d49d3;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-flow-row strong {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--text);
}

.home-flow-row small {
  display: block;
  color: var(--muted);
  line-height: 1.58;
}

.home-workflow-result {
  position: relative;
  z-index: 1;
  padding: 20px;
  border: 1px solid rgba(255, 210, 115, 0.42);
  border-radius: 26px;
  background:
    radial-gradient(circle at right, rgba(255, 210, 115, 0.20), transparent 34%),
    linear-gradient(135deg, rgba(255, 249, 233, 0.92), rgba(255, 255, 255, 0.82));
  box-shadow: 0 18px 42px rgba(132, 96, 24, 0.08);
}

.home-workflow-result span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 199, 84, 0.20);
  color: #8b5e00;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-workflow-result strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
}

.home-workflow-result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.home-premium-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(123, 97, 255, 0.10), transparent 30%),
    radial-gradient(circle at 88% 24%, rgba(140, 243, 216, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(248, 246, 255, 0.96), rgba(255, 255, 255, 0.94));
}

.home-premium-head {
  align-items: end;
  margin-bottom: 30px;
}

.home-premium-head p {
  max-width: 660px;
  line-height: 1.76;
}

.home-premium-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 22px);
  position: relative;
  z-index: 1;
}

.home-premium-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 24px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #171321;
  text-decoration: none;
  border: 1px solid rgba(95, 74, 186, 0.10);
  box-shadow: 0 18px 44px rgba(91, 70, 173, 0.10);
  isolation: isolate;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.home-premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.78;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.home-premium-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 142px;
  height: 142px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  filter: blur(2px);
  z-index: -1;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.home-premium-card:hover,
.home-premium-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(104, 87, 230, 0.22);
  box-shadow: 0 28px 58px rgba(91, 70, 173, 0.16);
  outline: none;
}

.home-premium-card:focus-visible {
  box-shadow:
    0 0 0 4px rgba(123, 97, 255, 0.16),
    0 28px 58px rgba(91, 70, 173, 0.16);
}

.home-premium-card:hover::before,
.home-premium-card:focus-visible::before {
  opacity: 1;
  transform: scale(1.02);
}

.home-premium-card:hover::after,
.home-premium-card:focus-visible::after {
  transform: translate(-10px, 10px);
  opacity: 0.86;
}

.home-premium-card--research::before {
  background: linear-gradient(145deg, #f4efff 0%, #e9f3ff 58%, #ffffff 100%);
}

.home-premium-card--checker::before {
  background: linear-gradient(145deg, #eafdf6 0%, #e9f4ff 54%, #ffffff 100%);
}

.home-premium-card--studio::before {
  background: linear-gradient(145deg, #fff1f7 0%, #fff8df 52%, #ffffff 100%);
}

.home-premium-card--store::before {
  background: linear-gradient(145deg, #eef7ff 0%, #eefdf8 48%, #ffffff 100%);
}

.home-premium-icon {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.90),
    0 14px 28px rgba(91, 70, 173, 0.10);
  font-size: 22px;
}

.home-premium-tag {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #5d49d3;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-premium-card h3 {
  max-width: 340px;
  margin: 22px 0 12px;
  font-size: clamp(22px, 1.55vw, 28px);
  line-height: 1.08;
  letter-spacing: 0;
}

.home-premium-card p {
  max-width: 360px;
  margin: 0 0 22px;
  color: #57526b;
  line-height: 1.66;
}

.home-premium-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #171321;
  font-size: 15px;
  font-weight: 900;
}

.home-premium-card strong::after {
  content: "→";
  transition: transform 0.2s ease;
}

.home-premium-card:hover strong::after,
.home-premium-card:focus-visible strong::after {
  transform: translateX(4px);
}

@media (max-width: 980px) {
  .home-flow-shell,
  .home-premium-grid {
    grid-template-columns: 1fr;
  }

  .home-flow-board {
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 1200px) and (min-width: 641px) {
  .home-premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #modules .feature-card,
  .home-premium-card {
    min-height: auto;
    padding: 22px;
    border-radius: 24px;
  }

  .home-flow-row {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: auto;
    padding: 16px;
  }

  .home-flow-row b {
    grid-column: 2;
    justify-self: start;
  }

  .home-flow-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .home-workflow-board::before {
    left: 39px;
    top: 50px;
    bottom: 116px;
  }
}


.account-page {
  background:
    linear-gradient(115deg, rgba(123, 97, 255, 0.10), transparent 28%),
    linear-gradient(245deg, rgba(95, 168, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #fbfaff 0%, #f6fbff 52%, #fff9ee 100%);
}

.account-page main {
  position: relative;
  overflow: hidden;
}

.account-page main::before,
.account-page main::after {
  content: "";
  position: absolute;
  height: 1px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.58;
}

.account-page main::before {
  top: 102px;
  left: 8%;
  width: 56%;
  background: linear-gradient(90deg, transparent, rgba(123, 97, 255, 0.36), rgba(95, 168, 255, 0.28), transparent);
  animation: accountBeam 6s ease-in-out infinite;
}

.account-page main::after {
  top: 248px;
  right: 7%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 194, 51, 0.34), rgba(140, 243, 216, 0.26), transparent);
  animation: accountBeam 7s ease-in-out infinite reverse;
}

@keyframes accountBeam {
  0%, 100% {
    transform: translateX(-18px);
    opacity: 0.24;
  }

  50% {
    transform: translateX(18px);
    opacity: 0.76;
  }
}

.account-page .section {
  position: relative;
  z-index: 1;
  padding-top: 34px;
  padding-bottom: 34px;
}

.account-page .section-light {
  background: linear-gradient(180deg, rgba(249, 247, 255, 0.82), rgba(245, 251, 255, 0.76));
}

.account-page .account-hero {
  align-items: stretch;
  gap: 18px;
}

.account-page .account-hero > div:first-child,
.account-page .account-hero-balance,
.account-page .account-card,
.account-page .account-plan-current,
.account-page .account-plan-card,
.account-page .account-history-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(123, 97, 255, 0.12);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.account-page .account-hero > div:first-child {
  padding: 28px;
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

.account-page .account-hero h1 {
  max-width: 800px;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1;
  letter-spacing: 0;
  margin: 8px 0 12px;
}

.account-page .account-hero p {
  max-width: 700px;
  font-size: 15px;
  line-height: 1.7;
}

.account-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.account-hero-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(123, 97, 255, 0.10);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.account-hero-metrics strong {
  color: var(--text);
}

.account-page .account-hero-balance {
  display: grid;
  align-content: center;
  min-height: 196px;
  background:
    linear-gradient(135deg, rgba(238, 255, 250, 0.94), rgba(244, 240, 255, 0.96) 54%, rgba(232, 247, 255, 0.94));
}

.account-page .account-hero-balance::before,
.account-page .account-card--balance::before,
.account-page .account-plan-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.66) 42%, transparent 58%);
  transform: translateX(-120%);
  animation: accountShine 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes accountShine {
  0%, 42% {
    transform: translateX(-120%);
  }

  74%, 100% {
    transform: translateX(120%);
  }
}

.account-page .account-grid {
  grid-template-columns: 0.88fr 1.12fr;
  gap: 18px;
  align-items: start;
}

.account-page .account-card,
.account-page .account-history-card,
.account-page .account-plan-current {
  padding: 22px;
  border-radius: 28px;
}

.account-page .account-card h3,
.account-page .account-plan-current h3,
.account-page .account-history-card h3 {
  margin: 5px 0 12px;
}

.account-page .account-card--profile {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92)),
    radial-gradient(circle at 12% 8%, rgba(123, 97, 255, 0.10), transparent 32%);
}

.account-page .account-card--profile::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px 38%;
  height: 150px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(95, 168, 255, 0.14), transparent 68%);
}

.account-page .account-card--profile > * {
  position: relative;
  z-index: 1;
}

.account-profile-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin: 0;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(247, 243, 255, 0.98), rgba(236, 247, 255, 0.96));
  border: 1px solid rgba(123, 97, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.account-profile-chip > span {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #7b61ff, #5fa8ff);
  box-shadow: 0 14px 28px rgba(91, 70, 173, 0.18);
}

.account-profile-chip > span.has-image,
.account-avatar.has-image,
.profile-edit-avatar.has-image {
  background-size: cover;
  background-position: center;
  color: transparent;
}

.account-profile-chip strong,
.account-profile-chip small {
  display: block;
}

.account-profile-chip small {
  margin-top: 4px;
  color: var(--muted);
  word-break: break-word;
}

.account-page .account-info-list {
  gap: 9px;
}

.account-page .account-info-row {
  padding: 12px 0;
}

.account-page .account-profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0;
}

.account-page .account-profile-actions .btn {
  min-height: 46px;
  padding-inline: 22px;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(91, 70, 173, 0.12);
}

.account-page .account-profile-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(23, 19, 33, 0.08);
  box-shadow: 0 12px 28px rgba(23, 19, 33, 0.06);
}

.profile-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 30020;
  display: grid;
  place-items: center;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.22s ease;
}

.profile-edit-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.profile-edit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 28, 0.44);
  backdrop-filter: blur(10px);
}

.profile-edit-card {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(123, 97, 255, 0.12);
  box-shadow: 0 30px 80px rgba(23, 19, 33, 0.25);
  transform: translateY(14px) scale(0.98);
  scrollbar-width: thin;
  scrollbar-color: rgba(123, 97, 255, 0.38) transparent;
}

.profile-edit-modal.is-open .profile-edit-card {
  transform: translateY(0) scale(1);
}

.profile-edit-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(123, 97, 255, 0.10);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.profile-edit-card h3 {
  margin: 4px 0 14px;
  font-size: 24px;
  line-height: 1.15;
}

.profile-avatar-editor {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(247, 243, 255, 0.94), rgba(236, 247, 255, 0.92));
  border: 1px solid rgba(123, 97, 255, 0.10);
}

.profile-edit-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #7b61ff, #5fa8ff);
  box-shadow: 0 14px 28px rgba(91, 70, 173, 0.18);
}

.profile-avatar-editor input[type="file"] {
  display: none;
}

.profile-avatar-controls {
  min-width: 0;
  width: 100%;
}

.profile-avatar-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(124px, 1fr));
  align-items: center;
  gap: 8px;
}

.profile-avatar-upload,
.profile-avatar-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 124px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 14px;
  border: 0;
  box-sizing: border-box;
  font-weight: 900;
  font-size: 13px;
  line-height: 40px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.profile-avatar-upload {
  color: #fff;
  background: linear-gradient(135deg, #725cff, #5fa8ff);
  box-shadow: 0 10px 24px rgba(95, 122, 255, 0.22);
}

.profile-avatar-remove {
  border: 1px solid rgba(123, 97, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 247, 255, 0.92));
  color: var(--text);
  box-shadow: 0 10px 22px rgba(23, 19, 33, 0.06);
}

.profile-avatar-upload:hover,
.profile-avatar-remove:hover {
  transform: translateY(-1px);
}

.profile-avatar-remove:hover {
  border-color: rgba(196, 65, 65, 0.24);
  color: #c44141;
  background: rgba(255, 245, 245, 0.94);
}

.profile-avatar-editor small,
.profile-verification-step small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.profile-edit-form label,
.profile-verification-step label {
  display: block;
  margin: 9px 0 6px;
  font-weight: 800;
  color: var(--text);
}

.profile-edit-form input:not([type="file"]),
.profile-verification-step input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  border-radius: 16px;
  background: rgba(247, 248, 255, 0.92);
  color: var(--text);
  font: inherit;
}

.profile-edit-form .btn {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
}

.profile-verification-step {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(123, 97, 255, 0.12);
}

.profile-verification-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.profile-resend-code {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border-radius: 14px;
}

@media (max-width: 560px) {
  .profile-edit-card {
    padding: 18px;
    border-radius: 22px;
  }

  .profile-avatar-editor {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .profile-avatar-actions,
  .profile-avatar-upload,
  .profile-avatar-remove {
    width: 100%;
  }

  .profile-verification-row {
    grid-template-columns: 1fr;
  }

  .profile-verification-row .btn {
    width: 100%;
  }

  .admin-promo-form,
  .admin-promo-row {
    grid-template-columns: 1fr;
  }

  .admin-promo-actions {
    justify-content: flex-start;
  }
}

.account-page .topup-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.account-page .topup-chip {
  min-height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 240, 255, 0.92));
}

.account-page .custom-topup-row input {
  min-height: 48px;
}

.account-page .account-plan-current {
  margin-bottom: 16px;
  background:
    linear-gradient(135deg, rgba(23, 19, 33, 0.96), rgba(67, 50, 184, 0.90) 54%, rgba(95, 168, 255, 0.86));
  color: #fff;
}

.account-page .account-plan-current h3,
.account-page .account-plan-current p,
.account-page .account-plan-current .mini-label {
  color: #fff;
}

.account-page .account-plan-current p {
  opacity: 0.82;
}

.account-page .current-plan-badge {
  background: linear-gradient(135deg, #0f8b5f, #18b57b);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: 0 12px 24px rgba(18, 139, 95, 0.22);
}

.account-page .account-plans-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.account-page .account-plan-card {
  min-height: 250px;
  padding: 20px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.account-page .account-plan-card:hover {
  transform: translateY(-5px);
  border-color: rgba(123, 97, 255, 0.20);
  box-shadow: 0 22px 46px rgba(91, 70, 173, 0.14);
}

.account-page .account-plan-card h3 {
  margin: 14px 0 8px;
  font-size: 20px;
}

.account-page .account-plan-card strong {
  margin-bottom: 10px;
  font-size: 30px;
}

.account-page .account-plan-card p {
  flex: 1;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.6;
}

.account-page .account-plan-card .btn {
  width: 100%;
  min-height: 44px;
}

.account-plan-card--store {
  background: linear-gradient(145deg, #f3edff, #eef7ff);
}

.account-plan-card--studio {
  background: linear-gradient(145deg, #fff1f8, #fff8e5);
}

.account-plan-card--credits {
  background: linear-gradient(145deg, #ecfff8, #f3efff);
}

.account-plan-card--checker {
  background: linear-gradient(145deg, #171321, #4332b8 56%, #5fa8ff);
  color: #fff;
}

.account-plan-card--checker h3,
.account-plan-card--checker p,
.account-plan-card--checker strong,
.account-plan-card--checker .plan-small-tag {
  color: #fff;
}

.account-plan-card--checker p,
.account-plan-card--checker .plan-small-tag {
  opacity: 0.84;
}

.account-plan-card--bundle {
  background: linear-gradient(145deg, #fff5dd, #eff8ff);
}

.account-page .plan-small-tag {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.68);
}

.account-page .account-history-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(247, 243, 255, 0.92));
}

.account-page .account-history-list {
  margin-top: 12px;
}

.account-page .account-history-row {
  padding: 12px 0;
}

@media (max-width: 1180px) {
  .account-page .account-plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .account-page .account-grid,
  .account-page .account-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .account-page .section {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .account-page .account-hero > div:first-child,
  .account-page .account-card,
  .account-page .account-plan-current,
  .account-page .account-plan-card,
  .account-page .account-history-card,
  .account-page .account-hero-balance {
    padding: 20px;
    border-radius: 24px;
  }

  .account-page .topup-grid,
  .account-page .account-plans-grid {
    grid-template-columns: 1fr;
  }

  .account-page .account-plan-current {
    align-items: flex-start;
  }

  .current-plan-actions {
    justify-content: flex-start;
  }
}

/* =========================
   EBAY CALCULATOR CLEAN
========================= */

.ebay-calculator-page {
  --calc-blue: #0064d2;
  --calc-red: #e53238;
  --calc-yellow: #f5af02;
  --calc-green: #86b817;
  --calc-ink: #171321;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.98) 0%, rgba(255, 252, 244, 0.96) 58%, rgba(248, 250, 255, 0.98) 100%);
}

.calculator-hero-section {
  padding-bottom: 34px;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(255, 255, 255, 0.94));
}

.calculator-hero-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px;
}

.calculator-hero-shell::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 0;
  width: 180px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--calc-blue), var(--calc-red), var(--calc-yellow), var(--calc-green));
  pointer-events: none;
}

.calculator-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  align-content: center;
}

.calculator-hero-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.calculator-hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 100, 210, 0.12);
  box-shadow: 0 18px 44px rgba(0, 100, 210, 0.10);
}

.calculator-hero-metric {
  padding: 20px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(245, 175, 2, 0.12), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(245, 175, 2, 0.24);
}

.calculator-hero-metric small,
.calculator-hero-grid-mini span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calculator-hero-metric strong {
  display: block;
  margin-top: 8px;
  color: var(--calc-ink);
  font-size: 46px;
  line-height: 1;
  letter-spacing: 0;
}

.calculator-hero-grid-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.calculator-hero-grid-mini div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(247, 251, 255, 0.92);
  border: 1px solid rgba(0, 100, 210, 0.08);
}

.calculator-hero-grid-mini b {
  display: block;
  margin-top: 8px;
  color: var(--calc-blue);
  font-size: 20px;
}

.calculator-page-title {
  max-width: 820px;
}

.calculator-top-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.calc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 100, 210, 0.10);
  color: #0f4f9f;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.calculator-v2-card {
  padding: 32px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 100, 210, 0.10);
  box-shadow: 0 26px 70px rgba(21, 32, 56, 0.10);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.calculator-premium-card {
  position: relative;
  overflow: hidden;
}

.calculator-premium-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--calc-blue), var(--calc-red), var(--calc-yellow), var(--calc-green));
}

.calculator-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.calculator-card-head h3 {
  margin: 8px 0 0;
  font-size: 32px;
  letter-spacing: 0;
}

.calculator-card-head p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.calculator-v2-form {
  display: grid;
  gap: 22px;
}

.calc-row {
  display: grid;
  gap: 18px;
}

.calc-row-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.calc-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calc-row-1 {
  grid-template-columns: 1fr;
}

.calc-field {
  display: grid;
  gap: 10px;
}

.calc-field label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0;
}

.calc-field input,
.calc-field select {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(0, 100, 210, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.94));
  padding: 0 16px;
  color: var(--text);
  outline: none;
  font-size: 15px;
  font-weight: 500;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 6px 18px rgba(91, 70, 173, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.calc-field input::placeholder {
  color: #9a93b7;
}

.calc-field input:focus,
.calc-field select:focus {
  border-color: rgba(0, 100, 210, 0.36);
  box-shadow:
    0 0 0 4px rgba(0, 100, 210, 0.08),
    0 12px 30px rgba(0, 100, 210, 0.08);
  background: #ffffff;
}

.calc-field select {
  cursor: pointer;
  padding-right: 46px;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.94)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230064d2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 14px center;
  background-size: auto, 18px;
}

.calc-tax-box {
  position: relative;
  padding: 28px 18px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.94), rgba(255, 250, 237, 0.90));
  border: 1px solid rgba(0, 100, 210, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.calc-tax-title {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(25, 18, 66, 0.16);
}

.calculator-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.summary-box {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(0, 100, 210, 0.10);
  box-shadow: 0 18px 42px rgba(21, 32, 56, 0.08);
  backdrop-filter: blur(8px);
}

.summary-box span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 700;
}

.summary-box strong {
  display: block;
  font-size: 38px;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.summary-box small {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.summary-box-fee strong {
  color: #d64242;
}

.summary-box-tax strong {
  color: #f06a00;
}

.summary-box-profit strong {
  color: #0c9b63;
}

.calculator-v2-form .btn,
.calculator-section .btn,
.calculator-cta-wrap .btn {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0;
  border: 1px solid transparent;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.calculator-v2-form .btn:hover,
.calculator-section .btn:hover,
.calculator-cta-wrap .btn:hover {
  transform: translateY(-2px);
}

.calculator-v2-form .btn-primary,
.calculator-cta-wrap .btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0064d2 0%, #0a84ff 56%, #2f9b57 100%);
  box-shadow: 0 14px 34px rgba(0, 100, 210, 0.26);
}

.calculator-v2-form .btn-primary:hover,
.calculator-cta-wrap .btn-primary:hover {
  box-shadow: 0 18px 42px rgba(0, 100, 210, 0.32);
}

.calculator-v2-form .btn-ghost {
  color: #171321;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 100, 210, 0.12);
  box-shadow: 0 10px 26px rgba(0, 100, 210, 0.08);
}

.calculator-v2-form .btn-ghost:hover {
  background: #ffffff;
  border-color: rgba(0, 100, 210, 0.20);
}

.calc-actions {
  display: flex;
  flex-wrap: wrap;
}

.calc-actions-center {
  justify-content: flex-start;
  gap: 14px;
  margin-top: 6px;
}

.calculator-v2-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
}

.calculator-breakdown-card,
.calculator-extra-card {
  padding: 26px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(0, 100, 210, 0.10);
  box-shadow: 0 18px 44px rgba(21, 32, 56, 0.08);
  backdrop-filter: blur(8px);
}

.calculator-extra-card {
  display: grid;
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.92));
}

.profit-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.profit-breakdown-col h4 {
  margin-bottom: 18px;
  text-align: center;
}

.break-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 100, 210, 0.08);
}

.break-line span {
  color: var(--text);
  font-weight: 500;
}

.break-line strong {
  font-size: 18px;
  color: #241f45;
}

.break-line-big strong {
  font-size: 24px;
}

.profit-total-bar {
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 100, 210, 0.08), rgba(245, 175, 2, 0.11));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.profit-total-bar span {
  font-size: 18px;
  font-weight: 800;
}

.profit-total-bar strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.calculator-cta-wrap {
  margin-top: 8px;
}

.calculator-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(247, 251, 255, 0.98), rgba(255, 250, 235, 0.96));
  border: 1px solid rgba(0, 100, 210, 0.10);
  box-shadow: 0 24px 60px rgba(21, 32, 56, 0.10);
}

.calculator-cta-copy {
  max-width: 760px;
}

.calculator-cta-copy h2 {
  font-size: 42px;
  line-height: 0.98;
  letter-spacing: 0;
  margin: 12px 0 12px;
}

.calculator-cta-copy p {
  max-width: 680px;
}

.calculator-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.calculator-cta-actions .btn {
  width: 100%;
}

.calculator-cta-actions .btn-dark {
  color: #fff;
  background: #111827;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.16);
}

.calculator-cta-actions .btn-dark:hover {
  background: #0b1220;
}

@media (max-width: 1100px) {

  .calculator-hero-shell,
  .calc-row-4,
  .calc-row-3,
  .calculator-summary-strip,
  .calculator-v2-lower,
  .profit-breakdown-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .calculator-hero-shell {
    padding: 24px;
    border-radius: 26px;
  }

  .calculator-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border-radius: 26px;
  }

  .calculator-cta-actions {
    width: 100%;
    min-width: unset;
  }

  .calculator-cta-actions .btn {
    width: 100%;
  }

  .calc-actions-center {
    flex-direction: column;
    align-items: stretch;
  }

  .calc-actions-center .btn {
    width: 100%;
  }
}

@media (max-width: 760px) {

  .calculator-hero-shell,
  .calculator-hero-panel,
  .calculator-v2-card,
  .calculator-breakdown-card,
  .calculator-extra-card {
    padding: 22px;
    border-radius: 24px;
  }

  .calculator-card-head h3,
  .calculator-cta-copy h2 {
    font-size: 30px;
  }

  .summary-box strong {
    font-size: 32px;
  }
}




/* =========================
   AMAZON CHECKER PAGE
========================= */

.amazon-checker-page {
  --amazon-primary: #ff9800;
  --amazon-primary-dark: #f27c00;
  --amazon-primary-soft: #fff1dd;
  --amazon-border: rgba(255, 152, 0, 0.22);
  --amazon-shadow: 0 24px 50px rgba(255, 152, 0, 0.12);
}

.amazon-hero-section {
  position: relative;
}

.amazon-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 30px;
  align-items: start;
}

.amazon-hero-copy {
  display: grid;
  gap: 22px;
}

.amazon-hero-copy h1 {
  max-width: 880px;
}

.amazon-eyebrow {
  color: #c46900;
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 152, 0, 0.16);
}

.amazon-eyebrow::before {
  background: linear-gradient(135deg, #ff9800, #ffbf69);
  box-shadow: 0 0 0 6px rgba(255, 152, 0, 0.08);
}

.amazon-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.amazon-mini-point {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--amazon-border);
  box-shadow: var(--amazon-shadow);
}

.amazon-mini-point strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.amazon-mini-point span {
  display: block;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.amazon-status-card,
.amazon-add-card,
.amazon-usage-card,
.amazon-manual-card,
.amazon-watch-table-wrap,
.amazon-note-box {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--amazon-border);
  box-shadow: var(--amazon-shadow);
  border-radius: 32px;
  backdrop-filter: blur(8px);
}

.amazon-status-card {
  padding: 28px;
}

.amazon-mini-label {
  color: #c87000;
}

.amazon-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.amazon-status-box {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.98), rgba(255, 243, 222, 0.94));
  border: 1px solid rgba(255, 152, 0, 0.14);
}

.amazon-status-box small {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

.amazon-status-box strong {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.amazon-status-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 152, 0, 0.08);
  color: #915400;
  line-height: 1.65;
  font-size: 14px;
}

.amazon-checker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.amazon-add-card,
.amazon-usage-card,
.amazon-manual-card {
  padding: 28px;
}

.amazon-card-head {
  margin-bottom: 20px;
}

.amazon-card-head h3 {
  margin: 6px 0 8px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.02;
}

.amazon-card-head p {
  max-width: 640px;
}

.amazon-checker-form {
  display: grid;
  gap: 18px;
}

.amazon-form-field {
  display: grid;
  gap: 10px;
}

.amazon-form-field label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.amazon-form-field input,
.amazon-form-field select {
  width: 100%;
  min-height: 58px;
  border-radius: 20px;
  border: 1px solid rgba(255, 152, 0, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.96));
  padding: 0 18px;
  color: var(--text);
  outline: none;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.amazon-form-field select {
  cursor: pointer;
  padding-right: 46px;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.96)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d27b00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 14px center;
  background-size: auto, 18px;
}

.amazon-form-field input::placeholder {
  color: #9f9a93;
}

.amazon-form-field input:focus,
.amazon-form-field select:focus {
  border-color: rgba(255, 152, 0, 0.42);
  box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.10), 0 12px 28px rgba(255, 152, 0, 0.10);
  background: #fff;
}

.amazon-manual-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.amazon-field-note {
  color: #8d6b3e;
  font-size: 12px;
  line-height: 1.5;
}

.amazon-toggle-box {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 0 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 152, 0, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.96));
  cursor: pointer;
}

.amazon-toggle-box input {
  display: none;
}

.amazon-toggle-ui {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 152, 0, 0.32);
  background: #fff7ef;
  position: relative;
  flex: 0 0 auto;
}

.amazon-toggle-box input:checked+.amazon-toggle-ui {
  background: linear-gradient(135deg, #ffb44c, #ff9800);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(255, 152, 0, 0.22);
}

.amazon-toggle-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.amazon-form-actions {
  margin-top: 4px;
}

.amazon-btn-primary,
.amazon-btn-dark {
  min-height: 58px;
  padding: 0 26px;
  border-radius: 22px;
  font-size: 16px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.amazon-btn-primary:hover,
.amazon-btn-dark:hover {
  transform: translateY(-2px);
}

.amazon-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ffb11c 0%, #ff9800 58%, #ff8600 100%);
  box-shadow: 0 16px 32px rgba(255, 152, 0, 0.24);
}

.amazon-btn-dark {
  color: #fff;
  background: #2a1909;
  box-shadow: 0 12px 26px rgba(42, 25, 9, 0.16);
}

.amazon-info-column {
  display: grid;
  gap: 24px;
}

.amazon-usage-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.amazon-usage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 152, 0, 0.10);
}

.amazon-usage-row span {
  color: var(--muted);
}

.amazon-usage-row strong {
  color: var(--text);
}

.amazon-manual-card p {
  margin: 10px 0 14px;
}

.amazon-manual-status {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 152, 0, 0.08);
  color: #9b5c00;
  margin-bottom: 14px;
  line-height: 1.6;
}

.amazon-watch-table-wrap {
  padding: 28px;
  overflow-x: auto;
}

.amazon-list-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.amazon-watch-toolbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  margin-bottom: 20px;
}

.amazon-watch-title {
  display: grid;
  gap: 6px;
  flex: 0 0 230px;
  position: relative;
  z-index: 1;
}

.amazon-watch-title strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.amazon-watch-title span {
  color: var(--muted);
}

.amazon-watch-filters {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}

.amazon-watch-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.amazon-search-field {
  position: absolute;
  left: 47%;
  top: 50%;
  width: min(380px, 32vw);
  min-width: 0;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.amazon-search-field span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  flex: 0 0 auto;
}

.amazon-search-field input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 152, 0, 0.18);
  border-radius: 14px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-weight: 700;
  outline: none;
}

.amazon-filter-chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 152, 0, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: #b36800;
  font-weight: 700;
  cursor: pointer;
}

.amazon-filter-chip.is-active,
.amazon-filter-chip:hover {
  background: linear-gradient(135deg, #ffefcf, #ffe2b0);
}

.amazon-watch-filters {
  margin-left: auto;
  justify-self: end;
}

.amazon-watch-table {
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.amazon-watch-head,
.amazon-watch-row {
  display: grid;
  grid-template-columns: minmax(300px, 1.85fr) minmax(100px, 0.62fr) minmax(118px, 0.66fr) minmax(132px, 0.76fr) minmax(88px, 0.48fr) minmax(132px, 0.78fr) minmax(92px, 0.48fr);
  gap: 8px;
  align-items: center;
}

.amazon-watch-head {
  padding: 0 12px 10px;
  border-bottom: 1px solid rgba(255, 152, 0, 0.12);
  color: #b26700;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  line-height: 1.25;
}

.amazon-watch-head > div,
.amazon-watch-row > div {
  min-width: 0;
}

.amazon-watch-head > div {
  overflow-wrap: anywhere;
}

.amazon-watch-row {
  padding: 16px 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.96));
  border: 1px solid rgba(255, 152, 0, 0.12);
}

.amazon-watch-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.amazon-watch-row span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.amazon-product-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.amazon-product-media-wrap {
  position: relative;
  flex: 0 0 auto;
}

.amazon-product-index {
  position: absolute;
  left: -6px;
  top: -6px;
  min-width: 28px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 152, 0, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #8a5a12;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(84, 50, 0, 0.10);
}

.amazon-product-media {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 152, 0, 0.18);
  background: linear-gradient(135deg, #fff7e8, #ffe0a7);
  color: #9b5c00;
  font-size: 15px;
  font-weight: 900;
}

.amazon-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 3px;
  background: #ffffff;
}

.amazon-product-copy {
  min-width: 0;
}

.amazon-product-title-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.amazon-product-title-link:hover strong,
.amazon-product-title-link:focus-visible strong {
  color: #b26700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.amazon-watch-row[hidden] {
  display: none;
}

.amazon-empty-state {
  display: grid;
  gap: 8px;
  padding: 28px;
  border-radius: 22px;
  border: 1px dashed rgba(255, 152, 0, 0.24);
  background: linear-gradient(135deg, rgba(255, 247, 232, 0.86), rgba(244, 249, 255, 0.92));
  color: var(--text);
}

.amazon-empty-state[hidden] {
  display: none !important;
}

.amazon-empty-state strong {
  font-size: 17px;
}

.amazon-empty-state span {
  color: var(--muted);
  line-height: 1.6;
}

.amazon-price-cell strong,
.amazon-stock-cell strong {
  margin-bottom: 4px;
}

.amazon-price-cell small,
.amazon-alert-cell small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.amazon-price-trend {
  display: grid;
  gap: 2px;
}

.amazon-price-trend del {
  color: #9a90a8;
  font-size: 12px;
  font-weight: 700;
}

.amazon-price-trend strong {
  color: #0d8c58;
}

.amazon-price-cell.price-down strong,
.amazon-price-cell--effective strong,
.amazon-stock-cell strong {
  color: #0d8c58;
}

.amazon-stock-cell.stock-risk strong {
  color: #cf4343;
}

.amazon-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.amazon-status-pill.stable {
  background: rgba(102, 223, 170, 0.18);
  color: #0d8c58;
}

.amazon-status-pill.risk {
  background: rgba(255, 120, 120, 0.16);
  color: #cf4343;
}

.amazon-status-pill.changed {
  background: rgba(255, 187, 0, 0.18);
  color: #b97400;
}

.amazon-status-pill.pending {
  background: rgba(95, 168, 255, 0.16);
  color: #286dcb;
}

.amazon-row-actions {
  display: grid;
  gap: 6px;
  align-content: center;
}

.amazon-row-btn {
  min-height: 32px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 152, 0, 0.18);
  background: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 800;
  color: #a25c00;
  cursor: pointer;
  white-space: nowrap;
}

.amazon-row-actions .amazon-row-btn {
  width: 100%;
}

.amazon-row-btn:hover {
  background: #fff7eb;
}

.amazon-row-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.amazon-row-btn--danger {
  color: #c44141;
  border-color: rgba(212, 66, 66, 0.18);
}

/* Compact Amazon Checker tracking list */
.amazon-watch-table-wrap {
  padding: 18px;
}

.amazon-watch-toolbar {
  min-height: 54px;
  margin-bottom: 12px;
  gap: 14px;
}

.amazon-watch-title {
  gap: 3px;
  flex-basis: 200px;
}

.amazon-watch-title strong {
  font-size: 19px;
}

.amazon-watch-title span {
  font-size: 13px;
}

.amazon-search-field input {
  min-height: 38px;
}

.amazon-filter-chip {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.amazon-watch-table {
  gap: 8px;
}

.amazon-watch-head,
.amazon-watch-row {
  grid-template-columns: minmax(310px, 1.8fr) minmax(92px, 0.54fr) minmax(112px, 0.64fr) minmax(126px, 0.72fr) minmax(82px, 0.46fr) minmax(124px, 0.76fr) minmax(78px, 0.42fr);
  gap: 6px;
}

.amazon-watch-head {
  padding: 0 10px 8px;
  font-size: 11px;
}

.amazon-watch-row {
  padding: 10px;
  border-radius: 18px;
}

.amazon-watch-row strong {
  margin-bottom: 3px;
  font-size: 14px;
  line-height: 1.18;
}

.amazon-watch-row span {
  font-size: 12px;
  line-height: 1.35;
}

.amazon-product-cell {
  gap: 10px;
}

.amazon-product-media {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 247, 232, 0.96), rgba(255, 255, 255, 0.96));
}

.amazon-product-media img {
  object-fit: contain;
  padding: 3px;
  background: #ffffff;
}

.amazon-price-cell small,
.amazon-alert-cell small {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.32;
}

.amazon-status-pill {
  min-height: 26px;
  padding: 0 9px;
  font-size: 12px;
}

.amazon-row-actions {
  gap: 5px;
}

.amazon-row-btn {
  min-height: 28px;
  padding: 0 8px;
  font-size: 11px;
}

.amazon-table-footer {
  margin-top: 12px;
  padding-top: 12px;
}

.amazon-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 152, 0, 0.12);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  flex-wrap: wrap;
}

.amazon-pagination-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.amazon-note-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.amazon-note-panel-single {
  grid-template-columns: minmax(0, 1fr);
}

.amazon-note-box {
  padding: 26px;
}

.amazon-note-box-compact {
  padding: 22px 24px;
}

.amazon-note-box h3 {
  margin-bottom: 12px;
}

.amazon-note-box-compact h3 {
  margin: 6px 0 8px;
}

.amazon-note-box-compact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.amazon-note-box ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.amazon-note-box li {
  color: var(--muted);
  line-height: 1.65;
}

.amazon-note-box-accent {
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.98), rgba(255, 239, 206, 0.94));
}

.amazon-package-section {
  padding-top: 30px;
}

.amazon-packages-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.amazon-package-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.amazon-package-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--amazon-border);
  box-shadow: var(--amazon-shadow);
  backdrop-filter: blur(8px);
}

.amazon-package-card.is-featured {
  background:
    radial-gradient(circle at top right, rgba(255, 184, 77, 0.24), transparent 34%),
    rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 152, 0, 0.36);
}

.amazon-package-card--custom {
  background:
    radial-gradient(circle at top right, rgba(95, 168, 255, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.92);
}

.amazon-package-badge {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 152, 0, 0.10);
  color: #b26700;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.amazon-package-card h3 {
  font-size: 24px;
}

.amazon-package-price {
  display: block;
  color: #1c1429;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.amazon-package-card p {
  font-size: 14px;
  line-height: 1.58;
}

.amazon-package-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.amazon-package-card li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.amazon-custom-field {
  display: grid;
  gap: 8px;
}

.amazon-custom-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.amazon-custom-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 152, 0, 0.22);
  border-radius: 16px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-weight: 800;
  outline: none;
}

.amazon-package-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.amazon-package-btn {
  min-height: 44px;
  border: 0;
  border-radius: 16px;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.amazon-package-btn:hover {
  transform: translateY(-2px);
}

.amazon-package-btn--cart {
  color: #2a1909;
  background: #fff4df;
  border: 1px solid rgba(255, 152, 0, 0.20);
}

.amazon-package-btn--buy {
  color: #ffffff;
  background: linear-gradient(135deg, #ffb11c 0%, #ff9800 58%, #ff8600 100%);
  box-shadow: 0 14px 28px rgba(255, 152, 0, 0.22);
}

.amazon-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 30060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.amazon-edit-modal.is-visible {
  display: flex;
}

.amazon-edit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 19, 33, 0.34);
  backdrop-filter: blur(10px);
}

.amazon-edit-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 152, 0, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 248, 238, 0.98));
  box-shadow: 0 30px 80px rgba(42, 25, 9, 0.22);
}

.amazon-edit-card h3 {
  margin: 8px 0 8px;
  font-size: 30px;
  line-height: 1.05;
}

.amazon-edit-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 152, 0, 0.10);
  color: #2a1909;
  font-size: 24px;
  cursor: pointer;
}

.amazon-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.amazon-edit-grid .amazon-form-field:nth-child(1),
.amazon-edit-grid .amazon-form-field:nth-child(2) {
  grid-column: 1 / -1;
}

.amazon-edit-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 152, 0, 0.09);
  color: #81520f;
  font-size: 13px;
  line-height: 1.55;
}

.amazon-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

@media (max-width: 1200px) {

  .amazon-hero-grid,
  .amazon-checker-layout,
  .amazon-list-head,
  .amazon-note-panel,
  .amazon-packages-head {
    grid-template-columns: 1fr;
  }

  .amazon-package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .amazon-watch-toolbar {
    gap: 16px;
  }

  .amazon-watch-controls {
    display: flex;
    justify-content: flex-end;
  }

  .amazon-search-field {
    width: min(300px, 30vw);
  }

  .amazon-watch-filters {
    justify-content: flex-end;
  }

  .amazon-hero-points {
    grid-template-columns: 1fr;
  }

  .amazon-manual-price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .amazon-watch-toolbar {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }

  .amazon-watch-title {
    flex: none;
    text-align: center;
  }

  .amazon-watch-controls {
    display: grid;
    justify-content: stretch;
    justify-items: center;
    gap: 14px;
  }

  .amazon-search-field {
    position: static;
    width: min(360px, 100%);
    transform: none;
    justify-content: center;
  }

  .amazon-watch-filters {
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .amazon-watch-head {
    display: none;
  }

  .amazon-watch-table {
    min-width: 0;
  }

  .amazon-watch-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    padding: 12px;
  }

  .amazon-watch-row > .amazon-product-cell,
  .amazon-watch-row > .amazon-alert-cell,
  .amazon-watch-row > .amazon-row-actions {
    grid-column: 1 / -1;
  }

  .amazon-product-media {
    width: 76px;
    height: 76px;
  }

  .amazon-row-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {

  .amazon-add-card,
  .amazon-usage-card,
  .amazon-manual-card,
  .amazon-watch-table-wrap,
  .amazon-note-box,
  .amazon-status-card {
    padding: 22px;
    border-radius: 24px;
  }

  .amazon-status-grid {
    grid-template-columns: 1fr;
  }

  .amazon-edit-card {
    padding: 22px;
    border-radius: 24px;
  }

  .amazon-edit-grid {
    grid-template-columns: 1fr;
  }

  .amazon-edit-actions {
    flex-direction: column;
  }

  .amazon-edit-actions .btn,
  .amazon-edit-actions .amazon-row-btn {
    width: 100%;
  }

  .amazon-watch-table-wrap {
    padding: 14px;
  }

  .amazon-package-grid {
    grid-template-columns: 1fr;
  }

  .amazon-search-field,
  .amazon-watch-controls,
  .amazon-watch-filters,
  .amazon-pagination-actions {
    width: 100%;
  }

  .amazon-row-actions,
  .amazon-table-footer {
    align-items: stretch;
  }

  .amazon-row-btn,
  .amazon-pagination-actions .amazon-row-btn {
    width: 100%;
  }
}




/* =========================
   EBAY STORE PAGE
========================= */

.ebay-store-page {
  --ebay-red: #e53238;
  --ebay-blue: #0064d2;
  --ebay-yellow: #f5af02;
  --ebay-green: #86b817;
  --ebay-text-soft: #655f79;
  --ebay-border: rgba(0, 100, 210, 0.10);
  --ebay-shadow: 0 24px 52px rgba(0, 100, 210, 0.10);
}

.ebay-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 30px;
  align-items: start;
}

.ebay-hero-copy {
  display: grid;
  gap: 22px;
}

.ebay-hero-copy h1 {
  max-width: 860px;
}

.ebay-eyebrow {
  color: #275fc8;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 100, 210, 0.12);
}

.ebay-eyebrow::before {
  background: linear-gradient(135deg, #e53238, #0064d2);
  box-shadow: 0 0 0 6px rgba(0, 100, 210, 0.08);
}

.ebay-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ebay-mini-point {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--ebay-border);
  box-shadow: var(--ebay-shadow);
}

.ebay-mini-point strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.ebay-mini-point span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.ebay-store-connect-card,
.ebay-panel-card,
.ebay-listing-card,
.ebay-quick-card,
.ebay-store-table-card,
.ebay-note-box {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--ebay-border);
  box-shadow: var(--ebay-shadow);
  border-radius: 32px;
  backdrop-filter: blur(8px);
}

.ebay-store-connect-card {
  padding: 28px;
}

.ebay-mini-label {
  color: var(--ebay-blue);
}

.ebay-store-connect-card h3,
.ebay-panel-card h3,
.ebay-listing-card h3,
.ebay-quick-card h3,
.ebay-store-table-card h3 {
  margin: 6px 0 10px;
}

.ebay-connect-status {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.ebay-connect-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 100, 210, 0.08);
}

.ebay-connect-line span {
  color: var(--muted);
}

.ebay-connect-line strong {
  color: var(--text);
}

.ebay-state-note {
  margin: -4px 0 18px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(0, 100, 210, 0.07);
  border: 1px solid rgba(0, 100, 210, 0.10);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.ebay-store-plan-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(0, 100, 210, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 255, 0.90)),
    linear-gradient(90deg, rgba(229, 50, 56, 0.06), rgba(0, 100, 210, 0.06), rgba(134, 184, 23, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.ebay-store-plan-card.is-attention {
  animation: ebayPlanAttention 1.15s ease;
}

@keyframes ebayPlanAttention {
  0%,
  100% {
    transform: translateX(0);
    border-color: rgba(0, 100, 210, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  18%,
  54% {
    transform: translateX(-7px);
  }

  36%,
  72% {
    transform: translateX(7px);
  }

  45% {
    border-color: rgba(229, 50, 56, 0.38);
    box-shadow: 0 24px 60px rgba(0, 100, 210, 0.18);
  }
}

.ebay-store-plan-card h4 {
  margin: 6px 0 8px;
  font-size: 20px;
}

.ebay-store-plan-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.ebay-store-plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ebay-store-plan-price strong {
  color: #1f2555;
  font-size: 30px;
  line-height: 1;
}

.ebay-store-plan-price span {
  color: var(--muted);
  font-weight: 800;
}

.ebay-store-plan-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ebay-plan-btn {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ebay-plan-btn:hover {
  transform: translateY(-2px);
}

.ebay-plan-btn--cart {
  color: #1f2555;
  background: #ffffff;
  border: 1px solid rgba(0, 100, 210, 0.14);
  box-shadow: 0 10px 22px rgba(0, 100, 210, 0.08);
}

.ebay-plan-btn--buy {
  color: #ffffff;
  background: linear-gradient(135deg, #e53238 0%, #0064d2 58%, #86b817 100%);
  box-shadow: 0 14px 30px rgba(0, 100, 210, 0.18);
}

.ebay-connect-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.ebay-btn-primary,
.ebay-btn-light,
.ebay-btn-dark {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.ebay-btn-primary:hover,
.ebay-btn-light:hover,
.ebay-btn-dark:hover {
  transform: translateY(-2px);
}

.ebay-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #e53238 0%, #0064d2 55%, #86b817 100%);
  box-shadow: 0 16px 34px rgba(0, 100, 210, 0.18);
}

.ebay-btn-light {
  color: #1f2555;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 100, 210, 0.14);
  box-shadow: 0 10px 22px rgba(0, 100, 210, 0.06);
}

.ebay-btn-dark {
  color: #fff;
  background: #171321;
  box-shadow: 0 12px 24px rgba(23, 19, 33, 0.14);
}

.ebay-dashboard-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.ebay-panel-card {
  padding: 26px;
}

.ebay-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.ebay-stat-box {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.98), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(0, 100, 210, 0.10);
}

.ebay-stat-box small {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

.ebay-stat-box strong {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.ebay-auto-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.ebay-auto-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 100, 210, 0.08);
}

.ebay-auto-row span {
  color: var(--muted);
}

.ebay-auto-row strong {
  color: var(--text);
}

.ebay-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 24px;
  margin-bottom: 24px;
}

.ebay-listing-card {
  padding: 28px;
}

.ebay-card-head {
  margin-bottom: 18px;
}

.ebay-draft-list {
  display: grid;
  gap: 14px;
}

.ebay-draft-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.94));
  border: 1px solid rgba(0, 100, 210, 0.10);
}

.ebay-draft-main strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.ebay-draft-main span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.ebay-draft-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ebay-pill {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
}

.ebay-pill.blue {
  background: rgba(0, 100, 210, 0.10);
  color: #0064d2;
}

.ebay-pill.orange {
  background: rgba(245, 175, 2, 0.14);
  color: #b77b00;
}

.ebay-pill.green {
  background: rgba(134, 184, 23, 0.16);
  color: #5f8610;
}

.ebay-pill.yellow {
  background: rgba(255, 216, 84, 0.20);
  color: #936d00;
}

.ebay-draft-actions,
.ebay-row-actions,
.ebay-quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ebay-listing-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ebay-listing-thumb {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(123, 97, 255, 0.12);
  background: rgba(245, 241, 255, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.ebay-listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ebay-row-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 100, 210, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: #2344a2;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ebay-row-btn:hover {
  background: #f5f9ff;
}

.ebay-row-btn--primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0064d2, #3a85e0);
}

.ebay-row-btn--danger {
  color: #d03c4d;
  border-color: rgba(208, 60, 77, 0.16);
}

.ebay-side-column {
  display: grid;
  gap: 24px;
}

.ebay-quick-card {
  padding: 26px;
}

.ebay-quick-actions {
  margin-top: 16px;
  flex-direction: column;
}

.ebay-quick-actions .btn {
  width: 100%;
}

.ebay-alert-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.ebay-alert-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(0, 100, 210, 0.06);
}

.ebay-alert-item strong {
  display: block;
  margin-bottom: 6px;
}

.ebay-alert-item span {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.ebay-store-table-card {
  padding: 28px;
}

.ebay-table {
  display: grid;
  gap: 10px;
}

.ebay-listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(246, 249, 255, 0.86);
  border: 1px solid rgba(0, 100, 210, 0.10);
}

.ebay-listing-toolbar > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ebay-listing-toolbar > span {
  color: var(--muted);
  font-size: 14px;
}

.ebay-listing-state {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.ebay-listing-state.is-loading,
.ebay-listing-state.is-muted {
  background: rgba(0, 100, 210, 0.10);
  color: #0064d2;
}

.ebay-listing-state.is-success {
  background: rgba(19, 170, 110, 0.14);
  color: #078756;
}

.ebay-listing-state.is-error {
  background: rgba(229, 50, 56, 0.12);
  color: #d2343b;
}

.ebay-table-head,
.ebay-table-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.55fr) minmax(130px, 0.8fr) minmax(90px, 0.58fr) minmax(70px, 0.42fr) minmax(90px, 0.55fr) minmax(220px, 1fr);
  gap: 14px;
  align-items: center;
}

.ebay-table-head {
  padding: 0 12px 10px;
  border-bottom: 1px solid rgba(0, 100, 210, 0.10);
  color: var(--ebay-blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ebay-table-row {
  padding: 18px 12px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.94));
  border: 1px solid rgba(0, 100, 210, 0.10);
}

.ebay-table-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.ebay-table-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ebay-table-state {
  padding: 26px;
  border-radius: 22px;
  border: 1px dashed rgba(0, 100, 210, 0.18);
  background: rgba(246, 249, 255, 0.82);
}

.ebay-table-state strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.ebay-table-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.ebay-table-state--error {
  border-color: rgba(229, 50, 56, 0.24);
  background: rgba(229, 50, 56, 0.07);
}

.ebay-listing-meta {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ebay-sync-pill {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.ebay-sync-pill.ok {
  background: rgba(134, 184, 23, 0.16);
  color: #5a7e12;
}

.ebay-sync-pill.warn {
  background: rgba(245, 175, 2, 0.16);
  color: #ac7400;
}

.ebay-sync-pill.live {
  background: rgba(0, 100, 210, 0.12);
  color: #0064d2;
}

.ebay-sync-pill.draft {
  background: rgba(229, 50, 56, 0.12);
  color: #d2343b;
}

.ebay-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.ebay-note-box {
  padding: 26px;
}

.ebay-note-box h3 {
  margin-bottom: 12px;
}

.ebay-note-box ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.ebay-note-box li {
  color: var(--muted);
  line-height: 1.65;
}

.ebay-note-box-accent {
  background: linear-gradient(180deg, rgba(246, 249, 255, 0.98), rgba(236, 244, 255, 0.94));
}

@media (max-width: 1200px) {

  .ebay-hero-grid,
  .ebay-dashboard-top,
  .ebay-main-grid,
  .ebay-note-grid,
  .ebay-hero-points {
    grid-template-columns: 1fr;
  }

  .ebay-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .ebay-table-head {
    display: none;
  }

  .ebay-table-row,
  .ebay-draft-row {
    grid-template-columns: 1fr;
  }

  .ebay-table-row > div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    align-items: start;
  }

  .ebay-table-row > div::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .ebay-table-row > div:first-child,
  .ebay-table-row > .ebay-row-actions {
    display: block;
  }

  .ebay-table-row > div:first-child::before,
  .ebay-table-row > .ebay-row-actions::before {
    content: none;
  }
}

@media (max-width: 760px) {

  .ebay-store-connect-card,
  .ebay-panel-card,
  .ebay-listing-card,
  .ebay-quick-card,
  .ebay-store-table-card,
  .ebay-note-box {
    padding: 22px;
    border-radius: 24px;
  }

  .ebay-stat-grid {
    grid-template-columns: 1fr;
  }

  .ebay-connect-actions {
    flex-direction: column;
  }

  .ebay-listing-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .ebay-store-plan-actions {
    grid-template-columns: 1fr;
  }

  .ebay-connect-actions .btn,
  .ebay-plan-btn {
    width: 100%;
  }
}





/* =========================
   AUTH STATE IN HEADER
========================= */
.header-right-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.account-menu {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.balance-chip,
.account-chip,
.logout-chip {
  position: relative;
  min-height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid rgba(123, 97, 255, 0.12);
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow-soft);
}

.balance-chip span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.balance-chip strong {
  font-size: 16px;
  color: #0f8b5f;
  font-weight: 800;
}

.balance-chip {
  position: relative;
}

.research-balance-pop {
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  z-index: 40;
  min-width: 58px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b42318;
  background: linear-gradient(135deg, #fff1f0, #ffe4df);
  border: 1px solid rgba(214, 66, 66, 0.22);
  box-shadow: 0 14px 28px rgba(180, 35, 24, 0.14);
  font-size: 13px;
  font-weight: 900;
  transform: translate(-50%, 0);
  animation: researchBalancePop 2.6s ease forwards;
  pointer-events: none;
}

@keyframes researchBalancePop {
  0% {
    opacity: 0;
    transform: translate(-50%, -8px) scale(0.92);
  }

  16%,
  68% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -18px) scale(0.96);
  }
}

.account-chip {
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease;
}

.account-chip:hover {
  transform: translateY(-2px);
}

.account-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7b61ff, #5fa8ff);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex: 0 0 auto;
}

.account-name {
  font-weight: 700;
  font-size: 14px;
}

.logout-chip {
  cursor: pointer;
  color: #c44141;
  font-weight: 800;
  font-size: 14px;
  background: rgba(255,255,255,0.9);
  transition: transform 0.2s ease, background 0.2s ease;
}

.logout-chip:hover {
  transform: translateY(-2px);
  background: #fff;
}

.auth-user-only {
  display: none;
}

body.is-authenticated .auth-user-only {
  display: inline-flex !important;
}

body.is-authenticated .auth-guest-only {
  display: none !important;
}

@media (max-width: 960px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
  }

  .header-right-controls {
    width: 100%;
    justify-content: flex-start;
  }
}


/* =========================
   ACCOUNT PAGE
========================= */

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: end;
}

.account-hero-balance {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(123, 97, 255, 0.10);
  box-shadow: var(--shadow);
}

.account-hero-balance span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 700;
}

.account-hero-balance strong {
  display: block;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  color: #0f8b5f;
  margin-bottom: 10px;
  letter-spacing: -0.05em;
}

.account-hero-balance small {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.account-card,
.account-plan-current,
.account-plan-card,
.account-history-card {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(123, 97, 255, 0.10);
  box-shadow: var(--shadow-soft);
}

.account-card h3,
.account-plan-current h3,
.account-history-card h3 {
  margin: 6px 0 14px;
}

.account-card-text {
  margin-bottom: 18px;
}

.payment-pending-notice {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 186, 73, 0.24);
  background: rgba(255, 186, 73, 0.13);
  color: #8a5a00;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.55;
}

.payment-consent-box {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  font-weight: 850;
  line-height: 1.45;
  cursor: pointer;
}

.payment-consent-box input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.payment-consent-box small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 750;
}

.payment-consent-box a {
  color: var(--primary);
  font-weight: 900;
}

.account-card--ebay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr) auto;
  gap: 18px;
  align-items: center;
}

.account-ebay-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-ebay-status-grid span {
  display: grid;
  gap: 6px;
  min-height: 64px;
  padding: 12px;
  border: 1px solid rgba(123, 97, 255, 0.10);
  border-radius: 18px;
  background: rgba(245, 248, 255, 0.86);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-ebay-status-grid strong {
  color: var(--text);
  font-size: 15px;
  text-transform: none;
}

.account-info-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.account-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(95, 74, 186, 0.08);
}

.account-info-row span {
  color: var(--muted);
  font-weight: 500;
}

.account-info-row strong {
  color: var(--text);
}

.account-profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.topup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.topup-chip {
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.topup-chip:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(123, 97, 255, 0.22);
}

.topup-chip:disabled,
.topup-chip.is-disabled {
  cursor: not-allowed;
  opacity: 0.46;
  transform: none;
  box-shadow: none;
}

.custom-topup-box {
  margin-top: 10px;
}

.custom-topup-box label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--text);
}

.custom-topup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.custom-topup-row input {
  min-height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  padding: 0 16px;
  background: rgba(255,255,255,0.88);
  outline: none;
}

.custom-topup-row input.is-invalid {
  border-color: rgba(196, 65, 65, 0.42);
  background: rgba(255, 245, 245, 0.94);
  box-shadow: 0 0 0 4px rgba(196, 65, 65, 0.08);
}

.account-balance-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.account-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.account-plan-current {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.current-plan-head {
  display: grid;
  gap: 6px;
}

.current-plan-badge {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 139, 95, 0.12);
  border: 1px solid rgba(18, 139, 95, 0.22);
  color: #0f8b5f;
  font-size: 13px;
  font-weight: 900;
}

.current-plan-badge--active {
  background: linear-gradient(135deg, #0f8b5f, #18b57b);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: 0 12px 24px rgba(18, 139, 95, 0.22);
}

.current-plan-list {
  display: grid;
  gap: 12px;
}

.current-plan-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.current-plan-item-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.current-plan-item-main > strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.current-plan-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.current-plan-dates span {
  display: grid;
  gap: 4px;
  min-height: 54px;
  padding: 9px 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.current-plan-dates b {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.current-plan-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
  align-self: stretch;
  min-height: 38px;
  padding-top: 2px;
}

.current-plan-actions .current-plan-badge,
.current-plan-actions .current-plan-deactivate {
  flex: 0 0 auto;
  min-width: 96px;
  min-height: 38px;
}

.current-plan-deactivate {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #e5484d, #c44141);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(196, 65, 65, 0.24);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.current-plan-deactivate:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.current-plan-empty {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: #fff;
}

.current-plan-empty span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.account-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.account-plan-card h3 {
  margin: 16px 0 10px;
}

.account-plan-card strong {
  display: block;
  font-size: 28px;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.account-plan-card p {
  margin-bottom: 18px;
}

.account-plan-card.featured {
  background: linear-gradient(180deg, rgba(247,243,255,0.98), rgba(237,245,255,0.96));
  border-color: rgba(123, 97, 255, 0.16);
}

.account-page .account-plan-card--checker.featured {
  background: linear-gradient(145deg, #231b4d 0%, #5547d7 54%, #5fa8ff 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 44px rgba(63, 65, 180, 0.24);
}

.account-page .account-plan-card--checker h3,
.account-page .account-plan-card--checker p,
.account-page .account-plan-card--checker strong,
.account-page .account-plan-card--checker .plan-small-tag {
  color: #fff;
}

.account-page .account-plan-card--checker p {
  opacity: 0.88;
}

.account-page .account-plan-card--checker .plan-small-tag {
  background: rgba(255, 255, 255, 0.16);
}

.plan-small-tag {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(123,97,255,0.10);
  color: #6a56d8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.account-history-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.account-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(95, 74, 186, 0.08);
}

.account-history-row span {
  color: var(--muted);
}

.account-history-row strong {
  color: var(--text);
  font-size: 15px;
}

@media (max-width: 1100px) {
  .account-hero,
  .account-grid,
  .account-section-head,
  .account-plans-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .account-card,
  .account-plan-current,
  .account-plan-card,
  .account-history-card,
  .account-hero-balance {
    padding: 22px;
    border-radius: 24px;
  }

  .custom-topup-row {
    grid-template-columns: 1fr;
  }

  .topup-grid {
    grid-template-columns: 1fr;
  }

  .account-plan-current {
    flex-direction: column;
    align-items: flex-start;
  }

  .current-plan-item {
    grid-template-columns: 1fr;
  }

  .current-plan-dates {
    grid-template-columns: 1fr;
  }

  .current-plan-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .account-profile-actions {
    flex-direction: column;
  }

  .account-profile-actions .btn {
    width: 100%;
  }
}




/* =========================
   PRODUCT RESEARCH PAGE
========================= */

.product-research-page {
  --research-primary: #7b61ff;
  --research-primary-2: #5fa8ff;
  --research-accent: #8be3d0;
  --research-surface: rgba(255,255,255,0.86);
  --research-border: rgba(123, 97, 255, 0.12);
}

.research-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: start;
}

.research-hero-copy {
  display: grid;
  gap: 22px;
}

.research-hero-copy h1 {
  max-width: 860px;
}

.research-eyebrow {
  color: #6753d6;
  background: rgba(255,255,255,0.86);
  border-color: rgba(123, 97, 255, 0.12);
}

.research-eyebrow::before {
  background: linear-gradient(135deg, #7b61ff, #5fa8ff);
}

.research-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.research-mini-point {
  padding: 18px;
  border-radius: 24px;
  background: var(--research-surface);
  border: 1px solid var(--research-border);
  box-shadow: var(--shadow-soft);
}

.research-mini-point strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.research-mini-point span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.research-status-card,
.research-form-card,
.research-guide-card,
.research-mode-card,
.research-summary-card,
.research-credit-card,
.research-result-card,
.research-decision-card,
.research-cta-card {
  background: var(--research-surface);
  border: 1px solid var(--research-border);
  box-shadow: var(--shadow-soft);
  border-radius: 32px;
  backdrop-filter: blur(8px);
}

.research-status-card,
.research-form-card,
.research-guide-card,
.research-mode-card,
.research-summary-card,
.research-credit-card,
.research-result-card,
.research-decision-card,
.research-cta-card {
  padding: 28px;
}

.research-mini-label {
  color: #6753d6;
}

.research-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.research-stat-box {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(245,241,255,0.98), rgba(237,246,255,0.94));
  border: 1px solid rgba(123, 97, 255, 0.10);
}

.research-stat-box small {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

.research-stat-box strong {
  font-size: 26px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.research-status-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(123, 97, 255, 0.06);
  color: #5f4dc6;
  line-height: 1.65;
  font-size: 14px;
}

.research-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 24px;
  align-items: start;
}

.research-card-head {
  margin-bottom: 20px;
}

.research-card-head h3 {
  margin: 6px 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.03;
}

.research-form {
  display: grid;
  gap: 18px;
}

.research-card-head--compact {
  margin-bottom: 14px;
}

.research-card-head--compact h4 {
  margin: 6px 0 8px;
  font-size: 22px;
  line-height: 1.15;
}

.research-ebay-active-card {
  margin-top: 20px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 252, 255, 0.9)),
    radial-gradient(circle at 90% 0%, rgba(46, 166, 255, 0.14), transparent 34%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.research-ebay-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.research-ebay-search-row input {
  min-height: 52px;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
  padding: 0 16px;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.research-ebay-warning {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  color: #6b4b04;
  background: rgba(255, 193, 7, 0.13);
  border: 1px solid rgba(255, 193, 7, 0.2);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.research-ebay-results {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.research-ebay-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.research-ebay-stats span {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 14px;
  display: grid;
  align-content: center;
  gap: 2px;
  color: #433a73;
  background: rgba(123, 97, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.research-ebay-stats strong {
  color: #17122f;
  font-size: 15px;
}

.research-ebay-result {
  min-height: 62px;
  padding: 10px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 90px 112px;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(123, 97, 255, 0.1);
  background: rgba(255, 255, 255, 0.82);
}

.research-ebay-result span {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(245, 241, 255, 0.78);
  overflow: hidden;
}

.research-ebay-result img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.research-ebay-result strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #17122f;
  font-size: 14px;
}

.research-ebay-result em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.research-ebay-result b {
  color: #078766;
  font-size: 14px;
  text-align: right;
}

.research-saved-products-action {
  min-height: 92px;
  padding: 18px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(123, 97, 255, 0.12);
  background: linear-gradient(135deg, rgba(245, 241, 255, 0.78), rgba(237, 250, 255, 0.72));
}

.research-saved-products-action .btn {
  min-width: min(100%, 260px);
  justify-content: center;
}

.research-row {
  display: grid;
  gap: 16px;
}

.research-row-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.research-row-1 {
  grid-template-columns: 1fr;
}

.research-field {
  display: grid;
  gap: 10px;
}

.research-field label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.research-field input,
.research-field select,
.research-field textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,241,255,0.94));
  padding: 14px 16px;
  outline: none;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.research-field input,
.research-field select {
  min-height: 56px;
}

.research-field textarea {
  resize: vertical;
  min-height: 120px;
}

.research-mode-hint {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  color: #5e5684;
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.08), rgba(20, 167, 117, 0.08));
  border: 1px solid rgba(123, 97, 255, 0.10);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.research-price-range-card {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 252, 255, 0.88)),
    radial-gradient(circle at 12% 18%, rgba(139, 227, 208, 0.28), transparent 34%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.research-price-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.research-price-head h4 {
  margin: 6px 0 0;
  font-size: 20px;
}

.research-price-head > strong {
  min-width: 118px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #2f2962;
  background: #fff;
  border: 1px solid rgba(123, 97, 255, 0.12);
  box-shadow: 0 12px 28px rgba(48, 43, 89, 0.08);
}

.research-range-slider {
  position: relative;
  min-height: 118px;
  padding: 44px 0 34px;
}

.research-range-track,
.research-range-fill {
  position: absolute;
  top: 58px;
  height: 8px;
  border-radius: 999px;
}

.research-range-track {
  left: 0;
  right: 0;
  background: linear-gradient(90deg, rgba(214, 66, 66, 0.18), rgba(20, 167, 117, 0.18), rgba(95, 168, 255, 0.18));
  border: 1px solid rgba(123, 97, 255, 0.10);
}

.research-range-fill {
  left: 0;
  width: 18%;
  background: linear-gradient(135deg, #27c28a, #5fa8ff);
  box-shadow: 0 8px 18px rgba(39, 194, 138, 0.24);
}

.research-range-slider input[type="range"] {
  position: absolute;
  left: 0;
  top: 46px;
  z-index: 3;
  width: 100%;
  height: 32px;
  margin: 0;
  appearance: none;
  background: transparent;
  pointer-events: none;
}

.research-range-slider input[type="range"]::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  appearance: none;
  cursor: grab;
  pointer-events: auto;
  border: 3px solid #ffffff;
  background: linear-gradient(135deg, #7b61ff, #27c28a);
  box-shadow: 0 12px 24px rgba(54, 43, 116, 0.22);
}

.research-range-slider input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: grab;
  pointer-events: auto;
  border: 3px solid #ffffff;
  background: linear-gradient(135deg, #7b61ff, #27c28a);
  box-shadow: 0 12px 24px rgba(54, 43, 116, 0.22);
}

.research-range-label {
  position: absolute;
  top: 80px;
  z-index: 2;
  min-width: 62px;
  padding: 6px 8px;
  border-radius: 14px;
  transform: translateX(-50%);
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(123, 97, 255, 0.10);
  box-shadow: 0 10px 24px rgba(48, 43, 89, 0.08);
  pointer-events: none;
}

.research-range-label strong,
.research-range-label span {
  display: block;
  line-height: 1.1;
}

.research-range-label strong {
  font-size: 17px;
  color: #1f1a3d;
}

.research-range-label span {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 800;
  color: #0f8b5f;
  text-transform: uppercase;
}

.research-range-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.research-field input:focus,
.research-field select:focus,
.research-field textarea:focus {
  border-color: rgba(123, 97, 255, 0.34);
  box-shadow: 0 0 0 4px rgba(123, 97, 255, 0.08);
  background: #fff;
}

.research-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.research-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #7b61ff 0%, #5fa8ff 100%);
  box-shadow: 0 14px 32px rgba(103, 92, 233, 0.26);
}

.research-btn-primary:hover {
  transform: translateY(-2px);
}

.research-side-column {
  display: grid;
  gap: 24px;
}

.research-guide-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.research-guide-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(123, 97, 255, 0.08);
}

.research-guide-row strong {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(123,97,255,0.16), rgba(95,168,255,0.12));
  color: #5f48ca;
  font-size: 13px;
  flex: 0 0 auto;
}

.research-guide-row h4 {
  margin-bottom: 6px;
}

.research-guide-row p {
  font-size: 14px;
}

.research-mode-card h3 {
  margin: 6px 0 18px;
  font-size: 24px;
  line-height: 1.15;
}

.research-mode-prices {
  display: grid;
  gap: 12px;
}

.research-mode-price {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(123, 97, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(241, 249, 255, 0.78));
  box-shadow: 0 14px 32px rgba(48, 43, 89, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.research-mode-price span {
  font-size: 15px;
  font-weight: 900;
  color: #201a3a;
}

.research-mode-price strong {
  min-width: 58px;
  min-height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f8b5f;
  background: rgba(20, 167, 117, 0.12);
  font-size: 15px;
}

.research-mode-price small {
  grid-column: 1 / -1;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 700;
}

.research-mode-price.is-active {
  transform: translateY(-1px);
  border-color: rgba(123, 97, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(123, 97, 255, 0.14), rgba(139, 227, 208, 0.18)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(103, 92, 233, 0.16);
}

.research-mode-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 18px;
  color: #5f4dc6;
  background: rgba(123, 97, 255, 0.08);
  border: 1px solid rgba(123, 97, 255, 0.10);
  line-height: 1.55;
  font-size: 14px;
  font-weight: 800;
}

.research-summary-boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 14px;
}

.research-summary-box {
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(245,241,255,0.98), rgba(237,246,255,0.94));
  border: 1px solid rgba(123, 97, 255, 0.10);
}

.research-summary-box small {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

.research-summary-box strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.research-summary-text {
  margin-top: 8px;
}

.research-credit-card h3 {
  margin: 6px 0 18px;
}

.research-credit-card.is-attention {
  animation: researchCreditAttention 1.15s ease;
}

@keyframes researchCreditAttention {
  0%,
  100% {
    transform: translateX(0);
    border-color: rgba(123, 97, 255, 0.12);
    box-shadow: var(--shadow-soft);
  }

  18%,
  54% {
    transform: translateX(-7px);
  }

  36%,
  72% {
    transform: translateX(7px);
  }

  45% {
    border-color: rgba(20, 167, 117, 0.42);
    box-shadow: 0 24px 60px rgba(20, 167, 117, 0.18);
  }
}

.research-credit-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.research-credit-plan {
  position: relative;
  min-height: 104px;
  padding: 14px 10px;
  border: 1px solid rgba(123, 97, 255, 0.12);
  border-radius: 22px;
  display: grid;
  align-content: center;
  gap: 6px;
  color: #201a3a;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(48, 43, 89, 0.08);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.research-credit-plan:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 97, 255, 0.26);
  box-shadow: 0 18px 42px rgba(48, 43, 89, 0.12);
}

.research-credit-plan small,
.research-credit-plan span,
.research-credit-plan strong {
  display: block;
}

.research-credit-plan small {
  color: #0f8b5f;
  font-size: 11px;
  font-weight: 900;
}

.research-credit-plan span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.research-credit-plan strong {
  font-size: 22px;
  color: #1f1a3d;
}

.research-credit-plan.is-featured {
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.12), rgba(139, 227, 208, 0.18));
  border-color: rgba(123, 97, 255, 0.28);
}

.research-custom-credit {
  margin-top: 14px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 126, 111, 0.12);
}

.research-custom-credit label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 800;
}

.research-custom-credit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.research-custom-credit-row input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(123, 97, 255, 0.12);
  border-radius: 16px;
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
  color: var(--text);
  background: #fff;
}

.research-custom-credit-row strong {
  min-width: 92px;
  min-height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f8b5f;
  background: rgba(20, 167, 117, 0.10);
}

.research-custom-credit p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.research-custom-credit-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.research-results-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.research-results-list-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(245, 252, 255, 0.62)),
    linear-gradient(90deg, rgba(123, 97, 255, 0.04), rgba(20, 167, 117, 0.04));
}

.research-results-list {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(123, 97, 255, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
}

.research-results-placeholder {
  min-height: 74px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.research-loader-panel {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  background:
    radial-gradient(circle at 12% 30%, rgba(123, 97, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.92));
  box-shadow: 0 14px 34px rgba(48, 43, 89, 0.08);
}

.research-loader-panel strong {
  display: block;
  color: #201a42;
  font-size: 17px;
}

.research-loader-panel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.research-catalog-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.research-catalog-status span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #504987;
  background: rgba(123, 97, 255, 0.08);
  border: 1px solid rgba(123, 97, 255, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.research-catalog-status strong {
  color: #201a42;
  font-size: 12px;
}

.research-catalog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.research-btn-small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
}

.research-catalog-actions small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.research-ai-orb {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 9%, transparent 10%),
    conic-gradient(from 90deg, #7b61ff, #14a775, #54b6ff, #7b61ff);
  box-shadow: 0 12px 26px rgba(123, 97, 255, 0.26);
  animation: researchOrbSpin 3.4s linear infinite, researchOrbPulse 1.6s ease-in-out infinite;
}

.research-ai-orb::before,
.research-ai-orb::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(123, 97, 255, 0.35);
  animation: researchOrbHalo 1.8s ease-out infinite;
}

.research-ai-orb::after {
  animation-delay: 0.9s;
}

@keyframes researchOrbSpin {
  to { transform: rotate(360deg); }
}

@keyframes researchOrbHalo {
  0% { transform: scale(0.82); opacity: 0.75; }
  100% { transform: scale(1.7); opacity: 0; }
}

.research-candidate-card {
  animation: researchCardIn 0.28s ease both;
}

.research-candidate-skeleton {
  pointer-events: none;
  overflow: hidden;
}

.research-candidate-skeleton .research-candidate-media,
.research-candidate-skeleton span,
.research-candidate-skeleton strong,
.research-candidate-skeleton i,
.research-candidate-skeleton p {
  position: relative;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(123, 97, 255, 0.08), rgba(84, 182, 255, 0.18), rgba(123, 97, 255, 0.08));
  background-size: 220% 100%;
  animation: researchSkeleton 1.15s ease-in-out infinite;
}

.research-candidate-skeleton .research-candidate-media {
  border-radius: 20px;
}

.research-candidate-skeleton span {
  width: 120px;
  height: 14px;
}

.research-candidate-skeleton strong {
  width: 76%;
  height: 22px;
}

.research-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 10px;
}

.research-candidate-skeleton i {
  height: 48px;
}

.research-candidate-skeleton p {
  width: 88%;
  height: 16px;
}

@keyframes researchOrbPulse {
  0%, 100% {
    filter: saturate(1) brightness(1);
  }
  50% {
    filter: saturate(1.3) brightness(1.08);
  }
}

@keyframes researchSkeleton {
  0% { background-position: 0% 50%; }
  100% { background-position: -200% 50%; }
}

@keyframes researchCardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.research-results-warning {
  padding: 14px 16px;
  border-radius: 18px;
  color: #6b4b04;
  background: rgba(255, 193, 7, 0.14);
  border: 1px solid rgba(255, 193, 7, 0.2);
  font-weight: 800;
  line-height: 1.5;
}

.research-results-warning-partial {
  color: #4d3b00;
  background: rgba(255, 214, 102, 0.18);
}

.research-candidate-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(123, 97, 255, 0.12);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,252,255,0.92));
  box-shadow: 0 12px 30px rgba(48, 43, 89, 0.06);
}

.research-candidate-media {
  min-height: 150px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(245, 241, 255, 0.84);
  border: 1px solid rgba(123, 97, 255, 0.1);
}

.research-candidate-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.research-candidate-media span {
  color: #5f4dc6;
  font-weight: 900;
}

.research-preview-card {
  position: relative;
}

.research-preview-placeholder {
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.86), transparent 22%),
    linear-gradient(135deg, rgba(123, 97, 255, 0.14), rgba(20, 167, 117, 0.12));
}

.research-preview-placeholder .research-preview-lock {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #241b56;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(123, 97, 255, 0.16);
  box-shadow: 0 14px 32px rgba(48, 43, 89, 0.12);
  position: relative;
}

.research-preview-placeholder .research-preview-lock::before {
  content: "";
  width: 22px;
  height: 18px;
  border-radius: 7px;
  border: 3px solid #5f4dc6;
  border-top: 0;
  display: block;
  transform: translateY(6px);
}

.research-preview-placeholder .research-preview-lock::after {
  content: "";
  width: 24px;
  height: 21px;
  border: 3px solid #5f4dc6;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
}

.research-lock-badge {
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  color: #5e5684;
  background: rgba(123, 97, 255, 0.08);
  border: 1px solid rgba(123, 97, 255, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.research-candidate-body {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.research-candidate-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.research-candidate-head h3 {
  margin: 5px 0 0;
  font-size: 20px;
  line-height: 1.25;
}

.research-candidate-head > strong {
  min-width: 72px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #5f4dc6, #2f8dff);
  font-size: 14px;
  font-weight: 700;
}

.research-candidate-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.research-candidate-metrics span {
  padding: 10px 12px;
  border-radius: 14px;
  display: grid;
  gap: 3px;
  color: #5e5684;
  background: rgba(123, 97, 255, 0.07);
  font-size: 12px;
  font-weight: 800;
}

.research-candidate-metrics strong {
  color: #17122f;
  font-size: 15px;
}

.research-candidate-reason {
  margin: 0;
  color: #5e5684;
  line-height: 1.6;
  font-weight: 700;
}

.research-candidate-details {
  border-radius: 16px;
  background: rgba(245, 241, 255, 0.62);
  border: 1px solid rgba(123, 97, 255, 0.1);
  padding: 10px 12px;
}

.research-candidate-details summary {
  cursor: pointer;
  font-weight: 900;
  color: #2f2962;
}

.research-candidate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.research-candidate-source-note {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  background: rgba(123, 97, 255, 0.07);
  color: #5e5684;
  font-size: 13px;
  font-weight: 900;
}

.research-result-row-premium {
  min-width: 1280px;
  display: grid;
  grid-template-columns: 42px minmax(240px, 1fr) 76px 152px 142px 142px 120px 128px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(123, 97, 255, 0.10);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 255, 0.92)),
    radial-gradient(circle at 8% 50%, rgba(123, 97, 255, 0.10), transparent 34%);
  box-shadow: 0 12px 30px rgba(48, 43, 89, 0.06);
}

.research-result-row-premium.is-muted {
  opacity: 0.72;
}

.research-result-rank {
  font-size: 18px;
  font-weight: 900;
  color: #1f1a3d;
}

.research-result-mask {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(123, 97, 255, 0.10);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #2f2962;
  font-size: 15px;
  font-weight: 900;
  background: rgba(245, 241, 255, 0.72);
}

button.research-result-mask {
  cursor: pointer;
}

.research-eye {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 8px 18px rgba(48, 43, 89, 0.10);
}

.research-result-pill {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(123, 97, 255, 0.08);
  color: #1f1a3d;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.research-pill-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.research-result-pill strong {
  font-size: 13px;
  color: inherit;
  flex: 0 0 auto;
}

.research-result-cost {
  color: #082f49;
  background: linear-gradient(135deg, #61d1ff, #2f8dff);
}

.research-result-category {
  color: #2f2a3a;
  background: linear-gradient(135deg, rgba(148, 151, 164, 0.28), rgba(225, 229, 236, 0.88));
}

.research-result-amazon {
  color: #562604;
  background: linear-gradient(135deg, #ffbc6b, #ff884d);
}

.research-result-ebay {
  color: #063553;
  background: linear-gradient(135deg, #64cfff, #35a9ed);
}

.research-result-margin-chip {
  color: #1f3b08;
  background: linear-gradient(135deg, #d7ff72, #a7f05a);
}

.research-result-net {
  color: #063d25;
  background: linear-gradient(135deg, #21d38b, #00be78);
}

.research-result-price,
.research-result-margin {
  min-height: 52px;
  padding: 8px 12px;
  border-radius: 16px;
  display: grid;
  align-content: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(123, 97, 255, 0.08);
}

.research-result-price span,
.research-result-margin span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.research-result-price strong,
.research-result-margin strong {
  color: #2f2962;
  font-size: 17px;
  font-weight: 900;
}

.research-result-margin strong {
  color: #0f8b5f;
}

.research-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.research-result-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.research-result-tag {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(123,97,255,0.10);
  color: #6a56d8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.research-score {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  flex: 0 0 auto;
}

.research-score.good {
  background: rgba(12, 155, 99, 0.14);
  color: #0c9b63;
}

.research-score.medium {
  background: rgba(255, 178, 27, 0.16);
  color: #b97a00;
}

.research-score.low {
  background: rgba(214, 66, 66, 0.14);
  color: #d64242;
}

.research-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.research-metrics div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(123, 97, 255, 0.08);
}

.research-metrics span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.research-metrics strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.research-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.research-badge {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
}

.research-badge.green {
  background: rgba(12, 155, 99, 0.14);
  color: #0c9b63;
}

.research-badge.blue {
  background: rgba(95, 168, 255, 0.16);
  color: #2d76da;
}

.research-badge.yellow {
  background: rgba(255, 196, 51, 0.18);
  color: #ab7900;
}

.research-badge.orange {
  background: rgba(255, 141, 56, 0.18);
  color: #c86414;
}

.research-badge.red {
  background: rgba(214, 66, 66, 0.14);
  color: #d64242;
}

.research-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.research-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 24px;
}

.research-decision-list {
  margin: 16px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.research-decision-list li {
  color: var(--muted);
  line-height: 1.65;
}

.research-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

@media (max-width: 1200px) {
  .research-hero-grid,
  .research-main-grid,
  .research-results-head,
  .research-bottom-grid,
  .research-results-grid,
  .research-hero-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .research-row-2,
  .research-summary-boxes,
  .research-metrics,
  .research-status-grid,
  .research-ebay-search-row,
  .research-ebay-stats,
  .research-ebay-result,
  .research-candidate-card,
  .research-candidate-metrics {
    grid-template-columns: 1fr;
  }

  .research-credit-plans,
  .research-custom-credit-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .research-price-head,
  .research-range-scale {
    flex-direction: column;
    align-items: flex-start;
  }

  .research-status-card,
  .research-form-card,
  .research-guide-card,
  .research-mode-card,
  .research-summary-card,
  .research-credit-card,
  .research-result-card,
  .research-decision-card,
  .research-cta-card {
    padding: 22px;
    border-radius: 24px;
  }

  .research-actions,
  .research-card-actions,
  .research-custom-credit-actions,
  .research-cta-actions,
  .research-candidate-actions {
    flex-direction: column;
  }

  .research-actions .btn,
  .research-card-actions .btn,
  .research-custom-credit-actions .btn,
  .research-cta-actions .btn,
  .research-candidate-actions .btn {
    width: 100%;
  }

  .research-ebay-result {
    align-items: start;
  }

  .research-ebay-result b {
    text-align: left;
  }
}

.research-result-image {
  position: relative;
  margin: -6px -6px 18px;
  border-radius: 24px;
  overflow: hidden;
  height: 220px;
  background: linear-gradient(180deg, rgba(245,241,255,0.98), rgba(237,246,255,0.94));
}

.research-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.research-result-card:hover .research-result-image img {
  transform: scale(1.04);
}

.research-image-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  color: #5f48ca;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.research-extra-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.research-action-chip {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.research-action-chip:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(123, 97, 255, 0.24);
}

.research-action-chip--checker {
  color: #2b73d6;
  border-color: rgba(95, 168, 255, 0.18);
  background: rgba(95, 168, 255, 0.08);
}

.research-result-mask.research-action-chip {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: #2f2962;
  font-size: 15px;
  background: rgba(245, 241, 255, 0.72);
}

.research-toast {
  position: fixed;
  right: 20px;
  top: 18px;
  bottom: auto;
  z-index: 30050;
  min-width: 240px;
  max-width: 320px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #171321;
  color: #fff;
  box-shadow: 0 18px 34px rgba(23, 19, 33, 0.22);
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.98);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.research-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.research-center-notice {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.research-center-notice.is-visible {
  opacity: 1;
  visibility: visible;
}

.research-center-card {
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(123, 97, 255, 0.16);
  box-shadow: 0 28px 80px rgba(31, 26, 61, 0.24);
  transform: translateY(10px) scale(0.96);
  transition: transform 0.22s ease;
}

.research-center-notice.is-visible .research-center-card {
  transform: translateY(0) scale(1);
}

.research-center-card strong {
  display: block;
  color: #1f1a3d;
  font-size: 22px;
}

.research-center-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.ebay-center-notice {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.ebay-center-notice.is-visible {
  opacity: 1;
  visibility: visible;
}

.ebay-center-card {
  width: min(430px, 100%);
  padding: 28px;
  border-radius: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 100, 210, 0.16);
  box-shadow: 0 28px 80px rgba(31, 26, 61, 0.24);
  transform: translateY(10px) scale(0.96);
  transition: transform 0.22s ease;
}

.ebay-center-notice.is-visible .ebay-center-card {
  transform: translateY(0) scale(1);
}

.ebay-center-card strong {
  display: block;
  color: #1f1a3d;
  font-size: 22px;
}

.ebay-center-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .research-result-image {
    height: 190px;
  }

  .research-extra-actions {
    flex-direction: column;
  }

  .research-action-chip {
    width: 100%;
    justify-content: center;
  }

  .research-toast {
    left: 16px;
    right: 16px;
    top: 16px;
    bottom: auto;
    max-width: unset;
    min-width: unset;
  }
}




/* =========================
   HOME HERO CLEAN
========================= */

.hero-grid-clean {
  align-items: center;
  gap: 52px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
}

.hero-copy-clean {
  gap: 20px;
}

.hero-title-clean {
  max-width: 720px;
  font-size: clamp(46px, 5.2vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-text-clean {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--muted);
}

.hero-visual-clean {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.hero-module-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(123, 97, 255, 0.12);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.hero-module-card h3,
.hero-module-card strong {
  color: var(--text);
}

.hero-module-card p,
.hero-module-card span,
.hero-module-card small {
  color: var(--muted);
}

.hero-module-card--main {
  min-height: 270px;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.7), transparent 18%),
    radial-gradient(circle at 72% 42%, rgba(255,255,255,0.35), transparent 10%),
    linear-gradient(135deg, rgba(137, 112, 255, 0.45), rgba(95, 168, 255, 0.20));
}

.hero-module-card--main::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 42% 58% 56% 44%;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.82), rgba(255,255,255,0.12) 28%, transparent 55%),
              linear-gradient(135deg, #7b61ff 0%, #6952f2 55%, #5fa8ff 100%);
  box-shadow: 0 20px 40px rgba(108, 96, 232, 0.20);
}

.hero-module-card--main::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  bottom: 56px;
  left: 52%;
  background: linear-gradient(135deg, #7b61ff, #5fa8ff);
  filter: blur(0.2px);
}

.hero-module-card--main h3 {
  position: relative;
  z-index: 2;
  font-size: 28px;
  margin-bottom: 8px;
}

.hero-module-card--main p {
  position: relative;
  z-index: 2;
  font-size: 15px;
  line-height: 1.65;
}

.hero-module-card--small {
  min-height: 126px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-module-card--small strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.hero-module-card--small span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.hero-module-card--amazon {
  background: linear-gradient(135deg, rgba(174, 220, 255, 0.60), rgba(213, 235, 255, 0.65));
}

.hero-module-card--calc {
  background: linear-gradient(135deg, rgba(255, 214, 236, 0.68), rgba(245, 232, 255, 0.82));
}

.hero-module-card--sync {
  background: linear-gradient(135deg, rgba(227, 219, 255, 0.95), rgba(238, 233, 255, 0.86));
}

.hero-module-card--cta {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255, 205, 84, 0.92), rgba(255, 226, 145, 0.94));
}

.hero-module-card--cta small {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.hero-module-card--cta strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #171321;
}

.hero-module-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(123, 97, 255, 0.12);
  box-shadow: 0 8px 22px rgba(91, 70, 173, 0.08);
}

.hero-module-icon--primary {
  display: none;
}

@media (max-width: 1120px) {
  .hero-grid-clean {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-title-clean {
    font-size: clamp(40px, 8vw, 64px);
    max-width: 100%;
  }

  .hero-text-clean {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .hero-visual-clean {
    grid-template-columns: 1fr;
  }

  .hero-module-card--main {
    min-height: 220px;
    grid-row: span 1;
  }

  .hero-module-card--cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title-clean {
    font-size: clamp(34px, 10vw, 52px);
    line-height: 1.02;
  }

  .hero-text-clean {
    font-size: 16px;
  }
}



/* =========================
   SUPPORT WIDGET
========================= */

.support-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 250;
}

.support-fab {
  border: 0;
  cursor: pointer;
  min-height: 62px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  background: linear-gradient(135deg, #7b61ff 0%, #5fa8ff 100%);
  box-shadow: 0 20px 44px rgba(91, 70, 173, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.support-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(91, 70, 173, 0.34);
}

.support-fab-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
}

.support-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: 390px;
  max-width: calc(100vw - 20px);
  height: 680px;
  max-height: calc(100vh - 110px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transition: 0.24s ease;
}

.support-widget.is-open .support-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.support-widget.is-open .support-fab {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.92);
}

.support-shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(123, 97, 255, 0.12);
  box-shadow: 0 28px 70px rgba(36, 25, 90, 0.22);
  backdrop-filter: blur(16px);
}

.support-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, #ea6ab2 0%, #b64fd8 38%, #7b61ff 100%);
  color: #fff;
}

.support-brand-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}

.support-brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  font-weight: 800;
}

.support-topbar strong {
  display: block;
  font-size: 15px;
}

.support-topbar span {
  display: block;
  font-size: 12px;
  opacity: 0.92;
  margin-top: 2px;
}

.support-close {
  width: 38px;
  height: 38px;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.support-body {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fcfbff 0%, #f6f2ff 100%);
}

.support-view {
  position: absolute;
  inset: 0;
  padding: 16px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s ease;
}

.support-view.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.support-hero {
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.24), transparent 35%),
    radial-gradient(circle at center right, rgba(60, 81, 133, 0.38), transparent 34%),
    linear-gradient(135deg, #e459a5 0%, #b35add 45%, #6e71ff 100%);
  color: #fff;
  margin-bottom: 14px;
}

.support-hero-badges {
  display: flex;
  margin-bottom: 16px;
}

.support-hero-badges span {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-right: -8px;
  border: 2px solid rgba(255,255,255,0.92);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(38, 24, 84, 0.18);
}

.support-hero-badges span::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,255,0.95) 0 17%, transparent 18%),
    radial-gradient(circle at 50% 88%, rgba(255,255,255,0.88) 0 32%, transparent 33%),
    linear-gradient(135deg, #ff8ec4, #745cff);
}

.support-hero-badges span:nth-child(2)::before {
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,255,0.95) 0 17%, transparent 18%),
    radial-gradient(circle at 50% 88%, rgba(255,255,255,0.88) 0 32%, transparent 33%),
    linear-gradient(135deg, #66d9e8, #7b61ff);
}

.support-hero-badges span:nth-child(3)::before {
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,255,0.95) 0 17%, transparent 18%),
    radial-gradient(circle at 50% 88%, rgba(255,255,255,0.88) 0 32%, transparent 33%),
    linear-gradient(135deg, #ffd166, #d64fa0);
}

.support-hero h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.support-cards {
  display: grid;
  gap: 12px;
}

.support-card {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(123, 97, 255, 0.10);
  background: #fff;
  border-radius: 20px;
  padding: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(91, 70, 173, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.support-card:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 97, 255, 0.18);
  box-shadow: 0 14px 26px rgba(91, 70, 173, 0.10);
}

.support-contact-card {
  min-height: 112px;
  border-color: rgba(123, 97, 255, 0.18);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 158, 201, 0.20), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 16px 34px rgba(91, 70, 173, 0.10);
}

.support-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--text);
}

.support-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.support-card span:last-child {
  font-size: 20px;
  color: #d64fa0;
  font-weight: 800;
}

.support-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.support-back {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  background: rgba(123, 97, 255, 0.08);
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  flex: 0 0 auto;
}

.support-section-head strong {
  display: block;
  font-size: 16px;
  color: var(--text);
}

.support-section-head span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.support-chat-messages {
  display: grid;
  gap: 12px;
  height: calc(100% - 74px);
  overflow-y: auto;
  padding-right: 4px;
  padding-bottom: 96px;
  margin-bottom: 14px;
}

.support-msg {
  max-width: 86%;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.6;
}

.support-msg--bot {
  justify-self: start;
  background: #ece6ff;
  color: #31285b;
}

.support-msg-label {
  display: block;
  margin-bottom: 6px;
  color: #6b56dd;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-session-note,
.support-system-msg {
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.5;
}

.support-session-note {
  background: rgba(123, 97, 255, 0.08);
  color: #5f5974;
  border: 1px solid rgba(123, 97, 255, 0.12);
}

.support-system-msg {
  text-align: center;
  background: rgba(15, 159, 110, 0.10);
  color: #0f8b5f;
  font-weight: 800;
  border: 1px solid rgba(15, 159, 110, 0.14);
}

.support-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #5b4ed6;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.support-msg--user {
  justify-self: end;
  background: linear-gradient(135deg, #7b61ff 0%, #5fa8ff 100%);
  color: #fff;
}

.support-escalation-action {
  justify-self: start;
  width: min(100%, 320px);
  border: 0;
  cursor: pointer;
  border-radius: 18px;
  padding: 14px 16px;
  text-align: left;
  color: #fff;
  font: inherit;
  background: linear-gradient(135deg, #1f1934 0%, #6f5cff 100%);
  box-shadow: 0 14px 28px rgba(91, 70, 173, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-escalation-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(91, 70, 173, 0.24);
}

.support-escalation-action strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 850;
  white-space: normal;
  line-height: 1.25;
}

.support-escalation-action span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.support-chat-form {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 10px;
  padding-top: 12px;
  background: linear-gradient(180deg, rgba(246,242,255,0), rgba(246,242,255,1) 20%);
}

.support-chat-form input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  background: rgba(255,255,255,0.92);
  padding: 0 14px;
  outline: none;
  font: inherit;
}

.support-chat-form button,
.support-main-action {
  border: 0;
  cursor: pointer;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  background: linear-gradient(135deg, #7b61ff 0%, #5fa8ff 100%);
  box-shadow: 0 12px 24px rgba(91, 70, 173, 0.18);
}

.support-chat-form button {
  flex: 0 0 auto;
  min-width: 104px;
}

.support-list,
.support-news-list,
.support-faq-list {
  display: grid;
  gap: 12px;
}

.support-list-item,
.support-news-card,
.support-faq-item {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(123, 97, 255, 0.08);
  box-shadow: 0 8px 20px rgba(91, 70, 173, 0.05);
}

.support-list-item strong,
.support-news-card strong,
.support-faq-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--text);
}

.support-list-item p,
.support-news-card p,
.support-faq-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.support-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(123, 97, 255, 0.08);
  background: rgba(255,255,255,0.96);
  padding: 8px;
}

.support-nav-btn {
  min-height: 58px;
  border: 0;
  background: transparent;
  border-radius: 16px;
  display: grid;
  place-items: center;
  gap: 4px;
  cursor: pointer;
  color: #5f5974;
  transition: background 0.2s ease, color 0.2s ease;
}

.support-nav-btn span {
  font-size: 18px;
}

.support-nav-btn small {
  font-size: 11px;
  font-weight: 700;
}

.support-nav-btn.is-active {
  color: #e14f98;
  background: rgba(225, 79, 152, 0.08);
}

@media (max-width: 900px) {
  .support-widget {
    right: 14px;
    bottom: 14px;
  }

  .support-widget:not(.is-open) {
    right: -24px;
    top: 112px;
    bottom: auto;
    transform: none;
  }

  .support-widget.is-open {
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .support-panel {
    width: min(390px, calc(100vw - 12px));
    height: min(690px, calc(100vh - 90px));
    max-height: calc(100vh - 90px);
  }

  .support-chat-form {
    left: 12px;
    right: 12px;
    gap: 8px;
  }

  .support-chat-form button {
    min-width: 96px;
    padding: 0 14px;
  }

  .support-fab {
    width: 58px;
    min-width: 58px;
    min-height: 58px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .support-fab-icon {
    width: 38px;
    height: 38px;
  }

  .support-fab-text {
    display: none;
  }
}

/* =========================
   FINAL HOME / HEADER FIX
========================= */

:root {
  --container: 1320px;
}

/* container bir az geniş olsun */
.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

/* yazılar çox iri görünməsin */
h1 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

p {
  font-size: 16px;
  line-height: 1.7;
}

/* header əsas düzülüş */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  overflow: visible;
  backdrop-filter: blur(16px);
  background: rgba(248, 246, 255, 0.82);
  border-bottom: 1px solid rgba(95, 74, 186, 0.08);
}

.header-inner,
.header-inner-clean {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 92px;
}

.header-brand-wrap {
  min-width: 0;
}

.header-main-area {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.nav-clean,
.nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: nowrap;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text);
}

/* sağ tərəf */
.header-right-controls,
.header-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: nowrap;
  min-width: max-content;
}

/* dillər */
.lang-switcher--flags {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(123, 97, 255, 0.10);
  box-shadow: var(--shadow-soft);
  flex-wrap: nowrap;
}

.lang-btn--flag {
  width: 40px;
  height: 40px;
  min-height: 40px;
  flex: 0 0 40px;
}

.flag-img {
  width: 18px;
  height: 18px;
}

/* header actionlar */
.header-actions,
.header-actions-clean {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

/* account hissəsi bir sətirdə qalsın */
.account-menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.balance-chip,
.account-chip,
.logout-chip {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(123, 97, 255, 0.10);
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.balance-chip span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.balance-chip strong {
  font-size: 15px;
  font-weight: 800;
  color: #0f8b5f;
}

.research-credit-chip {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(20, 126, 111, 0.16);
  background: linear-gradient(135deg, rgba(238, 255, 250, 0.96), rgba(248, 247, 255, 0.96));
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.research-wallet-stack {
  display: grid;
  gap: 6px;
  min-width: 136px;
}

.research-wallet-stack .balance-chip {
  min-height: 34px;
  padding: 0 14px;
  justify-content: space-between;
}

.research-credit-chip span {
  font-size: 12px;
  font-weight: 800;
  color: #5b6475;
}

.research-credit-chip strong {
  min-width: 28px;
  font-size: 15px;
  font-weight: 900;
  color: #126c5f;
  text-align: right;
}

.account-avatar {
  width: 30px;
  height: 30px;
  font-size: 13px;
}

.account-name {
  font-size: 14px;
  font-weight: 700;
}

.logout-chip {
  font-size: 13px;
  font-weight: 800;
  color: #c44141;
  cursor: pointer;
}

.theme-toggle {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  flex: 0 0 46px;
}

/* hero */
.hero {
  padding-top: 46px;
}

.hero-grid-clean {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 48px;
}

.hero-copy-clean {
  display: grid;
  gap: 18px;
}

.hero-title-clean {
  max-width: 680px;
  font-size: clamp(40px, 4.7vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-text-clean {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* sağ hero kartları */
.hero-visual-clean {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.hero-module-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(123, 97, 255, 0.10);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.hero-module-card--main {
  min-height: 250px;
  grid-row: span 2;
}

.hero-module-card--small {
  min-height: 118px;
}

.hero-module-card--cta {
  min-height: 118px;
}

.hero-module-card h3 {
  font-size: 24px;
}

.hero-module-card strong {
  font-size: 17px;
}

.hero-module-card span,
.hero-module-card p,
.hero-module-card small {
  font-size: 13px;
  line-height: 1.6;
}

.hero-module-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 20px;
}

/* section heading daha rahat */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head h2 {
  max-width: 680px;
}

/* modullar kartları */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 24px;
  border-radius: 26px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.65;
}

/* overview */
.architecture-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
}

.dashboard-card {
  padding: 24px;
  border-radius: 30px;
}

.dashboard-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stat-box {
  min-height: 96px;
  padding: 16px;
}

.stat-box strong {
  font-size: 26px;
}

/* pricing */
.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  min-height: 200px;
  padding: 22px;
}

.price-card h3 {
  font-size: 22px;
}

.price-card strong {
  font-size: 17px;
}

/* footer */
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 28px;
}

/* support widget biraz daha aşağıda stabil qalsın */
.support-widget {
  right: 18px;
  bottom: 18px;
  z-index: 250;
}

/* =========================
   RESPONSIVE FIX
========================= */

@media (max-width: 1220px) {
  .header-inner,
  .header-inner-clean {
    grid-template-columns: auto 1fr;
  }

  .menu-toggle {
    justify-self: end;
  }

  .header-main-area {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
  }

  .nav {
    gap: 18px;
  }

  .hero-grid-clean,
  .architecture-grid,
  .pricing-layout,
  .section-head,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-title-clean,
  .hero-text-clean {
    max-width: 100%;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-main-area {
    display: block;
    width: 100%;
  }

  .nav,
  .header-tools {
    position: absolute;
    left: 20px;
    right: 20px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(95, 74, 186, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s ease;
  }

  .nav {
    top: calc(100% + 12px);
    display: grid;
    gap: 14px;
    justify-content: flex-start;
  }

  .header-tools {
    top: calc(100% + 240px);
    display: grid;
    gap: 14px;
    justify-content: flex-start;
  }

  .site-header.menu-open .nav,
  .site-header.menu-open .header-tools {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header-right-controls,
  .header-actions,
  .account-menu {
    flex-wrap: wrap;
  }

  .hero-visual-clean,
  .feature-grid,
  .pricing-grid,
  .dashboard-stats,
  .dashboard-panels,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-module-card--main {
    grid-row: span 1;
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner,
  .header-inner-clean {
    min-height: 80px;
    gap: 14px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .hero-title-clean {
    font-size: clamp(34px, 9vw, 50px);
    line-height: 1.02;
  }

  .hero-text-clean {
    font-size: 16px;
  }

  .feature-card,
  .dashboard-card,
  .price-card,
  .cta-card,
  .info-row,
  .panel-card {
    padding: 20px;
    border-radius: 22px;
  }

  .balance-chip,
  .account-chip,
  .logout-chip {
    min-height: 44px;
    padding: 0 14px;
  }

  .account-name {
    font-size: 13px;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .support-panel {
    width: min(390px, calc(100vw - 12px));
    height: min(690px, calc(100vh - 90px));
  }
}


/* =========================
   FINAL HOME / HEADER FIX
========================= */

:root {
  --container: 1320px;
}

/* container bir az geniş olsun */
.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

/* yazılar çox iri görünməsin */
h1 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

p {
  font-size: 16px;
  line-height: 1.7;
}

/* header əsas düzülüş */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  overflow: visible;
  backdrop-filter: blur(16px);
  background: rgba(248, 246, 255, 0.82);
  border-bottom: 1px solid rgba(95, 74, 186, 0.08);
}

.header-inner,
.header-inner-clean {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 92px;
}

.header-brand-wrap {
  min-width: 0;
}

.header-main-area {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.nav-clean,
.nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: nowrap;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text);
}

/* sağ tərəf */
.header-right-controls,
.header-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: nowrap;
  min-width: max-content;
}

/* dillər */
.lang-switcher--flags {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(123, 97, 255, 0.10);
  box-shadow: var(--shadow-soft);
  flex-wrap: nowrap;
}

.lang-btn--flag {
  width: 40px;
  height: 40px;
  min-height: 40px;
  flex: 0 0 40px;
}

.flag-img {
  width: 18px;
  height: 18px;
}

/* header actionlar */
.header-actions,
.header-actions-clean {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

/* account hissəsi bir sətirdə qalsın */
.account-menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.balance-chip,
.account-chip,
.logout-chip {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(123, 97, 255, 0.10);
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.balance-chip span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.balance-chip strong {
  font-size: 15px;
  font-weight: 800;
  color: #0f8b5f;
}

.account-avatar {
  width: 30px;
  height: 30px;
  font-size: 13px;
}

.account-name {
  font-size: 14px;
  font-weight: 700;
}

.logout-chip {
  font-size: 13px;
  font-weight: 800;
  color: #c44141;
  cursor: pointer;
}

.theme-toggle {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  flex: 0 0 46px;
}

/* hero */
.hero {
  padding-top: 46px;
}

.hero-grid-clean {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 48px;
}

.hero-copy-clean {
  display: grid;
  gap: 18px;
}

.hero-title-clean {
  max-width: 680px;
  font-size: clamp(40px, 4.7vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-text-clean {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* sağ hero kartları */
.hero-visual-clean {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.hero-module-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(123, 97, 255, 0.10);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.hero-module-card--main {
  min-height: 250px;
  grid-row: span 2;
}

.hero-module-card--small {
  min-height: 118px;
}

.hero-module-card--cta {
  min-height: 118px;
}

.hero-module-card h3 {
  font-size: 24px;
}

.hero-module-card strong {
  font-size: 17px;
}

.hero-module-card span,
.hero-module-card p,
.hero-module-card small {
  font-size: 13px;
  line-height: 1.6;
}

.hero-module-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 20px;
}

/* section heading daha rahat */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head h2 {
  max-width: 680px;
}

/* modullar kartları */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 24px;
  border-radius: 26px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.65;
}

/* overview */
.architecture-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
}

.dashboard-card {
  padding: 24px;
  border-radius: 30px;
}

.dashboard-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stat-box {
  min-height: 96px;
  padding: 16px;
}

.stat-box strong {
  font-size: 26px;
}

/* pricing */
.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  min-height: 200px;
  padding: 22px;
}

.price-card h3 {
  font-size: 22px;
}

.price-card strong {
  font-size: 17px;
}

/* footer */
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 28px;
}

/* support widget biraz daha aşağıda stabil qalsın */
.support-widget {
  right: 18px;
  bottom: 18px;
  z-index: 250;
}

/* =========================
   RESPONSIVE FIX
========================= */

@media (max-width: 1220px) {
  .header-inner,
  .header-inner-clean {
    grid-template-columns: auto 1fr;
  }

  .menu-toggle {
    justify-self: end;
  }

  .header-main-area {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
  }

  .nav {
    gap: 18px;
  }

  .hero-grid-clean,
  .architecture-grid,
  .pricing-layout,
  .section-head,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-title-clean,
  .hero-text-clean {
    max-width: 100%;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-main-area {
    display: block;
    width: 100%;
  }

  .nav,
  .header-tools {
    position: absolute;
    left: 20px;
    right: 20px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(95, 74, 186, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s ease;
  }

  .nav {
    top: calc(100% + 12px);
    display: grid;
    gap: 14px;
    justify-content: flex-start;
  }

  .header-tools {
    top: calc(100% + 240px);
    display: grid;
    gap: 14px;
    justify-content: flex-start;
  }

  .site-header.menu-open .nav,
  .site-header.menu-open .header-tools {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header-right-controls,
  .header-actions,
  .account-menu {
    flex-wrap: wrap;
  }

  .hero-visual-clean,
  .feature-grid,
  .pricing-grid,
  .dashboard-stats,
  .dashboard-panels,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-module-card--main {
    grid-row: span 1;
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner,
  .header-inner-clean {
    min-height: 80px;
    gap: 14px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .hero-title-clean {
    font-size: clamp(34px, 9vw, 50px);
    line-height: 1.02;
  }

  .hero-text-clean {
    font-size: 16px;
  }

  .feature-card,
  .dashboard-card,
  .price-card,
  .cta-card,
  .info-row,
  .panel-card {
    padding: 20px;
    border-radius: 22px;
  }

  .balance-chip,
  .account-chip,
  .logout-chip {
    min-height: 44px;
    padding: 0 14px;
  }

  .account-name {
    font-size: 13px;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .support-panel {
    width: min(390px, calc(100vw - 12px));
    height: min(690px, calc(100vh - 90px));
  }
}

/* =========================
   HERO RIGHT SIDE - COLORFUL / ANIMATED
========================= */

.hero-visual-clean {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  isolation: isolate;
}

.hero-visual-clean::before {
  content: "";
  position: absolute;
  inset: -30px -20px -30px -20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(123, 97, 255, 0.20), transparent 28%),
    radial-gradient(circle at 85% 22%, rgba(95, 168, 255, 0.18), transparent 24%),
    radial-gradient(circle at 50% 85%, rgba(255, 194, 51, 0.12), transparent 20%);
  filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}

.hero-module-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(123, 97, 255, 0.10);
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 18px 40px rgba(91, 70, 173, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  animation: heroCardFloat 6s ease-in-out infinite;
}

.hero-module-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 24px 52px rgba(91, 70, 173, 0.14),
    0 8px 24px rgba(123, 97, 255, 0.10);
  border-color: rgba(123, 97, 255, 0.20);
}

.hero-module-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.22),
    rgba(255,255,255,0.02) 35%,
    rgba(255,255,255,0.12) 60%,
    rgba(255,255,255,0.02)
  );
  pointer-events: none;
  opacity: 0.8;
}

/* Main AI card */
.hero-module-card--main {
  min-height: 270px;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background:
    radial-gradient(circle at 28% 25%, rgba(255,255,255,0.70), transparent 16%),
    radial-gradient(circle at 75% 35%, rgba(255,255,255,0.30), transparent 12%),
    linear-gradient(135deg, rgba(136, 112, 255, 0.28), rgba(95, 168, 255, 0.14));
}

.hero-module-card--main::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, rgba(255,255,255,0.86), rgba(255,255,255,0.12) 28%, transparent 54%),
    linear-gradient(135deg, #8e7dff 0%, #6e5ef8 52%, #5fa8ff 100%);
  box-shadow:
    0 26px 50px rgba(105, 93, 240, 0.24),
    inset 0 8px 18px rgba(255,255,255,0.18);
  animation: operatorOrb 7s ease-in-out infinite;
}

.hero-module-card--main .hero-module-orb-small,
.hero-module-card--main::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  right: 118px;
  top: 132px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b61ff, #5fa8ff);
  box-shadow: 0 12px 24px rgba(95, 168, 255, 0.28);
  animation: orbSmallMove 5s ease-in-out infinite;
}

.hero-module-card--main h3,
.hero-module-card--main p {
  position: relative;
  z-index: 2;
}

.hero-module-card--main h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero-module-card--main p {
  font-size: 15px;
  line-height: 1.65;
}

/* Small cards */
.hero-module-card--small {
  min-height: 128px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Amazon */
.hero-module-card--amazon {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.55), transparent 22%),
    linear-gradient(135deg, rgba(147, 208, 255, 0.62), rgba(223, 242, 255, 0.72));
}

/* CTA ebay */
.hero-module-card--cta {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.45), transparent 24%),
    linear-gradient(135deg, rgba(255, 202, 87, 0.96), rgba(255, 225, 146, 0.92));
}

.hero-module-card--cta strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #171321;
}

.hero-module-card--cta small {
  color: rgba(23, 19, 33, 0.72);
  font-size: 13px;
}

.hero-module-card--cta .pill-btn {
  position: relative;
  overflow: hidden;
  background: #171321;
  box-shadow: 0 12px 24px rgba(23, 19, 33, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-module-card--cta .pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(23, 19, 33, 0.24);
}

.hero-module-card--cta .pill-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.6s ease;
}

.hero-module-card--cta .pill-btn:hover::before {
  left: 120%;
}

/* Calculator */
.hero-module-card--calc {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.48), transparent 20%),
    linear-gradient(135deg, rgba(255, 219, 238, 0.88), rgba(244, 236, 255, 0.92));
}

/* Sync */
.hero-module-card--sync {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.44), transparent 20%),
    linear-gradient(135deg, rgba(228, 220, 255, 0.95), rgba(239, 235, 255, 0.90));
}

/* icons */
.hero-module-icon {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(123, 97, 255, 0.12);
  box-shadow:
    0 10px 22px rgba(91, 70, 173, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);
  animation: iconPulse 4s ease-in-out infinite;
}

.hero-module-card--amazon .hero-module-icon {
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(235,247,255,0.94));
}

.hero-module-card--calc .hero-module-icon {
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,241,248,0.94));
}

.hero-module-card--sync .hero-module-icon {
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(241,238,255,0.96));
}

.hero-module-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--text);
}

.hero-module-card span,
.hero-module-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* individual hover glow */
.hero-module-card--amazon:hover {
  box-shadow: 0 24px 52px rgba(95, 168, 255, 0.18);
}

.hero-module-card--calc:hover {
  box-shadow: 0 24px 52px rgba(234, 110, 176, 0.14);
}

.hero-module-card--sync:hover {
  box-shadow: 0 24px 52px rgba(123, 97, 255, 0.16);
}

.hero-module-card--cta:hover {
  box-shadow: 0 24px 52px rgba(255, 194, 51, 0.20);
}

/* animations */
@keyframes heroCardFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes operatorOrb {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    transform: translateX(-50%) translateY(-10px) scale(1.03);
  }
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes orbSmallMove {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
    box-shadow:
      0 10px 22px rgba(91, 70, 173, 0.08),
      inset 0 1px 0 rgba(255,255,255,0.7);
  }
  50% {
    transform: scale(1.04);
    box-shadow:
      0 14px 28px rgba(91, 70, 173, 0.12),
      inset 0 1px 0 rgba(255,255,255,0.7);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 10px 22px rgba(91, 70, 173, 0.08),
      inset 0 1px 0 rgba(255,255,255,0.7);
  }
}

/* stagger animation feel */
.hero-module-card:nth-child(1) { animation-delay: 0s; }
.hero-module-card:nth-child(2) { animation-delay: 0.6s; }
.hero-module-card:nth-child(3) { animation-delay: 1.1s; }
.hero-module-card:nth-child(4) { animation-delay: 1.6s; }
.hero-module-card:nth-child(5) { animation-delay: 2.1s; }

@media (max-width: 760px) {
  .hero-module-card--main {
    min-height: 230px;
    grid-row: span 1;
  }

  .hero-module-card--main::before {
    width: 170px;
    height: 170px;
    top: 18px;
  }

  .hero-module-card--main::after {
    width: 44px;
    height: 44px;
    right: 85px;
    top: 118px;
  }
}

.hero-module-card strong,
.hero-module-card h3 {
  color: #1a1530;
}

.hero-module-card span,
.hero-module-card p {
  color: #5f5a76;
}

.hero-visual-clean {
  animation: visualAreaFloat 8s ease-in-out infinite;
}

@keyframes visualAreaFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

.hero-module-card:hover::before {
  opacity: 1;
}

.hero-visual-clean {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "main amazon"
    "main cta"
    "calc sync";
  gap: 20px;
  align-items: stretch;
}

/* Hər kartın yeri ayrıca təyin olunur */
.hero-module-card--main {
  grid-area: main;
  min-height: 280px;
}

.hero-module-card--amazon {
  grid-area: amazon;
  min-height: 120px;
}

.hero-module-card--cta {
  grid-area: cta;
  min-height: 120px;
}

.hero-module-card--calc {
  grid-area: calc;
  min-height: 140px;
}

.hero-module-card--sync {
  grid-area: sync;
  min-height: 140px;
}

/* Kartların bir-birinə girməsinin qarşısını alır */
.hero-module-card {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* CTA kartı içində button düzgün dayansın */
.hero-module-card--cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Mobile */
@media (max-width: 992px) {
  .hero-visual-clean {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "amazon"
      "cta"
      "calc"
      "sync";
  }

  .hero-module-card--main,
  .hero-module-card--amazon,
  .hero-module-card--cta,
  .hero-module-card--calc,
  .hero-module-card--sync {
    min-height: auto;
  }
}

.hero-module-card--main {
  grid-row: span 2;
}

.hero-visual-clean {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "main amazon"
    "main cta"
    "calc sync";
  gap: 22px;
  align-items: stretch;
}

.hero-module-card--main {
  grid-area: main;
}

.hero-module-card--amazon {
  grid-area: amazon;
}

.hero-module-card--cta {
  grid-area: cta;
  width: 88%;              /* full olmasın */
  justify-self: center;    /* ortada qalsın */
  align-self: center;      /* biraz mərkəz hissədə dayansın */
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-module-card--calc {
  grid-area: calc;
}

.hero-module-card--sync {
  grid-area: sync;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.contact-card {
  position: relative;
  padding: 24px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(123, 97, 255, 0.10);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: none;
}

.contact-card:hover {
  transform: translateY(-10px) scale(1.015) rotate(-0.35deg);
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

/* brand backgrounds */
.contact-card--whatsapp {
  border-color: rgba(37, 211, 102, 0.20);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.10);
}

.contact-card--whatsapp::before {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.35), transparent 30%),
    linear-gradient(135deg, #eafaf0 0%, #dff5e8 100%);
}

.contact-card--instagram {
  border-color: rgba(225, 48, 108, 0.18);
  box-shadow: 0 18px 40px rgba(225, 48, 108, 0.10);
}

.contact-card--instagram::before {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.30), transparent 30%),
    linear-gradient(135deg, #fff0f5 0%, #ffe8d9 50%, #f3ebff 100%);
}

.contact-card--telegram {
  border-color: rgba(0, 136, 204, 0.18);
  box-shadow: 0 18px 40px rgba(0, 136, 204, 0.10);
}

.contact-card--telegram::before {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.34), transparent 30%),
    linear-gradient(135deg, #eef8ff 0%, #e2f2ff 100%);
}

.contact-card--gmail {
  border-color: rgba(234, 67, 53, 0.16);
  box-shadow: 0 18px 40px rgba(234, 67, 53, 0.08);
}

.contact-card--gmail::before {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.34), transparent 30%),
    linear-gradient(135deg, #fff5f3 0%, #fff1e8 50%, #eef4ff 100%);
}

.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(91, 70, 173, 0.08);
}

.contact-icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.contact-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
}

/* brand buttons */
.contact-link--whatsapp {
  background: linear-gradient(135deg, #25d366, #1ebe5b);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.22);
}

.contact-link--instagram {
  background: linear-gradient(135deg, #e1306c, #f77737, #833ab4);
  box-shadow: 0 14px 28px rgba(225, 48, 108, 0.20);
}

.contact-link--telegram {
  background: linear-gradient(135deg, #2aabee, #0088cc);
  box-shadow: 0 14px 28px rgba(0, 136, 204, 0.20);
}

.contact-link--gmail {
  background: linear-gradient(135deg, #ea4335, #fbbc05, #4285f4);
  box-shadow: 0 14px 28px rgba(66, 133, 244, 0.18);
}

@media (max-width: 1200px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-page::before,
.contact-page::after {
  filter: blur(4px);
}

.contact-preview-card {
  backdrop-filter: none;
  box-shadow: 0 8px 18px rgba(91, 70, 173, 0.06);
}

.contact-orb {
  box-shadow: 0 12px 24px rgba(107, 92, 229, 0.08);
  animation: orbFloat 14s ease-in-out infinite;
}

.contact-preview-card--small,
.contact-preview-card--small2 {
  animation: none;
}

.contact-page::before,
.contact-page::after {
  animation: none;
}

.contact-card {
  box-shadow: 0 8px 20px rgba(91, 70, 173, 0.06);
}

.contact-card:hover {
  transform: translateY(-10px) scale(1.015) rotate(-0.35deg);
  box-shadow: 0 18px 34px rgba(91, 70, 173, 0.12);
}

.contact-card:hover .contact-icon {
  transform: translateY(-4px) rotate(3deg);
}

.contact-icon {
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-preview {
  background: linear-gradient(135deg, rgba(244, 239, 255, 0.96), rgba(231, 244, 255, 0.96));
  box-shadow: 0 12px 28px rgba(91, 70, 173, 0.08);
}




/* =========================
   CART + ACCOUNT DROPDOWN
========================= */

.account-menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.cart-chip {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(123, 97, 255, 0.10);
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cart-chip:hover {
  transform: translateY(-2px);
  background: #fff;
}

.cart-chip-icon {
  font-size: 16px;
  line-height: 1;
}

.cart-chip-text {
  font-size: 14px;
  font-weight: 700;
}

.cart-chip-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7b61ff, #5fa8ff);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.account-dropdown-wrap {
  position: relative;
  z-index: 10002;
}

.account-chip-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.22s ease;
  z-index: 10003;
}

.account-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.account-dropdown-wrap:focus-within .account-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.logout-chip-dropdown {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 18px;
  border: 1px solid rgba(123, 97, 255, 0.10);
  background: rgba(255,255,255,0.98);
  box-shadow: 0 14px 30px rgba(23, 19, 33, 0.10);
  color: #c44141;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.logout-chip-dropdown:hover {
  transform: translateY(-2px);
  background: #fff;
}

.account-dropdown {
  width: 300px;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(123, 97, 255, 0.12);
  box-shadow: 0 24px 60px rgba(23, 19, 33, 0.16);
}

.account-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(123, 97, 255, 0.12);
  border-left: 1px solid rgba(123, 97, 255, 0.12);
  transform: translateX(-50%) rotate(45deg);
}

.account-dropdown-link,
.account-dropdown-action,
.logout-chip-dropdown {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  color: #211b34;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.account-dropdown-link:hover,
.account-dropdown-action:hover,
.logout-chip-dropdown:hover {
  background: rgba(123, 97, 255, 0.08);
  color: #171321;
  transform: translateX(2px);
}

.account-dropdown-link span,
.account-dropdown-action span,
.logout-chip-dropdown span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: rgba(123, 97, 255, 0.11);
  color: #5f48ca;
  font-size: 16px;
}

.notification-mini-badge {
  margin-left: auto;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff4d6d, #ff9f43);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(255, 77, 109, 0.24);
}

.account-chip.has-unread-notifications::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff4d6d;
  box-shadow: 0 0 0 5px rgba(255, 77, 109, 0.15);
}

.account-chip.notification-pulse {
  animation: notificationPulse 0.9s ease both;
}

@keyframes notificationPulse {
  0% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-2px) scale(1.035); box-shadow: 0 18px 40px rgba(123, 97, 255, 0.24); }
  100% { transform: translateY(0) scale(1); }
}

.logout-chip-dropdown {
  color: #d64242;
}

.logout-chip-dropdown span {
  background: rgba(214, 66, 66, 0.10);
  color: #d64242;
}

.logout-chip-dropdown:hover {
  background: rgba(214, 66, 66, 0.08);
  color: #c83232;
}

body.dark-theme .account-dropdown,
body.dark-theme .account-dropdown::before {
  background: rgba(27, 24, 40, 0.98);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .account-dropdown {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

body.dark-theme .account-dropdown-link,
body.dark-theme .account-dropdown-action {
  color: #f3f1ff;
}

body.dark-theme .account-dropdown-link:hover,
body.dark-theme .account-dropdown-action:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

@media (max-width: 960px) {
  .site-header.menu-open {
    z-index: 20000;
  }

  .site-header .nav,
  .site-header .header-tools {
    z-index: 10000;
    pointer-events: none;
  }

  .site-header.menu-open .nav,
  .site-header.menu-open .header-tools {
    pointer-events: auto;
  }

  .account-dropdown {
    top: auto;
    right: 0;
    bottom: calc(100% + 10px);
    left: auto;
    z-index: 10001;
    transform: translateY(8px);
  }

  .account-dropdown.is-open,
  .account-dropdown-wrap:focus-within .account-dropdown {
    transform: translateY(0);
  }

  .account-dropdown::before {
    top: auto;
    right: 44px;
    bottom: -7px;
    left: auto;
    transform: rotate(225deg);
  }
}

.account-panel-hero {
  padding-bottom: 44px;
}

.account-panel-head {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.account-panel-head h1 {
  font-size: clamp(34px, 5vw, 62px);
}

.account-panel-head p {
  font-size: 17px;
  max-width: 660px;
}

.account-panel-grid,
.transaction-list {
  display: grid;
  gap: 18px;
}

.account-panel-card,
.transaction-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(123, 97, 255, 0.10);
  box-shadow: var(--shadow-soft);
}

.account-panel-card {
  grid-template-columns: auto minmax(0, 1fr);
}

.account-panel-icon,
.transaction-status {
  min-width: 52px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(123, 97, 255, 0.11);
  color: #5f48ca;
  font-weight: 800;
}

.account-panel-card strong,
.transaction-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 18px;
}

.account-panel-card p,
.transaction-row p {
  line-height: 1.65;
}

.transaction-status {
  min-width: 74px;
  font-size: 13px;
}

.transaction-status--ready {
  background: rgba(20, 157, 110, 0.12);
  color: #138a62;
}

.transaction-amount {
  justify-self: end;
  color: var(--text);
  font-weight: 900;
}

body.dark-theme .account-panel-card,
body.dark-theme .transaction-row {
  background: rgba(27, 24, 40, 0.86);
  border-color: rgba(255, 255, 255, 0.08);
}

.notifications-page .account-panel-grid {
  display: none;
}

.notifications-dynamic-section {
  padding-top: 0;
}

.notifications-layout {
  display: grid;
  gap: 18px;
}

.notifications-toolbar,
.notification-empty-card,
.notification-email-note,
.notification-item {
  border: 1px solid rgba(123, 97, 255, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.notifications-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 24px;
  border-radius: 28px;
}

.notifications-toolbar h2 {
  margin: 8px 0 8px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
}

.notifications-toolbar p,
.notification-email-note p,
.notification-item p {
  color: var(--muted);
  line-height: 1.65;
}

.notifications-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.notifications-actions strong {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(123, 97, 255, 0.10);
  color: #5f48ca;
  font-weight: 900;
}

.notifications-list {
  display: grid;
  gap: 14px;
}

.notification-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
}

.notification-item.is-unread {
  border-color: rgba(95, 72, 202, 0.32);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(242,246,255,0.96));
}

.notification-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(123, 97, 255, 0.12);
  color: #5f48ca;
  font-weight: 900;
}

.notification-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 16px;
}

.notification-item small,
.notification-read-state {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.notification-read-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(123, 97, 255, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #5f48ca;
  font-weight: 900;
  cursor: pointer;
}

.notification-empty-card,
.notification-email-note {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border-radius: 28px;
}

.notification-email-note {
  display: block;
  border-color: rgba(245, 158, 11, 0.24);
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,249,235,0.92));
}

.notification-email-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
}

body.dark-theme .notifications-toolbar,
body.dark-theme .notification-empty-card,
body.dark-theme .notification-email-note,
body.dark-theme .notification-item {
  background: rgba(27, 24, 40, 0.9);
  border-color: rgba(255, 255, 255, 0.10);
}

body.dark-theme .notification-item.is-unread {
  background: linear-gradient(135deg, rgba(38, 31, 61, 0.96), rgba(26, 39, 68, 0.96));
}

body.dark-theme .notification-read-btn {
  background: rgba(255,255,255,0.08);
  color: #d8d1ff;
  border-color: rgba(255,255,255,0.14);
}

@media (max-width: 720px) {
  .notifications-toolbar,
  .notification-item,
  .notification-empty-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .notifications-toolbar {
    display: grid;
  }

  .notifications-actions {
    justify-content: flex-start;
  }
}

/* =========================
   LOGOUT MODAL
========================= */

.logout-modal {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.22s ease;
}

.logout-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.logout-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 28, 0.42);
  backdrop-filter: blur(10px);
}

.logout-modal-card {
  position: relative;
  z-index: 1;
  width: min(100% - 28px, 490px);
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 215, 233, 0.42), transparent 34%),
    rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(123, 97, 255, 0.10);
  box-shadow: 0 30px 70px rgba(23, 19, 33, 0.24);
  text-align: center;
  transform: translateY(16px) scale(0.96);
}

.logout-modal.is-open .logout-modal-card {
  animation: logoutModalIn 0.34s cubic-bezier(0.2, 0.9, 0.24, 1.14) forwards;
}

.logout-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(123, 97, 255, 0.10);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.logout-modal-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 215, 233, 0.9), rgba(237, 231, 255, 0.95));
  box-shadow: 0 16px 34px rgba(214, 66, 66, 0.12);
  font-size: 38px;
  font-weight: 900;
}

.logout-modal-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: #6a56d8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logout-modal-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.2;
}

.logout-modal-card h3 + .logout-modal-actions {
  margin-top: 22px;
}

.logout-modal-card p {
  margin: 0 auto 22px;
  max-width: 390px;
  color: var(--muted);
  line-height: 1.65;
}

.logout-modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.logout-modal-actions .btn-primary {
  min-width: 180px;
}

.logout-confirm-btn {
  color: #c44141;
  border-color: rgba(196, 65, 65, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.logout-confirm-btn:hover {
  color: #b52f2f;
  border-color: rgba(196, 65, 65, 0.28);
  background: rgba(255, 237, 237, 0.82);
}

@keyframes logoutModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .account-menu {
    flex-wrap: wrap;
  }

  .cart-chip,
  .balance-chip,
  .research-credit-chip,
  .account-chip {
    min-height: 44px;
  }

  .logout-modal-card {
    padding: 22px;
    border-radius: 24px;
  }

  .logout-modal-actions {
    flex-direction: column;
  }

  .logout-modal-actions .btn {
    width: 100%;
  }

  .account-panel-card,
  .transaction-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .transaction-amount {
    justify-self: start;
  }
}

.balance-chip,
.cart-chip,
.research-credit-chip {
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.balance-chip:hover,
.cart-chip:hover,
.research-credit-chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(123, 97, 255, 0.16);
  box-shadow: 0 8px 18px rgba(91, 70, 173, 0.08);
}

.research-credit-chip {
  transition: none;
}

.research-credit-chip:hover {
  transform: none;
  background: linear-gradient(135deg, rgba(238, 255, 250, 0.96), rgba(248, 247, 255, 0.96));
  border-color: rgba(20, 126, 111, 0.16);
  box-shadow: var(--shadow-soft);
}

.balance-chip-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.balance-chip-link:hover {
  transform: translateY(-2px);
}

.my-products-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}

.my-products-search {
  display: grid;
  gap: 8px;
}

.my-products-search label {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.my-products-search input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  border-radius: 18px;
  padding: 0 18px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.my-products-search input:focus {
  outline: none;
  border-color: rgba(123, 97, 255, 0.36);
  box-shadow: 0 0 0 4px rgba(123, 97, 255, 0.08);
}

.my-products-new-btn {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(135deg, #7b61ff 0%, #27c28a 100%);
  box-shadow: 0 18px 42px rgba(91, 70, 173, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.my-products-new-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(91, 70, 173, 0.28);
}

.my-products-new-btn span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
}

.my-products-list {
  display: grid;
  gap: 14px;
}

.my-product-card,
.my-products-empty {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(123, 97, 255, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.my-product-card {
  display: grid;
  grid-template-columns: minmax(380px, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 20px;
}

.my-product-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border-radius: 18px;
  padding: 6px;
  transition: transform 0.18s ease, background 0.18s ease;
}

.my-product-main:hover {
  transform: translateX(3px);
  background: rgba(123, 97, 255, 0.05);
}

.my-product-main:focus:not(:focus-visible) {
  outline: none;
}

.my-product-main:focus-visible {
  outline: 2px solid rgba(123, 97, 255, 0.28);
  outline-offset: 4px;
}

.my-product-rank {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #7b61ff, #27c28a);
}

.my-product-thumb {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  color: #5f4dc6;
  font-weight: 900;
  background: rgba(245, 241, 255, 0.84);
  border: 1px solid rgba(123, 97, 255, 0.12);
}

.my-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.my-product-main strong {
  display: -webkit-box;
  font-size: 18px;
  color: var(--text);
  line-height: 1.28;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.my-product-main p,
.my-products-empty p {
  margin: 6px 0 0;
  color: var(--muted);
}

.my-product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.my-product-actions .btn,
.my-product-delete,
.my-product-source-note {
  min-height: 42px;
  padding: 0 15px;
  font-size: 14px;
}

.my-product-source-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 260px;
  border-radius: 999px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  background: rgba(123, 97, 255, 0.07);
  color: var(--muted);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.my-product-delete {
  border-radius: 999px;
  border: 1px solid rgba(214, 66, 66, 0.16);
  color: #c44141;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.my-product-delete:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 66, 66, 0.32);
  background: rgba(214, 66, 66, 0.08);
}

.my-products-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.my-products-pagination span {
  min-width: 72px;
  text-align: center;
  color: var(--muted);
  font-weight: 900;
}

.my-products-pagination .btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.my-products-empty {
  text-align: center;
}

.my-products-empty strong {
  display: block;
  font-size: 22px;
  color: var(--text);
}

.my-products-empty .btn {
  margin-top: 16px;
}

@media (max-width: 1180px) {
  .my-products-toolbar {
    grid-template-columns: 1fr;
  }

  .my-product-card {
    grid-template-columns: 1fr;
  }

  .my-product-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .my-product-card {
    padding: 18px;
  }

  .my-product-actions,
  .my-products-pagination {
    flex-direction: column;
  }

  .my-products-new-btn,
  .my-product-actions .btn,
  .my-product-delete,
  .my-products-pagination .btn {
    width: 100%;
  }
}


.cart-summary-actions {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.cart-balance-btn,
.cart-checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.cart-balance-btn {
  background: linear-gradient(135deg, #7b61ff 0%, #5fa8ff 100%);
  color: #fff;
  border: none;
}

.cart-checkout-btn {
  background: #171321;
  color: #fff;
  border: none;
}

.cart-balance-btn:hover,
.cart-checkout-btn:hover {
  transform: none;
}

.nav a.is-active,
.nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 800;
}

.nav a.is-active::after,
.nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7b61ff, #27c28a);
}

.nav-module-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-module-wrap::after {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 100%;
  height: 18px;
}

.nav-module-trigger {
  display: inline-flex;
  align-items: center;
}

.nav-module-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 30020;
  width: min(640px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(123, 97, 255, 0.16);
  background:
    radial-gradient(circle at 12% 12%, rgba(123, 97, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.96));
  box-shadow: 0 24px 60px rgba(48, 34, 118, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-module-wrap:hover .nav-module-menu,
.nav-module-wrap:focus-within .nav-module-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-module-menu a {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 14px 15px;
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(123, 97, 255, 0.10);
  box-shadow: 0 10px 24px rgba(48, 34, 118, 0.06);
  white-space: normal;
}

.nav-module-menu a:hover,
.nav-module-menu a:focus-visible {
  color: var(--text);
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.12), rgba(39, 194, 138, 0.12));
  border-color: rgba(123, 97, 255, 0.22);
  transform: translateY(-1px);
}

.nav-module-menu a::after,
.nav-module-menu a.is-active::after,
.nav-module-menu a[aria-current="page"]::after {
  display: none !important;
}

.nav-module-menu strong {
  font-size: 15px;
  line-height: 1.2;
}

.nav-module-menu span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.account-dropdown-link.is-active,
.account-dropdown-link[aria-current="page"] {
  color: var(--text);
  background: rgba(123, 97, 255, 0.10);
  font-weight: 900;
}

body.dark-theme .nav a.is-active,
body.dark-theme .nav a[aria-current="page"],
body.dark-theme .account-dropdown-link.is-active,
body.dark-theme .account-dropdown-link[aria-current="page"] {
  color: #ffffff;
}

body.dark-theme .nav-module-menu {
  background:
    radial-gradient(circle at 12% 12%, rgba(123, 97, 255, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(28, 24, 45, 0.98), rgba(18, 19, 34, 0.96));
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

body.dark-theme .nav-module-menu a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .nav-module-menu a:hover,
body.dark-theme .nav-module-menu a:focus-visible {
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.22), rgba(39, 194, 138, 0.14));
  border-color: rgba(255, 255, 255, 0.14);
}

body.dark-theme .nav-module-menu span {
  color: rgba(255, 255, 255, 0.68);
}

/* Premium theme polish: avoid flat white/black page backgrounds */
body:not(.dark-theme) {
  background:
    radial-gradient(circle at 8% 8%, rgba(123, 97, 255, 0.14), transparent 30%),
    radial-gradient(circle at 92% 6%, rgba(95, 168, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #f7f3ff 0%, #f8fbff 48%, #fff8ec 100%);
}

body.dark-theme,
body.dark-theme.account-page,
body.dark-theme.cart-page,
body.dark-theme.pricing-page,
body.dark-theme.contact-page,
body.dark-theme.simple-page-body,
body.dark-theme.auth-body {
  color: #f8f4ff;
  background:
    radial-gradient(circle at 9% 8%, rgba(123, 97, 255, 0.28), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(95, 168, 255, 0.22), transparent 27%),
    radial-gradient(circle at 72% 88%, rgba(255, 194, 51, 0.10), transparent 28%),
    linear-gradient(180deg, #211a36 0%, #1d213d 46%, #241d32 100%) !important;
}

body.dark-theme .page-shell,
body.dark-theme main,
body.dark-theme .simple-page-body.has-standard-header {
  background: transparent !important;
}

body.dark-theme .section-light,
body.dark-theme.account-page .section-light,
body.dark-theme.cart-page .section-light,
body.dark-theme.pricing-page .section-light {
  background: linear-gradient(180deg, rgba(42, 34, 66, 0.42), rgba(32, 40, 68, 0.34)) !important;
}

body.dark-theme .section-light::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(123, 97, 255, 0.055));
  border-top-color: rgba(255, 255, 255, 0.07);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

body.dark-theme .site-header,
body.dark-theme .site-footer {
  background: rgba(34, 27, 53, 0.74) !important;
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

body.dark-theme .eyebrow,
body.dark-theme .mini-label,
body.dark-theme .cart-chip-mini,
body.dark-theme .plan-small-tag,
body.dark-theme .home-premium-tag {
  color: #d8ccff;
  background: rgba(255, 255, 255, 0.075) !important;
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: none;
}

body.dark-theme .feature-card,
body.dark-theme .home-flow-board,
body.dark-theme .home-flow-row,
body.dark-theme .home-premium-card,
body.dark-theme .account-card,
body.dark-theme .account-hero > div:first-child,
body.dark-theme .account-hero-balance,
body.dark-theme .account-plan-card,
body.dark-theme .account-history-card,
body.dark-theme .cart-list-card,
body.dark-theme .cart-summary-card,
body.dark-theme .cart-boost-card,
body.dark-theme .cart-hero-side,
body.dark-theme .cart-item,
body.dark-theme .cart-empty,
body.dark-theme .contact-card,
body.dark-theme .support-card,
body.dark-theme .support-list-item,
body.dark-theme .support-news-card,
body.dark-theme .support-faq-item {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(123, 97, 255, 0.065) 48%, rgba(95, 168, 255, 0.055)) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 20px 48px rgba(13, 10, 28, 0.22) !important;
}

body.dark-theme .account-plan-current,
body.dark-theme .account-plan-card--checker,
body.dark-theme .cart-checkout-btn,
body.dark-theme .support-escalation-action {
  background: linear-gradient(135deg, #3b2a74 0%, #3563a9 58%, #267d79 100%) !important;
  box-shadow: 0 20px 44px rgba(32, 51, 116, 0.28) !important;
}

body.dark-theme .account-profile-chip,
body.dark-theme .cart-summary-note,
body.dark-theme .cart-summary-highlight,
body.dark-theme .cart-boost-item,
body.dark-theme .account-info-row,
body.dark-theme .payment-consent-box,
body.dark-theme .topup-chip,
body.dark-theme .custom-topup-row input {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  color: #f8f4ff;
}

body.dark-theme .payment-pending-notice {
  border-color: rgba(255, 202, 97, 0.26);
  background: rgba(255, 202, 97, 0.12);
  color: #ffd782;
}

body.dark-theme .home-premium-card p,
body.dark-theme .home-flow-row small,
body.dark-theme .account-profile-chip small,
body.dark-theme .cart-boost-item p,
body.dark-theme .cart-item-note,
body.dark-theme .cart-item-meta,
body.dark-theme .cart-summary-row span,
body.dark-theme .support-card p,
body.dark-theme .support-list-item p,
body.dark-theme .support-news-card p,
body.dark-theme .support-faq-item p {
  color: rgba(248, 244, 255, 0.72) !important;
}

body.dark-theme .home-premium-card::before {
  background:
    radial-gradient(circle at 16% 10%, rgba(123, 97, 255, 0.20), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(95, 168, 255, 0.06) 54%, rgba(140, 243, 216, 0.045)) !important;
  opacity: 1;
}

body.dark-theme .home-premium-card::after {
  background: rgba(123, 97, 255, 0.14);
}

body.dark-theme .home-premium-icon {
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 28px rgba(3, 2, 12, 0.22);
}

body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme strong,
body.dark-theme .home-premium-card strong,
body.dark-theme .home-flow-row strong,
body.dark-theme .cart-price,
body.dark-theme .account-plan-card strong,
body.dark-theme .cart-summary-row strong {
  color: #fffafc;
}

body.dark-theme .btn-ghost,
body.dark-theme .cart-remove-btn,
body.dark-theme .cart-clear-btn,
body.dark-theme .cart-outline-btn,
body.dark-theme .cart-balance-btn,
body.dark-theme .theme-toggle,
body.dark-theme .lang-switcher--flags,
body.dark-theme .balance-chip,
body.dark-theme .cart-chip,
body.dark-theme .account-chip,
body.dark-theme .research-credit-chip {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  color: #fffafc !important;
  box-shadow: 0 14px 32px rgba(13, 10, 28, 0.18) !important;
}

body.dark-theme .account-dropdown,
body.dark-theme .account-dropdown::before,
body.dark-theme .support-shell,
body.dark-theme .support-bottom-nav {
  background:
    linear-gradient(145deg, rgba(38, 31, 59, 0.98), rgba(31, 42, 70, 0.98)) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

body:not(.dark-theme) .feature-card,
body:not(.dark-theme) .dashboard-card,
body:not(.dark-theme) .price-card,
body:not(.dark-theme) .panel-card,
body:not(.dark-theme) .info-row,
body:not(.dark-theme) .support-card,
body:not(.dark-theme) .support-list-item,
body:not(.dark-theme) .support-news-card,
body:not(.dark-theme) .support-faq-item,
body:not(.dark-theme) .about-flow-step b,
body:not(.dark-theme) .studio-preview-shell,
body:not(.dark-theme) .studio-preview-template,
body:not(.dark-theme) .studio-color-input input[type="color"],
body:not(.dark-theme) .calc-field input,
body:not(.dark-theme) .calc-field select {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(246, 242, 255, 0.84) 48%, rgba(238, 248, 255, 0.78)) !important;
}

body:not(.dark-theme) .logout-chip:hover,
body:not(.dark-theme) .topup-chip:hover,
body:not(.dark-theme) .cart-chip:hover,
body:not(.dark-theme) .logout-chip-dropdown:hover,
body:not(.dark-theme) .research-action-chip:hover,
body:not(.dark-theme) .calculator-v2-form .btn-ghost:hover {
  background: linear-gradient(145deg, #fbf8ff, #eef7ff) !important;
}

.autotrack-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(123, 97, 255, 0.16), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(88, 166, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #f6f2ff 0%, #eef7ff 52%, #f9fbff 100%);
}

.autotrack-shell {
  padding: 120px 0 72px;
}

.autotrack-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: center;
  min-height: 520px;
}

.autotrack-copy {
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(123, 97, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 28px 70px rgba(62, 50, 116, 0.12);
  backdrop-filter: blur(18px);
}

.autotrack-copy h1 {
  margin: 16px 0;
  max-width: 760px;
  color: #171321;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.autotrack-copy p {
  max-width: 680px;
  color: #625c78;
  font-size: 18px;
  line-height: 1.7;
}

.autotrack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.autotrack-panel {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(89, 166, 255, 0.22);
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(105, 94, 255, 0.88), rgba(67, 156, 255, 0.76)),
    #6f66ff;
  box-shadow: 0 30px 70px rgba(56, 83, 171, 0.24);
}

.autotrack-panel::before,
.autotrack-panel::after {
  content: "";
  position: absolute;
  border: 10px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  opacity: 0.62;
}

.autotrack-panel::before {
  width: 220px;
  height: 420px;
  top: -80px;
  left: 42px;
  transform: rotate(28deg);
}

.autotrack-panel::after {
  width: 180px;
  height: 360px;
  right: -20px;
  bottom: -72px;
  transform: rotate(36deg);
}

.autotrack-dot {
  position: absolute;
  left: 44px;
  top: 44px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 34px 0 0 rgba(255, 255, 255, 0.84), 68px 0 0 rgba(255, 255, 255, 0.64);
}

.autotrack-route {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 84px;
  display: grid;
  gap: 14px;
}

.autotrack-route span {
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.autotrack-route span:nth-child(2) {
  width: 72%;
}

.autotrack-route span:nth-child(3) {
  width: 48%;
}

.autotrack-panel strong {
  position: absolute;
  left: 40px;
  bottom: 32px;
  color: #fff;
  font-size: 24px;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .autotrack-hero {
    grid-template-columns: 1fr;
  }

  .autotrack-panel {
    min-height: 280px;
  }
}

/* Dark mode contrast repair across module pages */
body.dark-theme .home-flow-section,
body.dark-theme .calculator-v2-section,
body.dark-theme .amazon-checker-main,
body.dark-theme .amazon-packages-section,
body.dark-theme .ebay-store-main,
body.dark-theme .product-research-page,
body.dark-theme .research-results-section,
body.dark-theme .my-products-page,
body.dark-theme .notifications-page,
body.dark-theme .transactions-page,
body.dark-theme .autotrack-body {
  background:
    radial-gradient(circle at 12% 8%, rgba(123, 97, 255, 0.20), transparent 28%),
    radial-gradient(circle at 86% 0%, rgba(89, 166, 255, 0.16), transparent 25%),
    linear-gradient(180deg, rgba(31, 25, 52, 0.98), rgba(24, 30, 54, 0.98)) !important;
}

body.dark-theme .home-flow-board,
body.dark-theme .home-flow-row,
body.dark-theme .home-flow-row.is-active,
body.dark-theme .calc-field input,
body.dark-theme .calc-field select,
body.dark-theme .calculator-hero-panel,
body.dark-theme .calculator-v2-card,
body.dark-theme .calculator-premium-card,
body.dark-theme .calculator-breakdown-card,
body.dark-theme .calculator-cta-card,
body.dark-theme .calc-tax-box,
body.dark-theme .profit-breakdown-item,
body.dark-theme .summary-box,
body.dark-theme .calculator-extra-card,
body.dark-theme .amazon-eyebrow,
body.dark-theme .amazon-mini-point,
body.dark-theme .amazon-status-card,
body.dark-theme .amazon-add-card,
body.dark-theme .amazon-usage-card,
body.dark-theme .amazon-manual-card,
body.dark-theme .amazon-watch-table-wrap,
body.dark-theme .amazon-empty-state,
body.dark-theme .amazon-status-note,
body.dark-theme .amazon-manual-status,
body.dark-theme .amazon-search-field input,
body.dark-theme .amazon-filter-chip,
body.dark-theme .amazon-note-box,
body.dark-theme .amazon-note-box-accent,
body.dark-theme .amazon-status-box,
body.dark-theme .amazon-toggle-box,
body.dark-theme .amazon-watch-row,
body.dark-theme .amazon-package-card,
body.dark-theme .amazon-custom-field input,
body.dark-theme .ebay-eyebrow,
body.dark-theme .ebay-mini-point,
body.dark-theme .ebay-store-connect-card,
body.dark-theme .ebay-panel-card,
body.dark-theme .ebay-listing-card,
body.dark-theme .ebay-quick-card,
body.dark-theme .ebay-store-table-card,
body.dark-theme .ebay-store-plan-card,
body.dark-theme .ebay-stat-box,
body.dark-theme .ebay-auto-row,
body.dark-theme .ebay-connect-status,
body.dark-theme .ebay-note-box,
body.dark-theme .ebay-note-box-accent,
body.dark-theme .ebay-draft-row,
body.dark-theme .ebay-table-row,
body.dark-theme .ebay-state-note,
body.dark-theme .ebay-listing-toolbar,
body.dark-theme .ebay-table-state,
body.dark-theme .pricing-hero-box,
body.dark-theme .pricing-value-card,
body.dark-theme .pricing-plan-card,
body.dark-theme .pricing-note-box,
body.dark-theme .contact-preview-card,
body.dark-theme .contact-info-card,
body.dark-theme .contact-note-card,
body.dark-theme .contact-info-row,
body.dark-theme .research-field textarea,
body.dark-theme .research-status-card,
body.dark-theme .research-form-card,
body.dark-theme .research-candidate-card,
body.dark-theme .research-candidate-media,
body.dark-theme .research-candidate-details,
body.dark-theme .research-candidate-metrics span,
body.dark-theme .research-guide-card,
body.dark-theme .research-mode-card,
body.dark-theme .research-decision-card,
body.dark-theme .research-cta-card,
body.dark-theme .research-stat-box,
body.dark-theme .research-price-range-card,
body.dark-theme .research-guide-row,
body.dark-theme .research-mode-price,
body.dark-theme .research-results-list,
body.dark-theme .research-center-card,
body.dark-theme .ebay-center-card,
body.dark-theme .hero-module-card,
body.dark-theme .transaction-row,
body.dark-theme .my-products-search input,
body.dark-theme .my-products-empty,
body.dark-theme .my-product-delete,
body.dark-theme .autotrack-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.078), rgba(123, 97, 255, 0.065) 48%, rgba(89, 166, 255, 0.055)) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #fffafc !important;
  box-shadow: 0 20px 48px rgba(9, 7, 24, 0.28) !important;
}

body.dark-theme .home-flow-copy p,
body.dark-theme .home-flow-row small,
body.dark-theme .amazon-mini-point p,
body.dark-theme .amazon-note-box p,
body.dark-theme .amazon-watch-row p,
body.dark-theme .amazon-package-card p,
body.dark-theme .amazon-card-head p,
body.dark-theme .amazon-status-note,
body.dark-theme .amazon-usage-row span,
body.dark-theme .amazon-manual-card p,
body.dark-theme .amazon-watch-title span,
body.dark-theme .amazon-watch-row span,
body.dark-theme .amazon-note-box li,
body.dark-theme .ebay-mini-point p,
body.dark-theme .ebay-note-box p,
body.dark-theme .ebay-store-connect-card p,
body.dark-theme .ebay-store-plan-card p,
body.dark-theme .ebay-panel-card p,
body.dark-theme .ebay-listing-card p,
body.dark-theme .ebay-quick-card p,
body.dark-theme .ebay-store-table-card p,
body.dark-theme .ebay-stat-box small,
body.dark-theme .ebay-auto-row span,
body.dark-theme .ebay-draft-row p,
body.dark-theme .ebay-table-row span,
body.dark-theme .ebay-state-note,
body.dark-theme .ebay-listing-toolbar > span,
body.dark-theme .ebay-listing-meta,
body.dark-theme .ebay-table-state p,
body.dark-theme .ebay-note-box li,
body.dark-theme .pricing-hero-box p,
body.dark-theme .pricing-value-card p,
body.dark-theme .pricing-plan-card p,
body.dark-theme .pricing-note-box p,
body.dark-theme .contact-preview-card p,
body.dark-theme .contact-info-card p,
body.dark-theme .contact-note-card p,
body.dark-theme .contact-info-row span,
body.dark-theme .research-guide-card p,
body.dark-theme .research-mode-card p,
body.dark-theme .research-candidate-reason,
body.dark-theme .research-candidate-metrics span,
body.dark-theme .research-decision-card p,
body.dark-theme .research-cta-card p,
body.dark-theme .research-stat-box small,
body.dark-theme .research-guide-row p,
body.dark-theme .research-mode-note,
body.dark-theme .research-center-card p,
body.dark-theme .ebay-center-card p,
body.dark-theme .hero-module-card p,
body.dark-theme .transaction-row p,
body.dark-theme .my-products-empty p,
body.dark-theme .autotrack-copy p {
  color: rgba(248, 244, 255, 0.76) !important;
}

body.dark-theme .home-flow-row strong,
body.dark-theme .amazon-package-card h3,
body.dark-theme .amazon-package-card strong,
body.dark-theme .amazon-card-head h3,
body.dark-theme .amazon-status-card h2,
body.dark-theme .amazon-status-box strong,
body.dark-theme .amazon-usage-row strong,
body.dark-theme .amazon-watch-title strong,
body.dark-theme .amazon-watch-row strong,
body.dark-theme .amazon-note-box h3,
body.dark-theme .ebay-store-connect-card h3,
body.dark-theme .ebay-panel-card h3,
body.dark-theme .ebay-listing-card h3,
body.dark-theme .ebay-quick-card h3,
body.dark-theme .ebay-store-table-card h3,
body.dark-theme .ebay-store-plan-card h4,
body.dark-theme .ebay-stat-box strong,
body.dark-theme .ebay-auto-row strong,
body.dark-theme .ebay-draft-row strong,
body.dark-theme .ebay-table-row strong,
body.dark-theme .ebay-note-box h3,
body.dark-theme .pricing-hero-box h2,
body.dark-theme .pricing-value-card strong,
body.dark-theme .pricing-plan-card h3,
body.dark-theme .pricing-plan-card strong,
body.dark-theme .pricing-note-box h3,
body.dark-theme .contact-preview-card strong,
body.dark-theme .contact-info-card h3,
body.dark-theme .contact-note-card h3,
body.dark-theme .contact-info-row strong,
body.dark-theme .research-status-card h2,
body.dark-theme .research-form-card h3,
body.dark-theme .research-candidate-head h3,
body.dark-theme .research-candidate-metrics strong,
body.dark-theme .research-candidate-details summary,
body.dark-theme .research-guide-card h3,
body.dark-theme .research-mode-card h3,
body.dark-theme .research-decision-card h3,
body.dark-theme .research-cta-card h3,
body.dark-theme .research-stat-box strong,
body.dark-theme .research-center-card h1,
body.dark-theme .ebay-center-card h1,
body.dark-theme .hero-module-card h3,
body.dark-theme .transaction-row strong,
body.dark-theme .my-products-empty h3,
body.dark-theme .autotrack-copy h1 {
  color: #ffffff !important;
}

body.dark-theme .amazon-form-field input,
body.dark-theme .amazon-form-field select,
body.dark-theme .amazon-search-field input,
body.dark-theme .research-field input,
body.dark-theme .research-field select,
body.dark-theme .research-custom-credit-row input {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #fffafc !important;
}

body.dark-theme main :where([class*="-card"], [class*="-box"], [class*="-panel"]) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.078), rgba(123, 97, 255, 0.064) 48%, rgba(89, 166, 255, 0.052)) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #fffafc !important;
  box-shadow: 0 20px 48px rgba(9, 7, 24, 0.28) !important;
}

body.dark-theme main :where([class*="-card"], [class*="-box"], [class*="-panel"]) :where(p, span, small, li, label, td, th) {
  color: rgba(248, 244, 255, 0.76) !important;
}

body.dark-theme main :where([class*="-card"], [class*="-box"], [class*="-panel"]) :where(h1, h2, h3, h4, strong, b) {
  color: #ffffff !important;
}

/* Final dark-theme readability pass for module-specific light overlays */
body.dark-theme .contact-preview,
body.dark-theme .calculator-hero-section,
body.dark-theme .ai-studio-hero,
body.dark-theme .product-research-page .section-light {
  background:
    radial-gradient(circle at 16% 10%, rgba(123, 97, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 2%, rgba(95, 168, 255, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(35, 29, 57, 0.98), rgba(25, 31, 55, 0.98)) !important;
}

body.dark-theme .ai-studio-hero::before,
body.dark-theme .contact-card::before {
  background:
    radial-gradient(circle at top right, rgba(123, 97, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(95, 168, 255, 0.06)) !important;
}

body.dark-theme .contact-badge,
body.dark-theme .contact-mini-tags span,
body.dark-theme .studio-badge,
body.dark-theme .calc-badge,
body.dark-theme .research-saved-products-action,
body.dark-theme .research-price-head > strong,
body.dark-theme .research-range-label,
body.dark-theme .studio-file-control,
body.dark-theme .studio-upload-box,
body.dark-theme .studio-layout-btn,
body.dark-theme .studio-mode-card,
body.dark-theme .studio-stat,
body.dark-theme .studio-output-box,
body.dark-theme .studio-specifics-item,
body.dark-theme .studio-plan-card,
body.dark-theme .studio-next-card,
body.dark-theme .calculator-hero-metric,
body.dark-theme .calculator-hero-grid-mini div {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(123, 97, 255, 0.07) 48%, rgba(95, 168, 255, 0.055)) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #fffafc !important;
  box-shadow: 0 16px 34px rgba(10, 8, 24, 0.22) !important;
}

body.dark-theme .contact-card h3,
body.dark-theme .contact-preview-card strong,
body.dark-theme .calculator-page-title,
body.dark-theme .calculator-hero-metric strong,
body.dark-theme .calculator-hero-grid-mini b,
body.dark-theme .studio-stat strong,
body.dark-theme .studio-plan-price strong,
body.dark-theme .studio-output-box h4,
body.dark-theme .studio-specifics-item strong,
body.dark-theme .research-price-head > strong,
body.dark-theme .research-range-label strong,
body.dark-theme .research-field label {
  color: #ffffff !important;
}

body.dark-theme .contact-card p,
body.dark-theme .contact-preview-card span,
body.dark-theme .calculator-hero-copy p,
body.dark-theme .calculator-hero-metric small,
body.dark-theme .calculator-hero-grid-mini span,
body.dark-theme .studio-stat small,
body.dark-theme .studio-plan-price span,
body.dark-theme .studio-output-box p,
body.dark-theme .studio-output-box li,
body.dark-theme .studio-specifics-item,
body.dark-theme .studio-upload-meta,
body.dark-theme .studio-file-name,
body.dark-theme .research-card-head p,
body.dark-theme .research-price-head .mini-label,
body.dark-theme .research-range-scale {
  color: rgba(248, 244, 255, 0.78) !important;
}

body.dark-theme .contact-icon {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.82) !important;
}

body.dark-theme .research-range-track {
  background: linear-gradient(90deg, rgba(255, 111, 97, 0.34), rgba(39, 194, 138, 0.38), rgba(95, 168, 255, 0.38)) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

body.dark-theme .research-range-label span {
  color: #8ff1d2 !important;
}

body.dark-theme .studio-field input,
body.dark-theme .studio-field textarea,
body.dark-theme .studio-field select,
body.dark-theme .studio-color-input input[type="text"],
body.dark-theme .studio-color-input input[type="color"] {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #fffafc !important;
}

body.dark-theme .studio-field input::placeholder,
body.dark-theme .studio-field textarea::placeholder,
body.dark-theme .research-field input::placeholder,
body.dark-theme .research-field textarea::placeholder {
  color: rgba(248, 244, 255, 0.48) !important;
}

/* Support widget: fit 100% zoom and keep dark theme readable */
.support-widget.is-open {
  right: 12px;
  bottom: 12px;
}

.support-widget.is-open .support-panel {
  bottom: 0;
  width: min(390px, calc(100vw - 24px));
  height: min(620px, calc(100svh - 32px));
  max-height: calc(100svh - 32px);
}

.support-shell {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.support-topbar {
  min-height: 58px;
  padding: 12px 16px;
}

.support-brand-badge {
  width: 38px;
  height: 38px;
}

.support-close {
  width: 34px;
  height: 34px;
}

.support-body {
  min-height: 0;
}

.support-view {
  padding: 14px 16px;
}

.support-hero {
  padding: 18px;
  margin-bottom: 14px;
}

.support-card {
  min-height: 92px;
  padding: 16px;
}

.support-bottom-nav {
  padding: 7px 8px 8px;
}

.support-nav-btn {
  min-height: 56px;
}

body.dark-theme .support-body {
  background:
    radial-gradient(circle at 18% 12%, rgba(123, 97, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #1d1830 0%, #211b36 100%) !important;
}

body.dark-theme .support-card,
body.dark-theme .support-contact-card,
body.dark-theme .support-list-item,
body.dark-theme .support-news-card,
body.dark-theme .support-faq-item {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(123, 97, 255, 0.09) 48%, rgba(95, 168, 255, 0.075)) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 18px 38px rgba(8, 6, 22, 0.28) !important;
}

body.dark-theme .support-card strong,
body.dark-theme .support-list-item strong,
body.dark-theme .support-news-card strong,
body.dark-theme .support-faq-item strong {
  color: #ffffff !important;
}

body.dark-theme .support-card p,
body.dark-theme .support-list-item p,
body.dark-theme .support-news-card p,
body.dark-theme .support-faq-item p {
  color: rgba(248, 244, 255, 0.74) !important;
}

body.dark-theme .support-card span:last-child {
  color: #ff73b7 !important;
}

body.dark-theme .support-bottom-nav {
  background: rgba(21, 19, 38, 0.96) !important;
  border-top-color: rgba(255, 255, 255, 0.10) !important;
}

body.dark-theme .support-nav-btn {
  color: rgba(248, 244, 255, 0.62) !important;
}

body.dark-theme .support-nav-btn.is-active {
  color: #ff73b7 !important;
  background: rgba(255, 115, 183, 0.12) !important;
}

body.dark-theme .support-msg--bot {
  background: rgba(255, 255, 255, 0.10) !important;
  color: #fffafc !important;
}

body.dark-theme .support-msg-label {
  color: #b8aaff !important;
}

body.dark-theme .support-session-note {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(248, 244, 255, 0.74) !important;
}

body.dark-theme .support-system-msg {
  background: rgba(52, 211, 153, 0.12) !important;
  border-color: rgba(52, 211, 153, 0.20) !important;
  color: #9af5d4 !important;
}

body.dark-theme .support-copy-btn {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #d9d2ff !important;
}

body.dark-theme .support-chat-form {
  background: linear-gradient(180deg, rgba(29, 24, 48, 0), rgba(29, 24, 48, 0.98) 22%) !important;
}

body.dark-theme .support-chat-form input {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #fffafc !important;
}

.purchase-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 32000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 13, 28, 0.58);
  backdrop-filter: blur(12px);
}

.purchase-confirm-backdrop[hidden] {
  display: none;
}

.purchase-confirm-dialog {
  width: min(430px, 100%);
  padding: 24px;
  border: 1px solid rgba(123, 97, 255, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(95, 168, 255, 0.16), transparent 30%),
    linear-gradient(145deg, #ffffff, #f5f1ff 54%, #edf7ff);
  box-shadow: 0 28px 70px rgba(17, 12, 39, 0.28);
}

.purchase-confirm-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.11);
  color: #6350d8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-confirm-dialog h3 {
  margin: 0 0 10px;
  color: #171321;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

.purchase-confirm-dialog p {
  margin: 0;
  color: #665f79;
  font-size: 14px;
  line-height: 1.65;
}

.purchase-confirm-meta {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(123, 97, 255, 0.10);
  color: #171321;
  font-size: 15px;
  font-weight: 800;
}

.purchase-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.purchase-confirm-btn {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.purchase-confirm-btn:hover {
  transform: translateY(-1px);
}

.purchase-confirm-btn--yes {
  color: #fff;
  background: linear-gradient(135deg, #171321 0%, #4332b8 48%, #5fa8ff 100%);
  box-shadow: 0 16px 32px rgba(91, 70, 173, 0.22);
}

.purchase-confirm-btn--no {
  color: #171321;
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(23, 19, 33, 0.10);
}

body.dark-theme .purchase-confirm-dialog {
  background:
    radial-gradient(circle at top right, rgba(95, 168, 255, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(35, 29, 57, 0.98), rgba(25, 31, 55, 0.98)) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #fffafc !important;
}

body.dark-theme .purchase-confirm-dialog h3,
body.dark-theme .purchase-confirm-meta {
  color: #ffffff !important;
}

body.dark-theme .purchase-confirm-dialog p {
  color: rgba(248, 244, 255, 0.76) !important;
}

body.dark-theme .purchase-confirm-meta,
body.dark-theme .purchase-confirm-btn--no {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #fffafc !important;
}

.admin-account-view[hidden] {
  display: none;
}

.admin-dashboard {
  display: grid;
  gap: 20px;
}

.admin-dashboard-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(95, 168, 255, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(243, 239, 255, 0.96));
  border: 1px solid rgba(123, 97, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.admin-dashboard-head h1 {
  margin: 12px 0 10px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.admin-dashboard-head p {
  max-width: 760px;
  font-size: 16px;
}

.admin-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(123, 97, 255, 0.10);
  box-shadow: var(--shadow-soft);
}

.admin-search-row input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(95, 74, 186, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
  font-weight: 700;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-stat-card,
.admin-panel,
.admin-user-row,
.admin-detail-block {
  border: 1px solid rgba(123, 97, 255, 0.10);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.admin-stat-card {
  min-height: 112px;
  padding: 18px;
  border-radius: 22px;
}

.admin-stat-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-stat-card strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 28px;
  letter-spacing: 0;
}

.admin-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: start;
}

.admin-panel {
  padding: 20px;
  border-radius: 24px;
}

.admin-keepa-panel {
  display: grid;
  gap: 14px;
}

.admin-keepa-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.10);
  color: #c2410c;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-keepa-status.is-on {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.admin-keepa-status.is-done {
  background: rgba(89, 166, 255, 0.12);
  color: #2563eb;
}

.admin-keepa-status.is-paused {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.admin-keepa-status.is-error {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.admin-keepa-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.admin-keepa-card {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(123, 97, 255, 0.10);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(243, 248, 255, 0.84));
}

.admin-keepa-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-keepa-card strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 20px;
}

.admin-keepa-warnings {
  display: grid;
  gap: 8px;
}

.admin-keepa-warnings p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
  font-size: 13px;
  font-weight: 800;
}

.admin-keepa-users {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-keepa-users span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(89, 166, 255, 0.12);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.admin-catalog-panel {
  display: grid;
  gap: 16px;
}

.admin-catalog-head {
  margin-bottom: 0;
}

.admin-catalog-progress-wrap {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at left, rgba(123, 97, 255, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(243, 248, 255, 0.86));
  border: 1px solid rgba(123, 97, 255, 0.10);
}

.admin-catalog-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-weight: 900;
}

.admin-catalog-progress-top span {
  color: var(--muted);
}

.admin-catalog-progress-top strong,
.admin-catalog-progress-top b {
  color: var(--text);
}

.admin-catalog-progress {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.12);
}

.admin-catalog-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7367ff, #3ab7c4);
  box-shadow: 0 10px 28px rgba(115, 103, 255, 0.24);
  transition: width 0.35s ease;
}

.admin-catalog-progress-wrap p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-catalog-card strong {
  overflow-wrap: anywhere;
}

.admin-catalog-live-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-catalog-live-grid span {
  display: grid;
  gap: 6px;
  min-height: 66px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(123, 97, 255, 0.07);
  border: 1px solid rgba(123, 97, 255, 0.10);
}

.admin-catalog-live-grid small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-catalog-live-grid strong {
  color: var(--text);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.admin-catalog-batch-grid span {
  background: rgba(89, 166, 255, 0.08);
}

.admin-catalog-reasons {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.16);
}

.admin-catalog-reasons > strong {
  color: var(--text);
  font-size: 13px;
}

.admin-catalog-reasons div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-catalog-reasons span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #92400e;
  font-size: 12px;
  font-weight: 900;
}

.admin-catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-catalog-actions .btn {
  min-height: 42px;
}

.admin-catalog-actions .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-panel-head strong {
  color: var(--text);
}

.admin-promo-panel {
  display: grid;
  gap: 14px;
}

.admin-promo-form {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 110px minmax(170px, 1fr) minmax(170px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.admin-promo-form input[type="text"],
.admin-promo-form input[type="number"],
.admin-promo-form input[type="datetime-local"],
.admin-promo-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(95, 74, 186, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-weight: 800;
}

.admin-detail-block .admin-promo-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-promo-active {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(95, 74, 186, 0.12);
  border-radius: 14px;
  color: var(--text);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.72);
}

.admin-promo-list {
  display: grid;
  gap: 10px;
}

.admin-promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(123, 97, 255, 0.10);
  border-radius: 16px;
  background: rgba(247, 248, 255, 0.78);
}

.admin-promo-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-promo-row strong,
.admin-promo-row small {
  display: block;
}

.admin-promo-row small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.admin-promo-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 139, 95, 0.10);
  color: #0f8b5f;
  font-weight: 900;
  cursor: pointer;
}

.admin-promo-status.is-off {
  background: rgba(196, 65, 65, 0.10);
  color: #c44141;
}

.admin-promo-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(196, 65, 65, 0.22);
  border-radius: 999px;
  background: rgba(255, 245, 245, 0.92);
  color: #c44141;
  font-weight: 900;
  cursor: pointer;
}

.admin-promo-status:hover,
.admin-promo-delete:hover {
  transform: translateY(-1px);
}

.admin-users-list,
.admin-support-list,
.admin-user-detail {
  display: grid;
  gap: 12px;
}

.admin-user-row {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

.admin-user-row.is-active {
  border-color: rgba(95, 168, 255, 0.42);
  box-shadow: 0 16px 34px rgba(95, 168, 255, 0.16);
}

.admin-user-row strong,
.admin-detail-block strong {
  color: var(--text);
}

.admin-user-row span,
.admin-user-row small,
.admin-detail-block p,
.admin-detail-list,
.admin-empty-text {
  color: var(--muted);
}

.admin-user-row small {
  font-weight: 700;
}

.admin-user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-user-meta span,
.admin-status-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.10);
  color: #6350d8;
  font-size: 12px;
  font-weight: 800;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-detail-block {
  padding: 16px;
  border-radius: 18px;
}

.admin-detail-block h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 16px;
  letter-spacing: 0;
}

.admin-detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.5;
}

.admin-detail-item {
  display: grid;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(95, 74, 186, 0.08);
}

.admin-detail-item:last-child {
  border-bottom: none;
}

.admin-detail-item button {
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(196, 65, 65, 0.16);
  background: rgba(255, 255, 255, 0.84);
  color: #c44141;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.admin-support-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(123, 97, 255, 0.10);
}

.admin-support-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.admin-support-card p {
  font-size: 13px;
}

body.dark-theme .admin-dashboard-head,
body.dark-theme .admin-search-row,
body.dark-theme .admin-stat-card,
body.dark-theme .admin-panel,
body.dark-theme .admin-user-row,
body.dark-theme .admin-detail-block,
body.dark-theme .admin-keepa-card,
body.dark-theme .admin-catalog-progress-wrap,
body.dark-theme .admin-catalog-live-grid span,
body.dark-theme .admin-catalog-reasons,
body.dark-theme .admin-support-card,
body.dark-theme .admin-search-row input,
body.dark-theme .admin-detail-item button {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.078), rgba(123, 97, 255, 0.064) 48%, rgba(89, 166, 255, 0.052)) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #fffafc !important;
}

body.dark-theme .admin-dashboard-head h1,
body.dark-theme .admin-stat-card strong,
body.dark-theme .admin-panel-head strong,
body.dark-theme .admin-user-row strong,
body.dark-theme .admin-detail-block strong,
body.dark-theme .admin-detail-block h4,
body.dark-theme .admin-keepa-card strong,
body.dark-theme .admin-catalog-progress-top strong,
body.dark-theme .admin-catalog-progress-top b,
body.dark-theme .admin-catalog-live-grid strong,
body.dark-theme .admin-catalog-reasons > strong,
body.dark-theme .admin-support-card strong {
  color: #ffffff !important;
}

body.dark-theme .admin-dashboard-head p,
body.dark-theme .admin-stat-card span,
body.dark-theme .admin-user-row span,
body.dark-theme .admin-user-row small,
body.dark-theme .admin-detail-block p,
body.dark-theme .admin-detail-list,
body.dark-theme .admin-empty-text,
body.dark-theme .admin-keepa-card span,
body.dark-theme .admin-keepa-users span,
body.dark-theme .admin-catalog-progress-wrap p,
body.dark-theme .admin-catalog-progress-top span,
body.dark-theme .admin-catalog-live-grid small,
body.dark-theme .admin-catalog-reasons span,
body.dark-theme .admin-support-card p {
  color: rgba(248, 244, 255, 0.76) !important;
}

body.dark-theme .admin-catalog-reasons span {
  background: rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 980px) {
  .account-card--ebay,
  .admin-stats-grid,
  .admin-keepa-grid,
  .admin-catalog-grid,
  .admin-catalog-live-grid,
  .admin-dashboard-layout,
  .admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-head,
  .admin-search-row {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-catalog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-catalog-actions .btn {
    width: 100%;
  }
}

@supports not (height: 100svh) {
  .support-widget.is-open .support-panel {
    height: min(620px, calc(100vh - 32px));
    max-height: calc(100vh - 32px);
  }
}

@media (max-height: 700px) and (min-width: 481px) {
  .support-widget.is-open .support-panel {
    width: min(390px, calc(100vw - 24px));
    height: min(540px, calc(100svh - 24px));
    max-height: calc(100svh - 24px);
  }
}

@media (max-width: 480px) {
  .support-widget.is-open {
    right: 6px;
    bottom: 6px;
  }

  .support-widget.is-open .support-panel {
    width: calc(100vw - 12px);
    height: calc(100svh - 12px);
    max-height: calc(100svh - 12px);
  }

  .support-topbar {
    min-height: 52px;
    padding: 9px 12px;
  }

  .support-brand-badge {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .support-topbar strong {
    font-size: 14px;
  }

  .support-topbar span {
    font-size: 11px;
  }

  .support-hero {
    padding: 16px;
    border-radius: 22px;
  }

  .support-hero-badges {
    margin-bottom: 12px;
  }

  .support-hero h3 {
    font-size: 19px;
  }

  .support-card {
    min-height: 86px;
  }

  .support-nav-btn {
    min-height: 52px;
  }
}

/* Mobile support launcher: keep it small, fixed to bottom-right, and closable. */
@media (max-width: 760px) {
  .support-widget,
  .support-widget:not(.is-open),
  .support-widget.is-open {
    top: auto !important;
    right: 14px !important;
    bottom: 14px !important;
    transform: none !important;
    z-index: 9999;
  }

  .support-fab {
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    justify-content: center;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(91, 70, 173, 0.26);
  }

  .support-fab-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .support-fab-text {
    display: none !important;
  }

  .support-widget.is-open .support-panel {
    right: 0 !important;
    bottom: 0 !important;
    width: min(390px, calc(100vw - 28px)) !important;
    height: min(620px, calc(100svh - 28px)) !important;
    max-height: calc(100svh - 28px) !important;
  }

  .support-shell {
    border-radius: 24px;
  }

  .support-topbar {
    min-height: 56px;
    padding: 10px 12px;
  }

  .support-brand-mini {
    min-width: 0;
  }

  .support-brand-mini > div:last-child {
    min-width: 0;
  }

  .support-brand-mini strong,
  .support-brand-mini span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .support-close {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .support-view {
    padding: 14px;
  }

  .support-chat-form {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@supports not (height: 100svh) {
  @media (max-width: 760px) {
    .support-widget.is-open .support-panel {
      height: min(620px, calc(100vh - 28px)) !important;
      max-height: calc(100vh - 28px) !important;
    }
  }
}

/* Premium homepage command center mockup */
.command-center-visual {
  min-height: 560px;
  display: grid;
  place-items: center;
}

.command-center-card {
  position: relative;
  width: min(100%, 620px);
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(123, 97, 255, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 12%, rgba(123, 97, 255, 0.18), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(95, 168, 255, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(247, 251, 255, 0.72));
  box-shadow: 0 30px 80px rgba(45, 35, 110, 0.18);
  backdrop-filter: blur(18px);
}

.command-center-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.45), transparent 36%, rgba(255, 255, 255, 0.22));
}

.command-center-card > * {
  position: relative;
  z-index: 1;
}

.command-center-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 4px 4px 18px;
}

.command-center-topbar strong {
  display: block;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.command-center-topbar span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.command-status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.command-status-row span,
.command-mini-badge,
.command-start-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(123, 97, 255, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: #5f52d8;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.command-status-row span:first-child::before,
.command-mini-badge--green::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #18b57b;
  box-shadow: 0 0 0 4px rgba(24, 181, 123, 0.12);
}

.command-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.command-stat {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(123, 97, 255, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 12px 28px rgba(91, 70, 173, 0.07);
}

.command-stat span {
  display: block;
  min-height: 32px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.command-stat strong {
  display: block;
  margin-top: 7px;
  color: var(--text);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.command-stat small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  color: rgba(15, 159, 110, 0.92);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.command-stat small::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #18b57b;
  box-shadow: 0 0 0 4px rgba(24, 181, 123, 0.12);
}

.command-center-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 12px;
}

.command-card {
  position: relative;
  min-height: 132px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(123, 97, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.70);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(91, 70, 173, 0.09);
}

button.command-card {
  width: 100%;
  border-color: rgba(123, 97, 255, 0.12);
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.command-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.command-card small {
  display: block;
  max-width: 230px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.command-card--ai {
  display: block;
  min-height: 168px;
  grid-row: span 2;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 14, 45, 0.38), rgba(33, 21, 82, 0.22) 44%, rgba(33, 21, 82, 0.78)),
    url("/public/images/ai-operator.png") left center / cover no-repeat,
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.24), transparent 26%),
    linear-gradient(135deg, #181426, #6d5cff 58%, #5fa8ff);
}

.command-card--ai strong,
.command-card--ai small {
  color: #fff;
}

.command-ai-orb {
  display: none;
}

.command-ai-copy {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 48px;
  max-width: 165px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.command-card--ai .command-ai-copy strong {
  display: none;
}

.command-card--ai .command-ai-copy small {
  max-width: 170px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(9, 8, 25, 0.48);
}

.command-card.is-command-link {
  cursor: pointer;
}

.command-card.is-command-link:hover,
.command-card.is-command-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(123, 97, 255, 0.24);
  box-shadow: 0 24px 54px rgba(91, 70, 173, 0.18);
}

.command-card--ai:hover,
.command-card--ai:focus-visible,
.command-card--research:hover,
.command-card--research:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(91, 70, 173, 0.18);
}

.command-card--amazon {
  background: linear-gradient(145deg, rgba(236, 249, 255, 0.86), rgba(255, 255, 255, 0.72));
}

.command-card--ebay {
  background: linear-gradient(145deg, rgba(240, 255, 248, 0.86), rgba(255, 255, 255, 0.72));
}

.command-card--research {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(145deg, rgba(255, 246, 222, 0.92), rgba(255, 255, 255, 0.76));
}

.command-card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 24px rgba(91, 70, 173, 0.10);
}

.command-mini-badge {
  margin-top: 12px;
}

.command-line-chart {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: end;
  gap: 5px;
  height: 36px;
}

.command-line-chart i {
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff7d9d, #7b61ff);
}

.command-line-chart i:nth-child(1) { height: 15px; }
.command-line-chart i:nth-child(2) { height: 25px; }
.command-line-chart i:nth-child(3) { height: 19px; }
.command-line-chart i:nth-child(4) { height: 32px; }

@media (prefers-reduced-motion: no-preference) {
  .command-center-card {
    animation: commandFloat 8s ease-in-out infinite;
  }

  .command-ai-orb {
    animation: commandGlow 5s ease-in-out infinite;
  }
}

@keyframes commandFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes commandGlow {
  0%, 100% { filter: saturate(1); }
  50% { filter: saturate(1.25) brightness(1.06); }
}

body.dark-theme .command-center-card {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 16% 12%, rgba(123, 97, 255, 0.22), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(95, 168, 255, 0.20), transparent 28%),
    linear-gradient(145deg, rgba(24, 22, 42, 0.92), rgba(17, 21, 36, 0.84));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

body.dark-theme .command-stat,
body.dark-theme .command-card,
body.dark-theme .command-status-row span,
body.dark-theme .command-mini-badge,
body.dark-theme .command-start-pill {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
}

body.dark-theme .command-card--ai {
  background:
    linear-gradient(90deg, rgba(8, 9, 18, 0.42), rgba(27, 22, 66, 0.24) 42%, rgba(10, 12, 24, 0.82)),
    url("/public/images/ai-operator.png") left center / cover no-repeat,
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(135deg, #161322, #5444d8 58%, #3c86e8);
}

body.dark-theme .command-center-topbar strong,
body.dark-theme .command-stat strong,
body.dark-theme .command-card strong {
  color: #fffafc;
}

body.dark-theme .command-center-topbar span,
body.dark-theme .command-stat span,
body.dark-theme .command-card small {
  color: rgba(248, 244, 255, 0.72);
}

body.dark-theme .command-stat small {
  color: rgba(52, 211, 153, 0.95);
}

@media (max-width: 1180px) {
  .command-center-visual {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .command-center-card {
    padding: 16px;
    border-radius: 24px;
  }

  .command-center-topbar,
  .command-center-grid {
    grid-template-columns: 1fr;
  }

  .command-status-row {
    justify-content: flex-start;
  }

  .command-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .command-card--ai {
    min-height: 138px;
    grid-row: auto;
  }
}

@media (max-width: 420px) {
  .command-stats-grid {
    grid-template-columns: 1fr;
  }

  .command-card--ai {
    grid-template-columns: 1fr;
  }
}

/* Keep the new Command Center isolated from older floating hero card rules. */
.hero-visual-clean.command-center-visual {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto !important;
  align-items: center !important;
  justify-items: stretch !important;
  height: auto !important;
  width: 100% !important;
  max-width: 680px !important;
  min-width: 0 !important;
  margin-left: auto !important;
}

.hero-visual-clean.command-center-visual .command-center-card {
  grid-column: 1 / -1 !important;
}

.hero-visual-clean.command-center-visual .command-card {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  transform: none;
}

.hero-visual-clean.command-center-visual .command-card::before,
.hero-visual-clean.command-center-visual .command-card::after {
  content: none !important;
}

/* Stable homepage hero layout for desktop, laptop, zoom changes, and mobile. */
.hero-grid-clean:has(.command-center-visual) {
  width: min(calc(100% - clamp(32px, 7vw, 112px)), 1440px);
  max-width: 1440px;
}

.hero-visual-clean.command-center-visual .command-center-card {
  animation: none !important;
}

@media (min-width: 1200px) {
  .site-header .header-inner-clean {
    min-height: 74px;
  }

  .site-header .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .site-header .brand-copy strong {
    font-size: 21px;
  }

  .site-header .brand-copy span {
    font-size: 12px;
  }

  .site-header .lang-btn--flag {
    width: 36px;
    height: 36px;
    min-height: 36px;
    flex-basis: 36px;
  }

  .site-header .balance-chip,
  .site-header .account-chip,
  .site-header .cart-chip,
  .site-header .theme-toggle {
    min-height: 42px;
  }

  .hero.section {
    min-height: auto !important;
    display: block !important;
    padding-top: clamp(68px, 7vh, 106px) !important;
    padding-bottom: clamp(62px, 7vh, 104px) !important;
  }

  .hero-grid-clean:has(.command-center-visual) {
    grid-template-columns: minmax(0, 1fr) minmax(440px, 620px) !important;
    gap: clamp(36px, 5vw, 80px) !important;
    align-items: center !important;
  }

  .hero-grid-clean:has(.command-center-visual) .hero-copy-clean {
    max-width: 700px;
    min-width: 0;
  }

  .hero-grid-clean:has(.command-center-visual) .hero-title-clean {
    max-width: 720px;
    font-size: clamp(44px, 4.4vw, 78px);
    line-height: 0.95;
  }

  .hero-grid-clean:has(.command-center-visual) .hero-text-clean {
    max-width: 680px;
    font-size: clamp(17px, 1.18vw, 21px);
  }

  .hero-visual-clean.command-center-visual {
    justify-self: center !important;
    align-self: center !important;
    width: min(100%, 620px) !important;
    max-width: 620px !important;
    min-height: auto !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .hero-visual-clean.command-center-visual::before {
    inset: -14px !important;
    filter: blur(10px) !important;
    opacity: 0.48;
  }

  .hero-visual-clean.command-center-visual .command-center-card {
    width: 100%;
    max-width: 620px;
    padding: clamp(16px, 1.25vw, 22px);
    border-radius: 28px;
    overflow: hidden;
  }

  .hero-visual-clean.command-center-visual .command-center-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    padding: 0 0 12px;
  }

  .hero-visual-clean.command-center-visual .command-status-row {
    max-width: 190px;
    gap: 5px;
  }

  .hero-visual-clean.command-center-visual .command-status-row span,
  .hero-visual-clean.command-center-visual .command-mini-badge,
  .hero-visual-clean.command-center-visual .command-start-pill {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  .hero-visual-clean.command-center-visual .command-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 11px;
  }

  .hero-visual-clean.command-center-visual .command-stat {
    min-height: 68px;
    padding: 10px;
    border-radius: 16px;
  }

  .hero-visual-clean.command-center-visual .command-stat span {
    min-height: 25px;
    font-size: 10px;
  }

  .hero-visual-clean.command-center-visual .command-stat strong {
    margin-top: 3px;
    font-size: 20px;
  }

  .hero-visual-clean.command-center-visual .command-center-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    grid-template-rows: 126px 126px 82px;
    grid-template-areas: none;
    gap: 11px;
  }

  .hero-visual-clean.command-center-visual .command-card {
    height: 100%;
    min-height: 0;
    padding: 14px;
    border-radius: 20px;
  }

  .hero-visual-clean.command-center-visual .command-card--ai {
    grid-area: auto;
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 0;
    align-content: center;
  }

  .hero-visual-clean.command-center-visual .command-card--amazon {
    grid-area: auto;
    grid-column: 2;
    grid-row: 1;
  }

  .hero-visual-clean.command-center-visual .command-card--ebay {
    grid-area: auto;
    grid-column: 2;
    grid-row: 2;
  }

  .hero-visual-clean.command-center-visual .command-card--research {
    grid-area: auto;
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 0;
  }

  .hero-visual-clean.command-center-visual .command-card strong {
    font-size: 15px;
  }

  .hero-visual-clean.command-center-visual .command-card small {
    font-size: 11.5px;
    line-height: 1.32;
  }

  .hero-visual-clean.command-center-visual .command-card--ai .command-ai-copy {
    right: 13px;
    bottom: 40px;
    max-width: 142px;
    margin: 0;
  }

  .hero-visual-clean.command-center-visual .command-card--ai .command-ai-copy small {
    max-width: 150px;
    font-size: 11.5px;
  }

  .hero-visual-clean.command-center-visual .command-card-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    border-radius: 14px;
  }

  .hero-visual-clean.command-center-visual .command-ai-orb {
    width: 58px;
    height: 58px;
    border-radius: 19px;
  }

  .hero-visual-clean.command-center-visual .command-mini-badge {
    margin-top: 8px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .hero.section {
    padding-top: 56px !important;
    padding-bottom: 64px !important;
  }

  .hero-grid-clean:has(.command-center-visual) {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 500px) !important;
    gap: 34px !important;
    align-items: center !important;
  }

  .hero-grid-clean:has(.command-center-visual) .hero-title-clean {
    font-size: clamp(38px, 4.8vw, 54px);
  }

  .hero-visual-clean.command-center-visual {
    max-width: 500px !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .hero-visual-clean.command-center-visual .command-center-card {
    padding: 16px;
    overflow: hidden;
  }

  .hero-visual-clean.command-center-visual .command-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-visual-clean.command-center-visual .command-stat {
    min-height: 64px;
    padding: 9px;
    border-radius: 15px;
  }

  .hero-visual-clean.command-center-visual .command-stat span {
    min-height: 24px;
    font-size: 9.5px;
  }

  .hero-visual-clean.command-center-visual .command-stat strong {
    margin-top: 3px;
    font-size: 18px;
  }

  .hero-visual-clean.command-center-visual .command-center-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    grid-template-rows: 112px 112px 76px;
    gap: 10px;
  }

  .hero-visual-clean.command-center-visual .command-card {
    height: 100%;
    min-height: 0;
    padding: 13px;
    border-radius: 19px;
  }

  .hero-visual-clean.command-center-visual .command-card--ai {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 0;
  }

  .hero-visual-clean.command-center-visual .command-card--amazon {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-visual-clean.command-center-visual .command-card--ebay {
    grid-column: 2;
    grid-row: 2;
  }

  .hero-visual-clean.command-center-visual .command-card--research {
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 0;
  }

  .hero-visual-clean.command-center-visual .command-card strong {
    font-size: 14px;
  }

  .hero-visual-clean.command-center-visual .command-card small {
    font-size: 11px;
    line-height: 1.3;
  }

  .hero-visual-clean.command-center-visual .command-card--ai .command-ai-copy {
    right: 12px;
    bottom: 32px;
    max-width: 126px;
    margin: 0;
  }

  .hero-visual-clean.command-center-visual .command-card--ai .command-ai-copy small {
    max-width: 132px;
    font-size: 10.5px;
  }

  .hero-visual-clean.command-center-visual .command-card-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 7px;
  }

  .hero-visual-clean.command-center-visual .command-ai-orb {
    width: 52px;
    height: 52px;
    border-radius: 17px;
  }
}

@media (max-width: 899px) {
  .hero.section {
    padding-top: 46px !important;
    padding-bottom: 54px !important;
  }

  .hero-grid-clean:has(.command-center-visual) {
    width: min(calc(100% - 32px), 720px);
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .hero-visual-clean.command-center-visual {
    max-width: 620px !important;
    margin: 0 auto !important;
    transform: none !important;
  }
}

@media (max-width: 640px) {
  .hero-visual-clean.command-center-visual .command-center-card {
    padding: 14px;
    border-radius: 24px;
    overflow: hidden;
  }

  .hero-visual-clean.command-center-visual .command-center-topbar {
    gap: 10px;
    padding-bottom: 12px;
  }

  .hero-visual-clean.command-center-visual .command-status-row {
    gap: 5px;
  }

  .hero-visual-clean.command-center-visual .command-status-row span,
  .hero-visual-clean.command-center-visual .command-mini-badge,
  .hero-visual-clean.command-center-visual .command-start-pill {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  .hero-visual-clean.command-center-visual .command-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
    margin-bottom: 10px;
  }

  .hero-visual-clean.command-center-visual .command-stat {
    min-height: 68px;
    padding: 10px;
    border-radius: 16px;
  }

  .hero-visual-clean.command-center-visual .command-stat span {
    min-height: 24px;
    font-size: 10px;
  }

  .hero-visual-clean.command-center-visual .command-stat strong {
    margin-top: 3px;
    font-size: 19px;
  }

  .hero-visual-clean.command-center-visual .command-center-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-visual-clean.command-center-visual .command-card {
    min-height: 96px;
    padding: 14px;
    border-radius: 19px;
  }

  .hero-visual-clean.command-center-visual .command-card--ai {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 118px;
    grid-row: auto;
  }

  .hero-visual-clean.command-center-visual .command-card--amazon,
  .hero-visual-clean.command-center-visual .command-card--ebay {
    min-height: 108px;
  }

  .hero-visual-clean.command-center-visual .command-card--research {
    min-height: 86px;
  }

  .hero-visual-clean.command-center-visual .command-card strong {
    font-size: 15px;
  }

  .hero-visual-clean.command-center-visual .command-card small {
    font-size: 11.5px;
    line-height: 1.32;
  }

  .hero-visual-clean.command-center-visual .command-card--ai .command-ai-copy {
    right: 12px;
    bottom: 30px;
    max-width: 132px;
    margin: 0;
  }

  .hero-visual-clean.command-center-visual .command-card--ai .command-ai-copy small {
    max-width: 140px;
    font-size: 11px;
  }

  .hero-visual-clean.command-center-visual .command-card-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
  }

  .hero-visual-clean.command-center-visual .command-ai-orb {
    width: 50px;
    height: 50px;
    border-radius: 17px;
  }
}

/* Production frontend polish: shared states, accessible contrast, and module status cards */
:root {
  --color-bg: #f7f8fb;
  --color-bg-soft: #eef4ff;
  --color-surface: rgba(255, 255, 255, 0.92);
  --color-surface-strong: #ffffff;
  --color-text: #111827;
  --color-muted: #647085;
  --color-border: rgba(37, 56, 88, 0.12);
  --color-primary: #5b6cff;
  --color-primary-strong: #3f55f2;
  --color-accent: #0ea5e9;
  --color-success: #0f9f6e;
  --color-warning: #b7791f;
  --color-danger: #d92d20;
  --color-info: #2563eb;
  --focus-ring: 0 0 0 4px rgba(91, 108, 255, 0.18);
}

body.dark-theme {
  --color-bg: #090d1a;
  --color-bg-soft: #111827;
  --color-surface: rgba(17, 24, 39, 0.9);
  --color-surface-strong: #151c2e;
  --color-text: #f8fafc;
  --color-muted: #b8c3d6;
  --color-border: rgba(226, 232, 240, 0.15);
  --color-primary: #8da2ff;
  --color-primary-strong: #a6b5ff;
  --color-accent: #38bdf8;
  --color-success: #34d399;
  --color-warning: #fbbf24;
  --color-danger: #fb7185;
  --color-info: #93c5fd;
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

button:disabled,
.btn:disabled,
.is-loading {
  cursor: wait;
  opacity: 0.72;
  transform: none !important;
}

.module-status-card,
.status-panel,
.empty-state-card,
.frontend-alert {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.module-status-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  margin: 18px 0;
}

.module-status-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.module-status-head strong {
  display: block;
  color: var(--color-text);
  font-size: 17px;
}

.module-status-head span,
.module-status-card p,
.empty-state-card p {
  color: var(--color-muted);
}

.module-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.module-status-item {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 12px;
  background: color-mix(in srgb, var(--color-surface-strong) 80%, transparent);
}

.module-status-item small {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.module-status-item strong {
  color: var(--color-text);
  font-size: 15px;
}

.status-badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-strong);
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge.is-active,
.status-badge.is-success {
  color: var(--color-success);
  background: color-mix(in srgb, var(--color-success) 12%, var(--color-surface-strong));
}

.status-badge.is-locked,
.status-badge.is-danger {
  color: var(--color-danger);
  background: color-mix(in srgb, var(--color-danger) 10%, var(--color-surface-strong));
}

.status-badge.is-warning {
  color: var(--color-warning);
  background: color-mix(in srgb, var(--color-warning) 14%, var(--color-surface-strong));
}

.is-plan-active {
  border-color: color-mix(in srgb, var(--color-success) 34%, var(--color-border)) !important;
}

.is-plan-active .module-status-card {
  border-color: color-mix(in srgb, var(--color-success) 26%, var(--color-border));
}

.pricing-plan-card.is-current-plan {
  border-color: color-mix(in srgb, var(--color-success) 34%, rgba(123, 97, 255, 0.12)) !important;
}

.pricing-current-badge {
  margin-top: 8px;
  justify-self: start;
}

.frontend-alert {
  padding: 12px 14px;
  font-weight: 700;
  line-height: 1.5;
}

.frontend-alert.is-info {
  color: var(--color-info);
  background: color-mix(in srgb, var(--color-info) 10%, var(--color-surface-strong));
}

.frontend-alert.is-warning {
  color: var(--color-warning);
  background: color-mix(in srgb, var(--color-warning) 12%, var(--color-surface-strong));
}

.frontend-alert.is-danger {
  color: var(--color-danger);
  background: color-mix(in srgb, var(--color-danger) 10%, var(--color-surface-strong));
}

.empty-state-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  text-align: left;
}

.empty-state-card strong {
  color: var(--color-text);
}

body.dark-theme :where(input, textarea, select) {
  color: var(--color-text) !important;
  background: rgba(15, 23, 42, 0.88) !important;
  border-color: var(--color-border) !important;
}

body.dark-theme :where(input, textarea, select)::placeholder {
  color: rgba(226, 232, 240, 0.56) !important;
}

body.dark-theme .auth-btn--google {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(95, 168, 255, 0.10));
  border-color: rgba(255, 255, 255, 0.16);
  color: #fffafc;
  box-shadow: 0 18px 34px rgba(7, 10, 22, 0.30);
}

body.dark-theme .auth-btn--google:hover {
  border-color: rgba(141, 162, 255, 0.42);
  box-shadow: 0 18px 38px rgba(95, 168, 255, 0.16);
}

body.dark-theme .google-auth-icon {
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.12);
}

body.dark-theme :where(.module-status-card, .status-panel, .empty-state-card, .frontend-alert) {
  background:
    linear-gradient(145deg, rgba(17, 24, 39, 0.94), rgba(30, 41, 59, 0.84)) !important;
  border-color: var(--color-border) !important;
  color: var(--color-text) !important;
}

body.dark-theme :where(.module-status-head span, .module-status-card p, .module-status-item small, .empty-state-card p) {
  color: var(--color-muted) !important;
}

body.dark-theme :where(.module-status-head strong, .module-status-item strong, .empty-state-card strong) {
  color: var(--color-text) !important;
}

@media (max-width: 760px) {
  .module-status-grid {
    grid-template-columns: 1fr;
  }

  .module-status-head {
    align-items: stretch;
  }

  .status-badge {
    justify-content: flex-start;
  }
}

/* Final AI Operator card caption placement. Keep all text off the robot and under the image's own title. */
.command-card--ai {
  position: relative !important;
  display: block !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #1d1450 !important;
}

.command-card--ai .command-ai-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: inherit !important;
  pointer-events: none !important;
}

.command-card--ai .command-ai-orb,
.command-card--ai .command-ai-copy,
.command-card--ai .command-ai-image + span,
.command-card--ai strong,
.command-card--ai small {
  display: none !important;
}

.command-card--ai:hover,
.command-card--ai:focus-visible {
  transform: translateY(-3px) !important;
  box-shadow: 0 26px 60px rgba(91, 70, 173, 0.24) !important;
  border-color: rgba(123, 97, 255, 0.32) !important;
}

body.dark-theme .home-workflow-board {
  background:
    radial-gradient(circle at top left, rgba(123, 97, 255, 0.20), transparent 34%),
    radial-gradient(circle at bottom right, rgba(24, 178, 139, 0.12), transparent 30%),
    rgba(25, 21, 42, 0.78) !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
}

body.dark-theme .home-workflow-step {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-theme .home-workflow-step.is-active {
  background: linear-gradient(135deg, rgba(21, 120, 104, 0.18), rgba(91, 70, 173, 0.18)) !important;
  border-color: rgba(70, 220, 176, 0.24) !important;
}

body.dark-theme .home-workflow-step b {
  background: rgba(143, 126, 255, 0.18) !important;
  color: #d9d2ff !important;
}

body.dark-theme .home-workflow-result {
  background:
    radial-gradient(circle at right, rgba(255, 210, 115, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 210, 115, 0.07)) !important;
  border-color: rgba(255, 210, 115, 0.22) !important;
}

body.dark-theme .home-workflow-result span {
  background: rgba(255, 210, 115, 0.16) !important;
  color: #ffe3a3 !important;
}

/* =========================
   MOBILE APP NAVIGATION
   Desktop header above 1024px stays on the existing layout.
========================= */

.mobile-drawer,
.mobile-drawer-backdrop {
  display: none;
}

@media (max-width: 1024px) {
  body.mobile-nav-open {
    overflow: hidden;
  }

  .site-header {
    z-index: 30000;
    overflow: visible;
  }

  .site-header .header-inner-clean {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 70px;
    gap: 12px;
  }

  .site-header .header-brand-wrap {
    min-width: 0;
  }

  .site-header .brand {
    max-width: 100%;
  }

  .site-header .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .site-header .brand-copy {
    min-width: 0;
  }

  .site-header .brand-copy strong {
    font-size: 19px;
    letter-spacing: 0;
  }

  .site-header .brand-copy span {
    font-size: 11px;
    white-space: nowrap;
  }

  .site-header .header-main-area,
  .site-header .nav,
  .site-header .header-tools,
  .site-header.menu-open .nav,
  .site-header.menu-open .header-tools {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .menu-toggle {
    position: relative;
    z-index: 30003;
    display: inline-flex !important;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    border-radius: 16px;
    border-color: rgba(123, 97, 255, 0.16);
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(242,245,255,0.92));
    box-shadow: 0 14px 34px rgba(91, 70, 173, 0.14);
  }

  .menu-toggle span {
    width: 19px;
    transition: transform 0.22s ease, opacity 0.16s ease;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30001;
    display: block;
    background: rgba(17, 14, 32, 0.46);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(8px);
    transition: opacity 0.24s ease, visibility 0.24s ease;
  }

  .mobile-drawer-backdrop[hidden] {
    display: none;
  }

  .site-header.menu-open .mobile-drawer-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 30002;
    display: block;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    transform: none;
    opacity: 1;
    outline: none;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.24s ease;
  }

  .site-header.menu-open .mobile-drawer {
    pointer-events: auto;
    visibility: visible;
  }

  .mobile-drawer-shell {
    width: min(392px, calc(100% - 18px));
    margin-left: auto;
    height: 100%;
    display: grid;
    align-content: start;
    gap: 14px;
    padding: max(18px, env(safe-area-inset-top)) 16px max(22px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 28px 0 0 28px;
    border-left: 1px solid rgba(123, 97, 255, 0.16);
    background:
      radial-gradient(circle at 14% 0%, rgba(123, 97, 255, 0.18), transparent 30%),
      radial-gradient(circle at 100% 28%, rgba(95, 168, 255, 0.16), transparent 32%),
      linear-gradient(160deg, rgba(255,255,255,0.995), rgba(244,247,255,0.99));
    box-shadow: -24px 0 64px rgba(23, 19, 33, 0.22);
    transform: translateX(110%);
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .mobile-drawer[aria-hidden="true"] .mobile-drawer-shell {
    transform: translateX(0);
    visibility: hidden;
  }

  .site-header.menu-open .mobile-drawer-shell {
    animation: mobileDrawerSlideIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-drawer-head,
  .mobile-drawer-brand,
  .mobile-control-row,
  .mobile-account-summary,
  .mobile-shortcut-link,
  .mobile-account-link {
    display: flex;
    align-items: center;
  }

  .mobile-drawer-head {
    justify-content: space-between;
    gap: 12px;
    padding: 2px 2px 8px;
  }

  .mobile-drawer-brand {
    min-width: 0;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
  }

  .mobile-drawer-logo {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    box-shadow: 0 12px 26px rgba(123, 97, 255, 0.18);
  }

  .mobile-drawer-brand span {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .mobile-drawer-brand strong {
    font-size: 18px;
    line-height: 1.1;
  }

  .mobile-drawer-brand small {
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-drawer-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border: 0;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    color: #211b34;
    box-shadow: 0 12px 24px rgba(91, 70, 173, 0.11);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-drawer-nav {
    display: grid;
    gap: 8px;
  }

  .mobile-drawer-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border-radius: 17px;
    color: #211b34;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(123, 97, 255, 0.08);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-drawer-nav a.is-active,
  .mobile-drawer-nav a[aria-current="page"] {
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.14), rgba(95, 168, 255, 0.14));
    border-color: rgba(123, 97, 255, 0.20);
    color: #4f3eb6;
  }

  .mobile-drawer-nav a span {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 97, 255, 0.11);
    color: #5f48ca;
    font-size: 15px;
    flex: 0 0 auto;
  }

  .mobile-drawer-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(123, 97, 255, 0.11);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 38px rgba(91, 70, 173, 0.10);
  }

  .mobile-section-title {
    color: #6f6785;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-control-row {
    justify-content: space-between;
    gap: 10px;
  }

  .mobile-lang-switcher {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border-radius: 18px;
    background: rgba(246, 245, 255, 0.92);
    border: 1px solid rgba(123, 97, 255, 0.10);
  }

  .mobile-lang-btn {
    width: 38px;
    height: 38px;
    min-height: 38px;
    flex: 0 0 38px;
  }

  .mobile-theme-toggle {
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid rgba(123, 97, 255, 0.12);
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.86);
    color: #211b34;
    box-shadow: 0 12px 26px rgba(91, 70, 173, 0.09);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
  }

  .mobile-theme-toggle .theme-icon {
    position: static;
    opacity: 1;
    transform: none;
    font-size: 16px;
  }

  .mobile-theme-toggle .theme-icon--moon {
    display: none;
  }

  body.dark-theme .mobile-theme-toggle .theme-icon--sun {
    display: none;
  }

  body.dark-theme .mobile-theme-toggle .theme-icon--moon {
    display: inline-flex;
    opacity: 1;
    transform: none;
  }

  .mobile-guest-card strong,
  .mobile-account-main strong {
    color: #211b34;
    font-size: 15px;
  }

  .mobile-guest-card > span,
  .mobile-account-main small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
  }

  .mobile-guest-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mobile-guest-actions .btn {
    min-height: 46px;
    padding: 0 14px;
    justify-content: center;
  }

  .mobile-account-panel.auth-user-only {
    display: none !important;
  }

  body.is-authenticated .mobile-account-panel.auth-user-only {
    display: grid !important;
  }

  .mobile-account-summary {
    width: 100%;
    min-height: 66px;
    gap: 12px;
    padding: 8px 10px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.10), rgba(95, 168, 255, 0.10));
    color: #211b34;
    cursor: pointer;
    text-align: left;
  }

  .mobile-account-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .mobile-account-main {
    min-width: 0;
    display: grid;
    gap: 2px;
    flex: 1 1 auto;
  }

  .mobile-account-main strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-account-balance {
    flex: 0 0 auto;
    color: #0f8b5f;
    font-size: 14px;
  }

  .mobile-account-chevron {
    color: #7b61ff;
    font-size: 24px;
    line-height: 1;
    transition: transform 0.22s ease;
  }

  .mobile-account-summary[aria-expanded="true"] .mobile-account-chevron {
    transform: rotate(90deg);
  }

  .mobile-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-shortcut-link {
    min-height: 58px;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 8px 6px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(123, 97, 255, 0.08);
    color: #211b34;
    text-decoration: none;
    text-align: center;
  }

  .mobile-shortcut-link span {
    color: #6f6785;
    font-size: 11px;
    font-weight: 800;
  }

  .mobile-shortcut-link strong {
    color: #211b34;
    font-size: 13px;
    font-weight: 900;
  }

  .mobile-shortcut-link .notification-mini-badge {
    margin-left: 0;
  }

  .mobile-account-actions {
    display: grid;
    gap: 7px;
    overflow: hidden;
    animation: mobileAccountActionsIn 0.2s ease both;
  }

  .mobile-account-actions[hidden] {
    display: none;
  }

  .mobile-account-link {
    width: 100%;
    min-height: 48px;
    gap: 12px;
    padding: 0 12px;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.58);
    color: #211b34;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-account-link span {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 97, 255, 0.10);
    color: #5f48ca;
    flex: 0 0 auto;
  }

  .mobile-logout-btn {
    color: #c83232;
  }

  .mobile-logout-btn span {
    background: rgba(214, 66, 66, 0.10);
    color: #c83232;
  }

  .account-dropdown {
    display: none !important;
  }

  body.dark-theme .mobile-drawer-shell {
    background:
      radial-gradient(circle at 14% 0%, rgba(123, 97, 255, 0.25), transparent 30%),
      radial-gradient(circle at 100% 28%, rgba(95, 168, 255, 0.18), transparent 32%),
      linear-gradient(160deg, rgba(25, 21, 42, 0.98), rgba(20, 29, 49, 0.96));
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: -24px 0 64px rgba(0, 0, 0, 0.34);
  }

  body.dark-theme .mobile-drawer-brand,
  body.dark-theme .mobile-drawer-close,
  body.dark-theme .mobile-drawer-nav a,
  body.dark-theme .mobile-theme-toggle,
  body.dark-theme .mobile-account-summary,
  body.dark-theme .mobile-shortcut-link,
  body.dark-theme .mobile-account-link,
  body.dark-theme .mobile-guest-card strong,
  body.dark-theme .mobile-account-main strong,
  body.dark-theme .mobile-shortcut-link strong {
    color: #f7f3ff;
  }

  body.dark-theme .mobile-drawer-card,
  body.dark-theme .mobile-drawer-nav a,
  body.dark-theme .mobile-drawer-close,
  body.dark-theme .mobile-theme-toggle,
  body.dark-theme .mobile-shortcut-link,
  body.dark-theme .mobile-account-link {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.11);
  }

  body.dark-theme .mobile-section-title,
  body.dark-theme .mobile-drawer-brand small,
  body.dark-theme .mobile-guest-card > span,
  body.dark-theme .mobile-account-main small,
  body.dark-theme .mobile-shortcut-link span {
    color: #c8c1df;
  }
}

@keyframes mobileAccountActionsIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobileDrawerSlideIn {
  from {
    transform: translateX(110%);
  }

  to {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .site-header .header-inner-clean {
    min-height: 66px;
  }

  .mobile-drawer {
    width: 100%;
  }

  .mobile-drawer-shell {
    width: min(386px, calc(100% - 12px));
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 480px) {
  .site-header .header-inner-clean {
    min-height: 64px;
  }

  .site-header .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .site-header .brand-copy strong {
    font-size: 18px;
  }

  .site-header .brand-copy span {
    font-size: 10.5px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-drawer {
    width: 100%;
  }

  .mobile-drawer-shell {
    width: 100%;
    border-radius: 0;
    border-left: 0;
  }

  .mobile-control-row,
  .mobile-guest-actions,
  .mobile-shortcuts {
    grid-template-columns: 1fr;
  }

  .mobile-control-row {
    display: grid;
  }

  .mobile-theme-toggle,
  .mobile-lang-switcher {
    width: 100%;
    justify-content: center;
  }

  .mobile-shortcut-link {
    min-height: 50px;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 12px;
  }

  .mobile-account-summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    display: grid;
  }

  .mobile-account-chevron {
    display: none;
  }
}

/* ── Product Research: Sort Bar ── */
.research-sort-bar {
  display: none;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text);
  opacity: 0.75;
}

.research-sort-bar.is-visible {
  display: flex;
}

.research-sort-btn {
  padding: 5px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.research-sort-btn:hover {
  background: rgba(123, 97, 255, 0.07);
  border-color: var(--primary);
  color: var(--primary);
}

.research-sort-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Product Research: Score Badge ── */
.rsc-badge {
  min-width: 72px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #5f4dc6, #2f8dff);
}

.rsc-badge--high {
  background: linear-gradient(135deg, #1a9e5e, #34c97c);
}

.rsc-badge--mid {
  background: linear-gradient(135deg, #c47d00, #f0a500);
}

.rsc-badge--low {
  background: linear-gradient(135deg, #6b6b7a, #9898a8);
}

/* ===== AutoTrack module ===== */
.wallet-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.autotrack-chip span {
  color: #4f46e5;
}
.autotrack-chip strong {
  color: #4f46e5;
}

.autotrack-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 64px;
}
.autotrack-page .at-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.autotrack-page .at-head h1 {
  margin: 0 0 6px;
  font-size: 26px;
}
.autotrack-page .at-head p {
  margin: 0;
  color: #64748b;
  max-width: 560px;
}
.at-credit-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(79, 70, 229, .25);
}
.at-credit-box .at-credit-num {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.at-credit-box small {
  opacity: .85;
}
.at-credit-box .btn {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
}
.at-credit-box .btn:hover {
  background: rgba(255, 255, 255, .28);
}

.at-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.at-stat {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
}
.at-stat .at-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #94a3b8;
}
.at-stat .at-stat-value {
  font-size: 24px;
  font-weight: 800;
  margin-top: 6px;
}

.at-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 900px) {
  .at-grid { grid-template-columns: 1fr; }
}
.at-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
}
.at-card h2 {
  margin: 0 0 12px;
  font-size: 17px;
}
.at-key-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.at-key-row input {
  flex: 1;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
}
.at-key-hint {
  font-size: 12px;
  color: #94a3b8;
  margin: 10px 0 0;
}

.at-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.at-package {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  background: #fff;
}
.at-package:hover {
  border-color: #6366f1;
  box-shadow: 0 8px 20px rgba(99, 102, 241, .12);
}
.at-package .at-pkg-credits {
  font-size: 20px;
  font-weight: 800;
}
.at-package .at-pkg-price {
  color: #4f46e5;
  font-weight: 700;
  margin-top: 4px;
}

.at-table-wrap {
  overflow-x: auto;
}
.at-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.at-table th, .at-table td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
}
.at-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #94a3b8;
}
.at-track-code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
}
.at-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
}
.at-badge--convert { background: #fef3c7; color: #b45309; }
.at-badge--real { background: #dcfce7; color: #15803d; }
.at-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e0e7ff;
  color: #4338ca;
}
.at-status--delivered { background: #dcfce7; color: #15803d; }
.at-status--exception { background: #fee2e2; color: #dc2626; }
.at-status--pending { background: #f1f5f9; color: #64748b; }
.at-empty {
  text-align: center;
  color: #94a3b8;
  padding: 40px 0;
}

/* ===== AutoTrack — motion & polish ===== */
@keyframes atFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes atPop {
  0% { opacity: 0; transform: translateY(16px) scale(.96); }
  60% { transform: translateY(-2px) scale(1.01); }
  100% { opacity: 1; transform: none; }
}
@keyframes atGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.autotrack-page .at-head { animation: atFadeUp .5s ease both; }
.autotrack-page .at-stats { animation: atFadeUp .5s ease .06s both; }
.autotrack-page .at-grid { animation: atFadeUp .55s ease .12s both; }

/* Animated credit box */
.at-credit-box {
  background: linear-gradient(120deg, #4f46e5, #6366f1, #8b5cf6, #6366f1);
  background-size: 220% 220%;
  animation: atGradientShift 8s ease infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.at-credit-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(79, 70, 229, .34);
}
.at-credit-box .btn { transition: background .15s ease, transform .15s ease; }
.at-credit-box .btn:hover { transform: translateY(-1px); }

/* Stat cards — staggered reveal + hover lift */
.autotrack-page .at-stat {
  animation: atPop .5s ease both;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.autotrack-page .at-stat:nth-child(1) { animation-delay: .10s; }
.autotrack-page .at-stat:nth-child(2) { animation-delay: .16s; }
.autotrack-page .at-stat:nth-child(3) { animation-delay: .22s; }
.autotrack-page .at-stat:nth-child(4) { animation-delay: .28s; }
.autotrack-page .at-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .12);
  border-color: #c7d2fe;
}
.at-stat .at-stat-value {
  background: linear-gradient(135deg, #4f46e5, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cards */
.autotrack-page .at-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.autotrack-page .at-card:hover {
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

/* Packages — pop in, lift, accent bar */
.at-package {
  position: relative;
  overflow: hidden;
  animation: atPop .5s ease both;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.at-package:nth-child(1) { animation-delay: .14s; }
.at-package:nth-child(2) { animation-delay: .20s; }
.at-package:nth-child(3) { animation-delay: .26s; }
.at-package:nth-child(4) { animation-delay: .32s; }
.at-package::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #4f46e5, #8b5cf6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.at-package:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #a5b4fc;
  box-shadow: 0 16px 32px rgba(99, 102, 241, .18);
}
.at-package:hover::after { transform: scaleX(1); }
.at-package:active { transform: translateY(-2px) scale(.99); }
.at-package:disabled { opacity: .6; cursor: default; }
.at-package .at-pkg-price { transition: color .15s ease; }

/* Badges / status pills */
.at-badge, .at-status { transition: transform .15s ease; }
.at-table tbody tr { transition: background .15s ease; }
.at-table tbody tr:hover { background: #f8faff; }

/* Connect key field focus glow */
.at-key-row input { transition: border-color .15s ease, box-shadow .15s ease; }
.at-key-row input:focus { outline: none; border-color: #818cf8; box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .autotrack-page .at-head,
  .autotrack-page .at-stats,
  .autotrack-page .at-grid,
  .autotrack-page .at-stat,
  .at-package,
  .at-credit-box { animation: none !important; }
}

/* AutoTrack — TBA convert toggle */
.at-toggle-row { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.at-toggle-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.at-toggle-track {
  position: relative; width: 46px; height: 26px; border-radius: 26px;
  background: #cbd5e1; transition: background .25s; flex: none;
}
.at-toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s;
}
.at-toggle-row input:checked + .at-toggle-track { background: linear-gradient(120deg, #4f46e5, #22c55e); }
.at-toggle-row input:checked + .at-toggle-track .at-toggle-thumb { transform: translateX(20px); }
.at-toggle-label { font-size: 13px; font-weight: 600; }

/* ============================================================
   Premium dark theme (toggle override)
   Replaces the built-in purple dark theme with an elegant,
   layered charcoal palette across every page. Not pure black —
   a refined dark-slate with subtle hairline borders.
   Scoped to body.dark-theme so the light theme is untouched.
   ============================================================ */
body.dark-theme {
  background:
    radial-gradient(circle at 12% -5%, rgba(86, 116, 178, 0.10), transparent 38%),
    radial-gradient(circle at 92% 0%, rgba(64, 120, 170, 0.07), transparent 32%),
    linear-gradient(180deg, #15171d 0%, #131519 48%, #0f1116 100%) !important;
  color: #e7e9ef;
}
/* Raised surfaces — slightly lighter than the page for depth.
   background-image:none kills leftover white/purple gradients; the :not()
   chain preserves cards that hold an actual picture (robot visual, logos, icons). */
body.dark-theme article,
body.dark-theme [class*="card"]:not([class*="visual"]):not([class*="icon"]):not([class*="logo"]):not([class*="image"]):not([class*="avatar"]),
body.dark-theme [class*="panel"]:not([class*="visual"]),
body.dark-theme [class*="surface"],
body.dark-theme [class*="stat"]:not([class*="icon"]):not([class*="grid"]):not([class*="row"]):not([class*="status-"]),
body.dark-theme [class*="tile"],
body.dark-theme [class*="box"]:not([class*="icon"]),
body.dark-theme [class*="flow-step"],
body.dark-theme [class*="flow-item"],
body.dark-theme [class*="feature"]:not([class*="icon"]):not([class*="tag"]):not([class*="grid"]):not([class*="list"]):not([class*="link"]):not([class*="text"]):not([class*="title"]):not([class*="label"]),
body.dark-theme [class*="step"]:not([class*="number"]):not([class*="stepper"]):not([class*="progress"]):not([class*="index"]),
body.dark-theme [class*="module"]:not([class*="icon"]):not([class*="tag"]):not([class*="number"]):not([class*="grid"]):not([class*="head"]):not([class*="step-"]),
body.dark-theme [class*="compare-item"],
body.dark-theme [class*="connect-line"],
body.dark-theme [class*="connect-status"],
body.dark-theme [class*="info-item"],
body.dark-theme [class*="info-tile"],
body.dark-theme [class*="detail-item"],
body.dark-theme [class*="metric"],
body.dark-theme [class*="modal"],
body.dark-theme [class*="dropdown"]:not([class*="link"]):not([class*="item"]):not([class*="wrap"]):not([class*="trigger"]),
body.dark-theme [class*="popover"] {
  background: #1c1f27 !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
  /* premium: subtle top highlight line + soft depth shadow */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 38px rgba(0, 0, 0, 0.42) !important;
}
/* Kill remaining purple glow / gradient on pseudo-element decorations & dividers */
body.dark-theme [class*="card"]::before,
body.dark-theme [class*="card"]::after,
body.dark-theme [class*="panel"]::before,
body.dark-theme [class*="step"]::before,
body.dark-theme [class*="flow"]::before,
body.dark-theme [class*="feature"]::before {
  background-image: none !important;
  box-shadow: none !important;
}
/* Vertical timeline / connector lines → subtle neutral, not purple */
body.dark-theme [class*="timeline"],
body.dark-theme [class*="flow-line"],
body.dark-theme [class*="connector"],
body.dark-theme [class*="rail"] {
  background: rgba(255, 255, 255, 0.1) !important;
}
/* Layout wrappers stay transparent so no leftover purple shows in the gaps */
body.dark-theme section,
body.dark-theme [class*="section"],
body.dark-theme [class*="wrap"],
body.dark-theme [class*="grid"],
body.dark-theme [class*="row"],
body.dark-theme [class*="inner"],
body.dark-theme [class*="content"],
body.dark-theme [class*="container"],
body.dark-theme [class*="actions"],
body.dark-theme [class*="controls"],
body.dark-theme [class*="chips"],
body.dark-theme [class*="status-row"],
body.dark-theme [class*="toolbar"],
body.dark-theme [class*="-head"],
body.dark-theme [class*="group"]:not([class*="card"]):not([class*="panel"]) {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
/* Normalise every border away from purple to a subtle hairline */
body.dark-theme *,
body.dark-theme *::before,
body.dark-theme *::after {
  border-color: rgba(255, 255, 255, 0.05) !important;
}
/* Inputs */
body.dark-theme input,
body.dark-theme select,
body.dark-theme textarea {
  background-color: #0f1217 !important;
  color: #e7e9ef !important;
}
/* Page chrome */
body.dark-theme header,
body.dark-theme .site-header,
body.dark-theme footer,
body.dark-theme nav {
  background-color: rgba(20, 22, 28, 0.9) !important;
  backdrop-filter: saturate(140%) blur(10px);
}
/* Boards & the live-support panel — purple gradients the keyword sweep missed.
   Action buttons (support-fab / support-main-action) are intentionally left out
   so they keep their accent gradient. */
body.dark-theme [class*="board"]:not([class*="dashboard"]),
body.dark-theme [class*="proof"],
body.dark-theme [class*="testimonial"],
body.dark-theme [class*="-note"],
body.dark-theme [class*="-map"]:not([class*="sitemap"]),
body.dark-theme [class*="summary"],
body.dark-theme [class*="callout"],
body.dark-theme [class*="banner"]:not([class*="cookie"]),
body.dark-theme [class*="support-topbar"],
body.dark-theme [class*="support-body"],
body.dark-theme [class*="support-hero"],
body.dark-theme [class*="support-list-item"],
body.dark-theme [class*="support-faq-item"],
body.dark-theme [class*="support-panel"],
body.dark-theme [class*="support-window"] {
  background: #1c1f27 !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 38px rgba(0, 0, 0, 0.42) !important;
}
