/* ─── Design Tokens ─── */
:root {
  --rose:       hsl(345, 70%, 55%);
  --rose-dark:  hsl(345, 70%, 40%);
  --rose-light: hsl(345, 80%, 95%);
  --blush:      hsl(345, 60%, 97%);
  --cream:      hsl(35, 60%, 97%);
  --text:       hsl(0, 0%, 20%);
  --text-light: hsl(0, 0%, 55%);
  --white:      #ffffff;

  --space-1: 8px;  --space-2: 16px; --space-3: 24px;
  --space-4: 32px; --space-6: 48px; --space-8: 64px;

  --shadow-sm: 0 2px 8px hsla(345,60%,55%,0.08);
  --shadow-md: 0 8px 30px hsla(345,60%,55%,0.12);
  --shadow-lg: 0 20px 60px hsla(345,60%,55%,0.18);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font-serif: 'Playfair Display', serif;
  --font-sans:  'Inter', sans-serif;
}

/* ─── Reset ─── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--blush);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── Keyframes ─── */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes floatPetal {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(6deg); }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 hsla(345,70%,55%,0.4); }
  70%     { box-shadow: 0 0 0 12px hsla(345,70%,55%,0); }
}
@keyframes modalIn {
  from { opacity:0; transform:scale(0.94) translateY(20px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}

/* ─── Page Background ─── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 10%, hsla(345,80%,92%,0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 90%, hsla(25,80%,92%,0.5) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* ─── Announcement Bar ─── */
.announcement-bar {
  background: linear-gradient(90deg, var(--rose-dark), var(--rose), var(--rose-dark));
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  color: white;
  text-align: center;
  padding: var(--space-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ─── Header ─── */
header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid hsla(345,60%,70%,0.2);
  padding: var(--space-3) 0;
  position: sticky; top: 0; z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--rose-dark);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-bee {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  animation: floatPetal 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(212,160,23,0.3));
}
.header-badge {
  background: var(--rose-light);
  color: var(--rose-dark);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.hero {
  text-align: center;
  padding: var(--space-8) var(--space-2);
}
.hero-eyebrow {
  display: inline-block;
  background: var(--rose-light);
  color: var(--rose-dark);
  padding: 6px var(--space-3);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  animation: fadeInUp 0.6s ease both;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--rose-dark);
  line-height: 1.15;
  margin-bottom: var(--space-2);
  animation: fadeInUp 0.6s 0.1s ease both;
}
.hero h1 em {
  color: var(--rose);
  font-style: italic;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto var(--space-4);
  line-height: 1.7;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.3s ease both;
}
.hero-badge-item {
  background: white;
  border: 1px solid hsla(345,60%,70%,0.3);
  border-radius: var(--radius-pill);
  padding: 8px var(--space-3);
  font-size: 0.82rem;
  color: var(--rose-dark);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ─── Section Title ─── */
.section-title {
  text-align: center;
  margin-bottom: var(--space-6);
}
.section-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--rose-dark);
  margin-bottom: var(--space-1);
}
.section-title p {
  color: var(--text-light);
  font-size: 1rem;
}

/* ─── Product Grid ─── */
.products { padding: var(--space-6) 0 var(--space-8); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-4);
}

/* ─── Product Card ─── */
.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid hsla(345,60%,70%,0.15);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.5s ease both;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: hsla(345,60%,70%,0.35);
}

.img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.5;
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-wrapper img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
  padding: 8px;
}
.product-card:hover .img-wrapper img { transform: scale(1.04); }

.card-badge {
  position: absolute;
  top: var(--space-2); left: var(--space-2);
  background: var(--rose);
  color: white;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.card-price-overlay {
  position: absolute;
  top: var(--space-2); right: var(--space-2);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid hsla(345,60%,70%,0.3);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rose-dark);
}

.card-body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-brand {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--rose-dark);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}
.card-items {
  list-style: none;
  margin-bottom: var(--space-3);
  flex: 1;
}
.card-items li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.88rem;
  color: var(--text-light);
  border-bottom: 1px solid hsla(0,0%,0%,0.04);
}
.card-items li::before {
  content: '✿';
  color: var(--rose);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.card-footer {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid hsla(0,0%,0%,0.06);
}
.card-shipping {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #2e7d32;
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.card-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--rose-dark);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.card-price span {
  font-size: 1rem;
  font-family: var(--font-sans);
  vertical-align: middle;
}

/* ─── Buy Button ─── */
.btn-buy {
  display: block;
  width: 100%;
  padding: 15px var(--space-3);
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  animation: pulse 2.5s infinite;
}
.btn-buy:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
  animation: none;
}
.btn-buy:active { transform: scale(0.98); }
.btn-buy:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

/* ─── Benefits Strip ─── */
.benefits {
  background: white;
  border-top: 1px solid hsla(345,60%,70%,0.15);
  border-bottom: 1px solid hsla(345,60%,70%,0.15);
  padding: var(--space-4) 0;
  margin-bottom: var(--space-6);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
  text-align: center;
}
.benefit-item .icon { font-size: 1.8rem; margin-bottom: 8px; }
.benefit-item strong { display: block; font-size: 0.9rem; color: var(--rose-dark); }
.benefit-item span   { font-size: 0.78rem; color: var(--text-light); }

/* ─── Modal Overlay ─── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}
.modal-overlay.active { display: flex; }

.modal {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.35s ease both;
  position: relative;
}
.modal-header {
  background: linear-gradient(135deg, var(--rose-light), var(--cream));
  padding: var(--space-4) var(--space-4) var(--space-3);
  border-bottom: 1px solid hsla(345,60%,70%,0.2);
  text-align: center;
}
.modal-header h2 {
  font-family: var(--font-serif);
  color: var(--rose-dark);
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.modal-header p { font-size: 0.85rem; color: var(--text-light); }
.modal-product-info {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  background: white;
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  box-shadow: var(--shadow-sm);
}
.modal-product-info .product-name { font-weight: 700; font-size: 0.9rem; color: var(--rose-dark); }
.modal-product-info .product-price { font-size: 1.1rem; font-weight: 700; color: var(--rose); margin-left: auto; }

.btn-close-modal {
  position: absolute;
  top: var(--space-2); right: var(--space-2);
  background: white;
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.btn-close-modal:hover { background: var(--rose-light); color: var(--rose-dark); }

/* ─── Steps ─── */
.steps {
  display: flex;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid hsla(345,60%,70%,0.1);
}
.step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}
.step.active { color: var(--rose-dark); }
.step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--rose-dark);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step.active .step-num { background: var(--rose); color: white; }
.step-divider { width: 24px; height: 1px; background: hsla(345,60%,70%,0.3); align-self: center; }

/* ─── Form ─── */
.modal-body { padding: var(--space-4); }
.form-group { margin-bottom: var(--space-3); position: relative; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rose-dark);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.form-input {
  width: 100%;
  padding: 14px var(--space-2);
  border: 2px solid hsla(345,60%,70%,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text);
  transition: var(--transition);
  background: var(--blush);
  outline: none;
}
.form-input:focus {
  border-color: var(--rose);
  background: white;
  box-shadow: 0 0 0 4px hsla(345,70%,55%,0.1);
}
.form-input.error { border-color: #e53935; background: #fff5f5; }
.form-input.success { border-color: #43a047; background: #f1faf1; }
.form-hint {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 4px;
}
.form-error {
  font-size: 0.72rem;
  color: #e53935;
  margin-top: 4px;
  display: none;
}
.form-error.visible { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 17px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
  margin-top: var(--space-4);
}
.btn-submit:hover { transform: scale(1.01); box-shadow: var(--shadow-md); }
.btn-submit:active { transform: scale(0.98); }

.modal-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: var(--space-2);
  text-align: center;
}

/* ─── Footer ─── */
footer {
  background: white;
  border-top: 1px solid hsla(345,60%,70%,0.15);
  padding: var(--space-6) 0;
  text-align: center;
}
footer .logo { font-size: 1.4rem; margin-bottom: var(--space-2); }
footer p { font-size: 0.82rem; color: var(--text-light); }

/* ─── Container ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-3); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
