:root {
  --page-width: min(1560px, calc(100vw - 48px));
  --line: rgba(193, 215, 255, 0.9);
  --blue: #184abc;
  --blue-strong: #1549c4;
  --nav-outline: #c7d8ff;
  --text: #1d2433;
  --muted: #5f6d89;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --accent: #1549c4;
  --accent-soft: rgba(21, 73, 196, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 16%, rgba(255,255,255,0.42) 0, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 50% 52%, rgba(255,255,255,0.86) 0, rgba(255,255,255,0) 30%),
    linear-gradient(180deg, #3775f7 0%, #5e8ef8 18%, #a3c0fa 36%, #eef5ff 58%, #ffffff 76%);
  display: flex;
  justify-content: center;
  padding: 0 24px;
  overflow-x: hidden;
}

.page {
  position: relative;
  width: var(--page-width);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 24%, rgba(151,196,255,0.46) 0, rgba(151,196,255,0.1) 18%, rgba(255,255,255,0) 34%),
    radial-gradient(circle at 47% 8%, rgba(255,255,255,0.52) 0, rgba(255,255,255,0) 22%),
    linear-gradient(180deg, rgba(52,112,243,0.06) 0%, rgba(255,255,255,0) 60%);
  overflow: hidden;
  isolation: isolate;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='154' height='154' viewBox='0 0 154 154' fill='none'%3E%3Cg stroke='%23ffffff' stroke-opacity='0.17' stroke-width='1'%3E%3Cpath d='M24 44h58'/%3E%3Cpath d='M53 15v58'/%3E%3Cpath d='M104 111h34'/%3E%3Cpath d='M121 94v34'/%3E%3Cpath d='M0.5 87.5h60'/%3E%3Cpath d='M60.5 87.5v-58'/%3E%3Cpath d='M96.5 154v-44'/%3E%3Cpath d='M96.5 110h44'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 154px 154px;
  background-repeat: repeat;
  opacity: 0.95;
  pointer-events: none;
  z-index: -2;
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(69,126,246,0.10) 0%, rgba(255,255,255,0.88) 70%, #ffffff 100%),
    radial-gradient(circle at 52% 22%, rgba(255,255,255,0.6) 0, rgba(255,255,255,0) 28%);
  pointer-events: none;
  z-index: -1;
}

.topbar {
  padding: 28px 72px 0;
  direction: rtl;
  font-family: "Heebo", "Plus Jakarta Sans", sans-serif;
}

.topbar-shell {
  min-height: 92px;
  background: rgba(255,255,255,0.98);
  border-radius: 46px;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.65) inset;
}

.topbar-shell > * {
  min-width: 0;
}

.brand-pill,
.menu-pill {
  height: 60px;
  border: 1px solid var(--nav-outline);
  border-radius: 30px;
  background: rgba(255,255,255,0.95);
}

.brand-pill {
  min-width: 232px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0 29px 0 30px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text);
}

.header-brand-logo {
  display: block;
  width: auto;
  height: 34px;
  max-width: 100%;
  object-fit: contain;
}

.menu-pill {
  flex: 1;
  max-width: 662px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 11px;
  gap: 8px;
}

.menu-link {
  flex: 1;
  height: 44px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.menu-link.active {
  background: #ecf2ff;
  color: var(--blue);
}

.services-cta {
  height: 56px;
  min-width: 269px;
  padding: 0 7px 0 30px;
  border-radius: 999px;
  background: var(--blue-strong);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
}

.services-cta span {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

/* ── Nav actions (cart + user) ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-cart {
  height: 56px;
  padding: 0 14px 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--nav-outline);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
  transition: background .18s;
}

.nav-cart:hover { background: #eef4ff; }

.nav-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--blue-strong);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.nav-cart-count.empty {
  background: #e2ecff;
  color: var(--blue);
}

.nav-user {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--nav-outline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  transition: background .18s;
}

.nav-user:hover { background: #eef4ff; }
.nav-user.logged-in { background: #ecf2ff; color: var(--blue-strong); border-color: #a8c0ff; }

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--blue-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.product-shell {
  padding: 54px 72px 96px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(199,216,255,0.92);
  background: rgba(255,255,255,0.78);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.product-hero {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.feature-card,
.story-card,
.specs-card,
.cta-panel,
.mini-stat {
  border: 1px solid rgba(255,255,255,0.74);
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 18px 52px rgba(24,74,188,0.08),
    0 1px 0 rgba(255,255,255,0.9) inset;
}

.hero-copy,
.hero-visual,
.cta-panel {
  border-radius: 36px;
}

.hero-copy {
  padding: 36px;
}

.product-code {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin: 0;
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero-subtitle {
  margin: 18px 0 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34ch;
}

.hero-price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 28px;
}

.hero-price {
  font-size: clamp(34px, 3.5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-price small {
  font-size: 18px;
  font-weight: 700;
  vertical-align: super;
}

.hero-badge {
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-primary,
.btn-secondary {
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
}

button.btn-primary,
button.btn-secondary {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 16px 34px var(--accent-soft);
}

.btn-secondary {
  background: rgba(255,255,255,0.82);
  color: var(--text);
  border: 1px solid rgba(199,216,255,0.92);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.note-pill {
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(199,216,255,0.92);
}

.hero-visual {
  position: relative;
  padding: 28px;
  overflow: hidden;
  min-height: 520px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto auto 14% 10%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(255,255,255,0) 72%);
  filter: blur(10px);
}

.hero-art {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,255,255,0.82) 0, rgba(255,255,255,0) 30%),
    linear-gradient(140deg, var(--accent-soft) 0%, rgba(255,255,255,0.9) 52%, rgba(255,255,255,1) 100%);
  overflow: hidden;
}

.hero-art-label {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(29,36,51,0.52);
}

.hero-art-orbit {
  position: absolute;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 12%;
  right: 18%;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(255,255,255,0) 74%);
}

.hero-art-pod {
  position: absolute;
  width: 132px;
  height: 228px;
  border-radius: 66px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 56%, rgba(255,255,255,0.78) 100%);
  border: 1px solid rgba(255,255,255,0.94);
  box-shadow:
    0 36px 42px rgba(18,44,91,0.12),
    0 0 0 1px rgba(255,255,255,0.42) inset;
  transform: rotate(var(--pod-rotate));
}

.hero-art-pod::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 32% 32%, rgba(255,255,255,0.98), var(--accent));
  box-shadow: 0 12px 30px var(--accent-soft);
}

.hero-art-pod::after {
  content: "";
  position: absolute;
  bottom: 26px;
  left: 50%;
  width: 28px;
  height: 96px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(214,226,255,0.96));
}

.hero-art-pod.left {
  left: 20%;
  top: 28%;
  --pod-rotate: -18deg;
}

.hero-art-pod.right {
  right: 20%;
  top: 16%;
  --pod-rotate: 18deg;
}

.section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.section-head {
  margin-bottom: 18px;
}

.section-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

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

.mini-stat {
  border-radius: 26px;
  padding: 22px;
}

.mini-stat strong {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 36px;
  line-height: 1;
}

.mini-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.story-grid,
.feature-grid,
.specs-layout {
  display: grid;
  gap: 18px;
}

.story-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

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

.specs-layout {
  grid-template-columns: 1.1fr 0.9fr;
}

.story-card,
.feature-card,
.specs-card,
.cta-panel {
  border-radius: 30px;
  padding: 26px;
}

.story-card p,
.feature-card p,
.specs-card p,
.cta-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.story-card h3,
.feature-card h3,
.specs-card h3,
.cta-panel h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.feature-card h3 {
  font-size: 22px;
}

.spec-list {
  display: grid;
  gap: 12px;
}

.spec-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(199,216,255,0.72);
}

.spec-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.spec-item dt {
  font-weight: 700;
  color: var(--text);
}

.spec-item dd {
  margin: 0;
  color: var(--muted);
}

.cta-panel {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-panel h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
}

@media (max-width: 1450px) {
  .topbar { padding: 24px 42px 0; }
  .brand-pill { min-width: 214px; padding: 0 24px 0 25px; }
  .header-brand-logo { height: 32px; }
  .menu-pill { max-width: 600px; }
  .menu-link { font-size: 15px; }
  .services-cta { min-width: 242px; padding-left: 24px; }
  .product-shell { padding-left: 42px; padding-right: 42px; }
}

@media (max-width: 1200px) {
  .topbar { padding: 20px 28px 0; }
  .topbar-shell { height: auto; border-radius: 34px; padding: 14px; flex-wrap: wrap; }
  .menu-pill { order: 3; flex: 1 1 100%; max-width: none; }
  .product-hero,
  .story-grid,
  .feature-grid,
  .specs-layout,
  .mini-stats,
  .cta-panel {
    grid-template-columns: 1fr;
  }
  .product-shell { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 900px) {
  body { padding: 0 12px; }
  :root { --page-width: calc(100vw - 24px); }
  .brand-pill, .menu-pill, .services-cta { min-width: 0; }
  .services-cta { width: 100%; }
  .menu-pill { flex-wrap: wrap; height: auto; }
  .menu-link { flex: 1 1 calc(50% - 8px); }
  .hero-copy,
  .hero-visual,
  .story-card,
  .feature-card,
  .specs-card,
  .cta-panel,
  .mini-stat {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .topbar { padding: 16px 14px 0; }
  .topbar-shell { padding: 12px; border-radius: 26px; }
  .brand-pill, .menu-pill { height: auto; min-height: 52px; }
  .brand-pill { width: 100%; justify-content: center; }
  .menu-pill { padding: 6px; gap: 6px; }
  .menu-link { flex: 1 1 calc(50% - 6px); min-height: 40px; font-size: 14px; }
  .services-cta { height: 52px; padding-left: 20px; }
  .product-shell { padding: 28px 14px 56px; }
  .hero-title { font-size: 40px; }
  .hero-art { min-height: 360px; }
  .hero-art-pod {
    width: 102px;
    height: 184px;
  }
  .hero-art-pod::before {
    width: 48px;
    height: 48px;
  }
  .hero-art-pod::after {
    width: 24px;
    height: 74px;
  }
  .hero-art-pod.left { left: 14%; top: 32%; }
  .hero-art-pod.right { right: 14%; top: 18%; }
  .spec-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cta-panel {
    align-items: flex-start;
  }
}
