:root {
  --bg: #ffffff;
  --ink: #111318;
  --muted: #66707d;
  --line: #e5e8ed;
  --panel: #f7f9fb;
  --panel-strong: #10141c;
  --teal: #10bfa8;
  --blue: #4f7df3;
  --amber: #f4a62a;
  --violet: #8b5cf6;
  --shadow: 0 24px 70px rgba(20, 30, 50, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 48px));
  --section-spacing: 90px;
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 232, 237, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  letter-spacing: 0;
}

.brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #07100f;
  background: var(--teal);
  border-radius: var(--radius);
  font-weight: 900;
}

.brand strong {
  font-weight: 900;
}

.main-nav {
  display: flex;
  gap: 28px;
  color: #4f5864;
  font-size: 15px;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.header-cta,
.btn,
.price-card button,
.admin-toolbar button,
.share-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 750;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-cta {
  padding: 0 17px;
  color: #fff;
  background: var(--ink);
}

.code-mark {
  color: var(--teal);
  font-weight: 900;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1fr);
  align-items: center;
  gap: 42px;
  width: var(--container);
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 70px 0 92px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 6% 22px auto;
  width: 62%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 94px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--teal);
}

.hero h1 .hero-title-main {
  color: var(--ink);
}

.hero-lead {
  max-width: 600px;
  margin: 26px 0 14px;
  color: #20242b;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.28;
}

.hero-text {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  max-width: 560px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding: 12px 34px 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 800;
}

.hero-points li::before {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--teal);
  transform: translateY(-50%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 34px;
}

.btn {
  padding: 0 20px;
  border: 1px solid transparent;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(17, 19, 24, 0.18);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn-google {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn:hover,
.header-cta:hover,
.price-card button:hover,
.share-actions button:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 520px;
  margin: 0;
}

.hero-stats div {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.hero-stats dt {
  font-size: 25px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-console {
  display: grid;
  grid-template-columns: 66px 1fr;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid #232936;
  border-radius: 18px;
  color: #f7f9fb;
  background:
    radial-gradient(circle at 18% 20%, rgba(16, 191, 168, 0.2), transparent 28%),
    linear-gradient(135deg, #151a23, #090c11 70%);
  box-shadow: var(--shadow);
}

.console-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding: 20px 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.console-rail span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #8c96a4;
  border-radius: var(--radius);
}

.console-rail .rail-active {
  color: #07100f;
  background: var(--teal);
}

.console-main {
  padding: 26px;
}

.command-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  color: #9ba5b3;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

kbd {
  margin-right: auto;
  padding: 4px 8px;
  border-radius: 6px;
  color: #b4becb;
  background: rgba(255, 255, 255, 0.08);
  font-family: inherit;
  font-size: 12px;
}

.console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 18px;
  margin-top: 20px;
}

.command-list,
.script-stack {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.command-list {
  padding: 16px;
}

.console-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.console-heading span {
  color: #929daa;
  font-size: 13px;
}

.command-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  margin-bottom: 10px;
  padding: 10px;
  text-align: right;
  color: #f8fafc;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
}

.command-row.active,
.command-row:hover {
  border-color: rgba(16, 191, 168, 0.45);
  background: rgba(16, 191, 168, 0.12);
}

.command-row strong,
.script-stack strong {
  display: block;
  font-size: 14px;
}

.command-row small,
.script-stack small {
  display: block;
  margin-top: 2px;
  color: #929daa;
  font-size: 12px;
}

.row-icon,
.category-icon {
  display: grid;
  place-items: center;
  border-radius: var(--radius);
}

.row-icon {
  width: 40px;
  height: 40px;
}

.teal {
  color: #07221f;
  background: var(--teal);
}

.blue {
  color: #fff;
  background: var(--blue);
}

.amber {
  color: #221407;
  background: var(--amber);
}

.violet {
  color: #fff;
  background: var(--violet);
}

.gray {
  color: #f8fafc;
  background: #3b4250;
}

.script-stack {
  padding: 16px;
}

.script-stack h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.subscriber-card {
  padding: 13px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

#qr-canvas {
  display: block;
  width: 144px;
  height: 144px;
  margin: 16px auto;
  padding: 8px;
  border-radius: var(--radius);
  background: #fff;
}

.share-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.share-actions button,
.admin-toolbar button {
  min-height: 38px;
  color: #07100f;
  border: 0;
  background: var(--teal);
}

.share-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.share-social a {
  padding: 6px 9px;
  color: #d8dee8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  font-size: 12px;
}

.powered {
  margin: 16px 0 0;
  color: #99a4b2;
  font-size: 12px;
  text-align: center;
}

.section,
.admin-section,
.experience-section,
.workflow,
.proof-band,
.final-cta {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: var(--section-spacing) 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section h2,
.admin-section h2,
.experience-section h2,
.workflow h2,
.proof-band h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.16;
  letter-spacing: 0;
}

.product-cards,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-cards article,
.price-card {
  position: relative;
  min-height: 390px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-cards article:hover,
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(22, 30, 44, 0.1);
}

.category-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 26px;
}

.product-cards h3,
.price-card h3,
.steps h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.product-cards p,
.price-card p,
.steps p,
.proof-band p,
.final-cta p,
.admin-copy p {
  color: var(--muted);
}

.product-cards ul,
.price-card ul {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.product-cards li,
.price-card li {
  position: relative;
  padding-right: 20px;
  margin: 8px 0;
  color: #374151;
  font-size: 14px;
}

.product-cards li::before,
.price-card li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--teal);
}

.product-cards a {
  position: absolute;
  bottom: 22px;
  color: var(--ink);
  font-weight: 850;
}

.admin-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(540px, 1fr);
  gap: 36px;
  align-items: center;
  padding: var(--section-spacing) 0;
}

.experience-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(560px, 1fr);
  gap: 36px;
  align-items: center;
  padding: var(--section-spacing) 0;
}

.experience-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}

.editor-preview {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.style-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.panel-heading strong,
.panel-heading span {
  display: block;
}

.panel-heading span {
  color: var(--muted);
  font-size: 13px;
}

.theme-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.theme-card {
  display: grid;
  place-items: end center;
  min-height: 112px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.theme-card.active {
  border: 2px solid var(--ink);
}

.theme-card.agate {
  color: #0b271f;
  background: linear-gradient(150deg, #a7efe5, #b7ff12);
}

.theme-card.air {
  background: linear-gradient(180deg, #eef3f8, #fff);
}

.theme-card.dark {
  color: #fff;
  background: linear-gradient(150deg, #151a23, #090c11);
}

.mini-controls {
  display: grid;
  gap: 10px;
}

.mini-controls label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-weight: 800;
  font-size: 13px;
}

.mini-controls input,
.mini-controls button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.phone-preview {
  min-height: 420px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-weight: 900;
}

.asterisk {
  color: var(--teal);
  font-size: 26px;
  line-height: 1;
}

.avatar-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 44px auto 14px;
  color: #07100f;
  background: var(--teal);
  border-radius: 18px;
  font-size: 38px;
  font-weight: 900;
}

.segmented {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin: 16px 0 24px;
  padding: 4px;
  border-radius: 999px;
  background: #9b9b9b;
  color: #fff;
  font-weight: 900;
}

.segmented span {
  min-width: 76px;
  padding: 9px 14px;
  border-radius: 999px;
}

.segmented span:first-child {
  color: var(--ink);
  background: #fff;
}

.phone-link {
  min-height: 54px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--ink);
  text-align: center;
  font-size: 14px;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: center;
  width: var(--container);
  margin: 0 auto;
  padding: var(--section-spacing) 0;
}

.demo-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.16;
}

.demo-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}

.public-demo-card {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.demo-phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
}

.demo-cover {
  height: 126px;
  margin: 18px -22px 0;
  background:
    linear-gradient(135deg, rgba(16, 191, 168, 0.28), transparent 42%),
    linear-gradient(145deg, #f7f9fb, #dfe9ef);
}

.public-demo-card .avatar-mark,
.subscriber-public-card .avatar-mark {
  margin-top: -38px;
  border: 6px solid #fff;
}

.public-demo-card > p {
  color: var(--muted);
  font-size: 14px;
}

.demo-qr {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 16px auto 0;
  border: 1px solid var(--ink);
  background:
    linear-gradient(90deg, #111 8px, transparent 8px) 0 0 / 18px 18px,
    linear-gradient(#111 8px, transparent 8px) 0 0 / 18px 18px,
    #fff;
  color: var(--teal);
  font-weight: 900;
}

.public-demo-body {
  background: #b7b7b7;
}

.subscriber-public-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 36px 16px;
}

.subscriber-public-card {
  width: min(100%, 560px);
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 70px rgba(20, 30, 50, 0.18);
}

.subscriber-public-card h1 {
  margin: 12px 0 8px;
  font-size: 30px;
}

.subscriber-public-card > p {
  color: var(--muted);
}

.public-link-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.public-link-list a,
.demo-shop article {
  display: flex;
  justify-content: space-between;
  min-height: 56px;
  padding: 16px;
  border: 1px solid var(--ink);
  background: #fff;
  font-weight: 850;
}

.demo-shop,
.demo-cv {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: right;
}

.demo-shop h2,
.demo-cv h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.demo-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.demo-share-row button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 850;
}

.demo-qr.large {
  width: 116px;
  height: 116px;
}

.admin-copy p {
  max-width: 540px;
  font-size: 17px;
}

.admin-console {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.admin-tabs button {
  min-height: 52px;
  border: 0;
  color: #4f5864;
  background: transparent;
  font-weight: 800;
}

.admin-tabs button.active {
  color: var(--ink);
  background: #fff;
}

.admin-pane {
  display: none;
  min-height: 390px;
  padding: 20px;
}

.admin-pane.active {
  display: block;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-toolbar button {
  padding: 0 13px;
}

.plans-table {
  display: grid;
  gap: 10px;
}

.plan-row {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.5fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plan-row strong,
.plan-row small {
  display: block;
}

.plan-row small {
  color: var(--muted);
}

.feature-toggles,
.setting-grid,
.system-pages {
  display: grid;
  gap: 10px;
}

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

.feature-toggles label,
.setting-item,
.system-pages label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #374151;
  font-size: 13px;
}

.setting-item code {
  color: var(--muted);
  direction: ltr;
}

.workflow {
  width: 100%;
  padding: 92px max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 18% 22%, rgba(16, 191, 168, 0.2), transparent 28%),
    linear-gradient(135deg, #151a23, #090c11);
}

.workflow h2 {
  max-width: 760px;
}

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

.steps article {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.steps svg {
  width: 34px;
  height: 34px;
  margin: 44px 0 20px;
  color: var(--teal);
}

.step-number {
  position: absolute;
  top: 24px;
  left: 24px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.pricing {
  padding-bottom: 64px;
}

.price-card {
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.price-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--teal);
}

.price-card strong {
  display: block;
  margin: 16px 0 8px;
  font-size: 32px;
  line-height: 1.1;
}

.price-card button {
  width: 100%;
  margin-top: auto;
  border: 0;
  color: #fff;
  background: var(--ink);
}

.price-card.featured {
  color: #fff;
  background: var(--panel-strong);
  border-color: var(--panel-strong);
  box-shadow: 0 22px 60px rgba(17, 19, 24, 0.2);
}

.price-card.featured p,
.price-card.featured li {
  color: #d7dde7;
}

.price-card.featured button {
  color: #07100f;
  background: var(--teal);
}

.popular {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.proof-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 70px 0;
}

.proof-band h2 {
  max-width: 720px;
}

.proof-list {
  display: grid;
  gap: 12px;
  min-width: 280px;
}

.proof-list span {
  padding: 14px 18px;
  border-right: 4px solid var(--teal);
  background: var(--panel);
  border-radius: var(--radius);
  font-weight: 800;
}

.compact-proof {
  max-width: 520px;
  margin-top: 24px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  margin-bottom: 70px;
  padding: 70px;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 191, 168, 0.22), transparent 38%),
    linear-gradient(145deg, #10141c, #07090e);
}

.final-cta h2 {
  max-width: 820px;
}

.final-cta h2 span {
  color: var(--teal);
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(260px, 410px) auto;
  gap: 12px;
  align-items: end;
  max-width: 720px;
  margin-top: 30px;
}

.contact-form label span {
  display: block;
  margin-bottom: 8px;
  color: #b9c2ce;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  direction: ltr;
  text-align: left;
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--teal) !important;
  font-weight: 800;
}

.circuit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
}

.circuit span {
  position: absolute;
  border: 1px solid rgba(16, 191, 168, 0.42);
  border-radius: 50%;
}

.circuit span:nth-child(1) {
  width: 340px;
  height: 340px;
  left: -80px;
  top: -80px;
}

.circuit span:nth-child(2) {
  width: 180px;
  height: 180px;
  left: 180px;
  bottom: -40px;
}

.circuit span:nth-child(3) {
  width: 90px;
  height: 90px;
  right: 10%;
  top: 24%;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer nav {
  display: flex;
  gap: 18px;
}

@media (max-width: 1050px) {
  .hero,
  .admin-section,
  .experience-section,
  .demo-section,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .product-console {
    min-height: 560px;
  }

  .product-cards,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .site-header {
    min-height: 64px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.nav-open .main-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .main-nav a {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 46px 0 70px;
  }

  .hero-stats,
  .hero-points,
  .steps,
  .product-cards,
  .pricing-grid,
  .contact-form,
  .editor-preview,
  .plan-row,
  .feature-toggles {
    grid-template-columns: 1fr;
  }

  .product-console {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 12px;
  }

  .console-rail {
    flex-direction: row;
    justify-content: center;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .console-main {
    padding: 16px;
  }

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

  .command-row {
    grid-template-columns: 40px 1fr;
  }

  .command-row kbd {
    display: none;
  }

  .section,
  .admin-section,
  .experience-section,
  .workflow {
    padding: 62px 0;
  }

  .final-cta {
    padding: 38px 22px;
    border-radius: 12px;
  }

  .footer {
    display: grid;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.dashboard-body {
  background: #f3f3f1;
}

.dashboard-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 28px;
  color: #fff;
  background: #101010;
}

.dashboard-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dashboard-actions button,
.dashboard-actions a,
.primary-action {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}

.dashboard-actions button,
.primary-action {
  color: #07100f;
  border-color: var(--teal);
  background: var(--teal);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 380px;
  min-height: calc(100vh - 64px);
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 24px 18px;
  border-left: 1px solid var(--line);
  background: #ececea;
}

.dashboard-sidebar a {
  padding: 11px 14px;
  border-radius: var(--radius);
  color: #333;
  font-weight: 800;
}

.dashboard-sidebar a.active,
.dashboard-sidebar a:hover {
  background: #fff;
  color: var(--ink);
}

.dashboard-main {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 28px;
}

.dashboard-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.dashboard-head h1,
.dashboard-head h2,
.dashboard-card h2 {
  margin: 0;
  font-size: 26px;
}

.dashboard-head p,
.dashboard-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.link-editor-list {
  display: grid;
  gap: 14px;
}

.link-editor-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  align-items: center;
  min-height: 82px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(20, 30, 50, 0.06);
}

.link-editor-list small {
  color: var(--muted);
  direction: ltr;
  text-align: right;
}

.dashboard-themes {
  grid-template-columns: repeat(4, minmax(110px, 1fr));
}

.content-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.content-fields label,
.logo-uploader label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-weight: 800;
}

.content-fields input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.logo-uploader {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.logo-uploader button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 850;
}

.dashboard-preview {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.dashboard-preview .phone-preview {
  width: min(100%, 320px);
  box-shadow: 0 24px 70px rgba(20, 30, 50, 0.14);
}

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

.gateway-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 850;
}

.subscriber-shell {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.subscriber-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 360px;
  gap: 38px;
  align-items: center;
  margin-bottom: 28px;
}

.subscriber-hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.05;
}

.subscriber-hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.google-login {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 30px rgba(17, 19, 24, 0.1);
  font-weight: 900;
}

.google-login span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #4285f4;
  font-weight: 900;
}

.account-pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.account-pricing .price-card {
  min-height: 390px;
}

.payment-summary {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.payment-summary span {
  color: var(--muted);
}

.subscriber-dashboard-shell {
  grid-template-columns: 240px minmax(0, 1fr) 360px;
}

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

.subscriber-status div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.subscriber-status span,
.subscriber-status strong {
  display: block;
}

.subscriber-status span {
  color: var(--muted);
  font-size: 13px;
}

.module-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.file-buckets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.file-buckets span {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  direction: ltr;
  text-align: left;
  font-weight: 800;
}

.subscriber-features {
  margin-top: 16px;
}

@media (max-width: 1180px) {
  .dashboard-shell {
    grid-template-columns: 210px 1fr;
  }

  .dashboard-preview {
    display: none;
  }
}

@media (max-width: 980px) {
  .subscriber-hero,
  .subscriber-status,
  .file-buckets,
  .account-pricing {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    grid-auto-flow: column;
    overflow-x: auto;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .dashboard-main {
    padding: 16px;
  }

  .dashboard-head,
  .content-fields,
  .payment-grid {
    grid-template-columns: 1fr;
  }
}
