:root {
  --green:       #1B7235;
  --green-deep:  #0F4D22;
  --green-light: #2E9A50;
  --green-pale:  #E8F5EC;
  --green-mint:  #C5E8D0;
  --gold:        #C9973A;
  --gold-light:  #E8C07A;
  --cream:       #F7FBF8;
  --white:       #FFFFFF;
  --dark:        #0A3318;
  --text:        #1A3D25;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  direction: rtl;
}

/* ══════════════════════════════════
   BUBBLE ANIMATION SYSTEM
══════════════════════════════════ */
.bubbles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bubble {
  position: absolute;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(255,255,255,0.9) 0%,
    rgba(46,154,80,0.15) 40%,
    rgba(27,114,53,0.08) 70%,
    transparent 100%);
  border: 1px solid rgba(46,154,80,0.25);
  animation: floatBubble linear infinite;
}
.bubble::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 22%;
  width: 28%;
  height: 20%;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  transform: rotate(-35deg);
  filter: blur(2px);
}

@keyframes floatBubble {
  0%   { transform: translateY(0) translateX(0) scale(1);    opacity: 0; }
  10%  { opacity: .8; }
  80%  { opacity: .5; }
  100% { transform: translateY(-110vh) translateX(var(--drift)) scale(.95); opacity: 0; }
}

/* individual bubble configs */
.b1  { left:5%;   width:28px; height:28px; animation-duration:9s;  animation-delay:0s;   --drift:15px;  }
.b2  { left:15%;  width:16px; height:16px; animation-duration:12s; animation-delay:1.5s; --drift:-20px; }
.b3  { left:25%;  width:40px; height:40px; animation-duration:10s; animation-delay:3s;   --drift:10px;  }
.b4  { left:35%;  width:20px; height:20px; animation-duration:14s; animation-delay:.5s;  --drift:25px;  }
.b5  { left:50%;  width:55px; height:55px; animation-duration:11s; animation-delay:2s;   --drift:-15px; }
.b6  { left:60%;  width:18px; height:18px; animation-duration:8s;  animation-delay:4s;   --drift:20px;  }
.b7  { left:70%;  width:35px; height:35px; animation-duration:13s; animation-delay:1s;   --drift:-10px; }
.b8  { left:80%;  width:22px; height:22px; animation-duration:10s; animation-delay:2.5s; --drift:15px;  }
.b9  { left:90%;  width:45px; height:45px; animation-duration:15s; animation-delay:.8s;  --drift:-20px; }
.b10 { left:42%;  width:12px; height:12px; animation-duration:7s;  animation-delay:3.5s; --drift:10px;  }
.b11 { left:88%;  width:30px; height:30px; animation-duration:11s; animation-delay:5s;   --drift:-12px; }
.b12 { left:8%;   width:50px; height:50px; animation-duration:16s; animation-delay:2s;   --drift:18px;  }

/* ══════════════════════════════════
   HERO — BRIGHT & JOYFUL 🌸
══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 6rem;
  overflow: hidden;
  /* Bright gradient base */
  background: linear-gradient(160deg,
    #DFFBEE 0%,
    #B8F0D4 20%,
    #E8F8FF 45%,
    #FFF5D6 70%,
    #FFE8F0 100%);
}

/* Animated pastel colour blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
  animation: blobDrift ease-in-out infinite alternate;
}
.hero-blob.b1{ width:400px;height:400px;top:-12%;left:-10%; background:#9EEFC0;opacity:.55;animation-duration:9s; }
.hero-blob.b2{ width:320px;height:320px;top:10%; right:-8%; background:#FFE07A;opacity:.55;animation-duration:12s;animation-delay:2s; }
.hero-blob.b3{ width:280px;height:280px;bottom:8%;left:10%;  background:#A8DCFF;opacity:.5; animation-duration:8s; animation-delay:1s; }
.hero-blob.b4{ width:240px;height:240px;bottom:15%;right:8%; background:#FFCAA8;opacity:.5; animation-duration:11s;animation-delay:3s; }
.hero-blob.b5{ width:180px;height:180px;top:45%; left:42%;  background:#E0A8FF;opacity:.35;animation-duration:10s;animation-delay:1.5s; }
@keyframes blobDrift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(28px,-22px) scale(1.07); }
}

/* Floating confetti dots */
.hero-dot {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 1;
  animation: dotFloat ease-in-out infinite alternate;
}
@keyframes dotFloat {
  from { transform: translateY(0) rotate(0deg); opacity:.8; }
  to   { transform: translateY(-20px) rotate(30deg); opacity:.35; }
}

/* Sparkle stars SVG */
.hero-star {
  position: absolute; pointer-events: none; z-index: 2;
  animation: starTwinkle ease-in-out infinite alternate;
}
@keyframes starTwinkle {
  from { opacity:.15; transform: scale(.6) rotate(0deg); }
  to   { opacity:1;   transform: scale(1.4) rotate(20deg); }
}

/* Light sweep */
.hero-sweep {
  position: absolute; top:0; left:-100%; width:45%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: sweepLight 6s ease-in-out infinite;
  z-index: 3; pointer-events: none;
}
@keyframes sweepLight {
  0%   { left:-45%; }
  100% { left:120%; }
}

/* hide old dark elements */
#glamourCanvas { display:none; }
.hero-bg-dark  { display:none; }
.hero-orb      { display:none; }
.hero-lines    { display:none; }
.corner-orn    { display:none; }

.hero-wave { position:absolute;bottom:-2px;left:0;right:0;height:120px;z-index:6;width: 100%; }
.hero-content { position:relative; z-index:10; }

/* Logo badge */
.logo-wrap {
  display:flex; align-items:center; justify-content:center;
  margin-bottom:2rem; animation: fadeDown .7s ease both;
}
.logo-box {
  background: rgba(0,0,0,.97);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(27,114,53,.2);
  border-radius: 20px;
  padding: .5rem .8rem;
  box-shadow: 0 4px 22px rgba(27,114,53,.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text {
  font-family:'Tajawal',sans-serif;
  font-size:1.5rem; font-weight:800;
  color: var(--green-deep);
  letter-spacing:.3em; text-transform:uppercase;
}
.logo-text span { color: var(--gold); }

/* Eyebrow */
.hero-eyebrow {
  font-size:.72rem; font-weight:700; letter-spacing:.28em;
  text-transform:uppercase; color: var(--green);
  margin-bottom:.9rem; animation: fadeDown .8s .05s ease both;
  display:flex; align-items:center; justify-content:center; gap:.6rem;
}
.hero-eyebrow::before,.hero-eyebrow::after {
  content:''; width:36px; height:1.5px;
  background:linear-gradient(to right, transparent, var(--green));
}
.hero-eyebrow::after { background:linear-gradient(to left, transparent, var(--green)); }

/* H1 */
.hero h1 {
  font-family:'Tajawal',sans-serif;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  font-weight:800; color: var(--dark); line-height:1.1;
  animation: fadeDown .9s .1s ease both;
}
.hero h1 em {
  font-style:normal; display:block; color: var(--green-deep);
  position:relative;
}
.hero h1 em::after {
  content:''; position:absolute;
  bottom:-6px; left:50%; transform:translateX(-50%);
  width:72%; height:8px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14'%3E%3Cpath d='M4 10 Q50 2 100 10 Q150 18 196 8' stroke='%23C9973A' stroke-width='3.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}

/* Sub */
.hero-sub {
  font-size: clamp(.88rem,2.5vw,1.1rem); font-weight:400;
  color:#3A6048; margin:1.8rem auto 0; max-width:460px;
  line-height:2; animation: fadeDown 1s .2s ease both;
}

/* Prize pill */
.prize-banner {
  display:inline-flex; align-items:center; gap:.9rem;
  background: linear-gradient(135deg, #fff 0%, #FFFBEE 100%);
  border:2px solid rgba(201,151,58,.4); color: var(--dark);
  padding:.9rem 2rem; border-radius:50px;
  font-weight:700; font-size:.95rem; margin-top:2.5rem;
  box-shadow: 0 8px 32px rgba(201,151,58,.2), 0 2px 0 rgba(201,151,58,.3) inset;
  animation: fadeDown 1s .3s ease both;
}
.prize-banner .icon { font-size:1.2rem; }
.prize-banner strong { color: var(--green-deep); }

/* ══════════════════════════════════
   SECTION COMMONS
══════════════════════════════════ */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .7rem;
}
.section-title {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.section-title em { font-style: normal; color: var(--green-light); }
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin-top: .9rem;
}
.gold-divider::before, .gold-divider::after {
  content: '';
  width: 70px;
  height: 2px;
  background: linear-gradient(to left, transparent, var(--gold));
}
.gold-divider::before { background: linear-gradient(to right, transparent, var(--gold)); }
.gold-divider span { color: var(--gold); font-size: 1.1rem; }

/* ══════════════════════════════════
   PARFUM CARDS — REDESIGNED
══════════════════════════════════ */
.parfums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.parfum-card {
  cursor: pointer;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 2.5px solid transparent;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 6px 30px rgba(27,114,53,.1);
  position: relative;
}
.parfum-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 28px 60px rgba(27,114,53,.22);
}
.parfum-card.selected {
  border-color: var(--green);
  box-shadow: 0 28px 60px rgba(27,114,53,.32);
  transform: translateY(-8px) scale(1.01);
}

/* ── CHECK BADGE ── */
.selected-badge {
  display: none;
  position: absolute;
  top: 16px;
  left: 16px;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(27,114,53,.5);
  animation: popBounce .45s cubic-bezier(.34,1.56,.64,1) both;
}
.parfum-card.selected .selected-badge { display: flex; }
@keyframes popBounce {
  0%   { transform: scale(0) rotate(-20deg); opacity:0; }
  60%  { transform: scale(1.2) rotate(5deg); }
  100% { transform: scale(1) rotate(0); opacity:1; }
}

/* ── VISUAL AREA ── */
.parfum-visual {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background gradient per card */
.parfum-visual .vis-bg {
  position: absolute;
  inset: 0;
  transition: transform .6s ease;
}
.parfum-card:hover .vis-bg { transform: scale(1.08); }

/* Animated shimmer overlay */
.parfum-visual .shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmerMove 3s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes shimmerMove {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* Floating ingredient particles */
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: .55;
  animation: floatParticle ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 3;
}
@keyframes floatParticle {
  from { transform: translateY(0) rotate(0deg) scale(1); opacity: .45; }
  to   { transform: translateY(-14px) rotate(20deg) scale(1.1); opacity: .7; }
}

/* ── SCENE MEDALLION ── */
.scent-scene {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .45s cubic-bezier(.34,1.56,.64,1);
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.18));
}
.parfum-card:hover .scent-scene {
  transform: translateY(-10px) scale(1.07);
  filter: drop-shadow(0 22px 44px rgba(0,0,0,.22));
}
.parfum-card.selected .scent-scene {
  transform: translateY(-6px) scale(1.04);
}

/* floating animation on the SVG group */
.scene-float {
  animation: sceneFloat 4s ease-in-out infinite alternate;
  transform-origin: center bottom;
}
.scene-sway {
  animation: sceneSway 5s ease-in-out infinite alternate;
  transform-origin: center bottom;
}
@keyframes sceneFloat {
  from { transform: translateY(0px) rotate(0deg); }
  to   { transform: translateY(-9px) rotate(1deg); }
}
@keyframes sceneSway {
  from { transform: translateY(0px) rotate(-1.5deg); }
  to   { transform: translateY(-7px) rotate(1.5deg); }
}

/* smoke wisps for oud */
.smoke-path { animation: smokeRise 3s ease-out infinite; transform-origin: bottom center; }
.smoke-path:nth-child(2) { animation-delay: 1s; }
.smoke-path:nth-child(3) { animation-delay: 2s; }
@keyframes smokeRise {
  0%   { opacity: 0;   transform: translateY(0)    scaleX(1);   }
  20%  { opacity: .65; }
  100% { opacity: 0;   transform: translateY(-36px) scaleX(1.8); }
}

/* honey drip */
.honey-drip { animation: drip 3.5s ease-in-out infinite; transform-origin: top center; }
@keyframes drip {
  0%,100% { transform: scaleY(1); }
  50%      { transform: scaleY(1.15); }
}

/* water ripple on mint/lemon */
.water-ring { animation: waterRipple 2.5s ease-out infinite; transform-origin: center; }
.water-ring:nth-child(2) { animation-delay: .8s; }
.water-ring:nth-child(3) { animation-delay: 1.6s; }
@keyframes waterRipple {
  0%   { r: 12; opacity: .7; }
  100% { r: 32; opacity: 0;  }
}

/* petal spin on rose */
.petal-outer { animation: slowSpin 20s linear infinite; transform-origin: 80px 80px; }
@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── SCENT NAME OVERLAY on bottom of visual ── */
.vis-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1rem .8rem;
  background: linear-gradient(to top, rgba(0,0,0,.52) 0%, transparent 100%);
  z-index: 6;
  text-align: center;
}
.vis-name-ar {
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .03em;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.vis-name-fr {
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .08em;
  margin-top: 1px;
}

/* ── CARD INFO ── */
.parfum-info {
  padding: 1.2rem 1.4rem 1.5rem;
}
.parfum-desc {
  font-size: .83rem;
  color: #888;
  line-height: 1.65;
  margin-bottom: .9rem;
}
.parfum-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}
.tag {
  font-size: .72rem;
  padding: .28rem .8rem;
  border-radius: 20px;
  background: var(--tag-bg, var(--green-pale));
  color: var(--tag-color, var(--green-deep));
  font-weight: 600;
  transition: transform .2s ease;
}
.tag:hover { transform: scale(1.08); }

/* ── CHOOSE BUTTON ── */
.choose-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .78rem;
  background: var(--green-pale);
  color: var(--green-deep);
  border: 2px solid transparent;
  border-radius: 14px;
  font-family: 'Tajawal', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
}
.choose-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-deep), var(--green-light));
  opacity: 0;
  transition: opacity .3s ease;
}
.choose-btn span { position: relative; z-index: 1; }
.choose-btn .btn-icon { font-size: 1.1rem; position: relative; z-index: 1; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }

.parfum-card:hover .choose-btn,
.parfum-card.selected .choose-btn {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(27,114,53,.3);
  transform: translateY(-1px);
}
.parfum-card:hover .choose-btn::before,
.parfum-card.selected .choose-btn::before { opacity: 1; }
.parfum-card:hover .choose-btn .btn-icon { transform: rotate(20deg) scale(1.2); }
.parfum-card.selected .choose-btn .btn-icon { transform: scale(1.2); }

/* ══════════════════════════════════
   HOW IT WORKS
══════════════════════════════════ */
.steps-section {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.steps-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(201,151,58,0.06) 0%, transparent 40%);
}
.arch-top-white {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 200px;
  background: var(--cream);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.arch-bottom-white {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 200px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.steps-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.step-card {
  text-align: center;
  color: #fff;
}
.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  transition: transform .3s ease;
}
.step-card:hover .step-icon { transform: scale(1.12) rotate(5deg); }
.step-num {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gold-light);
  margin-bottom: .3rem;
}
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.step-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}

/* ══════════════════════════════════
   FORM
══════════════════════════════════ */
.form-section { padding: 5rem 1.5rem 6rem; }
.form-card {
  background: #fff;
  border-radius: 28px;
  padding: 3rem 2.5rem;
  max-width: 580px;
  margin: 0 auto;
  box-shadow: 0 20px 80px rgba(27,114,53,.12);
  border: 1px solid rgba(27,114,53,.1);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 5px;
  background: linear-gradient(to right, var(--green-deep), var(--green-light), var(--gold));
}

.selected-parfum-chip {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--green-pale);
  border: 1.5px solid var(--green-mint);
  border-radius: 14px;
  padding: .9rem 1.2rem;
  margin-bottom: 2rem;
  transition: all .3s ease;
}
.selected-parfum-chip.hidden { display: none; }
.chip-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.chip-text {
  font-size: .85rem;
  color: var(--green-deep);
}
.chip-text strong { font-weight: 700; }

.no-selection-warn {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: #FFF8E1;
  border: 1.5px solid #FFE082;
  border-radius: 14px;
  padding: .9rem 1.2rem;
  margin-bottom: 2rem;
  font-size: .85rem;
  color: #7A5800;
}
.no-selection-warn.hidden { display: none; }

.field {     
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 3px; 
}
.field label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text);
  margin-bottom: .55rem;
}
.field input, .field select {
  width: 100%;
  padding: .9rem 1.1rem;
  background: var(--green-pale);
  border: 1.5px solid var(--green-mint);
  border-radius: 12px;
  color: var(--text);
  font-family: 'Tajawal', sans-serif;
  font-size: .95rem;
  font-weight: 400;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none;
}
.field input:focus, .field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27,114,53,.12);
}
.field select option { background: #fff; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: .8rem;
  margin-bottom: 2rem;
}
.checkbox-row-wrap {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.checkbox-row input[type=checkbox] {
  width: 20px; height: 20px;
  accent-color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}
.checkbox-row label {
  font-size: .82rem;
  color: #777;
  line-height: 1.7;
}

.submit-btn {
  width: 100%;
  padding: 1.1rem;
  background: linear-gradient(135deg, var(--green-deep), var(--green-light));
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: 'Tajawal', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 10px 36px rgba(27,114,53,.35);
  position: relative;
  overflow: hidden;
}
.submit-btn::before {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 55%; height: 200%;
  background: rgba(255,255,255,.15);
  transform: skewX(-25deg);
  transition: left .45s ease;
}
.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(27,114,53,.4); }
.submit-btn:hover::before { left: 120%; }

/* ══════════════════════════════════
   SUCCESS OVERLAY
══════════════════════════════════ */

span.field-error-msg {
  color: #da3131c7;
  margin-top: 6px;
}
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(30 104 53 / 64%);
  z-index: 200;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
  backdrop-filter: blur(10px);
}
.success-overlay.show { display: flex; animation: fadeIn .4s ease both; }
.bubbles-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.burst-bubble {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(46,154,80,.5);
  animation: burst 3s ease-out infinite;
}
@keyframes burst {
  0%   { transform: scale(0); opacity: .9; }
  100% { transform: scale(3); opacity: 0; }
}
.b-b1 { width:80px;  height:80px;  top:20%; left:10%; animation-delay:0s; }
.b-b2 { width:120px; height:120px; top:60%; right:15%;animation-delay:.7s;}
.b-b3 { width:60px;  height:60px;  bottom:20%; left:40%;animation-delay:1.4s;}

.success-icon {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 60px rgba(27,114,53,.5);
  animation: pop .5s .2s cubic-bezier(.34,1.56,.64,1) both;
}
.success-title {
  font-family: 'Tajawal', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.success-title span { color: var(--gold-light); }
.success-text {
  color: rgba(255,255,255,.65);
  max-width: 400px;
  line-height: 1.8;
  font-size: 1rem;
}
.success-close {
  margin-top: 2.5rem;
  padding: .8rem 2.5rem;
  background: transparent;
  border: 1.5px solid rgba(46,154,80,.5);
  color: var(--green-mint);
  border-radius: 40px;
  font-family: 'Tajawal', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
}
.success-close:hover { background: rgba(46,154,80,.15); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.35);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: .8rem;
  line-height: 2;
}
footer .f-logo {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-mint);
  letter-spacing: .2em;
  margin-bottom: .5rem;
}
footer .gold { color: var(--gold); }

/* ══════════════════════════════════
   ANIMATIONS
══════════════════════════════════ */
@keyframes fadeDown {
  from { opacity:0; transform:translateY(-22px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}
@keyframes pop {
  from { transform:scale(0); opacity:0; }
  to   { transform:scale(1); opacity:1; }
}

/* ── CUSTOM PARFUM BANNER ── */
.custom-parfum-banner {
  max-width: 780px;
  margin: 3rem auto 0;
  background: #fff;
  border: 2px dashed var(--green-mint);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  box-shadow: 0 6px 30px rgba(27,114,53,.08);
  transition: border-color .3s, box-shadow .3s;
}
.custom-parfum-banner:focus-within {
  border-color: var(--green);
  box-shadow: 0 12px 40px rgba(27,114,53,.14);
}
.custom-parfum-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}
.custom-parfum-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}
.custom-parfum-emoji { font-size: 2rem; }
.custom-parfum-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}
.custom-parfum-sub {
  font-size: .85rem;
  color: #999;
  margin-top: .2rem;
}
.custom-parfum-form {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  max-width: 520px;
}
.custom-input-field {
  display: flex;
  align-items: center;
  flex: 1;
  background: var(--green-pale);
  border: 2px solid var(--green-mint);
  border-radius: 14px;
  padding: .2rem .6rem .2rem 1rem;
  gap: .5rem;
  transition: border-color .25s, box-shadow .25s;
}
.custom-input-field:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27,114,53,.12);
}
.custom-input-icon { font-size: 1.1rem; flex-shrink: 0; }
.custom-input-field input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Tajawal', sans-serif;
  font-size: .95rem;
  color: var(--text);
  padding: .78rem .4rem;
  direction: rtl;
}
.custom-input-field input::placeholder { color: #bbc; }
.custom-submit-btn {
  flex-shrink: 0;
  padding: .82rem 1.6rem;
  background: linear-gradient(135deg, var(--green-deep), var(--green-light));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: 'Tajawal', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 6px 20px rgba(27,114,53,.3);
  white-space: nowrap;
}
.custom-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(27,114,53,.4);
}
.custom-char-count {
  font-size: .72rem;
  color: #bbc;
}
@media (max-width: 560px) {
  .custom-parfum-form { flex-direction: column; }
  .custom-submit-btn { width: 100%; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════
   1. WATER RIPPLE ON CLICK
══════════════════════════════════ */
.ripple-ring {
  position: fixed;
  border-radius: 50%;
  border: 2px solid rgba(27, 114, 53, 0.35);
  transform: scale(0);
  pointer-events: none;
  z-index: 9999;
  animation: rippleExpand 0.8s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}
.ripple-ring:nth-child(2) { animation-delay: 0.1s; border-color: rgba(27,114,53,.2); }
.ripple-ring:nth-child(3) { animation-delay: 0.2s; border-color: rgba(201,151,58,.15); }
@keyframes rippleExpand {
  0%   { transform: scale(0);   opacity: 1; }
  100% { transform: scale(6);   opacity: 0; }
}

/* ══════════════════════════════════
   2. STEAM WISPS FROM BOTTLES
══════════════════════════════════ */
.steam-wrap {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 40px;
  pointer-events: none;
  z-index: 6;
  overflow: visible;
}
.steam-line {
  position: absolute;
  bottom: 0;
  width: 3px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(to top, rgba(255,255,255,0.7), transparent);
  filter: blur(1.5px);
  animation: steamRise 2.5s ease-in-out infinite;
}
.steam-line:nth-child(1) { left: 14px;  animation-delay: 0s;    animation-duration: 2.4s; }
.steam-line:nth-child(2) { left: 28px;  animation-delay: 0.8s;  animation-duration: 2.8s; }
.steam-line:nth-child(3) { left: 42px;  animation-delay: 1.5s;  animation-duration: 2.2s; }
@keyframes steamRise {
  0%   { transform: translateY(0)    scaleX(1)   rotate(0deg);   opacity: 0; }
  20%  { opacity: .75; }
  60%  { transform: translateY(-28px) scaleX(1.4) rotate(8deg);  opacity: .5; }
  100% { transform: translateY(-46px) scaleX(.8)  rotate(-5deg); opacity: 0; }
}
/* Only show steam on hover — kept for future use */
.parfum-card:hover .steam-wrap,
.parfum-card.selected .steam-wrap { opacity: 1; }

/* ══════════════════════════════════
   3. FALLING PETALS / DROPLETS
══════════════════════════════════ */
.petals-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.petal {
  position: absolute;
  top: -60px;
  border-radius: 50% 20% 50% 20%;
  opacity: 0;
  animation: petalFall linear infinite;
}
@keyframes petalFall {
  0%   { transform: translateY(-40px) rotate(0deg)   scale(1);   opacity: 0; }
  8%   { opacity: .7; }
  85%  { opacity: .4; }
  100% { transform: translateY(110vh)  rotate(360deg) scale(.85); opacity: 0; }
}
/* droplet variant */
.petal.drop {
  border-radius: 50% 50% 60% 60%;
}

/* ══════════════════════════════════
   4. BUBBLE POP BURST ON SELECTION
══════════════════════════════════ */
.pop-bubble {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 500;
  background: radial-gradient(circle at 35% 35%,
    rgba(255,255,255,.9),
    rgba(46,154,80,.25) 60%,
    transparent);
  border: 1px solid rgba(27,114,53,.4);
  animation: popFly .7s cubic-bezier(.2,.8,.3,1) forwards;
}
@keyframes popFly {
  0%   { transform: scale(0) translate(0,0);       opacity: 1;  }
  60%  { opacity: .8; }
  100% { transform: scale(1) translate(var(--px), var(--py)); opacity: 0; }
}

/* ══════════════════════════════════
   5. CONFETTI EXPLOSION ON SUCCESS
══════════════════════════════════ */
.confetti-piece {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  border-radius: var(--cr, 50%);
  animation: confettiFly var(--dur, 1.2s) cubic-bezier(.2,.8,.3,1) forwards;
}
@keyframes confettiFly {
  0%   { transform: translate(0,0) rotate(0deg)   scale(1);   opacity: 1; }
  70%  { opacity: .8; }
  100% { transform: translate(var(--cx),var(--cy)) rotate(var(--cr2)) scale(.6); opacity: 0; }
}

/* ══════════════════════════════════
   6. SUBMIT BUTTON LIQUID FILL
══════════════════════════════════ */
.submit-btn {
  overflow: hidden;
}
.btn-liquid {
  position: absolute;
  bottom: -4px;
  left: -5%;
  width: 0%;
  height: 110%;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
  border-radius: 50% 50% 0 0 / 20% 20% 0 0;
  transition: width 1.8s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.submit-btn.filling .btn-liquid { width: 110%; }

/* ══════════════════════════════════
   FULL RESPONSIVE — MOBILE FIRST
══════════════════════════════════ */

/* Tablet */
@media (max-width: 768px) {
  .hero { padding: 4rem 1.2rem 7rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-sub { font-size: .88rem; line-height: 1.85; }
  .prize-banner { font-size: .85rem; padding: .75rem 1.4rem; gap: .6rem; margin-top: 1.8rem; }
  .logo-text { font-size: 1.2rem; letter-spacing: .2em; }

  .parfums-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .parfum-visual { height: 165px; }
  .parfum-info { padding: .8rem .9rem 1rem; }
  .parfum-desc { font-size: .74rem; }
  .choose-btn { font-size: .78rem; padding: .6rem; }

  .section { padding: 3.5rem 1rem; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  .form-card { padding: 1.8rem 1.2rem; border-radius: 20px; }

  .custom-parfum-banner { padding: 1.4rem 1.2rem; margin: 2rem .5rem 0; }
  .custom-parfum-form { flex-direction: column; }
  .custom-submit-btn { width: 100%; }
}

/* Phone */
@media (max-width: 480px) {
  html { font-size: 15px; }

  .hero { padding: 3.5rem 1rem 6rem; min-height: 100svh; }
  .hero h1 { font-size: clamp(1.9rem, 11vw, 2.5rem); }
  .hero-eyebrow { font-size: .62rem; letter-spacing: .22em; }
  .hero-sub { font-size: .85rem; }
  .hero-sub br { display: none; }
  .logo-text { font-size: 1.1rem; }
  .logo-box { padding: .55rem 1.6rem; }

  /* 2 columns on phone */
  .parfums-grid {
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    max-width: 100%;
  }
  .parfum-visual { height: 160px; }
  .scent-scene svg { width: 120px; height: 120px; }
  .parfum-card { border-radius: 20px; }
  /* disable hover lift on touch */
  .parfum-card:hover { transform: none !important; }

  .section { padding: 3rem .8rem; }
  .section-header { margin-bottom: 2.5rem; }
  .eyebrow { font-size: .65rem; }
  .gold-divider::before,.gold-divider::after { width: 36px; }

  .form-card { padding: 1.5rem 1rem; }
  .field input, .field select, .field textarea {
    font-size: .92rem; padding: .8rem 1rem;
  }
  .submit-btn { font-size: 1rem; padding: 1.1rem; }

  .prize-banner { flex-wrap: wrap; justify-content: center; font-size: .82rem; }

  .success-title { font-size: 1.4rem; }
  .success-text  { font-size: .85rem; }

  /* hide heavy bg bubbles on small screens */
  .bubbles-container { display: none; }
  /* hide b5 blob */
  .hero-blob.b5 { display: none; }
}

/* Very small phones */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.65rem; }
  .section-title { font-size: 1.35rem; }
  .parfums-grid { max-width: 300px; }
}

/* Touch devices — bigger tap targets */
@media (hover: none) {
  .choose-btn { padding: .95rem; }
  .submit-btn { padding: 1.2rem; }
  .tag { padding: .45rem 1.1rem; font-size: .8rem; }
  .parfum-card:hover { transform: none; box-shadow: 0 6px 30px rgba(27,114,53,.1); }
}
