:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-alt: #f2ede6;
  --text: #222624;
  --text-muted: #5c635f;
  --primary: #3b5249;
  --primary-dark: #2a3c35;
  --accent: #c59b5f;
  --accent-soft: #f5ecdc;
  --border: #e6dfd5;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(34, 38, 36, 0.07);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .mockup-names {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--accent-soft);
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 64px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8a6430;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.7rem);
  margin-bottom: 18px;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-item strong {
  display: block;
  font-size: 1.25rem;
  color: var(--primary);
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 34px;
  background: var(--border);
}

/* Phone Mockup */
.hero-preview {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 290px;
  background: #1f2421;
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(34, 38, 36, 0.18);
  position: relative;
}

.phone-notch {
  width: 96px;
  height: 20px;
  background: #1f2421;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  background: linear-gradient(160deg, #f6f3ee 0%, #e7ece7 100%);
  border-radius: 28px;
  padding: 54px 22px 36px;
  text-align: center;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.6);
}

.mockup-badge {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.mockup-ornament {
  color: var(--accent);
  font-size: 1.4rem;
  margin: 12px 0;
}

.mockup-names {
  font-size: 2.15rem;
  color: var(--primary-dark);
}

.mockup-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 8px 0 26px;
}

.mockup-guest {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
  margin-bottom: 22px;
}

.mockup-guest span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mockup-guest strong {
  font-size: 0.92rem;
  color: var(--text);
}

.mockup-btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}

.mockup-btn:hover {
  background: var(--primary-dark);
}

.floating-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
}

.floating-card strong {
  display: block;
  font-size: 0.84rem;
}

.floating-card small {
  color: var(--text-muted);
}

.card-rsvp {
  top: 40px;
  left: 0;
}

.card-gift {
  bottom: 42px;
  right: 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.green {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
}

/* Features */
.features {
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.gift-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Catalog Showcase */
.showcase-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  align-items: center;
}

.theme-preview-box {
  background: linear-gradient(145deg, #3b5249, #25362f);
  border-radius: 18px;
  padding: 42px 28px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.theme-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.theme-sub {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
}

.theme-inner h3 {
  font-size: 2.4rem;
  margin: 10px 0 6px;
  color: #f8f1e5;
}

.theme-meta {
  font-size: 0.9rem;
  color: var(--accent-soft);
  margin-bottom: 22px;
}

.theme-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.theme-pills span {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
}

.badge-soft {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: #e5ede9;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.showcase-info h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.showcase-info p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

.demo-customizer {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.demo-customizer label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.input-group {
  display: flex;
  gap: 10px;
}

.input-group input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
}

.input-group input:focus {
  border-color: var(--primary);
}

.helper-text {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing {
  background: var(--surface);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.popular {
  background: var(--surface);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}

.price-header h3 {
  font-size: 1.55rem;
  margin-bottom: 4px;
}

.price-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 22px;
}

.price-amount .currency {
  font-size: 1rem;
  vertical-align: super;
  margin-right: 4px;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.price-features li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9rem;
}

.price-features li:last-child {
  border-bottom: none;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.step-item h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  background: var(--surface);
}

.faq-container {
  max-width: 760px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 18px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.2s ease;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: #e5e8e6;
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.brand-light .brand-mark {
  background: var(--accent);
  color: var(--primary-dark);
}

.footer-desc {
  max-width: 420px;
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-soft);
}

.footer-copy {
  font-size: 0.82rem;
  opacity: 0.65;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  width: 100%;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 22, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  place-items: center;
  z-index: 200;
  padding: 16px;
}

.modal-overlay.open {
  display: grid;
}

.modal-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 30px;
  width: min(440px, 100%);
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-card h3 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.94rem;
}

.form-group input[readonly] {
  background: var(--bg);
  color: var(--primary);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .showcase-card {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .floating-card {
    display: none;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .input-group {
    flex-direction: column;
  }
}
