/* Global Styles */
:root {
  --deep-teal: #2A5C8B;
  --golden-yellow: #F2C94C;
  --dark-charcoal: #2E3138;
  --soft-gray: #E0E5EB;
  --coral-accent: #FF6B6B;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Lora', serif;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--dark-charcoal);
  background-color: var(--soft-gray);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--deep-teal);
}

h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
p { margin-bottom: 1.5rem; }

a { color: var(--deep-teal); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--coral-accent); }

button {
  font-family: var(--font-display);
  background-color: var(--golden-yellow);
  color: var(--dark-charcoal);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover { background-color: var(--coral-accent); color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 2rem; }

.nav { background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.nav .container { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; }
.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links a { font-weight: 700; }

.hero { text-align: center; padding: 4rem 0; background: linear-gradient(135deg, #fff 0%, var(--soft-gray) 100%); }
.hero h1 { font-size: 3rem; }

.section { padding: 3rem 0; }
.calculator, .templates { display: grid; gap: 1rem; }
.input-group { margin-bottom: 1rem; }
.input-group label { display: block; margin-bottom: 0.5rem; font-weight: bold; }
.input-group input, .input-group select { width: 100%; padding: 0.5rem; border: 1px solid var(--soft-gray); border-radius: 4px; }
.result { margin-top: 1.5rem; padding: 1rem; background: var(--soft-gray); border-radius: 4px; }
.template-card { background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.template-card img { max-width: 100%; border-radius: 4px; margin: 0.5rem 0; }

.pricing-section { background: #fff; }
.pricing-card { background: #fff; padding: 2rem; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); max-width: 600px; margin: 0 auto; position: relative; border: 2px solid var(--golden-yellow); }
.pricing-card.featured { border-color: var(--coral-accent); }
.badge { position: absolute; top: -12px; right: 20px; background: var(--coral-accent); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }
.price { font-size: 2.5rem; font-weight: 700; color: var(--deep-teal); }
.price-note { font-size: 1rem; color: #666; }
.pricing-card ul { list-style: none; margin: 1rem 0; }
.pricing-card ul li { padding: 0.4rem 0; }
.urgency { color: var(--coral-accent); font-weight: 700; }
.btn-buy { width: 100%; font-size: 1.2rem; padding: 1rem; background: var(--coral-accent); color: #fff; }
.btn-buy:hover { background: #e55555; }
.trust { font-size: 0.85rem; color: #666; text-align: center; }
.upsell-card { max-width: 600px; margin: 2rem auto 0; padding: 1.5rem; background: var(--soft-gray); border-radius: 8px; }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.modal.hidden { display: none; }
.modal-content { background: #fff; padding: 2rem; border-radius: 12px; max-width: 500px; width: 90%; position: relative; }
.modal-close { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #666; }
.payment-options { display: flex; gap: 1rem; margin: 1rem 0; }
.payment-options .btn { flex: 1; }
.small-text { font-size: 0.8rem; color: #666; }

.btn-secondary { background: var(--soft-gray); }

@media (max-width: 768px) {
  .container { padding: 1rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .payment-options { flex-direction: column; }
}

/* Monico Pro gate: template downloads stay hidden until a buyer code unlocks them. */
[data-pro-locked].pro-locked { display: none; }
[data-pro-locked].pro-unlocked { display: block; }
#pro-status { font-weight: 700; color: var(--deep-teal); }
.code-entry { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #ddd; }
.code-entry input[type="text"] { padding: 0.5rem; font-size: 1rem; border: 1px solid #bbb; border-radius: 6px; margin: 0.4rem 0; }
#pro-unlock-box.pro-active { border-color: var(--deep-teal); }
