:root {
  --ink: #140e0c;
  --deep: #2b1812;
  --brick: #7a3f2c;
  --ember: #d9852f;
  --gold: #f0b84a;
  --cream: #f8f2ea;
  --sand: #efe5d8;
  --paper: #fffdf9;
  --text: #241711;
  --muted: #6f5c52;
  --line: rgba(122, 63, 44, 0.14);
  --shadow: 0 24px 60px rgba(20, 14, 12, 0.18);
  --radius: 1.5rem;
  --display: "Aref Ruqaa", "IBM Plex Sans Arabic", serif;
  --body: "IBM Plex Sans Arabic", Tahoma, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

.page-glow {
  pointer-events: none;
  position: fixed;
  inset: auto -10% -20% auto;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(217, 133, 47, 0.12), transparent 65%);
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.8rem 1.45rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-flame {
  background: linear-gradient(135deg, var(--ember), var(--brick));
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(122, 63, 44, 0.35);
}

.btn-flame:hover {
  transform: translateY(-2px);
  color: #fff !important;
  box-shadow: 0 18px 36px rgba(122, 63, 44, 0.42);
}

.btn-ghost,
.btn-ghost-light {
  background: transparent;
  border: 1px solid rgba(248, 242, 234, 0.35) !important;
  color: var(--cream) !important;
}

.btn-ghost {
  border-color: rgba(248, 242, 234, 0.28) !important;
}

.btn-ghost:hover,
.btn-ghost-light:hover {
  background: rgba(248, 242, 234, 0.1);
  color: var(--gold) !important;
  transform: translateY(-2px);
}

.btn-plan {
  width: 100%;
  background: var(--deep);
  color: #fff !important;
}

.btn-plan:hover {
  background: var(--brick);
  color: #fff !important;
  transform: translateY(-2px);
}

/* Nav */
.oven-nav {
  padding: 1rem 0;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.oven-nav.scrolled {
  padding: 0.65rem 0;
  background: rgba(20, 14, 12, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream) !important;
}

.nav-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.navbar-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--gold);
}

.navbar-brand small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.75;
  letter-spacing: 0.04em;
}

.oven-nav .nav-link {
  color: rgba(248, 242, 234, 0.82) !important;
  font-weight: 500;
  padding: 0.45rem 0.85rem !important;
  border-radius: 999px;
}

.oven-nav .nav-link:hover,
.oven-nav .nav-link.active {
  color: var(--gold) !important;
  background: rgba(240, 184, 74, 0.1);
}

.nav-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.navbar-toggler {
  border-color: rgba(248, 242, 234, 0.3);
}

.navbar-toggler-icon {
  filter: invert(1);
}

@media (max-width: 991.98px) {
  .oven-nav .navbar-collapse {
    margin-top: 0.8rem;
    padding: 1rem;
    border-radius: 1.1rem;
    background: rgba(20, 14, 12, 0.96);
  }

  .nav-actions {
    margin-top: 0.85rem;
    flex-wrap: wrap;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 14, 12, 0.55) 0%, rgba(20, 14, 12, 0.28) 38%, rgba(20, 14, 12, 0.82) 100%),
    linear-gradient(90deg, rgba(20, 14, 12, 0.72) 0%, rgba(20, 14, 12, 0.2) 58%, rgba(20, 14, 12, 0.45) 100%);
}

.hero-ember {
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: radial-gradient(ellipse at center, rgba(217, 133, 47, 0.28), transparent 70%);
  filter: blur(8px);
  animation: emberPulse 5s ease-in-out infinite;
}

.hero-stage {
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: 5.5rem;
}

.hero-copy {
  max-width: 640px;
}

.hero-mark {
  width: 108px;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
  animation: floatY 4.8s ease-in-out infinite;
}

.hero-kicker {
  margin: 0 0 0.35rem;
  color: var(--gold);
  font-style: italic;
  letter-spacing: 0.08em;
}

.hero-brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 0.9;
  color: #fff8ee;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.hero-line {
  margin: 1.1rem 0 0.75rem;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 700;
  max-width: 14ch;
}

.hero-support {
  margin: 0;
  max-width: 36ch;
  color: rgba(248, 242, 234, 0.86);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(248, 242, 234, 0.8);
  font-size: 0.9rem;
  animation: bounceY 2.2s infinite;
}

/* Sections shared */
.section {
  padding: 6rem 0;
  position: relative;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--brick);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

.eyebrow.light {
  color: var(--gold);
}

.display-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--deep);
}

.display-title.light {
  color: var(--cream);
}

.lead-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
}

.section-head {
  margin-bottom: 3rem;
}

.section-head .lead-text {
  margin-inline: auto;
}

/* About */
.about {
  background: linear-gradient(180deg, #f8f2ea 0%, #f3ebe1 100%);
}

.about-visual {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-caption {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  background: rgba(20, 14, 12, 0.72);
  backdrop-filter: blur(10px);
  color: var(--cream);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
}

.about-caption strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
}

.about-caption span {
  opacity: 0.8;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.mission-grid > div {
  padding-top: 1rem;
  border-top: 2px solid rgba(217, 133, 47, 0.35);
}

.mission-grid h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--deep);
}

.mission-grid p {
  margin: 0;
  color: var(--muted);
}

/* Journey */
.journey {
  background:
    radial-gradient(circle at top left, rgba(217, 133, 47, 0.08), transparent 40%),
    var(--paper);
}

.journey-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.journey-step {
  padding: 1.8rem 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffdf9, #f7efe5);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.journey-step::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(217, 133, 47, 0.16), transparent 70%);
}

.step-index {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--ember);
  margin-bottom: 0.85rem;
  line-height: 1;
}

.journey-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.journey-step p {
  margin: 0;
  color: var(--muted);
}

/* Promise */
.promise {
  padding: 1.4rem 0;
  background: var(--deep);
  color: var(--cream);
}

.promise-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.promise-row > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.55rem 0.25rem;
  font-weight: 500;
}

.promise-row i {
  color: var(--gold);
  font-size: 1.15rem;
}

/* Packages */
.packages {
  background: linear-gradient(180deg, #efe5d8 0%, #f8f2ea 100%);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.plan {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(43, 24, 18, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.plan-featured {
  background:
    radial-gradient(circle at top, rgba(240, 184, 74, 0.18), transparent 55%),
    linear-gradient(180deg, #2b1812, #1a100d);
  color: var(--cream);
  border-color: rgba(240, 184, 74, 0.28);
  transform: translateY(-10px);
}

.plan-featured:hover {
  transform: translateY(-16px);
}

.plan-featured header p,
.plan-featured ul {
  color: rgba(248, 242, 234, 0.78);
}

.plan-ribbon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--ember));
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.plan header h3 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.plan header p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.plan-price em {
  font-style: normal;
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 0.9;
  color: var(--brick);
}

.plan-featured .plan-price em {
  color: var(--gold);
}

.plan-price span {
  font-weight: 600;
  padding-bottom: 0.35rem;
}

.plan-price small {
  font-weight: 400;
  opacity: 0.75;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.plan li {
  position: relative;
  padding-right: 1.35rem;
  margin-bottom: 0.7rem;
}

.plan li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--ember);
  font-weight: 700;
}

.plan-featured li::before {
  color: var(--gold);
}

/* Download */
.download {
  background: var(--cream);
}

.download-stage {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.75rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(240, 184, 74, 0.22), transparent 35%),
    linear-gradient(135deg, #2b1812 0%, #140e0c 100%);
  color: var(--cream);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.download-copy p {
  max-width: 42ch;
  color: rgba(248, 242, 234, 0.82);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 180px;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  transition: transform 0.25s ease, background 0.25s ease;
}

.store:hover {
  transform: translateY(-3px);
  background: rgba(240, 184, 74, 0.14);
  color: var(--gold);
}

.store i {
  font-size: 1.7rem;
}

.store small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.75;
  line-height: 1.1;
}

.store b {
  display: block;
  font-size: 1.05rem;
  line-height: 1.15;
}

.download-mark {
  text-align: center;
}

.download-mark img {
  width: min(210px, 70%);
  margin-inline: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
  animation: floatY 5s ease-in-out infinite;
}

.download-mark p {
  margin: 0.85rem 0 0;
  color: var(--gold);
  font-style: italic;
  letter-spacing: 0.06em;
}

/* Contact */
.contact {
  background: linear-gradient(180deg, #efe5d8, #f8f2ea);
}

.contact-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.contact-points a {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 253, 249, 0.8);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-points a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(43, 24, 18, 0.08);
}

.contact-points i {
  color: var(--brick);
  font-size: 1.15rem;
  margin-top: 0.15rem;
}

.contact-points strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.1rem;
}

.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(43, 24, 18, 0.07);
}

.contact-panel label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--deep);
  font-size: 0.92rem;
}

.contact-panel input,
.contact-panel textarea,
.newsletter-form input {
  width: 100%;
  border: 1px solid rgba(122, 63, 44, 0.18);
  background: #fffdfb;
  border-radius: 0.9rem;
  padding: 0.8rem 0.95rem;
  outline: none;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-panel input:focus,
.contact-panel textarea:focus,
.newsletter-form input:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 4px rgba(217, 133, 47, 0.15);
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-alert {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 0.85rem;
  font-weight: 500;
}

.form-alert.success {
  background: rgba(46, 125, 50, 0.1);
  color: #1b5e20;
}

.form-alert.error {
  background: rgba(183, 28, 28, 0.1);
  color: #7f1d1d;
}

.newsletter {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: var(--deep);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: center;
}

.newsletter h3 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
}

.newsletter p {
  margin: 0;
  color: rgba(248, 242, 234, 0.75);
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(248, 242, 234, 0.82);
  padding: 2.75rem 0 1.75rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.footer-brand img {
  width: 58px;
}

.footer-brand strong {
  display: block;
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
}

.footer-brand span {
  font-size: 0.88rem;
  opacity: 0.75;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

.footer-bottom p {
  margin: 0;
}

/* Legal */
.legal-hero {
  padding: 8.5rem 0 3rem;
  background:
    linear-gradient(160deg, rgba(20, 14, 12, 0.88), rgba(43, 24, 18, 0.85)),
    url("../assets/oven-glow.jpg") center/cover;
  color: var(--cream);
}

.legal-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-body {
  padding: 3.5rem 0 5rem;
}

.legal-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(43, 24, 18, 0.07);
}

.legal-panel h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.5rem;
  color: var(--deep);
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
}

/* Top button */
.to-top {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--brick));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.25s ease;
  z-index: 40;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes heroDrift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

@keyframes emberPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}

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

@keyframes bounceY {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* Responsive */
@media (max-width: 991.98px) {
  .journey-track,
  .packages-grid,
  .promise-row,
  .download-stage,
  .newsletter,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .plan-featured {
    transform: none;
  }

  .plan-featured:hover {
    transform: translateY(-8px);
  }

  .download-stage {
    text-align: center;
    padding: 2rem 1.4rem;
  }

  .download-copy p {
    margin-inline: auto;
  }

  .store-row {
    justify-content: center;
  }

  .about-visual,
  .about-visual img {
    min-height: 300px;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 4.25rem 0;
  }

  .hero-stage {
    padding-bottom: 4.5rem;
  }

  .hero-line {
    max-width: none;
  }

  .store {
    width: 100%;
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }
}
