/* =============================================================
   FAUXI — wedding.css  (Wedding Invitation Page Styles)
   Supplements base style.css · Scoped under .wedding-page
   ============================================================= */

/* ── WEDDING DESIGN TOKENS ─────────────────────────────────── */
.wedding-page {
  --w-gold:      #c9a96e;
  --w-gold-light:#dfc49a;
  --w-blush:     #f5e6e0;
  --w-rose:      #e8c4c4;
  --w-cream:     #faf6f1;
  --w-wine:      #722f37;
  --w-dark:      #1a1412;
  --w-text:      #2d2420;
  --w-text2:     #6b5e57;
  --w-border:    rgba(201,169,110,0.2);
  --w-card-bg:   rgba(255,255,255,0.03);
  --w-grad:      linear-gradient(135deg, #c9a96e 0%, #dfc49a 50%, #c9a96e 100%);
}

/* ── WEDDING PAGE OVERRIDES ────────────────────────────────── */
.wedding-page .gradient-text {
  background: var(--w-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wedding-page .section-badge {
  color: var(--w-gold);
  background: rgba(201,169,110,0.1);
  border-color: rgba(201,169,110,0.25);
}
.wedding-page .btn-primary {
  background: var(--w-gold);
  border-color: var(--w-gold);
  color: #1a1412;
}
.wedding-page .btn-primary:hover {
  background: var(--w-gold-light);
  border-color: var(--w-gold-light);
  box-shadow: 0 4px 24px rgba(201,169,110,0.4);
}
.wedding-page .btn-ghost {
  border-color: rgba(201,169,110,0.3);
  color: var(--w-gold-light);
}
.wedding-page .btn-ghost:hover {
  border-color: rgba(201,169,110,0.5);
  background: rgba(201,169,110,0.08);
  color: var(--w-gold);
}
.wedding-page .btn-glow {
  box-shadow: 0 0 20px rgba(201,169,110,0.3);
}
.wedding-page .btn-glow:hover {
  box-shadow: 0 0 40px rgba(201,169,110,0.5);
}

/* Scroll progress bar */
.wedding-page #scrollProgress {
  background: var(--w-grad);
}

/* Success icon gold */
.wedding-page .success-icon {
  color: var(--w-gold);
}
.wedding-page .form-success h3 {
  color: var(--text);
}

/* ── ORNAMENTAL DIVIDER (between sections) ────────────────── */
.w-ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 24px;
  pointer-events: none;
  user-select: none;
}
.w-orn-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--w-gold), transparent);
  opacity: .35;
}
.w-orn-diamond {
  width: 8px;
  height: 8px;
  background: var(--w-gold);
  opacity: .4;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ============================================================
   1. WEDDING HERO
   ============================================================ */
.w-hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0 100px;
}

/* Background image + gradient overlay */
.w-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.w-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.w-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,20,18,0.4)  0%,
    rgba(8,8,16,0.85) 70%,
    var(--bg) 100%
  );
}

/* Hero content */
.w-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
.w-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--w-gold-light);
  border: 1px solid rgba(201,169,110,0.25);
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(201,169,110,0.08);
  margin-bottom: 28px;
}
.w-hero-eyebrow span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--w-gold);
  box-shadow: 0 0 8px var(--w-gold);
}
.w-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  color: var(--text);
}
.w-hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text2);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 36px;
}
.w-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.w-hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--w-border);
}
.w-hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.03em;
  background: var(--w-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.w-hero-stat-label {
  font-size: 13px;
  color: var(--text3);
  margin-top: 2px;
}

/* Ornamental hero / CTA divider */
.w-hero-ornament {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}
.w-hero-ornament span {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--w-gold), transparent);
  opacity: .4;
}
.w-hero-ornament svg {
  color: var(--w-gold);
  opacity: .5;
  flex-shrink: 0;
}

/* ── FLOATING PETAL PARTICLES ──────────────────────────────── */
.w-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.w-petal {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--w-gold);
  opacity: 0;
  animation: float-petal linear infinite;
}
.w-petal:nth-child(1)  { left:  8%; animation-duration: 8s;  animation-delay: 0s;    width: 3px; height: 3px; }
.w-petal:nth-child(2)  { left: 18%; animation-duration: 10s; animation-delay: 1.2s;  width: 5px; height: 5px; }
.w-petal:nth-child(3)  { left: 30%; animation-duration: 7s;  animation-delay: 2.5s; }
.w-petal:nth-child(4)  { left: 42%; animation-duration: 9s;  animation-delay: 0.8s;  width: 3px; height: 3px; }
.w-petal:nth-child(5)  { left: 55%; animation-duration: 11s; animation-delay: 3s;    width: 5px; height: 5px; }
.w-petal:nth-child(6)  { left: 65%; animation-duration: 8s;  animation-delay: 1.5s; }
.w-petal:nth-child(7)  { left: 75%; animation-duration: 10s; animation-delay: 4s;    width: 3px; height: 3px; }
.w-petal:nth-child(8)  { left: 85%; animation-duration: 7.5s;animation-delay: 2s;    width: 5px; height: 5px; }
.w-petal:nth-child(9)  { left: 92%; animation-duration: 9s;  animation-delay: 0.5s; }
.w-petal:nth-child(10) { left: 50%; animation-duration: 12s; animation-delay: 3.5s;  width: 3px; height: 3px; }

@keyframes float-petal {
  0%   { transform: translateY(100vh) translateX(0) rotate(0deg);   opacity: 0; }
  10%  { opacity: .6; }
  50%  { transform: translateY(40vh) translateX(20px) rotate(180deg); opacity: .4; }
  90%  { opacity: .15; }
  100% { transform: translateY(-10vh) translateX(-15px) rotate(360deg); opacity: 0; }
}

/* ============================================================
   2. BENEFITS SECTION
   ============================================================ */
.w-benefits {
  padding: clamp(80px, 10vw, 120px) 0;
}
.w-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.w-benefit-card {
  background: var(--w-card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 22px;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.w-benefit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.w-benefit-card:hover {
  border-color: var(--w-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,169,110,0.08);
}
.w-benefit-card:hover::before {
  opacity: 1;
}
.w-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r2);
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w-gold);
  margin-bottom: 18px;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.w-benefit-card:hover .w-benefit-icon {
  transform: scale(1.06);
  box-shadow: 0 4px 20px rgba(201,169,110,0.2);
}
.w-benefit-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  position: relative;
}
.w-benefit-card p {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.72;
  position: relative;
}

/* ============================================================
   3. DEMO GALLERY
   ============================================================ */
.w-demos {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--bg2);
}
.w-demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.w-demo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.w-demo-card:hover {
  border-color: rgba(201,169,110,0.35);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(201,169,110,0.1);
}

/* Image container */
.w-demo-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.w-demo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.w-demo-card:hover .w-demo-img-wrap img {
  transform: scale(1.05);
}

/* Hover overlay */
.w-demo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,20,18,0.88) 0%, rgba(26,20,18,0.2) 40%, transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.w-demo-card:hover .w-demo-overlay {
  opacity: 1;
}
.w-demo-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--w-cream);
  background: rgba(201,169,110,0.2);
  border: 1px solid rgba(201,169,110,0.4);
  padding: 10px 20px;
  border-radius: var(--r2);
  backdrop-filter: blur(8px);
  transition: background .2s ease;
}
.w-demo-overlay-btn:hover {
  background: rgba(201,169,110,0.35);
}

/* Card info */
.w-demo-info {
  padding: 18px 20px;
}
.w-demo-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--w-gold);
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.2);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.w-demo-info h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.w-demo-info p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
}

/* ============================================================
   4. PRICING SECTION
   ============================================================ */
.w-pricing {
  padding: clamp(80px, 10vw, 120px) 0;
}
.w-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  align-items: start;
}
.w-price-card {
  background: var(--w-card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 26px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.w-price-card:hover {
  border-color: var(--w-border);
  transform: translateY(-4px);
}

/* Popular card */
.w-price-card-popular {
  border-color: rgba(201,169,110,0.4);
  background: rgba(201,169,110,0.04);
  box-shadow:
    0 0 0 1px rgba(201,169,110,0.2),
    0 20px 60px rgba(201,169,110,0.1);
  transform: scale(1.02);
}
.w-price-card-popular:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(201,169,110,0.3),
    0 24px 70px rgba(201,169,110,0.15);
}

/* Popular tag */
.w-popular-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--w-gold);
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.3);
  padding: 4px 10px;
  border-radius: 50px;
}

/* Plan info */
.w-price-plan {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 12px;
}
.w-price-amount {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.w-price-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text3);
  vertical-align: super;
}
.w-price-from {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text3);
  letter-spacing: 0;
  margin-top: 4px;
}
.w-price-label {
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 14px;
  font-weight: 500;
}
.w-price-desc {
  font-size: 13.5px;
  color: var(--text2);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}

/* Features list */
.w-price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.w-price-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text2);
}
.w-price-feature svg {
  flex-shrink: 0;
  color: var(--w-gold);
}
.w-price-feature.muted {
  color: var(--text3);
}
.w-price-feature.muted svg {
  color: var(--text3);
  opacity: .4;
}

/* ============================================================
   5. CONTACT / INTEREST FORM
   ============================================================ */
.w-contact {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--bg2);
}
.w-contact-panel {
  max-width: 640px;
  margin: 0 auto;
  background: var(--w-card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 40px 36px;
}
.w-contact-panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.w-panel-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r2);
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w-gold);
  flex-shrink: 0;
}
.w-contact-panel-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.w-contact-panel-header p {
  font-size: 13px;
  color: var(--text3);
}

/* Form overrides — gold focus ring */
.wedding-page .form-group input:focus,
.wedding-page .form-group select:focus,
.wedding-page .form-group textarea:focus {
  border-color: rgba(201,169,110,0.55);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}
.wedding-page .form-group select option {
  background: #1a1412;
  color: var(--text);
}

/* Form grid layout */
.w-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.w-form-full {
  grid-column: 1 / -1;
}

/* Success message */
.w-form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}
.w-form-success.show {
  display: block;
}
.w-form-success-icon {
  color: var(--w-gold);
  margin-bottom: 16px;
}
.w-form-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.w-form-success p {
  color: var(--text2);
  font-size: 14px;
}

/* ============================================================
   6. TRUST SECTION
   ============================================================ */
.w-trust {
  padding: clamp(64px, 8vw, 100px) 0;
}
.w-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.w-trust-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--w-card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .3s ease, transform .3s ease;
}
.w-trust-item:hover {
  border-color: var(--w-border);
  transform: translateY(-3px);
}
.w-trust-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r2);
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w-gold);
  margin: 0 auto 16px;
  font-size: 22px;
}
.w-trust-item h4 {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.w-trust-item p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
}

/* ============================================================
   7. CTA SECTION OVERRIDES (wedding warm tones)
   ============================================================ */
.wedding-page .cta-bg {
  background: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    rgba(201,169,110,0.1)  0%,
    rgba(201,169,110,0.04) 50%,
    transparent 75%
  );
  border-top-color: var(--w-border);
  border-bottom-color: var(--w-border);
}
.w-final-cta .w-hero-ornament {
  margin-bottom: 0;
}

/* ── PRICING NOTE ─────────────────────────────────────────── */
.w-pricing-note {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text2);
}
.w-pricing-note strong {
  color: var(--text);
}

/* ── FORM HINT ────────────────────────────────────────────── */
.w-form-hint {
  font-size: 13px;
  color: var(--text3);
  padding: 11px 0;
  line-height: 1.6;
}

/* ── BENEFIT CARD HIGHLIGHT ───────────────────────────────── */
.w-benefit-card-highlight {
  border-color: rgba(201,169,110,0.25);
  background: rgba(201,169,110,0.03);
}

/* ============================================================
   RESPONSIVE — 768px (Tablet)
   ============================================================ */
@media (max-width: 768px) {
  .w-hero {
    min-height: auto;
    padding: 60px 0 80px;
  }
  .w-hero-stats {
    gap: 28px;
  }
  .w-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .w-demos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .w-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .w-price-card-popular {
    transform: none;
  }
  .w-price-card-popular:hover {
    transform: translateY(-4px);
  }
  .w-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .w-contact-panel {
    padding: 32px 24px;
  }
}

/* ============================================================
   RESPONSIVE — 560px (Small Tablet / Large Phone)
   ============================================================ */
@media (max-width: 560px) {
  .w-benefits-grid {
    grid-template-columns: 1fr;
  }
  .w-demos-grid {
    grid-template-columns: 1fr;
  }
  .w-demo-img-wrap {
    height: 200px;
  }
  .w-form-grid {
    grid-template-columns: 1fr;
  }
  .w-trust-grid {
    grid-template-columns: 1fr;
  }
  .w-hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}

/* ============================================================
   RESPONSIVE — 480px (Phone)
   ============================================================ */
@media (max-width: 480px) {
  .w-hero {
    padding: 48px 0 64px;
  }
  .w-hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .w-hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
  .w-contact-panel {
    padding: 24px 18px;
  }
  .w-price-card {
    padding: 24px 20px 28px;
  }
  .w-demo-img-wrap {
    height: 180px;
  }
  .w-hero-ornament {
    bottom: 24px;
  }
}
