:root {
  --navy: #1a1a3e;
  --gold: #d4af37;
  --ivory: #fffff0;
  --black: #050505;
  --navy-soft: #232353;
  --gold-soft: rgba(212, 175, 55, 0.18);
  --border: rgba(212, 175, 55, 0.55);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  --max-width: 1200px;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Tajawal", sans-serif;
  background:
    radial-gradient(circle at top, rgba(212, 175, 55, 0.1), transparent 30%),
    linear-gradient(180deg, #11112d 0%, var(--navy) 40%, #0c0c18 100%);
  color: var(--ivory);
  min-height: 100vh;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
select {
  font: inherit;
}

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

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  background:
    repeating-linear-gradient(
      60deg,
      transparent 0,
      transparent 22px,
      rgba(212, 175, 55, 0.03) 22px,
      rgba(212, 175, 55, 0.03) 24px
    ),
    repeating-linear-gradient(
      -60deg,
      transparent 0,
      transparent 22px,
      rgba(212, 175, 55, 0.025) 22px,
      rgba(212, 175, 55, 0.025) 24px
    );
}

.page-shell::after {
  background: linear-gradient(90deg, transparent 0, rgba(212, 175, 55, 0.08) 50%, transparent 100%);
  opacity: 0.25;
}

.hero,
.section,
.footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.hero {
  padding: 1.25rem 0 2rem;
  position: relative;
}

.pattern {
  height: 26px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, transparent 10px, rgba(212, 175, 55, 0.16) 10px, rgba(212, 175, 55, 0.16) 12px, transparent 12px) center/48px 100% repeat-x,
    linear-gradient(-135deg, transparent 10px, rgba(212, 175, 55, 0.16) 10px, rgba(212, 175, 55, 0.16) 12px, transparent 12px) center/48px 100% repeat-x;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
}

.brand,
.section-label,
.eyebrow,
.card-kicker,
.advantage-number {
  font-family: "Poiret One", cursive;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand {
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  color: var(--gold);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: rgba(255, 255, 240, 0.86);
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 3rem;
}

.hero-copy h1,
.section-heading h2,
.hero-card h2,
.product-body h3,
.intro-card h3,
.advantage-grid h3 {
  margin: 0;
  font-family: "Poiret One", cursive;
  line-height: 1.1;
}

.hero-copy h1 {
  font-size: clamp(3rem, 8vw, 5.4rem);
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.eyebrow,
.section-label,
.card-kicker {
  color: var(--gold);
  font-size: 0.95rem;
}

.lead,
.hero-card p,
.intro-card p,
.product-body p,
.advantage-grid p,
.newsletter p,
.contact-list,
.newsletter-form label {
  color: rgba(255, 255, 240, 0.86);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover,
.btn:focus-visible,
.product-card:hover,
.product-card:focus-within,
.intro-card:hover,
.newsletter:hover,
.hero-card:hover {
  transform: translateY(-4px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--gold), #f0d36d);
  color: var(--navy);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--ivory);
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-highlights li,
.price-badge,
.product-tag {
  border: 1px solid var(--border);
  background: rgba(255, 255, 240, 0.03);
}

.hero-highlights li {
  padding: 0.9rem;
  text-align: center;
  border-radius: 16px;
}

.deco-frame {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 240, 0.04), rgba(255, 255, 240, 0.02)),
    linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.deco-frame::before,
.deco-frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--gold);
  opacity: 0.8;
}

.deco-frame::before {
  top: 10px;
  right: 10px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.deco-frame::after {
  left: 10px;
  bottom: 10px;
  border-left: 1px solid;
  border-bottom: 1px solid;
}

.hero-card {
  padding: 2rem;
  overflow: hidden;
  min-height: 100%;
}

.hero-card-inner {
  position: relative;
  z-index: 1;
}

.hero-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.75rem 0 1rem;
}

.sunburst {
  position: absolute;
  inset: -20% auto auto -12%;
  width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(212, 175, 55, 0.2) 0deg 6deg,
    transparent 6deg 12deg
  );
  mask: radial-gradient(circle, transparent 20%, black 21%);
  opacity: 0.5;
}

.price-badge {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
}

.price-badge strong,
.price,
.product-body h3,
.newsletter-form button {
  color: var(--gold);
}

.section {
  padding: 2rem 0 4rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 0.4rem;
}

.divider {
  width: min(280px, 100%);
  height: 18px;
  margin: 1rem auto 0;
  background:
    linear-gradient(90deg, transparent 0, var(--gold) 20%, transparent 20.5%, transparent 79.5%, var(--gold) 80%, transparent 100%),
    radial-gradient(circle at center, var(--gold) 0 4px, transparent 4.5px),
    linear-gradient(90deg, transparent 47%, var(--gold) 47%, var(--gold) 53%, transparent 53%);
  background-repeat: no-repeat;
  background-position: center;
}

.intro-grid,
.advantage-grid,
.newsletter-layout {
  display: grid;
  gap: 1.5rem;
}

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

.intro-card,
.newsletter {
  padding: 1.8rem;
}

.intro-card h3,
.advantage-grid h3 {
  font-size: 1.75rem;
  margin-bottom: 0.7rem;
}

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

.product-card {
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(212, 175, 55, 0.9);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 0.9;
  overflow: hidden;
  background: #111;
}

.product-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 5, 5, 0.45) 100%);
}

.product-image-wrap img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover img,
.product-card:focus-within img {
  transform: scale(1.06);
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--ivory);
  backdrop-filter: blur(8px);
}

.product-body {
  padding: 1.2rem;
}

.product-body h3 {
  font-size: 1.7rem;
  margin-bottom: 0.65rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.price {
  font-size: 1.45rem;
  font-weight: 700;
}

.text-link {
  position: relative;
  font-weight: 500;
}

.text-link::after,
.footer-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

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

.advantage-grid article {
  padding: 1.5rem 1.2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.06), transparent);
  text-align: center;
}

.advantage-number {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-size: 1.2rem;
}

.newsletter {
  margin-bottom: 4rem;
}

.newsletter-layout {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.newsletter-form {
  display: grid;
  gap: 1rem;
}

.newsletter-form label {
  display: grid;
  gap: 0.55rem;
}

.newsletter-form input,
.newsletter-form select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 240, 0.05);
  color: var(--ivory);
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 240, 0.45);
}

.newsletter-form input:focus,
.newsletter-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.newsletter-form option {
  color: var(--black);
}

.footer {
  padding: 0 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 240, 0.78);
  border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.footer p {
  margin: 1.4rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.footer-links a {
  position: relative;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-content,
  .newsletter-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar,
  .footer {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    padding-top: 0.5rem;
  }

  .hero-content {
    padding-top: 2.5rem;
  }

  .hero-highlights,
  .intro-grid,
  .advantage-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero,
  .section,
  .footer {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .nav-links,
  .hero-actions,
  .hero-highlights,
  .intro-grid,
  .advantage-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .hero-actions,
  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .hero-card,
  .intro-card,
  .newsletter {
    padding: 1.35rem;
  }

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