:root {
  --bg: #060806;
  --panel: rgba(15, 18, 14, 0.82);
  --panel-solid: #10140f;
  --text: #f7f8f2;
  --muted: #b8bdb0;
  --line: rgba(223, 255, 38, 0.22);
  --acid: #dfff26;
  --acid-2: #a9ff00;
  --dark-acid: #182104;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(195, 255, 0, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(223, 255, 38, 0.12), transparent 24rem),
    linear-gradient(135deg, #030403 0%, #0b0d0a 52%, #070907 100%);
  color: var(--text);
  font-family: "Cairo", system-ui, sans-serif;
  overflow-x: hidden;
}

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

button,
input,
select {
  font: inherit;
}

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

.ambient {
  position: fixed;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.ambient-one {
  top: 8rem;
  right: -16rem;
  background: rgba(202, 255, 25, 0.28);
}

.ambient-two {
  bottom: -18rem;
  left: -10rem;
  background: rgba(64, 255, 0, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 8, 6, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(223, 255, 38, 0.34);
}

.brand span,
.site-footer span:first-child {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--acid);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(21rem, 0.95fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 5.6rem);
  padding: clamp(1.2rem, 4vw, 4.5rem);
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 255, 38, 0.2);
  border-radius: var(--radius);
  background: #0d0f0b;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.hero-media img {
  width: 100%;
  height: min(54vw, 34rem);
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: cinematicDrift 16s ease-in-out infinite alternate;
}

.hero-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(223, 255, 38, 0.16) 48%, transparent 70%);
  transform: translateX(110%);
  animation: scanLine 6s ease-in-out infinite;
  mix-blend-mode: screen;
}

.hero-copy {
  max-width: 42rem;
}

.hero-premium {
  grid-template-columns: minmax(22rem, 0.82fr) minmax(0, 1.18fr);
}

.eyebrow,
.tag {
  margin: 0 0 0.8rem;
  color: var(--acid);
  font-family: "Inter", "Cairo", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 7vw, 6.7rem);
  line-height: 0.95;
  font-weight: 900;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  font-weight: 900;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.2;
}

.hero-text,
.muted,
.product-content p,
.benefit p,
.summary-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.4rem;
}

.btn,
.select-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.select-product:hover {
  transform: translateY(-2px);
}

.btn-primary,
.select-product {
  color: #080a06;
  background: linear-gradient(135deg, var(--acid), var(--acid-2));
  box-shadow: 0 0 28px rgba(223, 255, 38, 0.24);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hero-stats span {
  display: grid;
  gap: 0.2rem;
  min-height: 5rem;
  padding: 0.8rem;
  border: 1px solid rgba(223, 255, 38, 0.2);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
}

.hero-stats strong {
  color: var(--acid);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.2rem;
}

.trust-strip span {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(223, 255, 38, 0.22);
  border-radius: 999px;
  color: #f4ffd2;
  background: rgba(223, 255, 38, 0.06);
  font-size: 0.9rem;
}

.section {
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 4.5rem);
}

.compact {
  padding-top: 2rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-note {
  max-width: 33rem;
  color: var(--muted);
  line-height: 1.8;
}

.editorial-strip {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 1rem;
  align-items: end;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.editorial-strip p {
  margin-bottom: 0;
  color: var(--acid);
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.editorial-strip h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 4.2rem);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(13rem, 0.92fr) minmax(0, 1fr);
  min-height: 30rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(19, 23, 18, 0.86), rgba(8, 10, 7, 0.94));
  box-shadow: var(--shadow);
}

.product-card:not(.featured) {
  grid-template-columns: 1fr;
}

.product-card.featured {
  grid-row: span 2;
}

.product-image {
  position: relative;
  min-height: 18rem;
  background: #090b08;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(6, 8, 6, 0.8));
}

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

.product-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.clean-list {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  margin: 1rem 0 1.2rem;
  list-style: none;
  color: var(--muted);
}

.clean-list li::before {
  content: "•";
  color: var(--acid);
  margin-inline-end: 0.4rem;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: auto 0 1.2rem;
  padding-top: 1.2rem;
  color: var(--muted);
}

.price-row strong {
  color: var(--acid);
  font-size: 1.55rem;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: start;
}

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

.benefit,
.summary-card,
.order-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.benefit {
  padding: 1.2rem;
}

.benefit span {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  margin-bottom: 1rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--acid);
}

.order-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24rem;
  gap: 1rem;
  align-items: start;
}

.order-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.order-form {
  display: grid;
  gap: 0.95rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: #f3f4ed;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 3.15rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  outline: none;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.28);
}

input:focus,
select:focus {
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(223, 255, 38, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.8rem;
}

.submit-order {
  width: 100%;
}

.summary-card {
  position: sticky;
  top: 6.4rem;
  padding: 1.2rem;
}

.total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.4rem 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.total strong {
  color: var(--acid);
  font-size: 1.45rem;
}

.btn-whatsapp {
  width: 100%;
  color: #051306;
  background: #25d366;
}

.btn-whatsapp.disabled {
  pointer-events: none;
  opacity: 0.45;
}

.form-status {
  min-height: 1.6rem;
  margin-bottom: 0;
  color: var(--acid);
}

.blog-preview {
  padding-top: 2rem;
}

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

.article-grid.standalone {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.article-card {
  display: grid;
  gap: 0.7rem;
  min-height: 15rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(223, 255, 38, 0.08), transparent 45%),
    rgba(10, 13, 9, 0.86);
  box-shadow: var(--shadow);
}

.article-card span {
  color: var(--acid);
  font-weight: 900;
}

.article-card h2,
.article-card h3 {
  margin-bottom: 0;
}

.article-card p {
  color: var(--muted);
  line-height: 1.75;
}

.content-page {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 6rem) 0;
}

.content-page h1 {
  max-width: 14ch;
}

.content-page .lead {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.9;
}

.content-page section,
.article-page h2 {
  margin-top: 2rem;
}

.content-page p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 4vw, 4.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-body {
  min-height: 100vh;
}

.admin-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.2rem, 4vw, 4rem) 0;
}

.admin-login {
  display: grid;
  gap: 1rem;
  width: min(31rem, 100%);
  margin: 8vh auto 0;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.admin-login img {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 34px rgba(223, 255, 38, 0.3);
}

.login-error {
  margin: 0;
  color: #ff8c8c;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-topbar h1 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4rem);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-metrics article,
.admin-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.admin-metrics article {
  padding: 1.2rem;
}

.admin-metrics span {
  display: block;
  color: var(--acid);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
}

.admin-metrics p {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
}

.admin-card {
  padding: 1.2rem;
}

.admin-card.wide {
  grid-column: 1 / -1;
}

.admin-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.admin-card dl {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.admin-card dl div {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-card dt {
  color: var(--muted);
}

.admin-card dd {
  margin: 0.2rem 0 0;
  color: var(--text);
  font-weight: 800;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: start;
  vertical-align: top;
}

.admin-table th {
  color: var(--acid);
  font-size: 0.9rem;
}

.admin-table td span,
.admin-table td small {
  display: block;
  color: var(--muted);
}

.order-status,
#statusFilter {
  min-height: 2.6rem;
}

.event-list {
  display: grid;
  gap: 0.75rem;
}

.event-item {
  padding: 0.9rem;
  border: 1px solid rgba(223, 255, 38, 0.16);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.event-item strong {
  display: block;
}

.event-item span,
.event-item p {
  color: var(--muted);
}

.event-item p {
  margin-bottom: 0;
}

.compact-event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@keyframes cinematicDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(1.2%, -1%, 0);
  }
}

@keyframes scanLine {
  0%,
  35% {
    transform: translateX(110%);
  }
  60%,
  100% {
    transform: translateX(-110%);
  }
}

@media (max-width: 980px) {
  .hero,
  .hero-premium,
  .product-grid,
  .split,
  .order-section,
  .admin-grid,
  .article-grid,
  .article-grid.standalone,
  .editorial-strip,
  .order-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    order: -1;
  }

  .product-card,
  .product-card:not(.featured) {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .summary-card {
    position: static;
  }

  .admin-card.wide {
    grid-column: auto;
  }

  .admin-metrics,
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: 3rem;
    height: 3rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    font-size: 0.88rem;
  }

  .hero-media img {
    height: 16rem;
  }

  h1 {
    max-width: none;
  }

  .hero-actions,
  .site-footer,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .admin-topbar,
  .card-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-metrics,
  .hero-stats {
    grid-template-columns: 1fr;
  }
}
