:root {
  --bg: #08090d;
  --surface: rgba(20, 21, 25, 0.78);
  --surface-soft: rgba(26, 27, 31, 0.52);
  --card: rgba(15, 16, 20, 0.86);
  --line: rgba(222, 224, 230, 0.2);
  --text: #f2f3f6;
  --muted: #b5b8c0;
  --accent: #d8dbe2;
  --accent-2: #b4b8c2;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
}

html,
body,
#root {
  margin: 0;
  min-height: 100%;
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

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

.page-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.top-panel-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: min(120vh, 1200px);
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(8, 9, 13, 0.34) 0%, rgba(8, 9, 13, 0.78) 62%, rgba(8, 9, 13, 0.96) 100%),
    url('/images/background.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  pointer-events: none;
}

.top-panel-bg::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: min(30vh, 280px);
  background: linear-gradient(180deg, rgba(8, 9, 13, 0) 0%, rgba(8, 9, 13, 0.7) 55%, #08090d 100%);
}

.top-panel-bg.home-bound {
  position: absolute;
  height: min(120vh, 1250px);
  background-image:
    linear-gradient(180deg, rgba(8, 9, 13, 0.28) 0%, rgba(8, 9, 13, 0.68) 58%, rgba(8, 9, 13, 0.9) 100%),
    url('/images/background.jpg');
  background-position: center -24px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0, 0, 0, 0.55) 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0, 0, 0, 0.55) 82%, transparent 100%);
}

.top-panel-bg.home-bound::after {
  display: none;
}

.top-nav-glow {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 92vw);
  height: 240px;
  pointer-events: none;
  z-index: 10;
  background: radial-gradient(circle at 50% 58%, rgba(245, 247, 252, 0.16), rgba(8, 9, 13, 0.02) 62%, transparent 75%);
  filter: blur(18px);
}

.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -10%, rgba(232, 235, 242, 0.15), rgba(8, 9, 13, 0.1) 35%, transparent 60%),
    radial-gradient(circle at 10% 20%, rgba(232, 235, 242, 0.06), transparent 36%),
    radial-gradient(circle at 85% 10%, rgba(210, 214, 225, 0.08), transparent 32%);
  z-index: -1;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.top-nav-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 60;
  pointer-events: none;
}

.top-nav {
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(223, 225, 232, 0.14);
  background: linear-gradient(180deg, rgba(16, 17, 21, 0.48), rgba(11, 12, 16, 0.56));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  pointer-events: auto;
  transition: padding 220ms ease, width 220ms ease, background 220ms ease, border-color 220ms ease;
}

.top-nav.is-scrolled {
  width: min(940px, calc(100% - 24px));
  padding: 8px 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: width 220ms ease, height 220ms ease, transform 220ms ease;
}

.top-nav-wrap.is-scrolled .brand-logo {
  width: 28px;
  height: 28px;
  transform: translateY(-0.5px);
}

.menu-items {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.menu-link {
  color: #c9cbd2;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 8px 12px;
  transition: all 180ms ease;
}

.menu-link:hover {
  color: #f5f6f9;
  background: rgba(255, 255, 255, 0.08);
}

.menu-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.menu-link.compact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.menu-link.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.lang-switch {
  border: 0;
  cursor: pointer;
  font: inherit;
  background: transparent;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(226, 229, 236, 0.16);
  color: #f1f3f8;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-weight: 700;
  padding: 10px 16px;
  flex-shrink: 0;
  cursor: pointer;
}

main section {
  margin-top: 64px;
}

.hero {
  min-height: min(88vh, 920px);
  padding-top: 108px;
  text-align: center;
}

.hero h1 {
  margin: 0 auto;
  max-width: 840px;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--accent);
}

.hero-copy {
  color: var(--muted);
  max-width: 700px;
  margin: 24px auto 0;
  font-size: 1.08rem;
  line-height: 1.6;
}

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

.cta-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 22px;
  background: rgba(255, 255, 255, 0.03);
  color: #f6f8ff;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.cta-btn:hover {
  transform: translateY(-1px);
}

.cta-btn.primary {
  border-color: rgba(233, 236, 243, 0.36);
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px rgba(132, 136, 146, 0.25);
  color: #111318;
}

.showcase-grid {
  --spread: 0;
  margin-top: 62px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.showcase-grid img {
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 300ms ease, filter 300ms ease;
}

.showcase-main {
  position: relative;
  z-index: 4;
  width: min(64vw, 760px) !important;
  max-height: 400px;
  height: auto;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(220, 223, 232, 0.3);
  box-shadow:
    0 0 0 10px rgba(12, 13, 18, 0.58),
    0 24px 60px rgba(0, 0, 0, 0.44);
  object-fit: contain !important;
}

.showcase-side {
  position: absolute;
  z-index: 2;
  width: min(45vw, 520px) !important;
  max-height: 300px;
  opacity: calc(var(--spread) * 0.96);
  filter: brightness(calc(0.8 + var(--spread) * 0.16));
  transition: transform 120ms linear, opacity 120ms linear, filter 120ms linear;
}

.showcase-side.left {
  left: 0;
  transform: translateX(calc(-4% - var(--spread) * 44%)) rotate(calc(-2deg - var(--spread) * 8deg)) scale(calc(0.82 + var(--spread) * 0.08));
}

.showcase-side.right {
  right: 0;
  transform: translateX(calc(4% + var(--spread) * 44%)) rotate(calc(2deg + var(--spread) * 8deg)) scale(calc(0.82 + var(--spread) * 0.08));
}

.showcase-main:hover {
  transform: none;
}

.feature-intro {
  text-align: center;
  padding-top: 20px;
}

.eyebrow {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c0c4cf;
  font-weight: 700;
  font-size: 0.72rem;
}

.feature-intro h2,
.timeline h2,
.bottom-cta h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.9rem, 3.4vw, 3.7rem);
  letter-spacing: -0.03em;
}

.feature-intro p,
.timeline-subtitle {
  color: var(--muted);
  margin: 0 auto;
  max-width: 680px;
  line-height: 1.7;
}

.testimonial {
  margin-top: 54px;
}

.testimonial > div:first-child {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 20px;
}

.testimonial-content {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(22, 23, 29, 0.7), rgba(12, 13, 18, 0.9));
  padding: 30px;
}

.testimonial-content h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  letter-spacing: -0.024em;
  line-height: 1.12;
}

.muted {
  color: #bec6dd;
  margin-top: 6px;
  font-size: clamp(1.2rem, 2.1vw, 2rem);
  font-weight: 700;
}

blockquote {
  margin: 28px 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.author {
  color: #c9d1e6;
  font-size: 0.95rem;
}

.testimonial-image-wrap {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  min-height: 360px;
}

.testimonial-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cards-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 20px;
  min-height: 200px;
}

.info-card span {
  color: #b4bdd5;
  font-weight: 700;
}

.info-card h4 {
  margin: 14px 0 9px;
  font-size: 1.45rem;
  line-height: 1.24;
}

.info-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.timeline {
  margin-top: 80px;
  text-align: center;
}

.timeline-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.timeline-item {
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 18px;
  background: linear-gradient(190deg, rgba(15, 16, 22, 0.95), rgba(10, 11, 15, 0.95));
}

.timeline-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(236, 239, 246, 0.1);
  color: #d7dbe6;
}

.timeline-item h4 {
  margin: 13px 0 8px;
  font-size: 1.15rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.bottom-cta {
  margin: 92px auto 0;
}

.cta-box {
  border-radius: 20px;
  background: linear-gradient(150deg, #8a8e98, #6f737d 40%, #595d67);
  padding: clamp(24px, 6vw, 54px);
  text-align: center;
}

.cta-box p {
  max-width: 700px;
  margin: 0 auto;
  color: #e4e7ef;
  line-height: 1.6;
}

.hero-actions.centered {
  margin-top: 28px;
}

.cta-btn.pale {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-btn.dark {
  background: #0a1022;
  border-color: #0a1022;
}

.footer {
  margin: 70px auto 30px;
  padding: 26px 0 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
}

.footer h5 {
  margin: 0 0 10px;
  color: #b4bdd3;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}

.footer p,
.footer a {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 8px 0;
}

.footer a:hover {
  color: #f6f8ff;
}

.route-page {
  padding-top: 128px;
  padding-bottom: 48px;
}

.route-page h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.route-subtitle {
  color: var(--muted);
  margin: 10px 0 24px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.route-grid.plans {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-grid.support-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.route-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(18, 19, 24, 0.78), rgba(11, 12, 16, 0.9));
}

.route-card h3 {
  margin-top: 0;
}

.plan-price {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 8px 0 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-list {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 16px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 22, 29, 0.88), rgba(11, 12, 16, 0.96));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(238, 241, 248, 0.34);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
}

.product-card.is-featured {
  border-color: rgba(238, 241, 248, 0.4);
  background: linear-gradient(180deg, rgba(24, 26, 35, 0.9), rgba(11, 12, 16, 0.98));
}

.product-top-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(232, 236, 245, 0.9), rgba(255, 255, 255, 0));
}

.product-orb {
  position: absolute;
  right: -70px;
  top: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 247, 255, 0.16), rgba(244, 247, 255, 0.02) 60%, transparent 78%);
  pointer-events: none;
}

.product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-head h3 {
  margin: 0;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.75rem;
  color: #d8dce7;
  background: rgba(255, 255, 255, 0.04);
}

.product-quick-note {
  margin: 8px 0 0;
  color: #d0d5e2;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.plan-note {
  margin: 0 0 14px;
  color: #c3c8d5;
  font-size: 0.92rem;
}

.plan-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.plan-list li svg {
  color: #dce1ed;
  flex-shrink: 0;
}

.product-card-footer {
  margin-top: auto;
}

.product-tax-note {
  display: block;
  margin: 2px 0 12px;
  color: #9fa6b8;
  font-size: 0.8rem;
}

.product-buy-btn {
  width: 100%;
  justify-content: center;
}

.purchase-page h1 {
  text-align: center;
}

.purchase-subtitle {
  text-align: center;
  max-width: 760px;
  margin: 10px auto 24px;
}

.purchase-switch {
  position: relative;
  width: fit-content;
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(18, 20, 28, 0.72);
  padding: 6px;
  display: flex;
  gap: 6px;
}

.purchase-switch-pill {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 140px;
  height: calc(100% - 12px);
  border-radius: 12px;
  background: linear-gradient(180deg, #d3d7e2, #b9becb);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
  transition: left 260ms ease, width 260ms ease;
  z-index: 0;
}

.purchase-switch-btn {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 12px;
  padding: 11px 18px;
  background: transparent;
  color: #cdd2df;
  font: inherit;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.purchase-switch-btn.active {
  background: transparent;
  color: #cdd2df;
}

.purchase-switch-btn.is-highlighted {
  color: #12161f;
}

.purchase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.purchase-grid.additions-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
  margin-inline: auto;
}

.purchase-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(17, 18, 24, 0.88), rgba(10, 11, 15, 0.94));
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.purchase-card.addition-card {
  min-height: 270px;
}

.purchase-chosen {
  margin: 0;
  color: #9fa7bc;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.purchase-price-line {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.purchase-price {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.purchase-duration {
  color: #a7afc5;
}

.purchase-plan-name {
  margin: 6px 0 14px;
  font-size: 1.18rem;
  color: #dce1ed;
}

.purchase-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: #c5ccde;
}

.purchase-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.purchase-feature-list li svg {
  color: #cfd5e4;
  flex-shrink: 0;
}

.purchase-buy-btn {
  margin-top: auto;
  border: 1px solid rgba(227, 232, 243, 0.34);
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #d3d7e2, #b9becb);
  color: #12161f;
  font-weight: 800;
  font: inherit;
}

.purchase-icon-white {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1) saturate(0%);
}

.purchase-icon-white.small {
  width: 14px;
  height: 14px;
}

.purchase-icon-white.tiny {
  width: 12px;
  height: 12px;
}

.purchase-switch-btn.is-highlighted .purchase-icon-white {
  filter: brightness(0) invert(0.06);
}

.auth-page {
  display: grid;
  place-items: center;
}

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

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form input,
.auth-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.auth-form input:focus,
.auth-form textarea:focus {
  outline: 1px solid rgba(255, 255, 255, 0.35);
}

.link-btn {
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: #dfe3ed;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.form-status {
  color: #d8deef;
  margin-top: 12px;
}

.verify-code-banner {
  width: 100%;
  border: 1px solid rgba(120, 220, 160, 0.45);
  background: rgba(40, 120, 80, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}

.verify-code-label {
  font-size: 0.9rem;
  color: #d7f5e4;
  margin-bottom: 6px;
}

.verify-code-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: #f4fff8;
  margin: 4px 0 8px;
}

.verify-code-hint {
  font-size: 0.85rem;
  color: #b9dcc8;
}

.turnstile-wrap {
  display: grid;
  gap: 10px;
  justify-items: stretch;
  width: 100%;
  margin: 4px 0 2px;
  padding: 14px;
  border: 1px solid rgba(222, 224, 230, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.turnstile-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e8ebf2;
}

.turnstile-box {
  min-height: 70px;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}

.turnstile-box iframe {
  max-width: 100%;
}

.turnstile-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.turnstile-ok {
  color: #9ee6b8 !important;
}

.turnstile-error {
  margin: 0;
  color: #ffb4b4 !important;
}

.turnstile-reload {
  margin-top: 0 !important;
  justify-self: start;
  text-align: left;
}

.channels-list article {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}

.channels-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.legal-policies {
  margin-top: 16px;
}

.legal-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-policy-links a {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #d9deea;
  background: rgba(255, 255, 255, 0.03);
  transition: all 180ms ease;
}

.legal-policy-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.profile-card p {
  margin: 10px 0;
}

.profile-update-form {
  margin: 18px 0;
}

.profile-layout {
  display: grid;
  gap: 16px;
}

.profile-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.profile-left-col,
.profile-right-col {
  display: grid;
  gap: 14px;
}

.profile-user-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
}

.profile-license-card h3 {
  margin-top: 0;
}

.profile-subscription-list {
  display: grid;
  gap: 8px;
}

.profile-subscription-list > p {
  margin: 0;
  color: var(--muted);
}

.profile-sub-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.profile-sub-item strong {
  font-weight: 700;
}

.profile-sub-item span {
  color: var(--muted);
}

.profile-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.profile-tab {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: #d9deea;
  font: inherit;
  padding: 11px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.profile-tab.active {
  background: linear-gradient(180deg, #d3d7e2, #b9becb);
  color: #12161f;
  border-color: rgba(230, 234, 243, 0.34);
}

.profile-info-grid-card {
  padding: 16px;
}

.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.profile-info-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.profile-info-box p {
  margin: 0;
  color: #aeb5c8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-info-box strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}

.profile-info-box .status-linked {
  color: #dce1ee;
}

.profile-info-box .status-unlinked {
  color: #aeb5c8;
}

.profile-hwid-id {
  margin-top: 6px;
  display: block;
  color: #929bb2;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.profile-bottom-row {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 10px;
}

.profile-mini-card {
  display: grid;
  align-content: center;
}

.profile-mini-card p {
  margin: 0;
  color: #aeb5c8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-mini-card strong {
  font-size: 2rem;
  margin-top: 8px;
}

.profile-tab-content {
  display: grid;
}

.profile-launcher-card h3,
.profile-products-card h3 {
  margin-top: 0;
}

.profile-license-form {
  display: grid;
  gap: 10px;
}

.profile-license-form > label {
  color: #b1b8cb;
  font-size: 0.92rem;
}

.profile-license-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.profile-license-input-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-license-input-wrap input {
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  width: 100%;
  font: inherit;
}

.profile-launcher-hint {
  margin-bottom: 0;
}

.profile-products-list {
  display: grid;
  gap: 10px;
}

.profile-products-list > p {
  margin: 0;
  color: var(--muted);
}

.profile-product-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.profile-product-row strong {
  display: block;
}

.profile-product-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.profile-product-row span {
  color: #c8d0e2;
  font-size: 0.92rem;
}

.profile-hero-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(20, 22, 30, 0.9), rgba(12, 13, 18, 0.92)),
    radial-gradient(circle at top right, rgba(236, 240, 248, 0.1), transparent 45%);
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.profile-avatar-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(140deg, rgba(236, 240, 248, 0.7), rgba(154, 161, 177, 0.5));
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(10, 12, 17, 0.9);
}

.profile-avatar-status {
  position: absolute;
  right: 3px;
  bottom: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cfd5e4;
  border: 2px solid #0b0d12;
}

.profile-hero-meta h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.profile-hero-meta p {
  margin: 6px 0 12px;
  color: var(--muted);
}

.profile-hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  color: #d9deea;
  background: rgba(255, 255, 255, 0.04);
}

.profile-stats-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-stat-card {
  background: linear-gradient(180deg, rgba(22, 24, 31, 0.86), rgba(11, 12, 16, 0.95));
  border-radius: 14px;
  padding: 16px;
}

.profile-stat-card span {
  color: #aeb5c8;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.profile-stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.profile-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.05fr 1fr;
}

.profile-info-card h3,
.profile-edit-card h3 {
  margin-top: 0;
}

.profile-info-list {
  display: grid;
  gap: 10px;
}

.profile-info-list p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d4d9e5;
}

.profile-info-list strong {
  color: #f1f3f8;
}

.profile-logout-btn {
  margin-top: 16px;
}

.profile-edit-card {
  position: relative;
  overflow: hidden;
}

.profile-edit-card::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 240, 251, 0.12), transparent 68%);
  pointer-events: none;
}

.admin-page h1 {
  margin-bottom: 6px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-stat span {
  color: #a9b0c3;
  font-size: 0.85rem;
}

.admin-stat strong {
  display: block;
  margin-top: 6px;
  font-size: 1.5rem;
}

.admin-users-list {
  display: grid;
  gap: 14px;
}

.admin-tools {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-search-wrap {
  width: 100%;
}

.admin-search-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.admin-search-input:focus {
  outline: 1px solid rgba(255, 255, 255, 0.35);
}

.admin-plan-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.admin-plan-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-plan-card h4 {
  margin: 0;
  font-size: 0.95rem;
}

.admin-plan-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-user-card {
  display: grid;
  gap: 14px;
}

.admin-user-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-user-head h3 {
  margin: 0;
}

.admin-user-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.admin-user-subscriptions h4 {
  margin: 0 0 8px;
}

.admin-user-subscriptions p {
  margin: 0;
  color: var(--muted);
}

.admin-sub-item {
  border-top: 1px solid var(--line);
  padding: 8px 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}

.admin-grant-form {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-direction: column;
}

.admin-grant-plan-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-grant-plan-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #d7dceb;
  font: inherit;
  cursor: pointer;
  transition: all 160ms ease;
}

.admin-grant-plan-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.admin-grant-plan-btn.selected {
  background: linear-gradient(180deg, #d3d7e2, #b9becb);
  color: #11141d;
  border-color: rgba(230, 234, 243, 0.38);
}

.admin-grant-form .cta-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-password-reset {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-password-reset input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

.admin-password-reset input:focus {
  outline: 1px solid rgba(255, 255, 255, 0.35);
}

.admin-password-reset .cta-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 980px) {
  .menu-items {
    display: none;
  }

  .showcase-grid,
  .cards-row,
  .timeline-grid,
  .footer,
  .testimonial > div:first-child,
  .route-grid,
  .route-grid.support-grid,
  .purchase-grid,
  .purchase-grid.additions-grid,
  .admin-stats-grid,
  .admin-plan-list,
  .profile-stats-grid,
  .profile-grid,
  .profile-shell,
  .profile-tabs,
  .profile-info-grid,
  .profile-bottom-row {
    grid-template-columns: 1fr;
  }

  .admin-sub-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .admin-grant-form {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-password-reset {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-hero-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-identity {
    width: 100%;
  }

  .profile-license-controls {
    grid-template-columns: 1fr;
  }

  .profile-product-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .showcase-grid img {
    max-height: 260px;
  }

  .showcase-grid {
    min-height: 260px;
  }

  .showcase-main {
    width: min(82vw, 520px) !important;
  }

  .showcase-side {
    width: min(55vw, 340px) !important;
    max-height: 200px;
  }

  .showcase-side.left {
    left: -4px;
    transform: translateX(calc(-2% - var(--spread) * 20%)) rotate(calc(-3deg - var(--spread) * 8deg)) scale(calc(0.8 + var(--spread) * 0.08));
  }

  .showcase-side.right {
    right: -4px;
    transform: translateX(calc(2% + var(--spread) * 20%)) rotate(calc(3deg + var(--spread) * 8deg)) scale(calc(0.8 + var(--spread) * 0.08));
  }

  .hero {
    padding-top: 92px;
  }

  .top-nav-wrap {
    top: 8px;
  }
}

/* --- Enhancements for mock checkout, changelogs, config market, promo codes --- */

.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(18, 20, 26, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 24px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  font-size: 0.9rem;
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.checkout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.2s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.checkout-modal {
  position: relative;
  width: min(90vw, 440px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  background: linear-gradient(180deg, rgba(20, 22, 28, 0.96), rgba(10, 11, 15, 0.99)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9) translateY(10px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}

.modal-close-btn:hover {
  color: #fff;
  transform: rotate(90deg);
}

.checkout-summary-line {
  font-size: 1.05rem;
  margin-top: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  color: #cdd2e1;
}

.checkout-summary-line strong {
  color: #fff;
}

.checkout-summary-line span {
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
}

.checkout-form-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checkout-form-fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.checkout-form-fields input,
.checkout-form-fields select,
.checkout-form-fields textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 11px 14px;
  border-radius: 10px;
  color: #fff;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, background-color 0.2s;
}

.checkout-form-fields input:focus,
.checkout-form-fields select:focus,
.checkout-form-fields textarea:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.checkout-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pay-submit-btn {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}

.checkout-success-anim {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  text-align: center;
  gap: 18px;
}

.checkout-success-anim .success-icon {
  color: #4ade80;
  filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.3));
  animation: checkPulse 1.8s infinite ease-in-out;
}

@keyframes checkPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.error-label {
  color: #f87171 !important;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.15);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.info-label {
  color: #93c5fd !important;
  background: rgba(147, 197, 253, 0.08);
  border: 1px solid rgba(147, 197, 253, 0.15);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
}

/* Coupon section styling */
.coupon-section {
  margin: 0 auto 30px;
  max-width: 580px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02) !important;
}

.coupon-form label {
  font-size: 0.8rem;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.coupon-controls {
  display: flex;
  gap: 12px;
}

.coupon-controls input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  outline: none;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.coupon-controls input:focus {
  border-color: rgba(255, 255, 255, 0.25);
}

.promo-result-message {
  font-size: 0.85rem;
  margin-top: 10px;
  color: #4ade80;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.discounted-active {
  text-decoration: line-through;
  color: var(--muted) !important;
  font-size: 1.3rem !important;
  margin-right: 12px;
  opacity: 0.6;
}

.price-old {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Config sharing market page styling */
.market-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 20px;
}

.market-header h2 {
  margin: 0 0 6px;
}

.market-search-row {
  margin-bottom: 28px;
}

.market-search-input-wrap {
  position: relative;
  max-width: 460px;
}

.market-search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.market-search-input-wrap input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #fff;
  outline: none;
  font-size: 0.95rem;
  transition: border-color 0.2s, background-color 0.2s;
}

.market-search-input-wrap input:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.market-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
  background: linear-gradient(180deg, rgba(20, 22, 29, 0.88), rgba(11, 12, 16, 0.96));
}

.market-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.market-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.config-code-icon {
  color: #9fa6b8;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 10px;
  box-sizing: content-box;
}

.market-card-head h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}

.market-author {
  font-size: 0.78rem;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.market-desc {
  font-size: 0.88rem;
  color: #adb4c4;
  line-height: 1.45;
  margin: 0;
  flex-grow: 1;
}

.market-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  margin-top: 6px;
}

.market-downloads-stat {
  font-size: 0.8rem;
  color: var(--muted);
}

.market-downloads-stat strong {
  color: #fff;
}

.no-configs {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 50px 0;
  font-size: 0.95rem;
}

/* Updates changelog timeline page styling */
.updates-page-wrap {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.updates-loading {
  text-align: center;
  color: var(--muted);
  padding: 40px;
}

.updates-timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 40px;
}

.updates-timeline::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.update-timeline-node {
  position: relative;
  margin-bottom: 44px;
}

.update-node-icon {
  position: absolute;
  left: -40px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0d0e12;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  z-index: 2;
  transform: translateX(-50%);
  transition: border-color 0.2s, color 0.2s;
}

.update-timeline-node:hover .update-node-icon {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.update-card {
  margin: 0 !important;
}

.update-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.update-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.update-channel-badge {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.update-channel-badge.stable {
  background: rgba(74, 222, 128, 0.08);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.18);
}

.update-channel-badge.beta {
  background: rgba(147, 197, 253, 0.08);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.18);
}

.update-version {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.update-date {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.update-title {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.update-change-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.update-change-item {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.update-change-tag {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.update-change-tag.tag-new {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
}

.update-change-tag.tag-fix {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
}

.update-change-tag.tag-improve {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.update-change-text {
  font-size: 0.88rem;
  color: #ccd0db;
  line-height: 1.45;
}

/* Free Downloads specific CSS */
.free-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d1d5db;
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.free-check-icon {
  color: #8b92a2 !important;
}

.upgrade-check-icon {
  color: #fff !important;
}

.free-download-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}

.free-download-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.free-grid {
  margin-top: 24px;
}

/* Admin panel subtabs styling */
.admin-tab-row {
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-promos-list,
.admin-logs-list {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.promos-table-wrap,
.configs-table-wrap {
  overflow-x: auto;
  margin-top: 14px;
}

.promos-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.promos-table th,
.promos-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.promos-table th {
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.promos-table td {
  color: #e2e6f0;
}

.promos-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

.delete-icon-btn {
  background: transparent;
  border: none;
  color: #f87171;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
}

.delete-icon-btn:hover {
  background: rgba(248, 113, 113, 0.08);
  color: #ef4444;
}

.admin-log-item-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 0;
}

.admin-log-item-row:last-child {
  border-bottom: none;
}

.log-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.log-row-head strong {
  color: #fff;
  font-weight: 700;
}

.log-row-head span {
  color: #b5bdcf;
  font-size: 0.88rem;
  margin-left: 6px;
}

.log-badge {
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.log-badge.stable {
  background: rgba(74, 222, 128, 0.08);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.15);
}

.log-badge.beta {
  background: rgba(147, 197, 253, 0.08);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.15);
}

.admin-hwid-text {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* Google Login Styles */
.google-signin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
  margin-top: 15px;
}

.google-signin-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.google-signin-btn:active {
  transform: translateY(0);
}

.google-icon {
  flex-shrink: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-divider span {
  padding: 0 10px;
}

/* Google Account Modal */
.google-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.25s ease-out;
}

.google-modal-card {
  background: #fff;
  color: #202124;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
  text-align: center;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.google-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #5f6368;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.google-modal-close:hover {
  color: #202124;
}

.google-modal-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.google-modal-logo span {
  display: inline-block;
}

.g-blue { color: #4285F4; }
.g-red { color: #EA4335; }
.g-yellow { color: #FBBC05; }
.g-green { color: #34A853; }

.google-modal-card h2 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #202124;
  margin: 0 0 4px;
}

.google-modal-sub {
  color: #5f6368;
  font-size: 0.88rem;
  margin: 0 0 24px;
}

.google-accounts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  text-align: left;
}

.google-account-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  color: #3c4043;
}

.google-account-row:hover {
  background: #f8f9fa;
  border-color: #c2c3c6;
}

.google-avatar-mock {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e8f0fe;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.google-account-details {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  line-height: 1.3;
}

.google-account-details strong {
  color: #202124;
  font-weight: 500;
}

.google-account-details span {
  color: #5f6368;
}

.google-add-account {
  border-style: dashed;
  color: #1a73e8;
}

.google-add-account .google-avatar-mock {
  background: #e8f0fe;
  color: #1a73e8;
}

.google-modal-footer {
  font-size: 0.72rem;
  color: #5f6368;
  line-height: 1.4;
  text-align: left;
  border-top: 1px solid #e8eaed;
  padding-top: 16px;
}

/* Custom Add Account Form in Google Auth */
.google-custom-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0;
}

.google-custom-form input {
  padding: 10px;
  border: 1px solid #dadce0;
  border-radius: 6px;
  font-size: 0.88rem;
  background: #fff;
  color: #202124;
}

.google-custom-form input:focus {
  border-color: #1a73e8;
  outline: none;
}

.google-custom-form-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.google-custom-form-btns .link-btn {
  color: #1a73e8 !important;
  font-size: 0.8rem;
}

.google-custom-form-btns .cta-btn {
  background: #1a73e8;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.google-custom-form-btns .cta-btn:hover {
  background: #1557b0;
}

.home-hero {
  min-height: min(96vh, 980px);
}

.hero-status-strip {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 26px;
  padding: 12px 18px;
  border: 1px solid rgba(226, 229, 236, 0.14);
  border-radius: 999px;
  background: rgba(10, 11, 15, 0.48);
  backdrop-filter: blur(16px);
}

.hero-status-label {
  color: #f6f8ff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-status-items {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
}

.hero-status-items span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
}

.home-band {
  margin-top: 86px;
}

.section-title {
  margin: 10px 0 12px;
  font-size: clamp(1.9rem, 3.4vw, 3.7rem);
  letter-spacing: -0.03em;
}

.section-copy {
  color: var(--muted);
  max-width: 760px;
  line-height: 1.7;
  margin: 0;
}

.product-showcase-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-showcase-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19, 20, 25, 0.9), rgba(10, 11, 15, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.product-showcase-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-showcase-body {
  padding: 22px;
}

.product-showcase-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-showcase-head h3 {
  margin: 0;
  font-size: 1.35rem;
}

.product-showcase-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.product-state {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(227, 230, 238, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  color: #f3f5fb;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-showcase-note {
  margin: 14px 0 0;
  color: #c8cedd;
  line-height: 1.65;
}

.product-showcase-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.product-showcase-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d7dbe7;
}

.product-showcase-list li svg {
  color: #dfe4ef;
  flex-shrink: 0;
}

.product-showcase-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-steps-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-step-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 19, 24, 0.82), rgba(10, 11, 15, 0.92));
  padding: 22px;
}

.quick-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #eef1f8;
  font-size: 0.8rem;
  font-weight: 800;
}

.quick-step-card h3 {
  margin: 18px 0 10px;
  font-size: 1.3rem;
}

.quick-step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.quick-links-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-link-card,
.faq-card {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 16, 20, 0.78);
  padding: 20px;
}

.quick-link-card h3,
.faq-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.quick-link-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.inline-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f2f4fb;
  font-weight: 700;
}

.faq-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.testimonial.home-band,
.testimonial.home-band > div:first-child {
  display: block;
}

.testimonial.home-band .testimonial-content {
  border-radius: 18px;
}

@media (max-width: 1080px) {
  .product-showcase-grid,
  .quick-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-status-strip {
    border-radius: 22px;
  }

  .quick-steps-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .product-showcase-head {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .product-showcase-grid,
  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .hero-status-items {
    flex-direction: column;
    align-items: center;
  }

  .product-showcase-actions {
    flex-direction: column;
  }

  .product-showcase-actions .cta-btn {
    justify-content: center;
  }
}
