/* ==========================================================================
   FERMONA — WHITE & PINK LUXURY LANDING PAGE STYLES (ARABIC RTL)
   Theme: Clean White, Soft Blush Pink, Romantic Rose Accents, High-Converting
   ========================================================================== */

:root {
  /* White & Pink Palette */
  --bg-body: #fff9fb;
  --bg-white: #ffffff;
  --bg-pink-light: #fff0f5;
  --bg-pink-soft: #fde8ef;
  --bg-pink-card: #ffffff;
  
  --pink-primary: #e91e63;
  --pink-hover: #d81b60;
  --pink-deep: #ad1457;
  --pink-dark: #880e4f;
  --pink-glow: rgba(233, 30, 99, 0.28);
  
  --text-dark: #22141a;
  --text-muted: #66525a;
  --text-light: #8e7a83;

  --border-light: #f5d7e2;
  --border-pink: #f06292;
  --border-active: #e91e63;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-arabic-heading: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-arabic-body: 'Readex Pro', 'Cairo', system-ui, sans-serif;

  --shadow-sm: 0 4px 14px rgba(233, 30, 99, 0.08);
  --shadow-md: 0 8px 24px rgba(233, 30, 99, 0.12);
  --shadow-lg: 0 16px 36px rgba(233, 30, 99, 0.16);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(233, 30, 99, 0.06);

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-body);
  color: var(--text-dark);
  font-family: var(--font-arabic-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-pink-light) 40%, #ffffff 100%);
}

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

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

button, input, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

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

.text-pink {
  color: var(--pink-primary);
}

.mb-30 {
  margin-bottom: 30px;
}

.mt-40 {
  margin-top: 40px;
}

/* ==========================================================================
   TOP BANNER
   ========================================================================== */
.top-banner {
  background: linear-gradient(90deg, #ad1457 0%, #e91e63 50%, #ad1457 100%);
  color: #ffffff;
  padding: 8px 12px;
  font-size: 0.8125rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 60;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.banner-badge {
  background: #ffffff;
  color: var(--pink-primary);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.banner-text strong {
  color: #fff9fb;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  position: sticky;
  top: 36px;
  z-index: 50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-pink {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--pink-primary);
  letter-spacing: 2px;
}

.brand-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-pink-soft);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.btn-top-order {
  background: var(--pink-primary);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 7px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px var(--pink-glow);
  transition: var(--transition-fast);
}

.btn-top-order:hover {
  background: var(--pink-hover);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-arabic-heading);
  font-weight: 800;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.btn-pink-primary {
  background: linear-gradient(135deg, #e91e63 0%, #d81b60 50%, #c2185b 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px var(--pink-glow);
}

.btn-pink-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(233, 30, 99, 0.4);
  background: linear-gradient(135deg, #f06292 0%, #e91e63 100%);
}

.btn-pink-outline {
  background: #ffffff;
  color: var(--pink-primary);
  border: 2px solid var(--pink-primary);
  padding: 10px 24px;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
}

.btn-pink-outline:hover {
  background: var(--pink-primary);
  color: #ffffff;
}

.btn-pulse {
  animation: pulsePink 2.4s infinite;
}

@keyframes pulsePink {
  0% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(233, 30, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0); }
}

.btn-hero {
  padding: 16px 28px;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
  width: 100%;
}

.btn-submit-full {
  width: 100%;
  padding: 18px 24px;
  font-size: 1.1875rem;
  border-radius: var(--radius-md);
  margin-top: 10px;
}

.btn-full {
  width: 100%;
  padding: 14px;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
}

.hero-banner-link {
  display: block;
  width: 100%;
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   2. ORDER FORM SECTION (WHITE & PINK)
   ========================================================================== */
.order-section {
  padding: 50px 0 70px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-pink-soft) 100%);
}

.order-box-container {
  max-width: 620px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 600px) {
  .order-box-container {
    padding: 40px 36px;
  }
}

.order-heading {
  font-family: var(--font-arabic-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 22px;
}

.choose-step-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.pack-choose-wrapper {
  margin-bottom: 26px;
}

.pack-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pack-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-pink-light);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pack-card:hover {
  border-color: var(--pink-primary);
}

.pack-card.selected {
  background: #ffffff;
  border-color: var(--pink-primary);
  box-shadow: 0 6px 20px var(--pink-glow);
}

.pack-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d1b8c2;
  flex-shrink: 0;
  position: relative;
}

.pack-card.selected .custom-radio {
  border-color: var(--pink-primary);
}

.pack-card.selected .custom-radio::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pink-primary);
}

.best-choice-ribbon {
  position: absolute;
  top: -10px;
  left: 14px;
  background: linear-gradient(90deg, #e91e63 0%, #ad1457 100%);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.pack-details {
  flex: 1;
}

.pack-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.p-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-dark);
}

.p-save {
  font-size: 0.75rem;
  background: #fce4ec;
  color: var(--pink-dark);
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.p-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.p-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.p-price {
  font-weight: 900;
  color: var(--pink-primary);
  font-size: 1.15rem;
}

.p-old {
  font-size: 0.8125rem;
  color: #a08c95;
  text-decoration: line-through;
}

/* Per-Bottle Flavor Selector */
.flavor-choose-wrapper {
  margin-bottom: 26px;
}

.bottle-flavor-card {
  background: var(--bg-pink-light);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 10px;
  transition: border-color var(--transition-fast);
}

.bottle-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.bottle-flavor-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.flavor-radio-chip {
  position: relative;
  flex: 1;
  min-width: 90px;
  text-align: center;
  background: #ffffff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 9px 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.flavor-radio-chip:has(input:checked) {
  background: var(--pink-primary);
  border-color: var(--pink-primary);
  color: #ffffff;
}

.flavor-radio-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.flavor-choose-wrapper.has-error .bottle-flavor-card {
  border-color: #d32f2f;
}

.flavor-choose-wrapper.has-error .error-msg {
  display: block;
  margin-top: 4px;
}

/* Inputs */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.f-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: var(--text-dark);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.f-input:focus {
  outline: none;
  border-color: var(--pink-primary);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #d32f2f;
  font-weight: 600;
}

.form-item.has-error .f-input {
  border-color: #d32f2f;
}

.form-item.has-error .error-msg {
  display: block;
}

/* Order Summary Box */
.order-summary-card {
  background: var(--bg-pink-light);
  border: 1px dashed #f48fb1;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 10px 0;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.summary-total-row {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0;
}

.s-total-price {
  font-family: var(--font-arabic-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--pink-primary);
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-submit-full.loading .btn-txt,
.btn-submit-full.loading .btn-lock {
  display: none;
}

.btn-submit-full.loading .btn-loader {
  display: block;
}

.submit-error-msg {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #d32f2f;
  margin-top: 10px;
}

/* ==========================================================================
   3. PRODUCT & FLAVORS SECTION
   ========================================================================== */
.flavors-section {
  padding: 60px 0;
  background: #ffffff;
}

.section-badge-pink {
  display: inline-block;
  background: #fce4ec;
  color: var(--pink-deep);
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.section-title-clean {
  font-family: var(--font-arabic-heading);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.product-flavors-banner {
  max-width: 600px;
  margin: 0 auto 36px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid #ffffff;
}

.flavors-main-img {
  width: 100%;
  height: auto;
}

.flavors-cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .flavors-cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.flavor-item-card {
  background: var(--bg-pink-light);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  transition: transform var(--transition-fast);
}

.flavor-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink-primary);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.flavor-item-card.highlight-f-card {
  background: #ffffff;
  border-color: var(--pink-primary);
  box-shadow: var(--shadow-sm);
}

.f-icon-box {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.f-name {
  font-family: var(--font-arabic-heading);
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.f-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.catchy-quote-box {
  background: linear-gradient(135deg, #fce4ec 0%, #fff0f5 100%);
  border: 2px solid #f48fb1;
  border-radius: var(--radius-xl);
  padding: 32px 20px;
  max-width: 780px;
  margin: 0 auto;
}

.catchy-quote-text {
  font-family: var(--font-arabic-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pink-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .catchy-quote-text {
    font-size: 1.6rem;
  }
}

.btn-quote-cta {
  display: inline-block;
  font-weight: 800;
}

/* ==========================================================================
   4. HOW TO USE SECTION
   ========================================================================== */
.how-to-use-section {
  padding: 60px 0;
  background: var(--bg-pink-light);
}

.how-to-use-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 800px) {
  .how-to-use-grid {
    grid-template-columns: 1.15fr 0.95fr;
  }
}

.instruction-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.inst-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.inst-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.inst-content strong {
  display: block;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.inst-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.use-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid #ffffff;
}

.use-img {
  width: 100%;
  height: auto;
}

.use-caption {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pink-dark);
}

/* ==========================================================================
   5. GUARANTEES & RETURNS SECTION
   ========================================================================== */
.guarantees-section {
  padding: 60px 0;
  background: #ffffff;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .guarantees-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guarantee-box {
  background: var(--bg-pink-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--transition-fast);
}

.guarantee-box:hover {
  transform: translateY(-4px);
  border-color: var(--pink-primary);
}

.g-icon-circle {
  font-size: 2.25rem;
  margin-bottom: 10px;
}

.g-title {
  font-family: var(--font-arabic-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.g-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   6. REVIEWS SECTION
   ========================================================================== */
.reviews-section {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, var(--bg-pink-soft) 0%, #ffffff 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #ffb300;
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 16px;
}

.review-author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.review-author span {
  font-size: 0.75rem;
  color: #2e7d32;
  font-weight: 700;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.clean-footer {
  border-top: 1px solid var(--border-light);
  background: #ffffff;
  padding: 36px 0 90px;
}

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--pink-primary);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.footer-rights {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ==========================================================================
   MOBILE STICKY BAR
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
  padding: 10px 16px;
  z-index: 90;
  box-shadow: 0 -4px 20px rgba(233, 30, 99, 0.12);
  transition: transform 0.3s ease;
}

@media (min-width: 860px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.sticky-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto;
}

.sticky-price-block {
  display: flex;
  flex-direction: column;
}

.st-price {
  font-family: var(--font-arabic-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--pink-primary);
  line-height: 1.1;
}

.st-free {
  font-size: 0.75rem;
  color: #2e7d32;
  font-weight: 700;
}

.btn-sticky-action {
  padding: 10px 22px;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(34, 20, 26, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  max-width: 460px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: scale(0.92);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--text-light);
  cursor: pointer;
}

.modal-icon {
  font-size: 2.75rem;
  margin-bottom: 10px;
}

.modal-heading {
  font-family: var(--font-arabic-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.modal-msg {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.modal-order-summary {
  background: var(--bg-pink-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
  text-align: right;
}

.m-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 4px 0;
}

.m-row strong {
  color: var(--text-dark);
}

.modal-reminder {
  font-size: 0.8125rem;
  background: #fce4ec;
  color: var(--pink-dark);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
