/* LifeSimple — Global Stylesheet
   Color Palette:
   Navy:  #1a2744
   Gold:  #c9a84c
   Light Gold: #e8c96e
   Off-white: #f7f5f0
   Text: #2c2c2c
*/

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #2c2c2c;
  background: #ffffff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1.05rem; }

/* ── Utility ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-gold   { color: #c9a84c; }
.text-navy   { color: #1a2744; }

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: #c9a84c;
  color: #1a2744;
}
.btn-primary:hover {
  background: #e8c96e;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid #c9a84c;
  color: #c9a84c;
}
.btn-outline:hover {
  background: #c9a84c;
  color: #1a2744;
}

.btn-large {
  padding: 1.1rem 2.8rem;
  font-size: 1.15rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 0.75rem;
}

.divider {
  width: 56px;
  height: 3px;
  background: #c9a84c;
  margin: 1rem auto 2rem;
  border: none;
}

/* ── Header / Nav ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1a2744;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .logo-main {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.nav-logo .logo-main span { color: #c9a84c; }
.nav-logo .logo-sub {
  font-size: 0.7rem;
  color: #8fa3c8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: #c8d6f0;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: #c9a84c;
  background: rgba(201,168,76,0.08);
}
.nav-links a.active { color: #c9a84c; font-weight: 600; }

.nav-cta {
  background: #c9a84c !important;
  color: #1a2744 !important;
  font-weight: 700 !important;
  padding: 0.45rem 1rem !important;
}
.nav-cta:hover { background: #e8c96e !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  margin: 5px 0;
  transition: 0.3s;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1a2744 0%, #243560 60%, #1f3a6e 100%);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 em {
  font-style: normal;
  color: #c9a84c;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #c8d6f0;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8fa3c8;
  font-size: 0.9rem;
}
.badge-icon { color: #c9a84c; font-size: 1.1rem; }

/* ── Products Grid ────────────────────────────────────────── */
.products-section {
  padding: 5rem 1.5rem;
  background: #f7f5f0;
}

.products-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.products-header h2 { color: #1a2744; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.product-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.25rem;
  box-shadow: 0 2px 16px rgba(26,39,68,0.07);
  border: 1px solid #eae8e3;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26,39,68,0.13);
}

.product-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.product-card-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 0.35rem;
}
.product-card-name span { color: #c9a84c; }

.product-card-desc {
  color: #5a6b8a;
  font-size: 0.97rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a2744;
}
.product-price span { font-size: 0.9rem; font-weight: 400; color: #8a9bb8; }

.product-card .btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

/* ── How It Works ─────────────────────────────────────────── */
.how-section {
  padding: 5rem 1.5rem;
  background: #ffffff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  counter-reset: step-counter;
}

.step {
  text-align: center;
  counter-increment: step-counter;
}

.step-number {
  width: 56px;
  height: 56px;
  background: #1a2744;
  color: #c9a84c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
}

.step h4 { color: #1a2744; margin-bottom: 0.5rem; }
.step p  { color: #5a6b8a; font-size: 0.95rem; }

/* ── Trust Section ────────────────────────────────────────── */
.trust-section {
  background: #1a2744;
  padding: 4rem 1.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.trust-item h3 { color: #c9a84c; font-size: 2.2rem; }
.trust-item p  { color: #8fa3c8; font-size: 0.95rem; margin-top: 0.25rem; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section {
  padding: 5rem 1.5rem;
  background: #f7f5f0;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 1.25rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #1a2744;
  font-size: 1rem;
  gap: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: #c9a84c;
  transition: transform 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding-top: 0.75rem;
  color: #5a6b8a;
  font-size: 0.97rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: #101c36;
  color: #8fa3c8;
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand .logo-main { color: #fff; font-size: 1.3rem; font-weight: 800; }
.footer-brand .logo-main span { color: #c9a84c; }
.footer-brand p { margin-top: 0.75rem; font-size: 0.9rem; line-height: 1.65; max-width: 280px; }

.footer-links h5 { color: #ffffff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: #c9a84c; }

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #1e2d50;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT PAGE STYLES
══════════════════════════════════════════════════════════════ */

/* Product Hero */
.product-hero {
  background: linear-gradient(135deg, #1a2744 0%, #243560 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.product-hero .breadcrumb {
  font-size: 0.85rem;
  color: #8fa3c8;
  margin-bottom: 1.5rem;
}
.product-hero .breadcrumb a { color: #c9a84c; }
.product-hero .breadcrumb a:hover { text-decoration: underline; }

.product-hero h1 { color: #ffffff; }
.product-hero h1 em { font-style: normal; color: #c9a84c; }
.product-hero .product-tagline { font-size: 1.15rem; color: #c8d6f0; margin: 1rem auto 0; max-width: 520px; }

.product-badge-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.product-badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: #c8d6f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-badge strong { color: #c9a84c; }

/* Product Content Layout */
.product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.product-info h2 { color: #1a2744; margin-bottom: 1rem; }
.product-info p  { color: #5a6b8a; line-height: 1.75; margin-bottom: 1.25rem; }

/* What You Receive */
.deliverables {
  background: #f7f5f0;
  border-radius: 12px;
  padding: 1.75rem;
  margin-top: 2rem;
}

.deliverables h3 {
  color: #1a2744;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deliverable-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.deliverable-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.97rem;
  color: #3a4a65;
}

.deliverable-list .check {
  color: #c9a84c;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Form Card */
.form-card {
  background: #ffffff;
  border: 1px solid #e0ddd8;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 32px rgba(26,39,68,0.1);
  position: sticky;
  top: 90px;
}

.form-card-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.form-card-header .price-display {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a2744;
  line-height: 1;
}
.form-card-header .price-display small { font-size: 1rem; font-weight: 400; color: #8a9bb8; }

.form-card-header p { color: #8a9bb8; font-size: 0.9rem; margin-top: 0.5rem; }

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a2744;
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.form-group label .required { color: #c9a84c; }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d8d5cf;
  border-radius: 8px;
  font-size: 0.97rem;
  color: #2c2c2c;
  background: #faf9f7;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: #c9a84c;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: #ffffff;
}

.form-control::placeholder { color: #aaa; }

select.form-control { cursor: pointer; }

textarea.form-control {
  resize: vertical;
  min-height: 90px;
  line-height: 1.55;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-help {
  font-size: 0.8rem;
  color: #9aabba;
  margin-top: 0.3rem;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #3a4a65;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #c9a84c;
  cursor: pointer;
  flex-shrink: 0;
}

.radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #3a4a65;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  accent-color: #c9a84c;
  cursor: pointer;
}

.pay-btn {
  width: 100%;
  background: linear-gradient(135deg, #c9a84c, #e8c96e);
  color: #1a2744;
  border: none;
  border-radius: 8px;
  padding: 1.05rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.pay-btn:hover {
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
  transform: translateY(-1px);
}

.pay-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.pay-btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(26,39,68,0.3);
  border-top-color: #1a2744;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.pay-btn.loading .spinner { display: block; }
.pay-btn.loading .btn-text { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #9aabba;
  margin-top: 1rem;
}

/* Field conditional visibility */
.conditional { display: none; }
.conditional.visible { display: block; }

/* Error states */
.form-control.error { border-color: #e05555; }
.field-error { color: #e05555; font-size: 0.8rem; margin-top: 0.3rem; }

/* ── Success Page ─────────────────────────────────────────── */
.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: #f7f5f0;
}

.success-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 4px 32px rgba(26,39,68,0.1);
}

.success-icon { font-size: 4rem; margin-bottom: 1.5rem; }

.success-card h1 { color: #1a2744; font-size: 2rem; margin-bottom: 1rem; }
.success-card p  { color: #5a6b8a; line-height: 1.7; margin-bottom: 1rem; }

.success-email-note {
  background: #f0f4ff;
  border: 1px solid #c0cde8;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  color: #3a4a65;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .product-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }

  .form-card { position: static; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a2744;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    gap: 0.25rem;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 0.75rem; font-size: 0.95rem; }

  .nav-toggle { display: block; }
  .site-header { position: relative; }

  .hero { padding: 4rem 1.5rem 3.5rem; }
  .products-section { padding: 3rem 1.5rem; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .product-badge-row { gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-badges { flex-direction: column; align-items: center; gap: 0.75rem; }
  .form-card { padding: 1.75rem 1.25rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
