:root {
  --bg: #f6f5f0;
  --surface: #ffffff;
  --ink: #111315;
  --muted: #68706f;
  --line: #dedbd0;
  --black: #070808;
  --gold: #c79a43;
  --gold-soft: #f2e5c8;
  --teal: #0b6b67;
  --rose: #aa5d4e;
  --shadow: 0 22px 70px rgba(17, 19, 21, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(14px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 8, 8, 0.62);
  color: #fff;
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 850;
}

.brand-mark img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(199, 154, 67, 0.45);
  border-radius: 8px;
  object-fit: cover;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-actions a,
.admin-sidebar a,
.admin-sidebar button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 10px 12px;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.92), rgba(7, 8, 8, 0.68) 42%, rgba(7, 8, 8, 0.08)),
    linear-gradient(0deg, rgba(7, 8, 8, 0.48), rgba(7, 8, 8, 0.1) 46%);
}

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

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.5fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  padding: 120px clamp(16px, 4vw, 36px) clamp(56px, 8vw, 92px);
}

.hero-copy {
  width: min(710px, 100%);
  color: #fff;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

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

h1 {
  max-width: 9ch;
  margin: 14px 0 18px;
  font-size: clamp(4.2rem, 14vw, 9rem);
  line-height: 0.86;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--gold);
  color: #111315;
  padding: 12px 18px;
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(199, 154, 67, 0.22);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

.button.full {
  width: 100%;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  padding: 8px 11px;
  font-size: 0.9rem;
}

.tasbeh-widget {
  justify-self: start;
  width: min(520px, 100%);
  color: #fff;
}

.tasbeh-product-stage {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  background: transparent;
  animation: tasbehFloat 5.8s ease-in-out infinite;
}

.tasbeh-product-stage::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 48% 48%, transparent 0 40%, rgba(7, 8, 8, 0.18) 74%),
    linear-gradient(180deg, transparent 0 68%, rgba(7, 8, 8, 0.62));
  pointer-events: none;
  content: "";
}

.tasbeh-product-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.42));
  transform: scale(1.04);
}

.ring-counter {
  position: absolute;
  inset: 47.2% auto auto 45.4%;
  z-index: 4;
  display: grid;
  width: 64px;
  height: 96px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 30%, rgba(72, 137, 255, 0.24), transparent 50%),
    linear-gradient(145deg, rgba(3, 8, 12, 0.18), rgba(3, 6, 8, 0.42));
  color: #fff;
  box-shadow: inset 0 0 22px rgba(80, 148, 255, 0.14), 0 0 18px rgba(76, 142, 255, 0.14);
  cursor: pointer;
  transform: translate(-50%, -50%) rotate(3deg);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.ring-counter:hover {
  box-shadow: inset 0 0 26px rgba(80, 148, 255, 0.2), 0 0 24px rgba(76, 142, 255, 0.18);
}

.ring-counter.resetting {
  animation: resetPop 360ms ease-out;
}

.ring-counter strong {
  color: #f8fbff;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 2.35rem;
  line-height: 0.9;
  text-shadow: 0 0 12px rgba(92, 156, 255, 0.64);
}

.tasbeh-controls {
  position: absolute;
  inset: auto 7% 5% 7%;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px;
  gap: 9px;
}

.tasbeh-touch {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  min-height: 62px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(199, 154, 67, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 230, 166, 0.22), transparent),
    linear-gradient(135deg, #c79a43, #8f6728);
  color: #111315;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3), 0 14px 34px rgba(199, 154, 67, 0.22);
}

.tasbeh-touch strong {
  font-size: 1.06rem;
  font-weight: 900;
}

.touch-label {
  color: rgba(17, 19, 21, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.touch-ripple {
  position: absolute;
  inset: auto;
  z-index: -1;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  opacity: 0;
  transform: scale(0.4);
}

.tasbeh-touch.pressed .touch-ripple {
  animation: touchRipple 520ms ease-out;
}

.tasbeh-zero {
  min-height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(12, 14, 14, 0.58);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.tasbeh-zero.resetting {
  animation: zeroBlink 360ms ease-out;
}

@keyframes touchRipple {
  0% {
    opacity: 0.75;
    transform: scale(0.35);
  }
  100% {
    opacity: 0;
    transform: scale(3.8);
  }
}

@keyframes resetPop {
  0% {
    transform: translate(-50%, -50%) rotate(3deg) scale(1);
  }
  45% {
    transform: translate(-50%, -50%) rotate(3deg) scale(0.94);
  }
  100% {
    transform: translate(-50%, -50%) rotate(3deg) scale(1);
  }
}

@keyframes zeroBlink {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.18);
  }
  50% {
    border-color: rgba(199, 154, 67, 0.78);
  }
}

@keyframes tasbehFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.section {
  padding: clamp(50px, 8vw, 92px) clamp(16px, 4vw, 56px);
}

.intro-band {
  background: #fff;
}

.intro-grid,
.section-heading,
.media-grid,
.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 0.65fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}

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

.feature-card,
.lead-form,
.settings-form,
.login-panel,
.metric-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(17, 19, 21, 0.04);
}

.feature-card {
  min-height: 196px;
  padding: 22px;
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 900;
}

.feature-card p {
  margin-bottom: 0;
}

.media-section {
  background: #101313;
  color: #fff;
}

.media-section p {
  color: rgba(255, 255, 255, 0.74);
}

.media-copy {
  max-width: 560px;
}

.color-row,
.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.color-chip,
.size-chip {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 9px 12px;
}

.color-chip span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.color-chip.active,
.size-chip.active {
  border-color: var(--gold);
  background: rgba(199, 154, 67, 0.18);
}

.product-showcase {
  overflow: hidden;
  border-radius: 8px;
  background: #050606;
  box-shadow: var(--shadow);
}

.product-showcase img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.gallery-section {
  background: #fff;
}

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

.gallery-grid img {
  width: 100%;
  height: 460px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.order-section {
  background:
    linear-gradient(135deg, rgba(199, 154, 67, 0.16), rgba(11, 107, 103, 0.12)),
    #f6f5f0;
}

.order-grid {
  align-items: start;
}

.size-panel {
  margin-top: 24px;
}

.size-panel > span {
  color: var(--muted);
  font-weight: 800;
}

.size-chip {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  min-width: 46px;
  justify-content: center;
}

.lead-form,
.settings-form,
.login-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  color: var(--ink);
  outline: none;
  padding: 11px 12px;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 154, 67, 0.16);
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.toast {
  min-height: 22px;
  color: var(--teal);
  font-weight: 780;
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  background: #111315;
  color: #fff;
}

.admin-brand {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 900;
}

.admin-sidebar button,
.admin-sidebar a {
  width: 100%;
  text-align: left;
}

.admin-sidebar button.active,
.admin-sidebar button:hover,
.admin-sidebar a:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.admin-main {
  min-width: 0;
  padding: 24px clamp(16px, 4vw, 42px) 56px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-topbar h1,
.login-panel h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

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

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

.metric-grid article {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.metric-grid strong {
  font-size: 2.5rem;
}

.metric-grid span {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f0eee7;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

td span {
  color: var(--muted);
}

.status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  background: #f2eee4;
  color: #745a2c;
  padding: 5px 9px;
  font-size: 0.84rem;
  font-weight: 800;
}

.status.ok {
  background: #e5f3ef;
  color: var(--teal);
}

.empty {
  padding: 34px 18px;
  color: var(--muted);
  text-align: center;
}

.login-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 18px;
  background: #111315;
}

.login-panel {
  width: min(420px, 100%);
}

@media (max-width: 900px) {
  .intro-grid,
  .section-heading,
  .media-grid,
  .order-grid,
  .admin-layout {
    grid-template-columns: 1fr;
  }

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

  .tasbeh-widget {
    justify-self: start;
  }

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

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

  .gallery-grid img,
  .gallery-grid img:first-child {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .site-nav {
    padding: 10px 12px;
  }

  .nav-actions a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-bg {
    object-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 8, 8, 0.14), rgba(7, 8, 8, 0.92) 58%),
      linear-gradient(90deg, rgba(7, 8, 8, 0.54), rgba(7, 8, 8, 0.08));
  }

  .hero-inner {
    padding-top: 100px;
  }

  .tasbeh-widget {
    width: 100%;
  }

  .tasbeh-product-stage {
    min-height: 440px;
  }

  .tasbeh-product-stage img {
    object-position: center;
  }

  .ring-counter {
    inset: 47.2% auto auto 45.4%;
    width: 58px;
    height: 88px;
  }

  .ring-counter strong {
    font-size: 2.05rem;
  }

  .tasbeh-controls {
    inset: auto 5% 4% 5%;
    grid-template-columns: minmax(0, 1fr) 62px;
  }

  h1 {
    font-size: clamp(4.2rem, 25vw, 6.2rem);
  }

  .hero-actions,
  .admin-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .feature-grid,
  .form-grid,
  .metric-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .gallery-grid img:first-child {
    height: 420px;
  }
}
