/* VăInvităm — design premium v2. Vișiniu profund + auriu + fildeș. */
:root {
  --plum: #4e1f2e;
  --plum-deep: #331424;
  --plum-soft: #7a2e43;
  --gold: #d9a441;
  --gold-deep: #b07e24;
  --gold-soft: #f2d894;
  --cream: #f5edde;
  --paper: #fffdf7;
  --ink: #2b2228;
  --muted: #6e5d66;
  --line: #e6d4b8;
  --radius: 18px;
  --shadow-sm: 0 2px 8px rgba(51, 20, 36, 0.08);
  --shadow: 0 16px 40px -12px rgba(51, 20, 36, 0.22);
  --shadow-lg: 0 32px 70px -20px rgba(51, 20, 36, 0.35);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Great Vibes', 'Cormorant Garamond', cursive;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 12% -4%, rgba(217, 164, 65, 0.14), transparent 60%),
    radial-gradient(800px 380px at 88% 6%, rgba(122, 46, 67, 0.1), transparent 60%),
    var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.55em; font-weight: 560; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h1 em { color: var(--plum-soft); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 740px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.12rem; }
a { color: var(--plum-soft); }
::selection { background: var(--gold-soft); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 237, 222, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 212, 184, 0.7);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 28px -12px rgba(51, 20, 36, 0.25); }
.header-inner { display: flex; align-items: center; gap: 22px; padding: 13px 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.4rem; }
.brand-mark {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--plum-soft), var(--plum-deep));
  color: var(--gold-soft); border-radius: 12px; font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.brand-name { font-family: var(--font-display); color: var(--ink); font-weight: 600; }
.brand-name em { color: var(--plum-soft); }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { position: relative; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; padding: 4px 0; }
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }

/* ---------- Butoane ---------- */
.btn {
  position: relative; display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; overflow: hidden;
  transition: transform 0.18s var(--ease), box-shadow 0.25s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-gold { background: linear-gradient(160deg, var(--plum-soft), var(--plum-deep)); color: #fff; box-shadow: 0 12px 26px -10px rgba(51, 20, 36, 0.55); }
.btn-gold:hover { box-shadow: 0 18px 34px -10px rgba(51, 20, 36, 0.6); }
.btn-gold::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn-gold:hover::after { left: 130%; }
.btn-ghost { border-color: var(--plum); color: var(--plum); background: rgba(255, 253, 247, 0.6); }
.btn-ghost:hover { background: var(--paper); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; background: var(--paper);
  border: 1px solid var(--line); padding: 8px 18px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 700; box-shadow: var(--shadow-sm);
}
.badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-right: 9px; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }
.hero h1 { margin-top: 0.5em; }
.hero h1 .script-accent { font-family: var(--font-script); font-weight: 400; font-size: 1.12em; color: var(--plum-soft); }
.stats { display: flex; gap: 32px; margin: 2em 0 0; padding: 1.2em 0 0; border-top: 1px solid var(--line); }
.stats div { display: grid; gap: 2px; }
.stats dt { font-family: var(--font-display); font-size: 2rem; color: var(--plum); font-weight: 600; font-variant-numeric: tabular-nums; }
.stats dd { margin: 0; color: var(--muted); font-size: 0.88rem; font-weight: 600; }

/* Compoziție hero: carte principală + carduri plutitoare */
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; perspective: 1100px; }
.invite-card {
  position: relative; z-index: 2; width: min(330px, 78%);
  background: var(--paper); border-radius: 22px; padding: 40px 26px; text-align: center;
  border: 1px solid var(--gold-soft); outline: 1px solid var(--line); outline-offset: 7px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  animation: floaty 6s ease-in-out infinite;
  transition: transform 0.3s var(--ease);
}
.invite-eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 0.72rem; font-weight: 800; color: var(--muted); }
.invite-names { font-family: var(--font-script); font-size: 2.6rem; color: var(--plum); margin: 0.25em 0; line-height: 1.1; }
.invite-names span { font-family: var(--font-body); font-size: 1.1rem; color: #c25e7e; vertical-align: middle; }
.invite-date { letter-spacing: 2px; font-weight: 700; font-size: 0.95rem; }
.invite-btn {
  display: inline-block; margin-top: 1.1em; background: var(--plum); color: #fff;
  padding: 9px 24px; border-radius: 999px; font-size: 0.85rem; font-weight: 800;
}
.chip-card {
  position: absolute; z-index: 3; background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 10px 16px;
  font-size: 0.82rem; font-weight: 800; display: flex; align-items: center; gap: 8px;
  animation: floaty 7s ease-in-out infinite;
}
.chip-card .ok { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #2f5d46; color: #fff; font-size: 0.75rem; }
.chip-1 { top: 6%; right: 2%; animation-delay: -2s; }
.chip-2 { bottom: 8%; left: 0; animation-delay: -4.5s; }
.chip-2 b { font-family: var(--font-display); font-size: 1.15rem; color: var(--plum); font-variant-numeric: tabular-nums; }
.float { position: absolute; z-index: 1; animation: floaty 6s ease-in-out infinite; }
.f1 { top: 4%; left: 14%; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); animation-delay: -2s; box-shadow: 0 6px 16px rgba(217, 164, 65, 0.5); }
.f2 { top: 16%; right: 6%; width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--plum); opacity: 0.35; animation-delay: -4s; }
.f3 { bottom: 6%; left: 24%; width: 13px; height: 13px; border-radius: 50%; background: var(--plum-soft); opacity: 0.5; animation-delay: -1s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
.invite-card.tilt { animation: none; }

/* ---------- Bandă marquee ---------- */
.marquee {
  background: linear-gradient(120deg, var(--plum-deep), var(--plum) 55%, var(--plum-soft));
  color: var(--gold-soft); overflow: hidden; padding: 15px 0;
  border-top: 1px solid rgba(242, 216, 148, 0.35); border-bottom: 1px solid rgba(242, 216, 148, 0.35);
}
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: 0.06em; padding: 0 26px; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secțiuni ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3em; }
.section-head h2 { margin-bottom: 0.3em; }
.section-head .lead { margin: 0; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.9em;
}
.orn { color: var(--gold); letter-spacing: 10px; font-size: 0.9rem; margin: 0 0 1em; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* Carduri */
.card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.3s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card-mono {
  display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px;
  background: linear-gradient(140deg, var(--plum-soft), var(--plum-deep)); color: var(--gold-soft);
  border-radius: 50%; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 1px;
  margin-bottom: 0.9em; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.3rem; }
.tag {
  display: inline-block; font-size: 0.78rem; font-weight: 800; color: var(--plum);
  background: #f3e5cb; padding: 5px 14px; border-radius: 999px; letter-spacing: 0.04em;
}
.tag-gold { background: linear-gradient(120deg, var(--gold), var(--gold-deep)); color: #fff; }

/* Pași */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0; margin: 0; }
.step-n {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  background: linear-gradient(140deg, var(--gold), var(--gold-deep)); color: #fff;
  border-radius: 50%; font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.7em;
  box-shadow: 0 8px 18px -6px rgba(176, 126, 36, 0.6);
}

/* Prețuri */
.plan ul { list-style: none; padding: 0; margin: 1.1em 0 0; }
.plan li { padding: 7px 0 7px 30px; position: relative; font-size: 0.94rem; }
.plan li::before {
  content: '✓'; position: absolute; left: 2px; top: 7px; color: #fff;
  background: var(--plum-soft); font-weight: bold; font-size: 0.7rem;
  width: 19px; height: 19px; border-radius: 50%; display: inline-grid; place-items: center;
}
.price { font-family: var(--font-display); font-size: 1.9rem; color: var(--plum); margin: 0.15em 0 0; font-weight: 600; }
.plan-hot {
  background: linear-gradient(165deg, var(--plum) 0%, var(--plum-deep) 100%);
  border: 1px solid rgba(242, 216, 148, 0.4); color: #f4e8d4;
  transform: scale(1.04); box-shadow: var(--shadow-lg);
}
.plan-hot:hover { transform: scale(1.04) translateY(-5px); }
.plan-hot h3 { color: #fff; }
.plan-hot .price { color: var(--gold-soft); }
.plan-hot .muted { color: #d8c3b2; }
.plan-hot li::before { background: var(--gold); color: var(--plum-deep); }
.plan-cta { display: inline-block; margin-top: 1.1em; font-weight: 800; color: var(--gold-deep); text-decoration: none; }
.plan-hot .plan-cta { color: var(--gold-soft); }
.plan-cta:hover { text-decoration: underline; }

/* Bandă demo live */
.demo-band { background: linear-gradient(150deg, #241019 0%, var(--plum-deep) 55%, var(--plum) 130%); color: #f4e8d4; }
.demo-band h2 { color: #fff; }
.demo-band .lead { color: #d8c3b2; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.demo-card {
  background: rgba(255, 253, 247, 0.06); border: 1px solid rgba(242, 216, 148, 0.25);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.3s ease;
  display: block;
}
.demo-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.5); }
.demo-swatch { height: 130px; display: grid; place-items: center; }
.demo-swatch span { font-family: var(--font-script); font-size: 2.4rem; }
.demo-body { padding: 20px 22px 24px; }
.demo-body h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.2em; }
.demo-body p { margin: 0; color: var(--gold-soft); font-weight: 700; font-size: 0.9rem; }

/* FAQ animat */
.faq-list { display: grid; gap: 14px; }
.faq {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 22px; overflow: hidden; transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq[open] { border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 800; font-size: 1.04rem; padding: 19px 34px 19px 0;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--plum); font-size: 1.25rem; font-weight: 400;
  transition: transform 0.3s var(--ease), background 0.25s ease, color 0.25s ease;
}
.faq[open] summary::after { transform: rotate(45deg); background: var(--plum); color: #fff; }
.faq .faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq[open] .faq-body { grid-template-rows: 1fr; }
.faq .faq-body > div { overflow: hidden; }
.faq .faq-body p { margin: 0 0 20px; }

/* Formular lead */
.lead-form {
  display: grid; gap: 15px; text-align: left; background: var(--paper);
  border: 1px solid var(--line); border-radius: 22px;
  padding: 36px; box-shadow: var(--shadow); margin-top: 1.6em;
}
.lead-form label { display: grid; gap: 7px; font-weight: 700; font-size: 0.95rem; }
.lead-form input, .lead-form select {
  font: inherit; font-weight: 500; padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.lead-form input:focus, .lead-form select:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.18);
}
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-msg { min-height: 1.6em; margin: 0; font-weight: 700; }
.flash { padding: 13px 19px; border-radius: 12px; font-weight: 700; }
.flash.ok { background: #dcefe5; color: #2f5d46; }
.flash.err { background: #f6d9d9; color: #7a2e2e; }

/* Bandă CTA */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(140deg, var(--plum-deep), var(--plum) 60%, var(--plum-soft));
  border-radius: 28px; padding: 64px 32px; margin: 20px 0 0;
  box-shadow: var(--shadow-lg);
}
.cta-band::before, .cta-band::after {
  content: ''; position: absolute; border-radius: 50%; border: 1.5px solid rgba(242, 216, 148, 0.3);
}
.cta-band::before { width: 340px; height: 340px; left: -120px; top: -120px; }
.cta-band::after { width: 260px; height: 260px; right: -90px; bottom: -90px; }
.cta-band h2 { color: #fff; }
.cta-band h2 .script-accent { font-family: var(--font-script); font-weight: 400; font-size: 1.15em; color: var(--gold-soft); }
.cta-band p { color: #e6d3c0; }
.cta-band .btn-gold { background: linear-gradient(160deg, var(--gold), var(--gold-deep)); color: var(--plum-deep); }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; background: transparent; }

/* Footer */
.site-footer { background: #241019; color: #d8c3b2; padding: 60px 0 0; margin-top: 76px; }
.site-footer .brand-name { color: #fff; font-size: 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; align-items: start; padding-bottom: 40px; }
.site-footer h4 { color: var(--gold-soft); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 1em; }
.site-footer nav { display: grid; gap: 10px; }
.site-footer a { color: #d8c3b2; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(242, 216, 148, 0.15); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.86rem; }

/* Galerie șabloane */
.tpl-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.tpl-tabs a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.92rem;
  border: 1.5px solid var(--line); background: var(--paper); padding: 9px 20px; border-radius: 999px;
  transition: all 0.22s var(--ease);
}
.tpl-tabs a.on, .tpl-tabs a:hover { background: var(--plum); color: #fff; border-color: var(--plum); transform: translateY(-1px); }
.tpl-card { display: grid; gap: 9px; }
.tpl-card h3 { margin: 0; }
.tpl-swatch {
  height: 130px; border-radius: 14px; border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.tpl-dot { width: 28px; height: 28px; border-radius: 50%; display: inline-block; box-shadow: var(--shadow-sm); }

/* Apariție la scroll (cu cascadă în grile) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.steps > *:nth-child(2), .grid-3 > *:nth-child(2), .grid-4 > *:nth-child(2) { transition-delay: 0.08s; }
.steps > *:nth-child(3), .grid-3 > *:nth-child(3), .grid-4 > *:nth-child(3) { transition-delay: 0.16s; }
.grid-3 > *:nth-child(4), .grid-4 > *:nth-child(4) { transition-delay: 0.24s; }
.grid-3 > *:nth-child(5) { transition-delay: 0.32s; }
.grid-3 > *:nth-child(6) { transition-delay: 0.4s; }

/* Responsiv */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { min-height: 360px; }
  .chip-1 { right: 4%; }
  .chip-2 { left: 4%; }
  .grid-3, .grid-4, .steps, .demo-grid { grid-template-columns: 1fr; }
  .plan-hot { transform: none; }
  .plan-hot:hover { transform: translateY(-5px); }
  .site-nav { display: none; }
  .header-inner .btn { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .lead-form { padding: 26px 20px; }
  .cta-band { padding: 48px 22px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .invite-card, .float, .chip-card, .badge .dot { animation: none; }
  .marquee-track { animation: none; }
  .btn:hover, .card:hover, .demo-card:hover { transform: none; }
  .btn-gold::after { display: none; }
}
