/* ═══════════════════════════════════════════
   RARE BEAUTY – $750 GIFT CARD LANDING PAGE
   style.css
   ═══════════════════════════════════════════ */

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

:root {
  --rose:       #c97a8a;
  --rose-dk:    #a85568;
  --rose-mid:   #d4899a;
  --rose-lt:    #fdf0f2;
  --blush:      #f2dde1;
  --nude:       #e8c9ce;
  --gold:       #c9a96e;
  --gold-dk:    #a8884f;
  --gold-lt:    #fdf6ec;
  --white:      #ffffff;
  --cream:      #faf7f5;
  --text:       #2d1f24;
  --muted:      #8a7278;
  --border:     #ead8dc;
  --radius-sm:  10px;
  --radius:     18px;
  --radius-lg:  26px;
  --shadow-card:
    0 2px 8px rgba(160,60,80,0.06),
    0 16px 48px rgba(180,80,100,0.12),
    0 40px 80px rgba(0,0,0,0.08);
}

/* ─── PAGE ─────────────────────────────── */
html, body {
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 16px 40px;
  position: relative;
  overflow-x: hidden;
}

/* Ambient blobs */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
body::before {
  width: 700px; height: 700px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(201,122,138,0.12) 0%, transparent 70%);
}
body::after {
  width: 500px; height: 500px;
  bottom: -150px; right: -150px;
  background: radial-gradient(circle, rgba(201,169,110,0.10) 0%, transparent 70%);
}

/* ─── MAIN CARD ─────────────────────────── */
.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin-top: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  animation: rise 0.7s 0.1s cubic-bezier(.22,1,.36,1) both;
}

/* ─── HERO BAND ─────────────────────────── */
.hero-band {
  background: linear-gradient(145deg, #8b3a52 0%, #b05570 45%, #c97a8a 100%);
  padding: 36px 28px 30px;
  position: relative;
  overflow: hidden;
}

.hero-band::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}

.hero-band::after {
  content: '';
  position: absolute;
  bottom: -90px; left: -50px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

/* Subtle diagonal stripe */
.hero-band .stripe {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 22px,
    rgba(255,255,255,0.02) 22px,
    rgba(255,255,255,0.02) 24px
  );
  pointer-events: none;
}

/* Decorative floral */
.hero-floral {
  position: absolute;
  top: 12px;
  right: 130px;
  font-size: 60px;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  padding: 5px 14px 5px 10px;
  margin-bottom: 16px;
}

.hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #f5d6bb;
  animation: blink 1.6s ease-in-out infinite;
}

.hero-eyebrow span {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-headline {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(30px, 7.5vw, 38px);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.3px;
  max-width: 280px;
}

.hero-headline em {
  font-style: italic;
  color: #f5d6bb;
}

.hero-sub {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  margin-top: 10px;
  max-width: 260px;
  line-height: 1.6;
}

.hero-sub strong {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

/* ─── ELIGIBILITY PILL ─── (inside hero) */
.eligibility-pill {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.13);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: center;
  min-width: 96px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
}

.eligibility-pill:hover {
  background: rgba(245, 214, 187, 0.20);
  border-color: #f5d6bb;
}

.eligibility-pill .icon {
  font-size: 24px;
  display: block;
  margin-bottom: 6px;
}

.eligibility-pill .pill-text {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ─── STEPS ─────────────────────────────── */
.steps-section {
  padding: 22px 20px 16px;
}

.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-left: 2px;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s;
  cursor: default;
  animation: slide-in 0.45s both;
}

.step-item:nth-child(1) { animation-delay: 0.20s; }
.step-item:nth-child(2) { animation-delay: 0.30s; }
.step-item:nth-child(3) { animation-delay: 0.40s; }
.step-item:nth-child(4) { animation-delay: 0.50s; }

.step-item:hover {
  background: var(--rose-lt);
  transform: translateX(3px);
}

.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(168,85,104,0.28);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.step-item:hover .step-num {
  background: var(--gold-dk);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 4px 14px rgba(168,136,79,0.38);
}

.step-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
}

.step-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* ─── DIVIDER ───────────────────────────── */
.divider {
  margin: 4px 20px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ─── CTA SECTION ───────────────────────── */
.cta-section {
  padding: 18px 20px 8px;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 28px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #c97a8a 0%, #a85568 100%);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(168,85,104,0.38);
  transition: transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
  animation: slide-in 0.5s 0.55s both;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, transparent 55%);
  pointer-events: none;
}

/* Shimmer */
.cta-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  animation: shimmer 2.8s 1.5s ease infinite;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(168,85,104,0.50);
}

.cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(168,85,104,0.28);
}

.cta-arrow {
  font-size: 20px;
  transition: transform 0.2s;
  display: inline-block;
}

.cta-btn:hover .cta-arrow {
  transform: translateX(5px);
}

/* Urgency strip */
.urgency-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  background: #fff5f6;
  border-radius: 8px;
  border: 1px solid #fad5da;
}

.urgency-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #c0516a;
  animation: blink 1s ease-in-out infinite;
}

.urgency-text {
  font-size: 12px;
  font-weight: 600;
  color: #8b2a3e;
  letter-spacing: 0.5px;
}

/* ─── TRUST ROW ─────────────────────────── */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 20px 22px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}

.trust-item .t-icon { font-size: 14px; }

.trust-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--border);
}

/* ─── ANIMATIONS ────────────────────────── */
@keyframes rise {
  from { opacity:0; transform: translateY(36px) scale(0.97); }
  to   { opacity:1; transform: translateY(0)    scale(1);    }
}

@keyframes slide-in {
  from { opacity:0; transform: translateX(-18px); }
  to   { opacity:1; transform: translateX(0);     }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 160%;  }
}

/* ─── RESPONSIVE ────────────────────────── */
@media (max-width: 400px) {
  .hero-band        { padding: 28px 20px 24px; }
  .eligibility-pill { min-width: 82px; padding: 10px 12px; }
  .eligibility-pill .icon { font-size: 20px; margin-bottom: 4px; }
  .eligibility-pill .pill-text { font-size: 10px; }
  .steps-section    { padding: 18px 14px 14px; }
  .cta-section      { padding: 14px 16px 8px; }
  .trust-row        { gap: 12px; }
}

@media (min-width: 500px) {
  .card { border-radius: 28px; }
}

@media (min-width: 768px) {
  body { padding: 40px 16px 60px; }
}
