/* ==========================================================================
   NOVACUT.MA — Minimalist Luxury Mobile-First Landing Page
   100% Uniform Tajawal Typography • Airy Editorial Layout • Zero Clutter
   ========================================================================== */

/* Full Tajawal UI Font Family (100% consistent across entire site!) */
@font-face { font-family: "Tajawal"; src: url("/fonts/Tajawal-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/fonts/Tajawal-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/fonts/Tajawal-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/fonts/Tajawal-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/fonts/TajawalBlack.ttf") format("truetype"); font-weight: 900; font-display: swap; }

/* Stand Calligraphy Fonts (Arabic + French) */
@font-face { font-family: "AishaArabicBold"; src: url("/fonts/AishaArabicBold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "RTLMaghribi"; src: url("/fonts/RTLMaghribi.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "DecoTypeThuluth"; src: url("/fonts/DecoTypeThuluth.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "ArefRuqaaBold"; src: url("/fonts/ArefRuqaaBold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "TajawalBlack"; src: url("/fonts/TajawalBlack.ttf") format("truetype"); font-display: swap; }

@font-face { font-family: "PlayfairDisplayBoldItalic"; src: url("/fonts/PlayfairDisplayBoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "CinzelBold"; src: url("/fonts/CinzelBold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DancingScriptBold"; src: url("/fonts/DancingScriptBold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "GreatVibes"; src: url("/fonts/GreatVibes.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "MontserratBold"; src: url("/fonts/MontserratBold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #faf9f6;
  --white: #ffffff;
  --dark: #0e1014;
  --dark-card: #151820;
  --dark-elev: #1d212b;
  --ink: #14161a;
  --muted: #5f6570;
  --light: #f6f4ef;
  --light-muted: #9da3b0;
  --gold: #c69d46;
  --gold-soft: #e0c278;
  --gold-deep: #a37d2c;
  --line: #eae5dc;
  --line-dark: #262b36;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  font-family: "Tajawal", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 74px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input { font-family: "Tajawal", sans-serif; }

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ==========================================================================
   HEADER (Ultra-Clean Single Row)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img {
  height: 36px;
  width: auto;
}

/* Buttons */
.btn {
  border: none;
  border-radius: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.1s ease, filter 0.16s ease;
}
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 15px 22px; font-size: 17px; width: 100%; }
.btn-gold {
  background: linear-gradient(135deg, #d8b460 0%, #b78b33 100%);
  color: #101216;
  box-shadow: 0 10px 26px rgba(198, 157, 70, 0.28);
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-dark {
  background: var(--dark);
  color: var(--light);
}
.btn-dark:hover { background: #1e222c; }

/* ==========================================================================
   1. HERO — Clean, Spacious, Pure Impact
   ========================================================================== */
.hero {
  padding: 26px 0 38px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
.hero-copy {
  text-align: center;
}
.hero h1 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.24;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.hero h1 span { color: var(--gold-deep); }
.hero-lead {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 18px;
}
.hero-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(14, 16, 20, 0.10);
  background: #14161a;
}
.hero-img img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.hero-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 14px;
  flex-wrap: wrap;
}
.price-main {
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
}
.price-note {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-deep);
  background: rgba(198, 157, 70, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ==========================================================================
   2. COMPACT LIVE CUSTOMIZER (Fonts at TOP, Zero Clutter!)
   ========================================================================== */
.studio-section {
  background: var(--dark);
  color: var(--light);
  padding: 34px 0 40px;
}
.studio-title {
  text-align: center;
  font-size: 25px;
  font-weight: 900;
  margin: 0 0 18px;
}

.studio-box {
  background: var(--dark-card);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.canvas-stage {
  background: #f7f5f0;
  padding: 10px;
}
.canvas-stage canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 13px;
}

.studio-form {
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Top Control Row: Language + Silver/Gold Finish in ONE compact bar */
.top-switches {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.seg-control {
  display: inline-flex;
  background: #0c0e13;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}
.seg-btn {
  border: none;
  background: transparent;
  color: var(--light-muted);
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.seg-btn.active {
  background: var(--dark-elev);
  color: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(198, 157, 70, 0.45);
}
.dot-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.sw-silver { background: linear-gradient(135deg, #f3f4f6, #8f96a3); }
.sw-gold { background: linear-gradient(135deg, #f7e3a1, #b88a2e); }

/* Font Picker RIGHT AT THE TOP */
.font-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.font-pill {
  min-width: 0;
  overflow: hidden;
  background: #0e1016;
  border: 1.5px solid var(--line-dark);
  border-radius: 11px;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  color: #fff;
  transition: border-color 0.15s, background 0.15s;
}
.font-pill.active {
  border-color: var(--gold);
  background: rgba(198, 157, 70, 0.12);
}
.font-pill .fp-sample {
  font-size: 15.5px;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Clean Inputs */
.inputs-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.s-input {
  width: 100%;
  background: #0c0e13;
  border: 1.5px solid var(--line-dark);
  color: #fff;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 16.5px;
  font-weight: 700;
  outline: none;
  transition: border-color 0.15s;
}
.s-input::placeholder { color: #6c7382; font-weight: 500; }
.s-input:focus { border-color: var(--gold); }

.tk-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.tk-btn {
  flex: 1;
  background: #181c26;
  border: 1px solid var(--line-dark);
  color: #e6e3db;
  border-radius: 8px;
  padding: 4px 0;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.tk-btn:hover, .tk-btn:active { border-color: var(--gold); color: var(--gold-soft); }

/* ==========================================================================
   3. REAL-LIFE VISUAL GALLERY (ZERO Captions, Pure Proof!)
   ========================================================================== */
.section {
  padding: 44px 0;
}
.sec-title {
  text-align: center;
  font-size: 25px;
  font-weight: 900;
  margin: 0 0 22px;
  color: var(--ink);
}

.media-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.real-gif-wrap {
  border-radius: 18px;
  overflow: hidden;
  background: #0e1014;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.real-gif-wrap img {
  width: 100%;
  aspect-ratio: 600 / 512;
  object-fit: cover;
}
.clean-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.clean-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   4. EMOTIONAL DESIRE ANGLES (Ma Qalla wa Dalla — Clean & Persuasive)
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.story-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
}
.story-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-deep);
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.story-card h3 {
  font-size: 19px;
  font-weight: 900;
  margin: 0 0 7px;
  color: var(--ink);
}
.story-card p {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}
.single-spec-note {
  margin-top: 20px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--muted);
}

/* ==========================================================================
   5. REAL-PHOTO ZERO-RISK GUARANTEE SECTION
   ========================================================================== */
.promise-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: 0 12px 34px rgba(14, 16, 20, 0.05);
}
.promise-photo img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
}
.promise-body {
  padding: 24px 20px;
}
.promise-body h2 {
  font-size: 23px;
  font-weight: 900;
  margin: 0 0 18px;
  color: var(--ink);
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.step-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-row strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}
.step-row p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   6. COD ORDER FORM (Spacious, Calm, High Trust)
   ========================================================================== */
.order-section {
  background: #f2eee6;
  padding: 46px 0;
  border-top: 1px solid var(--line);
}
.order-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #e1d9c9;
  border-radius: 22px;
  padding: 24px 18px 26px;
  box-shadow: 0 18px 48px rgba(14, 16, 20, 0.07);
}
.order-card h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 18px;
}

.recap-bar {
  background: var(--dark);
  color: var(--light);
  border-radius: 14px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.recap-bar img {
  width: 92px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(224, 194, 120, 0.35);
}
.recap-text { flex: 1; min-width: 0; }
.recap-text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--gold-soft);
  line-height: 1.35;
  word-break: break-word;
}
.recap-text span {
  display: block;
  font-size: 12.5px;
  color: var(--light-muted);
}
.recap-edit {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-soft);
  padding: 5px 10px;
  border: 1px solid rgba(224, 194, 120, 0.35);
  border-radius: 8px;
  white-space: nowrap;
}

.offer-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.offer-box {
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  background: #fbfaf7;
  transition: all 0.15s;
}
.offer-box.active {
  border-color: var(--gold-deep);
  background: #fdf8ec;
  box-shadow: 0 0 0 1px var(--gold);
}
.offer-box input { display: none; }
.offer-box strong { display: block; font-size: 15px; font-weight: 800; color: var(--ink); }
.offer-box .op { font-size: 19px; font-weight: 900; color: var(--gold-deep); margin-top: 2px; }
.offer-box small { display: block; font-size: 12px; color: var(--muted); }

.f-field { margin-bottom: 12px; }
.f-field input {
  width: 100%;
  background: #faf9f6;
  border: 1.5px solid #dfd8ca;
  border-radius: 12px;
  padding: 14px 15px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.f-field input::placeholder { color: #8c919c; font-weight: 500; }
.f-field input:focus { border-color: var(--dark); background: #fff; }

.order-reassure {
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 13px;
}

/* Thank You */
.thankyou-box { display: none; text-align: center; padding: 12px 4px; }
.thankyou-box.show { display: block; }
.ty-check {
  width: 56px; height: 56px; border-radius: 50%;
  background: #16a34a; color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.thankyou-box h3 { font-size: 22px; font-weight: 900; margin: 0 0 6px; }
.thankyou-box p { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.ty-summary {
  background: #faf9f6;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px;
  text-align: right;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--light-muted);
  text-align: center;
  padding: 30px 16px 36px;
  font-size: 13.5px;
}
.site-footer img { height: 42px; margin: 0 auto 10px; }

/* Sticky Mobile Bar */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(14, 16, 20, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(198, 157, 70, 0.3);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.25s ease;
}
.sticky-cta.hidden { transform: translateY(110%); }
.sticky-p strong { display: block; font-size: 19px; font-weight: 900; color: var(--gold-soft); line-height: 1.2; }
.sticky-p span { font-size: 12px; color: #c7cbd4; }
.sticky-cta .btn { flex: 1; padding: 12px 16px; font-size: 15.5px; }

/* Desktop */
@media (min-width: 820px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-copy { text-align: right; }
  .hero h1 { font-size: 42px; }
  .hero-price-row { justify-content: flex-start; }

  .studio-box { grid-template-columns: 1.15fr 0.85fr; align-items: stretch; }
  .canvas-stage { display: flex; align-items: center; padding: 18px; border-left: 1px solid var(--line-dark); }
  .studio-form { padding: 22px; justify-content: center; }

  .media-showcase { grid-template-columns: 1fr 1fr; }
  .real-gif-wrap img { height: 100%; aspect-ratio: auto; }
  .story-grid { grid-template-columns: repeat(3, 1fr); }
  .promise-card { grid-template-columns: 1fr 1fr; align-items: center; }
  .promise-photo { height: 100%; }
  .promise-photo img { height: 100%; aspect-ratio: auto; }
  .promise-body { padding: 32px; }
}
