/* ============================================================
   SYNTHARÉ — CLEAN LUXURY RESET THEME
   Palette: Cream #F9F7F4, Navy #0F1E2D, Gold #F5B841, Rose #D4A5A5
   Layout: Centered · Clean · Premium · Balanced Spacing
   ============================================================ */

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

html, body {
  width: 100%;
  min-height: 100%;
  background: #F9F7F4;
  color: #0F1E2D;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* VARIABLES */
:root {
  --navy: #0F1E2D;
  --cream: #F9F7F4;
  --gold: #F5B841;
  --rose: #D4A5A5;

  --max-container: 1100px;
  --max-text: 720px;

  --space-section: 60px;   /* balanced luxury spacing */
  --space-section-top: 80px;
}

/* GLOBAL CENTERING */
.center-container {
  max-width: var(--max-container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

/* HEADINGS */
h1, h2, h3 {
  color: var(--navy);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
}

p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 18px;
}

/* EYEBROW */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--rose);
  font-size: 13px;
  margin-bottom: 12px;
}

/* BUTTONS */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--navy);
  color: white;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 30, 45, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

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

/* HEADER */
.lp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-container);
  margin: 0 auto;
  padding: 22px 24px;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.lp-nav {
  display: flex;
  gap: 18px;
}

.lp-nav a {
  color: var(--navy) !important;
  font-weight: 600;
  text-decoration: none;
}

.cta-small {
  padding: 10px 18px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.cta-small:hover {
  background: var(--rose);
}

/* SECTIONS */
.section {
  padding: var(--space-section) 0;
}

.section:first-of-type {
  padding-top: var(--space-section-top);
}

/* AUTH & PUBLIC UTILITY PAGES */
.auth-page {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 80px 20px;
}

.auth-card {
  background: #fff;
  border: 1px solid #E8DCDC;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 30, 45, 0.12);
  padding: 32px;
  width: 100%;
  max-width: 460px;
  text-align: left;
}

.auth-logo {
  text-align: center;
  margin-bottom: 16px;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
}

.auth-subtitle {
  text-align: center;
  opacity: 0.8;
  margin-bottom: 22px;
}

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

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--navy);
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #E8DCDC;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.25);
}

.full-width {
  width: 100%;
}

.auth-links {
  text-align: center;
  margin-top: 14px;
}

.auth-links a {
  font-weight: 700;
  color: var(--rose);
  text-decoration: none;
}

.auth-links a:hover {
  color: var(--navy);
}

.error-message {
  background: #feecec;
  border: 1px solid #f5c2c2;
  color: #7a1414;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-weight: 600;
  display: none;
}

.legal-page {
  background: var(--cream);
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;
}

.legal-container h1,
.legal-container h2,
.legal-container h3,
.legal-container p,
.legal-container ul {
  max-width: var(--max-text);
  margin-left: auto;
  margin-right: auto;
}

.legal-container h1 {
  font-size: 34px;
  text-align: center;
  margin-bottom: 12px;
}

.legal-container h2 {
  font-size: 26px;
  margin-top: 28px;
}

.legal-container h3 {
  font-size: 20px;
  margin-top: 18px;
  color: var(--rose);
}

.legal-container ul {
  padding-left: 20px;
  margin-top: 6px;
  margin-bottom: 14px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 16px;
}

.back-link:hover {
  color: var(--rose);
}

.legal-meta {
  text-align: center;
  opacity: 0.7;
  margin-bottom: 20px;
  font-weight: 600;
}

.error-page {
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.error-card {
  background: #fff;
  border: 1px solid #E8DCDC;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 30, 45, 0.12);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  text-align: center;
}

/* HERO */
.hero-centered .hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-centered .hero-subtext {
  font-size: 20px;
  margin-bottom: 35px;
}

.hero-btn {
  margin-top: 10px;
}

/* TRUSTED LOGOS */
.trusted-logo-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.logo-chip {
  background: white;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--rose);
  box-shadow: 0 6px 12px rgba(212,165,165,0.18);
  font-weight: 600;
}

/* GRID CARDS (small centered blocks) */
.three-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.center-card {
  background: white;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #E6D6D6;
  width: 260px;
  box-shadow: 0 10px 22px rgba(212,165,165,0.16);
  text-align: center;
}

/* BADGES */
.badge-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.badge {
  background: white;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid var(--rose);
  font-weight: 700;
}

/* LISTS */
.center-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.center-list li {
  font-weight: 600;
  margin-bottom: 10px;
}

/* FOOTER */
.lp-footer {
  background: var(--cream);
  border-top: 1px solid #E8DCDC;
  padding: 50px 24px;
  margin-top: 40px;
}

.footer-content {
  max-width: var(--max-container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.footer-links a {
  font-weight: 600;
}

.footer-signoff {
  font-weight: 700;
  opacity: 0.9;
}

/* PRICING */
.billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 24px 0 32px 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
}

.billing-toggle span {
  opacity: 0.5;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.billing-toggle span.active {
  opacity: 1;
  text-decoration: underline;
}

.premium-list {
  padding-left: 0;
  list-style: none;
}

.premium-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.premium-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ALTERNATING SECTION BACKGROUNDS */
.section-cream {
  background: var(--cream);
}

.section-alt {
  background: #FCF6F6; /* very subtle rose tint */
}

.section-white {
  background: #FFFFFF;
}

/* UPDATED SPACING + WIDTH GUARDS */
.hero-centered {
  padding: 80px 0;
}

.center-container > h1,
.center-container > h2,
.center-container > h3,
.center-container > p,
.center-container .paragraph,
.center-container .center-list {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.center-container .center-list {
  text-align: left;
}

.center-container .primary-btn {
  margin-left: auto;
  margin-right: auto;
}

.lp-header .cta-small {
  background: #FFFFFF;
  color: var(--navy);
}

@media (max-width: 640px) {
  .primary-btn {
    width: 100%;
  }

  .center-card {
    width: 100%;
  }
}

/* === GLOBAL FOOTER STYLING === */
.footer {
    text-align: center;
    padding: 40px 0 60px;
    color: var(--color-navy);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 60px;
}

.footer-brand {
    font-weight: 700;
    color: var(--color-navy);
}

.footer a {
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--color-gold);
}

/* Premium Glassmorphism Footer */
footer {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.35);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 20px 0 !important;
    width: 100%;
}

footer p,
footer a,
footer span {
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: rgba(0,0,0,0.6) !important;
    line-height: 1.2 !important;
    margin: 2px 0 !important;
}

footer > div,
footer > p {
    margin: 4px 0 !important;
}

footer a:hover {
    color: rgba(0,0,0,0.85) !important;
    text-decoration: underline;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* CREDIT CONFIRMATION MODAL */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.credit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.credit-modal {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    text-align: center;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.credit-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.credit-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #0F1E2D;
    margin: 0 0 12px 0;
    font-family: 'Inter', sans-serif;
}

.credit-modal-message {
    font-size: 15px;
    color: #5a6472;
    line-height: 1.6;
    margin: 0 0 28px 0;
    font-family: 'Inter', sans-serif;
}

.credit-cost-highlight {
    font-weight: 700;
    color: #F5B841;
    font-size: 16px;
}

.credit-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.credit-confirm-btn,
.credit-cancel-btn {
    flex: 1;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.credit-confirm-btn {
    background: #0F1E2D;
    color: #FFFFFF;
}

.credit-confirm-btn:hover {
    background: #1a2938;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 30, 45, 0.25);
}

.credit-cancel-btn {
    background: transparent;
    color: #5a6472;
    border: 1px solid #E5E7EB;
}

.credit-cancel-btn:hover {
    background: #F9FAFB;
    border-color: #0F1E2D;
    color: #0F1E2D;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .credit-modal {
        padding: 24px 20px;
    }

    .credit-modal-buttons {
        flex-direction: column-reverse;
    }

    .credit-confirm-btn,
    .credit-cancel-btn {
        width: 100%;
    }
}
